SUBSTV: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Keyword | <code>SUBSTV ( expression | equation , variable = vector )</code> | 2= Substitute a vector of expressions in the expression/equation. The resu...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Keyword | {{Keyword | ||
| | | | ||
1= | |||
<code>SUBSTV ( [[expression]] | [[equation]] , [[variable]] = [[vector]] )</code> | <code>SUBSTV ( [[expression]] | [[equation]] , [[variable]] = [[vector]] )</code> | ||
| | | |
Revision as of 19:50, 29 June 2017
Syntax
SUBSTV ( expression | equation , variable = vector )
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Substitute a vector of expressions in the expression/equation. The result will be a vector. This is mostly useful for specifying values to CHART.
Example
EXDEF SUBSTV(cos{3 %theta}, %theta=0:2 %pi/3:%pi/6)
will result in the vector (1,0,-1,0,1)