Click or drag to resize
Accord.NET (logo)

MatrixZerosT Method (Int32, Int32, Int32)

Creates a zero-valued rank-3 tensor.

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

Parameters

rows
Type: SystemInt32
The number of rows in the tensor.
columns
Type: SystemInt32
The number of columns in the tensor.
depth
Type: SystemInt32
The number of channels in the tensor.

Type Parameters

T
The type of the matrix to be created.

Return Value

Type: T
A matrix of the specified size.
See Also