Renamed `sec` to `secant`

pull/2/head
Mark 2023-04-13 08:06:35 -07:00
parent 475d0e7c07
commit 14ab0bd1d8
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 15 additions and 15 deletions

View File

@ -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` |

View File

@ -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) )},