Programmer Guide/Command Reference/EVAL/sinc: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
:;<var>x</var>a scalar, vector or matrix | :;<var>x</var>a scalar, vector or matrix | ||
;Result: The result ''r'' of this function has always the same type as the argument ''x''. | ;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 | ::''x''<sub>i,j</sub> = 0 -> ''r''<sub>i,j</sub> = 1 | ||
::otherwise: r<sub>i,j</sub> = sin(''x''<sub>i,j</sub>) / ''x''<sub>i,j</sub> | ::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]] | ;See also: [[Programmer_Guide/Command_Reference/EVAL/sin|sin]], [[Programmer_Guide/Command_Reference/EVAL/qdet|qdet]] | ||
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]] | [[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