TMatrix

TMatrix - Poruke

#1 Objavljeno: 4. 2. 2012. 07:39:49
Edward Ulle

Edward Ulle

21 svidjanja u 182 postova.

Grupa: 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 Objavljeno: 4. 2. 2012. 07:44:47
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

You can use that:

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

Regards.
  • Novi postovi
  • Nema novih postova