Creates a new matrix, setting each element to zero.
Namespace:
Bespoke.Common.LinearAlgebraAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public static Matrix Zeros( int rows, int cols ) |
Visual Basic (Declaration) |
---|
Public Shared Function Zeros ( _ rows As Integer, _ cols As Integer _ ) As Matrix |
Visual C++ |
---|
public: static Matrix^ Zeros( int rows, int cols ) |
Parameters
- rows
- Type: System..::.Int32
The number of rows.
- cols
- Type: System..::.Int32
The number of columns.