mat3
index
mat3.py


Mat3 class
 
  This class represents a 3x3 matrix
 
Constructor:
  Mat3(m11,m12,m13,
       m21,m22,m23,
       m31,m32,m33) 
 
Methods:
  elements can be accessed by matrix indexing:
    m[0,0] = 42
    print m[0,0]
  
  fromList( list ) - assign members from a list of lists
 
  transpose(mat) - returns transpose of matrix
 
  scale(val)     - scale the matrix by the constant val
 
SymMat3 class
 
  A 3x3 symmetric matrix class.
 
Constructor:
  SymMat3(m11,
          m12,m22,
          m13,m23,m33) specification of lower triangular elements is optional
 
Methods:
  elements can be accessed by matrix indexing, as described for the Mat3 class.
 
 
The following functions are defined:
 
  det(mat)   - return the matrix determinant
 
  eigen(mat) - returns a list of eigen value/vector pairs in an EigenPair 
              structure with accessors:
                            value(), vector()
 
  transpose(mat) - returns transpose of matrix
 
  rotVector(vec, angle) - return matrix corresponding to rotation about 
                          3-vector vec by angle (in radians)
 
  rotationAmount(R)     - given rotation matrix R, determine and return the 
                          magnitude of the associated rotation, in radians.
 
 
 
 
# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

 
Classes
       
