TMatrix

TMatrix - Messaggi

#1 Pubblicato: 04/02/2012 07:39:49
Edward Ulle

Edward Ulle

21 apprezzamenti in 182 post.

Gruppo: 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 Pubblicato: 04/02/2012 07:44:47
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

You can use that:

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

Regards.
  • Nuovi post
  • Nessun nuovo post