Skip to content
pubscout

dart_numerics

0.0.6, released 5 years ago by an unverified publisher

Mathematical functions for numerical computations in Dart

WASM-readyRepository archived
$ flutter pub add dart_numerics
Source repository

What it does

Provides trigonometry, gamma, beta, error functions, polynomial evaluation, factorial, and other numerical utilities. It supports null safety and depends only on the tuple package.

AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Need mathematical functions for scientific or engineering calculations
  • Require gamma, beta, or error functions
  • Need polynomial evaluation or factorials in Dart code

Skip it when

  • Only basic math is needed
  • Performance or high‑precision requirements beyond the provided functions

Strengths

  • Wide range of numerical functions
  • Null safety support
  • Minimal dependency footprint

Weaknesses

  • No advanced linear algebra or matrix operations
  • Limited documentation on performance and edge cases

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:dart_numerics/dart_numerics.dart' as numerics;

void main() {
  print(numerics.acosh(numerics.pi / 2));
}

Works with

Packages commonly used together with dart_numerics: ones it builds on, ones built on it, and its own family.