NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2200 most downloaded on pub.dev
SIMD-based linear algebra and statistics, efficient manipulation with numeric data
Last release 21 days ago
12 Sep 2026
Ships unpredictably
gaps range from 8 days to 1.6 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
146 releases · first in 2018
- Error handling improvements
- pubspec.yaml: - mockito dependency updated - test dependency updated
pubspec.yaml:
mockito dependency updatedtest dependency updated- null-safety supported (stable)
One column per quarter.
- null-safety supported (beta)
- xrange v1.0.0 supported
xrange v1.0.0 supportedREADME.md: images for SIMD examples corrected
README.md: images for SIMD examples correctedmatrixToJson, fromMatrixJson, vectorToJson, fromVectorJson:
matrixToJson, fromMatrixJson, vectorToJson, fromVectorJson:
null value handlingexport files for serialization functions added
Distance:
- Distance: - serialization logic added - CI: - github actions set up
Distance:
CI:
Matrix.fromRows: copying source list instead of passing it by reference added (issue #100)
- injector lib 1.0.9 supported
injector lib 1.0.9 supported- pubspec: - injector dependency corrected
pubspec:
injector dependency correctedVector.sum: summation of SIMD lanes fixed
Matrix.pow: caching removedVector.sum: summation of SIMD lanes fixed- Vector: - Vector.log method added - Matrix: - Matrix.log method added
Vector:
Vector.log method addedMatrix:
Matrix.log method addedMatrix.mapElements method added
Matrix:
Matrix.mapElements method added- Matrix: - Matrix.multiply method added
Matrix:
Matrix.multiply method addedVector.mapToVector method added
Vector:
Vector.mapToVector method added- Matrix: - Matrix.sum method added - Matrix.prod method added - Vector: - Vector.prod method added
Matrix:
Matrix.sum method addedMatrix.prod method addedVector:
Vector.prod method added- Matrix: - Matrix.exp method added - Vector: - Vector.exp method added
Matrix:
Matrix.exp method addedVector:
Vector.exp method addedVector.toIntegerPower is deprecated
Matrix:
Matrix.pow method addedVector:
Vector.toIntegerPower is deprecatedVector.pow method addeddivision operator: throwing exception added in case of square matrix
Matrix:
Matrix.isSquare getter addeddivision operator: throwing exception added in case of square matrixvectorToJson helper function added to public API
Vector:
fromJson constructor addedtoJson method addedvectorToJson helper function added to public APIfromVectorJson helper function added to public APIfromMatrixJson: dynamic type support added to parsing
fromMatrixJson: dynamic type support added to parsingdTypeToJson helper function added to public API
DType:
dTypeToJson helper function added to public APIfromDTypeJson helper function added to public APImatrixToJson helper function added to public API
Matrix:
fromJson constructor addedtoJson method addedmatrixToJson helper function added to public APIfromMatrixJson helper function added to public APIMatrix: fromList constructor, check for length of nested lists added
Matrix: fromList constructor, check for length of nested lists addedFloat64-based matrix class added
Matrix: constructors speed upVector: vector operations speed up
Vector: vector operations speed upFloat64x2Vector: Float64x2Vector class createdMatrix: documentation extended and corrected
Axis: documentation addedDType: documentation addedMatrix: documentation extended and correctedMatrix.column constructor added
Matrix:
Matrix.row constructor addedMatrix.column constructor addedMatrix.diagonal constructor added (for creation diagonal matrices)
Matrix:
Matrix.diagonal constructor added (for creation diagonal matrices)Matrix.scalar constructor added (for creation scalar matrices)Matrix.identity constructor added (for creation identity matrices)- Matrix: - mean method added - deviation method added - hasData getter added - empty constructor added - Vector: - empty constructor added
Matrix:
mean method addeddeviation method addedhasData getter addedempty constructor addedVector:
empty constructor added- Vector: - sqrt method added
Vector:
sqrt method addedrowIndices field added to the interface
Matrix:
rowIndices field added to the interfacecolumnIndices field added to the interfacexrange 0.0.8 version supported (integers function used instead of ZRange)
xrange 0.0.8 version supported (integers function used instead of ZRange)- xrange package version locked
xrange package version lockedsubmatrix method replaced with sample method
Matrix:
pick method removedsubmatrix method replaced with sample method[] operator returns Vector from nowVector:
randomFilled constructor api changed, min and max args are of num type nowfromList constructor api changed, from now as a source expected List<num> instead of List<doublet>filled constructor api changed, from now sampling value is a num instead of doubleDart sdk constraint changed: from 2.2.0 to 2.4.0
Matrix: pick method refactored- Matrix: Iterable > implemented
Matrix: Iterable<Iterable<double>> implementedVector: randomFilled default parameters fixed
Vector: randomFilled default parameters fixedVector's constructors addedreadme updated: explanation images added
randomFilled constructor extended: min and max parameters added
Vector:
hashCode speed uprandomFilled constructor extended: min and max parameters added- Vector: hashCode improvements
Vector: hashCode improvementsVector: hashCode re-implemented: now it's possible to use the vector as a map key
Vector: hashCode re-implemented: now it's possible to use the vector as a map keyMatrix: sort method added and implemented
Matrix: sort method added and implementedVector: subvectorByRange method added and implemented (for float32 vector)
Vector: subvectorByRange method added and implemented (for float32 vector)pubspec.yaml: sdk version constraint changed from >=2.3.0 to >=2.2.0
pubspec.yaml: sdk version constraint changed from >=2.3.0 to >=2.2.0Float32Matrix.columns: empty list supported as a source
Float32Matrix.columns: empty list supported as a sourceFloat32Matrix.rows: empty list supported as a sourceFloat32Matrix.fromList: empty list supported as a source
Float32Matrix.fromList: empty list supported as a sourceremoved possibility to mutate an instance of the Vector:
Vector:
isMutable flag removed[]= operator removedMatrix:
setColumn method removedinsertColumns method addedMatrix.from renamed to Matrix.fromListMatrix.fromFlattened renamed to Matrix.fromFlattenedListcosine distance calculation added
Vector:
Distance enum addeddistanceTo method refactoredrows constructor renamed to fromRows
Matrix:
rows constructor renamed to fromRowscolumns constructor renamed to fromColumnsflattened constructor renamed to fromFlattenedrows getter addedcolumns getter addedMatrix: ZRange support (instead of the library built-in Range)
Matrix: ZRange support (instead of the library built-in Range)Vector: unique method refactored
Vector: unique method refactorednormalize method added to interface and supported in Float32x4Vector
Vector:
Float32x4VectorFloat32x4VectorVectorBase: cache for popular operations implemented- Matrix: MatrixMixin corrected
Matrix: MatrixMixin correctedVector class refactored (get rid of redundant mixins)
Vector class refactored (get rid of redundant mixins)prefix ML removed from entities' names
ML removed from entities' namesuniqueRows method addedMLMatrix: fixed bug in setColumn method when rows cache was not cleared
setColumn method when rows cache was not clearedMLMatrix: setColumn method implemented
setColumn method implementedYour coding agent can read these notes before it upgrades. Set up the MCP server →