LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

matrix inversion

Hi...
I'm trying to make a matrix inversion... with InvMatrix(...) from the advanced analysis library... I pass a double pointer as input matrix but I have runtime error telling me that my input matrix is to small by n bytes...

I don't see any problem in my code

Thank in advance...

Steph
0 Kudos
Message 1 of 3
(3,269 Views)
The function specifies that the matrix must be square (same number of rows and columns) and you have to input the number of rows (or columns). Are you sure that the number of rows you are inputting is correct and that the input matrix is square?

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,269 Views)
El problema existe aún con matrices cuadradas. Cabe señalar que este problema se presenta en diversas funciones de CVI que operan con arreglos. Si el arreglo es definido como un apuntador o doble apuntador (para matrices), indica que el tamaño es menor del que espera.
0 Kudos
Message 3 of 3
(3,269 Views)