Creates a new matrix, setting each element to zero.

Namespace:  Bespoke.Common.LinearAlgebra
Assembly:  Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public static Matrix Zeros(
	int size
)
Visual Basic (Declaration)
Public Shared Function Zeros ( _
	size As Integer _
) As Matrix
Visual C++
public:
static Matrix^ Zeros(
	int size
)

Parameters

size
Type: System..::.Int32
The number of rows and columns for the matrix.

Return Value

The newly created matrix.

Remarks

Creates a square matrix of size.

See Also