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

@ -238,7 +238,7 @@ impl Operator {
"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) )},