Crate nexsys_math

Crate nexsys_math 

Source

Structs§

NxN
An n x n matrix with a given size n and a Vec containing the variables in each column if applicable.
Variable
Effectively an f64, but with an optional domain that the value must be on.

Functions§

d_dx
Returns the derivative of a function at a point.
functionify
Takes a mathematical expression given as a string and returns a function.
jacobian
Returns the (numerical) NxN Jacobian matrix of a given system of equations at the vector given by guess.
mat_vec_mul
Multiplies a matrix and a column vector.
partial_d_dx
Returns the partial derivative of a function w.r.t. the target variable.
scale_vec
Scales a vector by the given value.
vec_vec_dot
Returns the dot product of two given vectors.