ArrayOnes1dT Method
Creates a 1D-Array (Vector) with all values = 1
Namespace: Metas.UncLib.CoreAssembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
public static T[] Ones1d<T>(
int n1
)
where T : new(), Object, INumber<T>
Public Shared Function Ones1d(Of T As {New, Object, INumber(Of T)}) (
n1 As Integer
) As T()
public:
generic<typename T>
where T : gcnew(), Object, INumber<T>
static array<T>^ Ones1d(
int n1
)
static member Ones1d :
n1 : int -> 'T[] when 'T : new() and Object and INumber<'T>
- n1 Int32
- Dim: 1, Number of elements
- T
- Type
T