Click or drag to resize
Accord.NET (logo)

VectorZerosT Method (Int32)

Creates a zero-valued vector.

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

Parameters

size
Type: SystemInt32
The number of elements in the vector.

Type Parameters

T
The type of the vector to be created.

Return Value

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