__builtin__.object
CDSList_DComplex
CDSList_DComplexPtr
CDSList_EigenPair_DComplex
CDSList_EigenPair_DComplexPtr
CDSList_EigenPair_double
CDSList_EigenPair_doublePtr
EigenPair_DComplex
EigenPair_DComplexPtr
EigenPair_double
EigenPair_doublePtr
Mat3
Mat3Ptr
SymMat3
SymMat3Ptr

 
class CDSList_DComplex(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_CDSList_DComplex>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__init__(self, *args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc8a0>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_DComplex' objects>

 
list of weak references to the object (if defined)

 
class CDSList_DComplexPtr(CDSList_DComplex)
   
 

 
 
Method resolution order:
CDSList_DComplexPtr
CDSList_DComplex
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from CDSList_DComplex:
__del__(self, destroy=<built-in function delete_CDSList_DComplex>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes inherited from CDSList_DComplex:
__dict__ = <dictproxy object at 0x24cc398>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_DComplex' objects>

 
list of weak references to the object (if defined)

 
class CDSList_EigenPair_DComplex(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_CDSList_EigenPair_DComplex>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__init__(self, *args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_EigenPair_DComplex' objects>

 
list of weak references to the object (if defined)

 
class CDSList_EigenPair_DComplexPtr(CDSList_EigenPair_DComplex)
   
 

 
 
Method resolution order:
CDSList_EigenPair_DComplexPtr
CDSList_EigenPair_DComplex
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from CDSList_EigenPair_DComplex:
__del__(self, destroy=<built-in function delete_CDSList_EigenPair_DComplex>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes inherited from CDSList_EigenPair_DComplex:
__dict__ = <dictproxy object at 0x24cc8a0>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_EigenPair_DComplex' objects>

 
list of weak references to the object (if defined)

 
class CDSList_EigenPair_double(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_CDSList_EigenPair_double>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__init__(self, *args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc398>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_EigenPair_double' objects>

 
list of weak references to the object (if defined)

 
class CDSList_EigenPair_doublePtr(CDSList_EigenPair_double)
   
 

 
 
Method resolution order:
CDSList_EigenPair_doublePtr
CDSList_EigenPair_double
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from CDSList_EigenPair_double:
__del__(self, destroy=<built-in function delete_CDSList_EigenPair_double>)

 
__delitem__(*args)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__getslice__(*args)

 
__len__(*args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
help(*args)

 

Data and other attributes inherited from CDSList_EigenPair_double:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'CDSList_EigenPair_double' objects>

 
list of weak references to the object (if defined)

 
class EigenPair_DComplex(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_EigenPair_DComplex>)

 
__getattr__ lambda self, name

 
__init__(self, *args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
value(*args)

 
vector(*args)

 

Properties defined here:
value_

 
get = EigenPair_DComplex_value__get(...)

 
set = EigenPair_DComplex_value__set(...)

 
vector_

 
get = EigenPair_DComplex_vector__get(...)

 
set = EigenPair_DComplex_vector__set(...)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {'value_': <built-in function EigenPair_DComplex_value__get>, 'vector_': <built-in function EigenPair_DComplex_vector__get>}
__swig_setmethods__ = {'value_': <built-in function EigenPair_DComplex_value__set>, 'vector_': <built-in function EigenPair_DComplex_vector__set>}
__weakref__ = <attribute '__weakref__' of 'EigenPair_DComplex' objects>

 
list of weak references to the object (if defined)

 
class EigenPair_DComplexPtr(EigenPair_DComplex)
   
 

 
 
Method resolution order:
EigenPair_DComplexPtr
EigenPair_DComplex
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from EigenPair_DComplex:
__del__(self, destroy=<built-in function delete_EigenPair_DComplex>)

 
__getattr__ lambda self, name

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
value(*args)

 
vector(*args)

 

Properties inherited from EigenPair_DComplex:
value_

 
get = EigenPair_DComplex_value__get(...)

 
set = EigenPair_DComplex_value__set(...)

 
vector_

 
get = EigenPair_DComplex_vector__get(...)

 
set = EigenPair_DComplex_vector__set(...)

 

Data and other attributes inherited from EigenPair_DComplex:
__dict__ = <dictproxy object at 0x24cc8a0>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {'value_': <built-in function EigenPair_DComplex_value__get>, 'vector_': <built-in function EigenPair_DComplex_vector__get>}
__swig_setmethods__ = {'value_': <built-in function EigenPair_DComplex_value__set>, 'vector_': <built-in function EigenPair_DComplex_vector__set>}
__weakref__ = <attribute '__weakref__' of 'EigenPair_DComplex' objects>

 
list of weak references to the object (if defined)

 
class EigenPair_double(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_EigenPair_double>)

 
__getattr__ lambda self, name

 
__init__(self, *args)

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
value(*args)

 
vector(*args)

 

Properties defined here:
value_

 
get = EigenPair_double_value__get(...)

 
set = EigenPair_double_value__set(...)

 
vector_

 
get = EigenPair_double_vector__get(...)

 
set = EigenPair_double_vector__set(...)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc8a0>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {'value_': <built-in function EigenPair_double_value__get>, 'vector_': <built-in function EigenPair_double_vector__get>}
__swig_setmethods__ = {'value_': <built-in function EigenPair_double_value__set>, 'vector_': <built-in function EigenPair_double_vector__set>}
__weakref__ = <attribute '__weakref__' of 'EigenPair_double' objects>

 
list of weak references to the object (if defined)

 
class EigenPair_doublePtr(EigenPair_double)
   
 

 
 
Method resolution order:
EigenPair_doublePtr
EigenPair_double
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from EigenPair_double:
__del__(self, destroy=<built-in function delete_EigenPair_double>)

 
__getattr__ lambda self, name

 
__repr__(self)

 
__setattr__ lambda self, name, value

 
value(*args)

 
vector(*args)

 

Properties inherited from EigenPair_double:
value_

 
get = EigenPair_double_value__get(...)

 
set = EigenPair_double_value__set(...)

 
vector_

 
get = EigenPair_double_vector__get(...)

 
set = EigenPair_double_vector__set(...)

 

Data and other attributes inherited from EigenPair_double:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {'value_': <built-in function EigenPair_double_value__get>, 'vector_': <built-in function EigenPair_double_vector__get>}
__swig_setmethods__ = {'value_': <built-in function EigenPair_double_value__set>, 'vector_': <built-in function EigenPair_double_vector__set>}
__weakref__ = <attribute '__weakref__' of 'EigenPair_double' objects>

 
list of weak references to the object (if defined)

 
class Mat3(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_Mat3>)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__init__(self, *args)

 
__mul__(*args)

 
__repr__(*args)

 
__rmul__(*args)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
__str__(*args)

 
cols(*args)

 
fromList(s, l)

 
get(*args)

 
help(*args)

 
rows(*args)

 
scale(*args)

 
set(*args)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24ccef8>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'Mat3' objects>

 
list of weak references to the object (if defined)

 
class Mat3Ptr(Mat3)
   
 

 
 
Method resolution order:
Mat3Ptr
Mat3
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from Mat3:
__del__(self, destroy=<built-in function delete_Mat3>)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__mul__(*args)

 
__repr__(*args)

 
__rmul__(*args)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
__str__(*args)

 
cols(*args)

 
fromList(s, l)

 
get(*args)

 
help(*args)

 
rows(*args)

 
scale(*args)

 
set(*args)

 

Data and other attributes inherited from Mat3:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'Mat3' objects>

 
list of weak references to the object (if defined)

 
class SymMat3(__builtin__.object)
   
 

 
  Methods defined here:
__del__(self, destroy=<built-in function delete_SymMat3>)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__init__(self, *args)

 
__repr__(*args)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
__str__(*args)

 
get(*args)

 
help(*args)

 
scale(*args)

 
set(*args)

 

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x24cc750>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'SymMat3' objects>

 
list of weak references to the object (if defined)

 
class SymMat3Ptr(SymMat3)
   
 

 
 
Method resolution order:
SymMat3Ptr
SymMat3
__builtin__.object

Methods defined here:
__init__(self, this)

 

Methods inherited from SymMat3:
__del__(self, destroy=<built-in function delete_SymMat3>)

 
__getattr__ lambda self, name

 
__getitem__(*args)

 
__repr__(*args)

 
__setattr__ lambda self, name, value

 
__setitem__(*args)

 
__str__(*args)

 
get(*args)

 
help(*args)

 
scale(*args)

 
set(*args)

 

Data and other attributes inherited from SymMat3:
__dict__ = <dictproxy object at 0x24ccd00>

 
dictionary for instance variables (if defined)
__swig_getmethods__ = {}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'SymMat3' objects>

 
list of weak references to the object (if defined)

 
Functions
       
det(m)

 
return the determinate of matrix m
    
eigen(...)

 
help(...)

 
inverse(...)

 
rotVector(...)

 
rotationAmount(R)

 
given rotation matrix R, determine and return the magnitude of the
associated rotation, in radians.
trace(m)

 
transpose(...)

 

 
Data
        __package__ = None
pyXplorHelp = Type help() for interactive help, or help(object) for help about object.