WLJS LogoWLJS Notebook

NumericArray

NumericArray[array, type] creates a numeric array of the specified type.

  • NumericArray[array, type, method] uses method to convert numbers into type.

Examples

Create an integer array:

NumericArray[{1, 2, 3}, "Integer32"]

Create a float array:

NumericArray[{{1.0, 2.0}, {3.0, 4.0}}, "Real32"]

Please visit the official Wolfram Language Reference for more details.

On this page