Programmer Guide/Command Reference/EVAL/sinc: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: | {{DISPLAYTITLE:sinc (alias: sinx)}} | ||
Compute the function <code>sin(''x'') / ''x''<code>. | |||
sinc(<var>x</var>) / <var>x</var> | ;Usage: '''<code>sinc(<var>x</var>)</code>''' | ||
:;<var>x</var>a scalar, vector or matrix | |||
;Result: The result ''r'' of this function has always the same type as the argument ''x''. | |||
::''x''<sub>i,j</sub> = 0 -> ''r''<sub>i,j = 1 | |||
::otherwise: r<sub>i,j</sub> = sin(''x''<sub>i,j</sub>) / ''x''<sub>i,j</sub> | |||
;See also: [[Programmer_Guide/Command_Reference/EVAL/sin|sin]], [[Programmer_Guide/Command_Reference/EVAL/qdet|qdet]] | |||
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]] | |||
Revision as of 12:51, 4 April 2011
Compute the function sin(x) / x
.
- Usage
sinc(x)
- xa scalar, vector or matrix
- Result
- The result r of this function has always the same type as the argument x.
- xi,j = 0 -> ri,j = 1
- otherwise: ri,j = sin(xi,j) / xi,j