linalg library

Classes

Matrix
An algebraic matrix with extended functionality, adapted for data science applications
MutableMatrix
A mutable copy of a Matrix for in-place numerical operations.
MutableVector
A mutable copy of a Vector for in-place arithmetic operations.
Vector
An algebraic vector with SIMD (single instruction, multiple data) architecture support and extended functionality, adapted for data science applications

Enums

Axis
A type of direction, using in some methods of Matrix class
Decomposition
Distance
A type of vector distance
DType
A type, denoting, how data will be stored and processed in vectors or matrices
EigenMethod
Inverse
MatrixNorm
A matrix norm type
Norm
Vector norm types
SortDirection

Functions

distanceTypeToJson(Distance distance) → String
dTypeToJson(DType? dtype) → String?
Encodes dtype to a json-serializable value
fromDistanceTypeJson(String encodedValue) → Distance
fromDTypeJson(String? json) → DType?
Restores the original DType value by given encoded string
fromMatrixJson(Map<String, dynamic>? json) → Matrix?
Restores a matrix instance from given json
matrixToJson(Matrix? matrix) → Map<String, dynamic>?
Encodes a matrix to a json-serializable map