Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Rust Crates for Numeric Computation

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

num

num A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more!

num-derive

num-derive providess procedural macros to derive numeric traits in …

Do Calculus Using SageMath

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Comments

  1. Sage includes everything (including SymPy) from the open source world that you might want to do mathematics. This includes many libraries that are useful for numerics, like octave.

  2. Sage includes a bit of a DSL on top of Python. For example, you can type 1/2 without wrapping the integer literals, and it will return a rational. x^2

Matrix Decomposition

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

QR Decomposition

The QR decomposition uses the Gram-Schmidt process to express a set of vectors (columns of design matrix from statistical view) in a set of orthogonal unit vecotors (which means …