diff options
| author | classabbyamp <5366828+classabbyamp@users.noreply.github.com> | 2023-04-11 08:13:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 14:13:34 +0200 |
| commit | 022b945fb3182d3b5df5563a61ec0a24f41c70a1 (patch) | |
| tree | 4aa61e352c738650d7cec65dc246656eca49b522 /library/src | |
| parent | c7db709da53e0559adabc99d483a374224ef5ce8 (diff) | |
add `sinc` operator (#720)
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
Diffstat (limited to 'library/src')
| -rw-r--r-- | library/src/math/op.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/src/math/op.rs b/library/src/math/op.rs index 2d8266cc..d48ee8c6 100644 --- a/library/src/math/op.rs +++ b/library/src/math/op.rs @@ -15,8 +15,8 @@ use super::*; /// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, /// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`, /// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`, -/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`, -/// `liminf`, and `limsup`. +/// `max`, `min`, `Pr`, `sec`, `sin`, `sinc`, `sinh`, `sup`, `tan`, `tg`, +/// `tanh`, `liminf`, and `limsup`. /// /// Display: Text Operator /// Category: math @@ -99,6 +99,7 @@ ops! { Pr (limits), sec, sin, + sinc, sinh, sup (limits), tan, |
