Say I want to solve a system of equations. Argument is the matrix of the coefficients. The function returns solution. Can I write a function like the following?
System(systarray() as double) as double()
Code…….
X=..
Y=…
Z=…
System=(x,y,z)
Debug.print System
End function
Say for example I have a system with three variables
3x + 7y+4z=1
9x + 12y+6z=2
31x + 27y+41z=10
How do I enter the arguments of the array? Is the following correct?
System (3,7,4,1; 9,12,6,2; 31,27,41,10)
System(systarray() as double) as double()
Code…….
X=..
Y=…
Z=…
System=(x,y,z)
Debug.print System
End function
Say for example I have a system with three variables
3x + 7y+4z=1
9x + 12y+6z=2
31x + 27y+41z=10
How do I enter the arguments of the array? Is the following correct?
System (3,7,4,1; 9,12,6,2; 31,27,41,10)