ArrayOnes1dT Method

Creates a 1D-Array (Vector) with all values = 1

Definition

Namespace: Metas.UncLib.Core
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public static T[] Ones1d<T>(
	int n1
)
where T : new(), Object, INumber<T>

Parameters

n1  Int32
Dim: 1, Number of elements

Type Parameters

T
Type

Return Value

T

See Also