ToPackedArray¶
Status: Stable
documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
Description¶
ToPackedArray[list] is ToNDArray[list]: it returns list stored as a dense machine-precision buffer. The result is still a List -- same Head, same printed form, same elements -- but NDArrayQ gives True for it. Provided under Mathematica's name for the same operation; see ToNDArray.
Examples (1)¶
Every input below was run against the current Mathilda build and its output recorded.
Basic examples (1)¶
Implementation notes¶
Attributes: Protected.
References¶
See also: ToNDArray
- Source:
src/pack.c - Specification:
docs/spec/builtins/packed-arrays.md - Tests:
tests/test_packed_list.c