pub enum Op {
Show 103 variants
Conj,
Negate,
Sign,
Reciprocal,
Abs,
Exp,
Ln,
Log2,
Log10,
Log1p,
Expm1,
Cis,
Sqrt,
Cbrt,
RealSqrt,
RealLn,
Factorial,
Gamma,
Lgamma,
Digamma,
LambertW,
Erf,
Erfc,
Erfinv,
Erfcinv,
Not,
Isnan,
Isfinite,
Isinf,
Real,
Imag,
Angle,
Trunc,
Rint,
Sin,
Cos,
Tan,
Asin,
Acos,
Atan,
Sinh,
Cosh,
Tanh,
Asinh,
Acosh,
Atanh,
Sqrt1mx2,
Sqrt1px2,
Sqrtx2m1,
Add,
Subtract,
Multiply,
Divide,
MathishDivide,
Pow,
Root,
RealPow,
Logb,
MathishLogb,
Nand,
Nor,
Hypot,
Atan2,
Binom,
BinomDn,
BinomDk,
Polygamma,
Beta,
Gammainc,
Gammaincc,
Gammaincinv,
LeftShift,
RightShift,
Minimum,
Maximum,
Xor,
Xnor,
Clip,
Betainc,
Betaincinv,
Floor(Tolerance),
Ceil(Tolerance),
Residue(Tolerance),
FlippedResidue(Tolerance),
FloorDivide(Tolerance),
MathishFloorDivide(Tolerance),
Gcd(Tolerance),
Lcm(Tolerance),
Equal(Tolerance),
NotEqual(Tolerance),
Less(Tolerance),
LessEqual(Tolerance),
Greater(Tolerance),
GreaterEqual(Tolerance),
Scale(f64),
Round(Round),
Pdf(Distribution),
Cdf(Distribution),
Quantile(Distribution),
PiTimes,
Bitwise(u8),
BetaincAt(f64, f64),
FlippedBinom,
}Expand description
A formula object by name, for a front end that picks its formula at run time, as BPL’s primitives and rustymath’s Python functions do: rustymath::operation::Kernel::of resolves one, so each formula’s kernel code compiles once in rustymath-kernels, and Op::visit hands its object to code generic over formulas.
Variants§
Conj
Negate
Sign
Reciprocal
Abs
Exp
Ln
Log2
Log10
Log1p
Expm1
Cis
Sqrt
Cbrt
RealSqrt
RealLn
Factorial
Gamma
Lgamma
Digamma
LambertW
Erf
Erfc
Erfinv
Erfcinv
Not
Isnan
Isfinite
Isinf
Real
Imag
Angle
Trunc
Rint
Sin
Cos
Tan
Asin
Acos
Atan
Sinh
Cosh
Tanh
Asinh
Acosh
Atanh
Sqrt1mx2
Sqrt1px2
Sqrtx2m1
Add
Subtract
Multiply
Divide
MathishDivide
Pow
Root
RealPow
Logb
MathishLogb
Nand
Nor
Hypot
Atan2
Binom
BinomDn
BinomDk
Polygamma
Beta
Gammainc
Gammaincc
Gammaincinv
LeftShift
RightShift
Minimum
Maximum
Xor
Xnor
Clip
Betainc
Betaincinv
Floor(Tolerance)
Ceil(Tolerance)
Residue(Tolerance)
FlippedResidue(Tolerance)
FloorDivide(Tolerance)
MathishFloorDivide(Tolerance)
Gcd(Tolerance)
Lcm(Tolerance)
Equal(Tolerance)
NotEqual(Tolerance)
Less(Tolerance)
LessEqual(Tolerance)
Greater(Tolerance)
GreaterEqual(Tolerance)
Scale(f64)
Round(Round)
Pdf(Distribution)
Cdf(Distribution)
Quantile(Distribution)
PiTimes
Bitwise(u8)
BetaincAt(f64, f64)
FlippedBinom
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Op
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more