[vtkusers] Newbie question using vtkMath

Mauricio Reyes maurey at ctcinternet.cl
Thu Dec 7 08:34:39 EST 2000


Hi VTKUsers, am working with tcl and I want to calculate the inverse of
a square matrix, so I use vtkMath and
InvertMatrix  method, but it doe'snt work..

part of my simple code is..

..
..
set matriz(0,0) 3
set matriz(0,1) 2
set matriz(1,0) 1
set matriz(1,1) 8

vtkMath mat

set inversa [mat InvertMatrix $matriz 2]

I receive an error about $matriz
what am doing wrong?

thanks in advance
Mauricio R.






More information about the vtkusers mailing list