elements property

int elements

Returns the number of elements in the vector.

Implementation

int get elements => _vectorType == VectorType.row ? _matrix.n : _matrix.m;