 poly function - MapleSim Help

Home : Support : Online Help : MapleSim : MapleSim Component Library : Electrical : Spice3 : Sources : Polynomial Controlled : componentLibrary/electrical/spice3/sources/polyControlled/poly

poly function

Description

 • The  polynomial controlled sources call a poly function that evaluates a polynomial computed from a vector of signals, $\left[{s}_{1},{s}_{2},\mathrm{...},{s}_{n}\right]$, and a vector of coefficients, $\left[{a}_{0},{a}_{1},\mathrm{...}\right]$ using the following formula.

$\begin{array}{cc}\mathrm{poly}\left(\left[{s}_{1},\mathrm{...},{s}_{n}\right],\left[{a}_{0},\mathrm{...}\right]\right)={a}_{0}& +{a}_{\cdot }{s}_{1}+{a}_{\cdot }{s}_{2}+\mathrm{...}+{a}_{\cdot }{s}_{n}\hfill \\ & +{a}_{\cdot }{s}_{1}^{2}+{a}_{\cdot }{s}_{1}{s}_{2}+{a}_{\cdot }{s}_{1}{s}_{3}+\mathrm{...}+{a}_{\cdot }{s}_{1}{s}_{n}\hfill \\ & +{a}_{\cdot }{s}_{2}^{3}+{a}_{\cdot }{s}_{2}{s}_{3}+{a}_{\cdot }{s}_{2}{s}_{4}+\mathrm{...}+{a}_{\cdot }{s}_{2}{s}_{n}\hfill \\ & \mathrm{...}\hfill \\ & +{a}_{\cdot }{s}_{n}^{2}\hfill \\ & +{a}_{\cdot }{s}_{1}^{3}+{a}_{\cdot }{s}_{1}^{2}{s}_{2}+{a}_{\cdot }{s}_{1}^{2}{s}_{3}+\mathrm{...}+{a}_{\cdot }{s}_{1}^{2}{s}_{n}\hfill \\ & +{a}_{\cdot }{s}_{1}{s}_{2}^{2}+{a}_{\cdot }{s}_{1}{s}^{2}{s}_{3}+{a}_{\cdot }{s}_{1}{s}^{2}{s}_{4}+\mathrm{...}+{a}_{\cdot }{s}_{1}{s}^{2}{s}_{n}\hfill \\ & +{a}_{\cdot }{s}_{n}^{3}\hfill \\ & +\mathrm{...}\hfill \end{array}$

 • The coefficients given as ${a}_{\cdot }$ correspond to sequential locations in the vector of coeffients.
 • If the vector of coefficients contains only one element, $\left[{a}_{0}\right]$, the evaluated polynomial is $\mathrm{poly}={a}_{0}{s}_{1}$, not $\mathrm{poly}={a}_{0}$.