- getOutputArray<T extends NumberArray = Float64Array<ArrayBufferLike>>(
output: T,
length: number,
): T Type Parameters
- T extends NumberArray = Float64Array<ArrayBufferLike>
Returns T
- getOutputArray(output: undefined, length: number): Float64Array
Parameters
- output: undefined
- length: number
Returns Float64Array
- getOutputArray<T extends NumberArray = Float64Array<ArrayBufferLike>>(
output: undefined | T,
length: number,
): T Type Parameters
- T extends NumberArray = Float64Array<ArrayBufferLike>
Parameters
- output: undefined | T
- length: number
Returns T
This function
Param: output
undefined or a new array
Param: length
length of the output array
Returns