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