ArrayZeros2dT Method

Creates a 2D-Array (Matrix) with all values = 0

Definition

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

Parameters

n1  Int32
Dim: 1, Number of elements (rows)
n2  Int32
Dim: 2, Number of elements (cols)

Type Parameters

T
Type

Return Value

T

See Also