NumericArrayType

NumericArrayType[array]

gives the underlying type of values used for each element in the NumericArray object.

Details

  • Possible returned types include:
  • "Integer8"signed 8-bit integers from through 127
    "UnsignedInteger8"integers 0 through 255
    "Integer16"signed 16-bit integers from through
    "UnsignedInteger16"integers 0 through 65535
    "Integer32"signed 32-bit integers from through
    "UnsignedInteger32"integers 0 through
    "Integer64"signed 64-bit integers from through
    "UnsignedInteger64"integers 0 through
    "Real32"single-precision real (32-bit)
    "Real64"double-precision real (64-bit)
    "ComplexReal32"single-precision complex
    "ComplexReal64"double-precision complex

Examples

Basic Examples  (1)

NumericArray of type "UnsignedInteger8":

Wolfram Research (2019), NumericArrayType, Wolfram Language function, https://reference.wolfram.com/language/ref/NumericArrayType.html.

Text

Wolfram Research (2019), NumericArrayType, Wolfram Language function, https://reference.wolfram.com/language/ref/NumericArrayType.html.

CMS

Wolfram Language. 2019. "NumericArrayType." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NumericArrayType.html.

APA

Wolfram Language. (2019). NumericArrayType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NumericArrayType.html

BibTeX

@misc{reference.wolfram_2024_numericarraytype, author="Wolfram Research", title="{NumericArrayType}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/NumericArrayType.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_numericarraytype, organization={Wolfram Research}, title={NumericArrayType}, year={2019}, url={https://reference.wolfram.com/language/ref/NumericArrayType.html}, note=[Accessed: 22-November-2024 ]}