.NET Matrix Library
CMatrix Constructor(Int32,Int32)
See Also  Send Feedback



rows
The number of rows of the new CMatrix object.
cols
The number of columns of the new CMatrix object.
Initializes a new instance of the CMatrix class specifying the number of rows and columns of the newly created matrix.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rows As Integer, _
   ByVal cols As Integer _
)
Visual Basic (Usage)Copy Code
Dim rows As Integer
Dim cols As Integer
 
Dim instance As New CMatrix(rows, cols)
C# 
public CMatrix( 
   int rows,
   int cols
)
C++/CLI 
public:
CMatrix( 
   int rows,
   int cols
)

Parameters

rows
The number of rows of the new CMatrix object.
cols
The number of columns of the new CMatrix object.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library