@d4c/numjs
Preparing search index...
index
array
Variable array
Const
array
:
(
arr
:
number
|
ArbDimNumArray
|
TypedArray
|
NdArray
,
dtype
?:
|
ArrayLikeConstructor
|
"array"
|
"int8"
|
"int16"
|
"int32"
|
"uint8"
|
"uint8_clamped"
|
"uint16"
|
"uint32"
|
"float32"
|
"float64"
,
)
=>
NdArray
= NdArray.new
Type Declaration
(
arr
:
number
|
ArbDimNumArray
|
TypedArray
|
NdArray
,
dtype
?:
|
ArrayLikeConstructor
|
"array"
|
"int8"
|
"int16"
|
"int32"
|
"uint8"
|
"uint8_clamped"
|
"uint16"
|
"uint32"
|
"float32"
|
"float64"
,
)
:
NdArray
Parameters
arr
:
number
|
ArbDimNumArray
|
TypedArray
|
NdArray
Optional
dtype
:
|
ArrayLikeConstructor
|
"array"
|
"int8"
|
"int16"
|
"int32"
|
"uint8"
|
"uint8_clamped"
|
"uint16"
|
"uint32"
|
"float32"
|
"float64"
Defaut is "array". The type of the output array. E.g., 'uint8' or Uint8Array.
Returns
NdArray
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@d4c/numjs
Loading...
Defaut is "array". The type of the output array. E.g., 'uint8' or Uint8Array.