Qu

write_npy

Builtin index · File I/O

write_npy(path, x)

Input: path, x · Output: no output

What it is

Writes a number, bool, vector, matrix or complex form of those as a version-1 .npy file NumPy can load: float64, bool or complex128, C order, bit-exact (NaN, infinities and -0.0 survive).

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
write_npy(path, x)
path —not documented yet
x —not documented yet
no outputWrites a number, bool, vector, matrix or complex form of those as a version-1 .npy file NumPy can load: float64, bool or complex128, C order, bit-exact (NaN, infinities and -0.0 survive).

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.