Matrix::Cols Property

__declspec(property(get = GetCols, put = SetCols)) int Cols;

Defines the number of matrix columns.

Read: int GetCols() const;
Write: void SetCols(const int value) const;
Remarks:

Use this property to set or get the number of the calling matrix columns. Setting the Cols does not affect the actual amount of memory allocated unless Rows*Cols is bigger than cache size.

Note
Always set the Matrix::Complex property before setting Cols. Complex is initially false and Cols is initially 0. You can also set the Cols property by calling the method.

See Also: Matrix::Rows, Matrix::Size
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler