Click or drag to resize
Accord.NET (logo)

MatrixZeros Method (Int32, Int32)

Creates a zero-valued matrix.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double[,] Zeros(
	int rows,
	int columns
)
Request Example View Source

Parameters

rows
Type: SystemInt32
The number of rows in the matrix.
columns
Type: SystemInt32
The number of columns in the matrix.

Return Value

Type: Double
A vector of the specified size.
See Also