Click or drag to resize
Accord.NET (logo)

VectorCreateT Method (Int32, T)

Creates a vector with the given dimension and starting value.

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

Parameters

size
Type: SystemInt32
The number of elements in the vector.
values
Type: T
The initial values for the vector.

Type Parameters

T

Return Value

Type: T
See Also