Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiply and Inverse 2D Arrays

Status
Not open for further replies.

MagnusFox

IS-IT--Management
Jan 12, 2001
51
US
I need to multiply some big (possibly 1000 X 7) rectangular(2d) arrays, and also find the inverse of the resultant array... is there a VB function that I could easily do this with?

I THINK it would follow along the lines of:
multiply(double a[][],double b[][])
inverse(double a[][])

Any help is great.
 
I'm not familiar w/ them, but there is a library or so specifically from array manipulation.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
I do not think two 1000 by 7 2D arrays qualify for matrix multiplcation.
See
The product of two matrices and is defined by
c(i,k) = a(i,j)*b(j,k)
where j is summed over for all possible values of i and k. Therefore, in order for multiplication to be defined, the dimensions of the matrices must satisfy
(n X m)(m X p) = (n X p).

Compare Code (Text)
Generate Sort in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top