calculess 1.0.2 copy "calculess: ^1.0.2" to clipboard
calculess: ^1.0.2 copied to clipboard

A simple calculus library for javascript and NPM ported to dart.

example/main.dart

import 'dart:math' as math;

import 'package:calculess/calculess.dart';

main(List<String> args) {
  sin(x) {
    return math.sin(x);
  }

  var t = [
    Calc.canPlugin(math.pi, sin), // 2.0082484079079745
    Calc.integral(0, math.pi, sin, 100), // 2.000082249070989
    Calc.integral(0, math.pi, sin, 1000), // 2.000000822467294
    Calc.integral(0, math.pi, sin, 10000), // 2.000000008224376
    Calc.integral(0, math.pi, sin, 100000) // 2.000000000081865
  ];

  t.forEach((e) => print(e));
}
4
likes
140
pub points
52%
popularity

Publisher

verified publishercodenka.com

A simple calculus library for javascript and NPM ported to dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

test

More

Packages that depend on calculess