TMatrix

TMatrix - Mensajes

#1 Publicado: 4/2/2012 7:39:49
Edward Ulle

Edward Ulle

21 me gusta en 182 mensajes.

Grupo: Moderator

There does not appear to be any methods to get the number of rows or columns of a SMath.Math.Numeric.TMatrix, or is there?
Ed
#2 Publicado: 4/2/2012 7:44:47
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: Super Administrator

You can use that:

TMatrix matrix = new TMatrix(...);
int rows = matrix.unit.GetLength(0);
int cols = matrix.unit.GetLength(1);

Regards.
  • Nuevos mensajes
  • Sin mensajes nuevos