login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SparseMultivariateTaylorSeries revision 1 of 3

1 2 3
Editor: hemmecke
Time: 2014/08/22 18:22:23 GMT+0
Note:

changed:
-
Example for multivariate Taylor series expansion

  In order to work with multivariate Taylor series one first
  has to do a few preparation steps in order to create an
  appropriate domain.

\begin{axiom}
Z==>Integer
Q==>Fraction Z
vl: List Symbol := [x,y]
V==>OrderedVariableList vl
E ==> DirectProduct(2, NonNegativeInteger)
P==>SparseMultivariatePolynomial(Q, V)
M==>SparseMultivariateTaylorSeries(Q,V,P)
X:=monomial(1$M,x,1)
Y:=monomial(1$M,y,1)
sinh(X)*cosh(Y)
\end{axiom}


Example for multivariate Taylor series expansion

In order to work with multivariate Taylor series one first has to do a few preparation steps in order to create an appropriate domain.

fricas
Z==>Integer
Type: Void
fricas
Q==>Fraction Z
Type: Void
fricas
vl: List Symbol := [x,y]

\label{eq1}\left[ x , \: y \right](1)
Type: List(Symbol)
fricas
V==>OrderedVariableList vl
Type: Void
fricas
E ==> DirectProduct(2, NonNegativeInteger)
Type: Void
fricas
P==>SparseMultivariatePolynomial(Q, V)
Type: Void
fricas
M==>SparseMultivariateTaylorSeries(Q,V,P)
Type: Void
fricas
X:=monomial(1$M,x,1)

\label{eq2}x(2)
Type: SparseMultivariateTaylorSeries?(Fraction(Integer),OrderedVariableList?([x,y]),SparseMultivariatePolynomial?(Fraction(Integer),OrderedVariableList?([x,y])))
fricas
Y:=monomial(1$M,y,1)

\label{eq3}y(3)
Type: SparseMultivariateTaylorSeries?(Fraction(Integer),OrderedVariableList?([x,y]),SparseMultivariatePolynomial?(Fraction(Integer),OrderedVariableList?([x,y])))
fricas
sinh(X)*cosh(Y)

\label{eq4}\begin{array}{@{}l}
\displaystyle
x +{\left({{1 \over 6}\ {{x}^{3}}}+{{1 \over 2}\ {{y}^{2}}\  x}\right)}+{\left({{1 \over{120}}\ {{x}^{5}}}+{{1 \over{12}}\ {{y}^{2}}\ {{x}^{3}}}+{{1 \over{24}}\ {{y}^{4}}\  x}\right)}+ 
\
\
\displaystyle
{\left({{1 \over{5040}}\ {{x}^{7}}}+{{1 \over{240}}\ {{y}^{2}}\ {{x}^{5}}}+{{1 \over{144}}\ {{y}^{4}}\ {{x}^{3}}}+{{1 \over{720}}\ {{y}^{6}}\  x}\right)}+ 
\
\
\displaystyle
{\left({
\begin{array}{@{}l}
\displaystyle
{{1 \over{362880}}\ {{x}^{9}}}+{{1 \over{10080}}\ {{y}^{2}}\ {{x}^{7}}}+{{1 \over{2880}}\ {{y}^{4}}\ {{x}^{5}}}+ 
\
\
\displaystyle
{{1 \over{4320}}\ {{y}^{6}}\ {{x}^{3}}}+{{1 \over{40320}}\ {{y}^{8}}\  x}
(4)
Type: SparseMultivariateTaylorSeries?(Fraction(Integer),OrderedVariableList?([x,y]),SparseMultivariatePolynomial?(Fraction(Integer),OrderedVariableList?([x,y])))