Solved

matrix operations

Posted on 2001-08-19
4
351 Views
Last Modified: 2012-08-13
is there is any source code for vb program that do matrix operation such as determinant,multiply,adjacent,reverse,...etc
0
Comment
Question by:aft
  • 2
4 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 6404285
Nope.. You have to write your own.. <sigh>

Eg.

Dim lngMatrix1(1 to 5, 1 to 10) As Long
Dim lngMatrix2(1 to 5, 1 to 10) As Long
Dim lngX As Long
Dim lngY As Long

For lngX = 1 to 5
   For lngY = 1 to 10
      lngMatrix2(lngX, lngY) = lngMatrix1(lngX, lngY)
   Next lngY
Next lngX
0
 

Author Comment

by:aft
ID: 6404304
can any one help me built it and i will increase the degrees to what ever he want
0
 

Author Comment

by:aft
ID: 6404308
and sow me also how can i build a function that return an array, and how can find the dimension of the returned array, and how to call this function know ing that i am using vb6
0
 
LVL 27

Accepted Solution

by:
Ark earned 20 total points
ID: 6404613
Hi

>>Matrix operations (addition, subtraction, and multiplication)<<
http://www.freevbcode.com/ShowCode.Asp?ID=132

>>Perform Real & Complex Matrix Operations<<
http://www.freevbcode.com/ShowCode.Asp?ID=2944

Cheers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 59
Adding to a VBA? 6 63
vb6 connector to SQL Server 2 34
Getting warning: You are about to delete 1 row(s) 9 43
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now