mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
add sinc
operator (#720)
this is for the sinc function (https://en.wikipedia.org/wiki/Sinc_function)
This commit is contained in:
parent
c7db709da5
commit
022b945fb3
@ -15,8 +15,8 @@ use super::*;
|
|||||||
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
|
/// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`,
|
||||||
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
|
/// `cos`, `cosh`, `cot`, `ctg`, `coth`, `csc`, `deg`, `det`, `dim`,
|
||||||
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
|
/// `exp`, `gcd`, `hom`, `mod`, `inf`, `ker`, `lg`, `lim`, `ln`, `log`,
|
||||||
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinh`, `sup`, `tan`, `tg`, `tanh`,
|
/// `max`, `min`, `Pr`, `sec`, `sin`, `sinc`, `sinh`, `sup`, `tan`, `tg`,
|
||||||
/// `liminf`, and `limsup`.
|
/// `tanh`, `liminf`, and `limsup`.
|
||||||
///
|
///
|
||||||
/// Display: Text Operator
|
/// Display: Text Operator
|
||||||
/// Category: math
|
/// Category: math
|
||||||
@ -99,6 +99,7 @@ ops! {
|
|||||||
Pr (limits),
|
Pr (limits),
|
||||||
sec,
|
sec,
|
||||||
sin,
|
sin,
|
||||||
|
sinc,
|
||||||
sinh,
|
sinh,
|
||||||
sup (limits),
|
sup (limits),
|
||||||
tan,
|
tan,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user