mirror of https://github.com/rm-dr/daisy
Renamed `sec` to `secant`
parent
475d0e7c07
commit
14ab0bd1d8
|
@ -49,7 +49,7 @@ Note that implicit multiplication has a higher priority than mulitiplication and
|
||||||
| Logarithm (base e) | `ln` |
|
| Logarithm (base e) | `ln` |
|
||||||
| Logarithm (base 10) | `log` |
|
| Logarithm (base 10) | `log` |
|
||||||
| sin, arcsin, cosecant | `sin`, `asin`, `csc` |
|
| sin, arcsin, cosecant | `sin`, `asin`, `csc` |
|
||||||
| cos, arccos, secant | `cos`, `acos`, `sec` |
|
| cos, arccos, secant | `cos`, `acos`, `secant` |
|
||||||
| tan, arctan, cotan | `tan`, `atan`, `cot` |
|
| tan, arctan, cotan | `tan`, `atan`, `cot` |
|
||||||
| hyperbolic sin, etc | `sinh`, `asinh`, `csch` |
|
| hyperbolic sin, etc | `sinh`, `asinh`, `csch` |
|
||||||
| hyperbolic cos, etc | `cosh`, `acosh`, `sech` |
|
| hyperbolic cos, etc | `cosh`, `acosh`, `sech` |
|
||||||
|
|
|
@ -225,27 +225,27 @@ impl Operator {
|
||||||
"!" => {Some( Operator::Factorial )},
|
"!" => {Some( Operator::Factorial )},
|
||||||
"sqrt"|"rt"|"√" => {Some( Operator::Sqrt )},
|
"sqrt"|"rt"|"√" => {Some( Operator::Sqrt )},
|
||||||
|
|
||||||
"abs" => {Some( Operator::Function(Function::Abs) )},
|
"abs" => {Some( Operator::Function(Function::Abs) )},
|
||||||
"floor" => {Some( Operator::Function(Function::Floor) )},
|
"floor" => {Some( Operator::Function(Function::Floor) )},
|
||||||
"ceil" => {Some( Operator::Function(Function::Ceil) )},
|
"ceil" => {Some( Operator::Function(Function::Ceil) )},
|
||||||
"round" => {Some( Operator::Function(Function::Round) )},
|
"round" => {Some( Operator::Function(Function::Round) )},
|
||||||
"ln" => {Some( Operator::Function(Function::NaturalLog) )},
|
"ln" => {Some( Operator::Function(Function::NaturalLog) )},
|
||||||
"log" => {Some( Operator::Function(Function::TenLog) )},
|
"log" => {Some( Operator::Function(Function::TenLog) )},
|
||||||
"sin" => {Some( Operator::Function(Function::Sin) )},
|
"sin" => {Some( Operator::Function(Function::Sin) )},
|
||||||
"cos" => {Some( Operator::Function(Function::Cos) )},
|
"cos" => {Some( Operator::Function(Function::Cos) )},
|
||||||
"tan" => {Some( Operator::Function(Function::Tan) )},
|
"tan" => {Some( Operator::Function(Function::Tan) )},
|
||||||
"asin" => {Some( Operator::Function(Function::Asin) )},
|
"asin" => {Some( Operator::Function(Function::Asin) )},
|
||||||
"acos" => {Some( Operator::Function(Function::Acos) )},
|
"acos" => {Some( Operator::Function(Function::Acos) )},
|
||||||
"atan" => {Some( Operator::Function(Function::Atan) )},
|
"atan" => {Some( Operator::Function(Function::Atan) )},
|
||||||
"csc" => {Some( Operator::Function(Function::Csc) )},
|
"csc" => {Some( Operator::Function(Function::Csc) )},
|
||||||
"sec" => {Some( Operator::Function(Function::Sec) )},
|
"secant" => {Some( Operator::Function(Function::Sec) )},
|
||||||
"cot" => {Some( Operator::Function(Function::Cot) )},
|
"cot" => {Some( Operator::Function(Function::Cot) )},
|
||||||
"sinh" => {Some( Operator::Function(Function::Sinh) )},
|
"sinh" => {Some( Operator::Function(Function::Sinh) )},
|
||||||
"cosh" => {Some( Operator::Function(Function::Cosh) )},
|
"cosh" => {Some( Operator::Function(Function::Cosh) )},
|
||||||
"tanh" => {Some( Operator::Function(Function::Tanh) )},
|
"tanh" => {Some( Operator::Function(Function::Tanh) )},
|
||||||
"asinh" => {Some( Operator::Function(Function::Asinh) )},
|
"asinh" => {Some( Operator::Function(Function::Asinh) )},
|
||||||
"acosh" => {Some( Operator::Function(Function::Acosh) )},
|
"acosh" => {Some( Operator::Function(Function::Acosh) )},
|
||||||
"atanh" => {Some( Operator::Function(Function::Atanh) )},
|
"atanh" => {Some( Operator::Function(Function::Atanh) )},
|
||||||
"csch" => {Some( Operator::Function(Function::Csch) )},
|
"csch" => {Some( Operator::Function(Function::Csch) )},
|
||||||
"sech" => {Some( Operator::Function(Function::Sech) )},
|
"sech" => {Some( Operator::Function(Function::Sech) )},
|
||||||
"coth" => {Some( Operator::Function(Function::Coth) )},
|
"coth" => {Some( Operator::Function(Function::Coth) )},
|
||||||
|
|
Loading…
Reference in New Issue