numdart library

Classes

ConstStructs
Contains predefined Struct objects for commonly used data types.
Struct
Represents a structure with a specified format and size.

Functions

bytesToFloat(List<int> bytesData) → double
Converts bytes to a floating-point number.
bytesToInt(List<int> bytesData, {bool signed = false, Endian byteOrder = Endian.little}) → int
Converts bytes to an integer.
mean(List<List<num>> values, {int? axis}) → List<double>
Computes the mean along a specified axis.
ndarray(List<int> shape, Struct s, List<int> buffer, int offset) → List
Constructs an n-dimensional array from a buffer based on the given shape and format.
prod(List<int> seq) → int
Calculates the product of a sequence of integers.
roundNested(dynamic x) → dynamic
Recursively rounds every number in a (possibly nested) list to the nearest integer, preserving the nesting structure.

Typedefs

NumConversionFunction = num Function(List<int>)
Represents a function that converts bytes to a numeric value.