Index.Default Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Default(Int32) Creates a 'default' index of the specified length.
Default(Int32, Int32) Creates a 'default' index of the specified length.

Default(Int32)

Creates a 'default' index of the specified length.
C#
public static Index<long> Default(
	int length
)

Parameters

length  Int32
The length of the index.

Return Value

Index<Int64>
An index with integer keys.

Default(Int32, Int32)

Creates a 'default' index of the specified length.
C#
public static Index<long> Default(
	int from,
	int to
)

Parameters

from  Int32
The first key in the index.
to  Int32
The (inclusive) last key in the index.

Return Value

Index<Int64>
An index with integer keys.

See Also