9a3eedi
9a3eedi

Reputation: 728

Getting the dimension of a Vector in Math.NET

If I was given a Vector in Math.NET, how can I check the number of dimensions that it has? I can't seem to find anything in the documentation

Upvotes: 2

Views: 1039

Answers (1)

Christoph Rüegg
Christoph Rüegg

Reputation: 4736

You're looking for the Count property.

If I remember correctly, the property was named Count instead of Length or Dimensions to be consistent with RowCount and ColumnCount in matrices.

Upvotes: 1

Related Questions