-
Notifications
You must be signed in to change notification settings - Fork 1
CheatSheet of Functions for Wolfram Mathematica
Gerardo Aragon-Camarasa edited this page Feb 8, 2015
·
6 revisions
NOTE: Click on the Function name for usage examples!
- Description: Sets the machine working precision to be used for numerical computations.
- Arguments: x is a positive double-precision variable.
- Comments: The default value is
$MachineEpsilon
as given by Mathematica. Once changed, it can be recovered to the default value byClear[$SetEpsilon];
.
- Description: Sets the indices (
p
,q
,s
) of the bilinear form used to define the Clifford Algebra (s
is the degenerated index). It is assumed that fori>p+q+s
we haveGeometricProduct[e[i],e[i]]=0
. - Arguments:
p
,q
,s
are positive integer values. - Comments: The default value is {20,0,0}. Once changed, it can be recovered to the default value by
Clear[$SetSignature];
.
- Description: Extracts the coefficient of the blade
b
in the multivectorm
. - Arguments:
b
is a blade of grade andm
is a multivector.
- Description: Calculates the dual of the multivector
m
in . - Arguments:
m
is a multivector andd
is a positive integer.
- Description:
e[i]
is used to denote the i-th basis vector of . - Arguments:
i
is a integer greater than zero.
GADraw[m,v] ==Not implemented in version 0.7==
- Description: Plots a multivector
m
in . To change the plot's viewv
, it must be used the ViewPoint function. - Arguments:
v
can be omitted and the default value isViewPoint->{0,1,0}
.
- Description: Calculates the power series of the function
Cos
of the multivectorm
to a powern
. - Arguments:
m
is a multivector andn
a positive integer.
- Description: Calculates the power series of the function
Exp
of the multivectorm
to a powern
. - Arguments:
m
is a multivector andn
a positive integer. - Comments:
n
can be omitted and the default value is10
.
- Description: Calculates the n-th power of the multivector
m
. - Arguments:
m
is a multivector andn
a positive integer.
- Description: Calculates the geometric product of the multivectors
m1,m2,...
. - Arguments:
m1,m2,...
are multivectors.
GeometricProductSeries[sym,m,n]
- Description: Calculates the power series of the function
sym
of the multivectorm
to a powern
. - Arguments:
sym
is a Mathematica function,m
is a multivector andn
a positive integer. - Comments:
sym
is any function which can be represented as a power series about zero.n
can be omitted and the default value is10
.
- Description: Calculates the power series of the function
Sin
of the multivectorm
to a powern
. - Arguments:
m
is a multivector andn
a positive integer. - Comments:
n
can be omitted and the default value is10
.
- Description: Calculates the power series of the function
Tan
of the multivectorm
to a powern
. - Arguments:
m
is a multivector andn
a positive integer. - Comments:
n
can be omitted and the default value is10
.
- Description: Extracts the term of grade
r
from the multivectorm
. - Arguments:
m
is a multivector andr
a positive integer.
- Description: Denotes the first complex component of a quaternion (see also
j
andk
). - Arguments: None.
- Description: Extracts the complex part of a quaternion
q
. - Arguments:
q
is a quaternion.
- Description: Calculates the inner product of the multivectors
m1,m2,...
. - Arguments:
m1,m2,...
are multivectors.
- Description: Denotes the second complex component of a quaternion (see also
i
andk
). - Arguments: None.
- Description: Denotes the third complex component of a quaternion (see also
i
andj
). - Arguments: None.
- Description: Calculates the magnitude of the multivector
m
. - Arguments:
m
is a multivector.
- Description: Calculates (if it exists) the inverse of the multivector
m
. - Arguments:
m
is a multivector.
- Description: Calculates the outer product of the multivectors
m1,m2,...
. - Arguments:
m1,m2,...
are multivectors.
- Description: Projects the vector
v
onto the space spanned by the bladeb
. - Arguments:
v
is a vector andb
a r-blade.
- Description: Gives the pseudoscalar (volume element) of .
- Arguments:
n
is a positive intger.
- Description: Calculates the conjugate of the quaternion
q
. - Arguments:
q
is a quaternion.
- Description: Calculates the inverse of the quaternion
q
. - Arguments:
q
is a quaternion.
- Description: Calculates the magnitude of the quaternion
q
. - Arguments:
q
is a quaternion.
- Description: Calculates the product of the quaternions
q1,q2,...
. - Arguments:
q1,q2,...
are quaternions.
- Description: Extracts the real part of the quaternion
q
. - Arguments:
q
is a quaternion.
- Description: Calculates the specular reflection of the vector
v
by the plane spanned by the vectorsw
andx
. - Arguments:
v
,w
andx
are vectors.
- Description: Calculates the orthogonal projection of the vector
v
onto the orthogonal complement to the space spanned by the bladeb
. - Arguments:
v
is a vector andb
a r-blade.
- Description: Rotates the vector
v
, by an angletheta
. The plane spanned byw
andx
is left invariant. - Arguments:
v
,w
andx
are vectors and theta is the rotation angle in degrees. - Comments:
theta
can be omitted and in such case, the rotation angle is that formed by the vectorsw
andx
.
- Description: Transforms a vector from the Mathematica notation (list) to a linear combination of vectors
e[i]
. - Arguments: v is a vector given in Mathematica standard notation (list).
- Description: Transforms a vector from a linear combination of vectors or multivectors in the canonical form
e[i]
to the standard Mathematica notation (d-dimensional list). - Arguments:
v
is a vector andd
positive integer. - Comments:
d
can be omitted and in such case the list dimension is the greatest dimension of the basis vectorse[i]
.
- Description: Gives the reverse of the multivector
m
. - Arguments:
m
is a multivector.