#calculus #numeric

HorseShoe

A Rust Language Infinitesimal Calculus crate

1 unstable release

Uses old Rust 2015

0.1.2 Feb 4, 2019
0.1.1 Feb 4, 2019
0.1.0 Feb 4, 2019
0.0.1 Feb 4, 2019

#26 in #calculus

48 downloads per month

MIT license

98KB
110 lines

HorseShoe

Build Status Crate Docs

HorseShoe

HorseShoe is a crate for infinitesimal calculus purely made in Rust.

Usage:

Add this to the Cargo.toml:

[dependencies]
HorseShoe = "*"

and this:

extern crate horseshoe;

Features:

  • numerical differentiation
  • numerical integration via Gauss-Legendre quadrature

lib.rs:

A Rust Language infinitesimal calculus crate

This library has got only numerical differentiation and integration, more sources coming soon.

Examples

Integrate a function between an upper and lower bound (complex numbers are also valid).

Intg::numint(0.5, 1.5, &my_function_name)

Derivate a function at a real or complex point.

Diff::numder(0.5, &my_function_name)

Dependencies

~275KB