TMtx::Cols Property

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

Defines the number of matrix columns.

Read: int GetCols();
Write: void SetCols(const int Value);
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 TMtx::ActualSize.

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

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