Module saved

Module saved 

Source
Expand description

Numeric derivative state carried by array-only framework callbacks.

These bytes belong to one invocation of the current native extension. They are not a persistent file format. Each residual defines a fixed layout from its input shapes, including canonical storage for optional numerical data. treams-rs extension.

Structsยง

Reader
Read a private invocation state; malformed or truncated buffers are errors.
Writer
Write fixed-width numbers without alignment assumptions or unsafe casts.

Traitsยง

SavedState
A residual that can cross an array-only callback boundary without rerunning its forward calculation.

Functionsยง

basis_bytes ๐Ÿ”’
Byte layout of mode labels followed by Cartesian positions, both length prefixed.
cw_basis_size ๐Ÿ”’
invalid ๐Ÿ”’
product ๐Ÿ”’
read_basis ๐Ÿ”’
read_basis_counts ๐Ÿ”’
read_basis_dimensions ๐Ÿ”’
Inspect and skip the complete encoded basis without allocating its arrays.
read_complex ๐Ÿ”’
read_cw_basis ๐Ÿ”’
read_cw_basis_dimensions ๐Ÿ”’
read_f64 ๐Ÿ”’
read_matrix ๐Ÿ”’
read_positions ๐Ÿ”’
read_radial ๐Ÿ”’
read_sw_basis ๐Ÿ”’
read_sw_basis_dimensions ๐Ÿ”’
sw_basis_size ๐Ÿ”’
total ๐Ÿ”’
write_basis ๐Ÿ”’
write_cw_basis ๐Ÿ”’
write_matrix ๐Ÿ”’
write_positions ๐Ÿ”’
write_radial ๐Ÿ”’
write_sw_basis ๐Ÿ”’