mirror of
https://github.com/nushell/nushell
synced 2025-01-08 19:29:08 +00:00
e10d84b72f
* arccos * arccosh * arcsin * arcsinh * arctan * arctanh The above commands are being ported over to nu-cmd-extra I initially moved all of the math commands over but there are some issues with the tests... So we will move them over slowly --- and actually I kind of like this idea better... Because some of the math commands we might want to leave in the core nushell... Stay tuned... For more details 👍 Read this document: https://github.com/stormasm/nutmp/blob/main/commands/math.md
64 lines
1.4 KiB
Rust
64 lines
1.4 KiB
Rust
mod abs;
|
|
mod avg;
|
|
mod ceil;
|
|
mod cos;
|
|
mod cosh;
|
|
mod egamma;
|
|
mod euler;
|
|
mod exp;
|
|
mod floor;
|
|
mod ln;
|
|
mod log;
|
|
pub mod math_;
|
|
mod max;
|
|
mod median;
|
|
mod min;
|
|
mod mode;
|
|
mod phi;
|
|
mod pi;
|
|
mod product;
|
|
mod reducers;
|
|
mod round;
|
|
mod sin;
|
|
mod sinh;
|
|
mod sqrt;
|
|
mod stddev;
|
|
mod sum;
|
|
mod tan;
|
|
mod tanh;
|
|
mod tau;
|
|
mod utils;
|
|
mod variance;
|
|
|
|
pub use abs::SubCommand as MathAbs;
|
|
pub use avg::SubCommand as MathAvg;
|
|
pub use ceil::SubCommand as MathCeil;
|
|
pub use floor::SubCommand as MathFloor;
|
|
pub use math_::MathCommand as Math;
|
|
pub use max::SubCommand as MathMax;
|
|
pub use median::SubCommand as MathMedian;
|
|
pub use min::SubCommand as MathMin;
|
|
pub use mode::SubCommand as MathMode;
|
|
pub use product::SubCommand as MathProduct;
|
|
pub use round::SubCommand as MathRound;
|
|
pub use sqrt::SubCommand as MathSqrt;
|
|
pub use stddev::SubCommand as MathStddev;
|
|
pub use sum::SubCommand as MathSum;
|
|
pub use variance::SubCommand as MathVariance;
|
|
|
|
pub use cos::SubCommand as MathCos;
|
|
pub use cosh::SubCommand as MathCosH;
|
|
pub use sin::SubCommand as MathSin;
|
|
pub use sinh::SubCommand as MathSinH;
|
|
pub use tan::SubCommand as MathTan;
|
|
pub use tanh::SubCommand as MathTanH;
|
|
|
|
pub use egamma::SubCommand as MathEulerGamma;
|
|
pub use euler::SubCommand as MathEuler;
|
|
pub use phi::SubCommand as MathPhi;
|
|
pub use pi::SubCommand as MathPi;
|
|
pub use tau::SubCommand as MathTau;
|
|
|
|
pub use self::log::SubCommand as MathLog;
|
|
pub use exp::SubCommand as MathExp;
|
|
pub use ln::SubCommand as MathLn;
|