|
JaggedCreate Method (Type, Int32)
|
Creates a jagged matrix with all values set to a given value.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Array Create(
Type elementType,
params int[] shape
)
Public Shared Function Create (
elementType As Type,
ParamArray shape As Integer()
) As Array
Request Example
View SourceParameters
- elementType
- Type: SystemType
The type of the elements to be contained in the matrix. - shape
- Type: SystemInt32
The number of dimensions that the matrix should have.
Return Value
Type:
ArrayA matrix of the specified size.
See Also