You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Properties > Matrix.Cols Property
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Cols Property

Defines the number of matrix columns.

Syntax
C#
Visual Basic
public int Cols;

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 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.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!