ml_linalg 10.0.4 ml_linalg: ^10.0.4 copied to clipboard
SIMD-based linear algebra (1 operation on 4 float32 values, 1 operation on 2 float64 values)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ml_linalg
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ml_linalg: ^10.0.4
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ml_linalg/distance.dart';
import 'package:ml_linalg/dtype.dart';
import 'package:ml_linalg/linalg.dart';
import 'package:ml_linalg/matrix.dart';
import 'package:ml_linalg/matrix_norm.dart';
import 'package:ml_linalg/norm.dart';
import 'package:ml_linalg/vector.dart';