Solved

matrix operations

Posted on 2001-08-19
4
350 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

12 Experts available now in Live!

Get 1:1 Help Now