Crate mathfun

Source

Functions§

vd_cos
Calculates the cosine of each element in an array of f64 for length n, with the precision of 1e-6
vd_exp
Calculates the exponential of each element in an array of f64 for length n, with the precision of 1e-6
vd_ln
Calculates the natural logarithm of each element in an array of f64 for length n, with the precision of 1e-6
vd_sin
Calculates the sin of each element in an array of f64 for length n, with the precision of 1e-6
vd_sqrt
Calculates the square root of each element in an array of f64 for length n, with the precision of 1e-6
vd_tanh
Calculates the tanh of each element in an array of f64 for length n, with the precision of 1e-6
vs_cos
Calculates the cosine of each element in an array of f32 for length n, with the precision of 1e-6
vs_exp
Calculates the exponential of each element in an array of f32 for length n, with the precision of 1e-6
vs_ln
Calculates the natural logarithm of each element in an array of f32 for length n, with the precision of 1e-6
vs_sin
Calculates the sin of each element in an array of f32 for length n, with the precision of 1e-6
vs_sqrt
Calculates the square root of each element in an array of f32 for length n, with the precision of 1e-6
vs_tanh
Calculates the tanh of each element in an array of f32 for length n, with the precision of 1e-6