Function reference · Special functions

sinc

Returns sin(x)/x.

This is the unnormalized sinc. It is even, and sinc(0) is 1. Call evaluate for a decimal value.

Notation

sinc(args)

Write it in an expression: nerdamer('sinc(0)'), or in the Playground.

nerdamer.sinc

nerdamer.sinc(...args: [x]): Expression

A method on the default import. Arguments can be strings, as in Notation.

import { sinc }

import { sinc } from 'nerdamer/special';
sinc(x: Expression): Expression

Import only this function, from nerdamer/special.

Examples

1 at zero.

sinc(0)
// → 1
Open in Playground

sin(1)/1.

evaluate(sinc(1))
// → 0.84147098480789650665
Open in Playground

It is even.

sinc(-x)
// → sinc(x)
Open in Playground

← Back to Function reference