Package openalea :: Package plantgl :: Package math :: Module _pglmath :: Class Matrix2
[frames] | no frames]

Class Matrix2

 object --+    
          |    
??.instance --+
              |
             Matrix2

Instance Methods
 
__add__(...)
__add__( (Matrix2)arg1, (Matrix2)arg2) -> object :
 
__div__(...)
__div__( (Matrix2)arg1, (float)arg2) -> object :
 
__eq__(...)
__eq__( (Matrix2)arg1, (Matrix2)arg2) -> object :
 
__getitem__(...)
__getitem__( (Matrix2)arg1, (tuple)arg2) -> float :
 
__iadd__(...)
__iadd__( (object)arg1, (Matrix2)arg2) -> object :
 
__idiv__(...)
__idiv__( (object)arg1, (float)arg2) -> object :
 
__imul__(...)
__imul__( (object)arg1, (Matrix2)arg2) -> object :
 
__init__(...)
__init__( (object)arg1 [, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5]]]]) -> None : Matrix2(f,f,f,f)
 
__isub__(...)
__isub__( (object)arg1, (Matrix2)arg2) -> object :
 
__mul__(...)
__mul__( (Matrix2)arg1, (Matrix2)arg2) -> object :
 
__ne__(...)
__ne__( (Matrix2)arg1, (Matrix2)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__repr__(...)
__repr__( (Matrix2)arg1) -> str :
 
__setitem__(...)
__setitem__( (Matrix2)arg1, (tuple)arg2, (float)arg3) -> None :
 
__str__(...)
__str__( (Matrix2)arg1) -> str :
 
__sub__(...)
__sub__( (Matrix2)arg1, (Matrix2)arg2) -> object :
 
adjoint(...)
adjoint( (Matrix2)arg1) -> Matrix2 :
 
data(...)
data( (Matrix2)arg1) -> list :
 
det(...)
det( (Matrix2)arg1) -> float :
 
getColumn(...)
getColumn( (Matrix2)arg1, (int)arg2) -> Vector2 :
 
getDiagonal(...)
getDiagonal( (Matrix2)arg1) -> Vector2 :
 
getRow(...)
getRow( (Matrix2)arg1, (int)arg2) -> Vector2 :
 
inverse(...)
inverse( (Matrix2)arg1) -> Matrix2 :
 
isOrthogonal(...)
isOrthogonal( (Matrix2)arg1) -> bool :
 
isSingular(...)
isSingular( (Matrix2)arg1) -> bool :
 
isValid(...)
isValid( (Matrix2)arg1) -> bool :
 
svd(...)
svd( (Matrix2)arg1) -> object : Singular Value Decomposition of a Matrix2.
 
trace(...)
trace( (Matrix2)arg1) -> float :
 
transpose(...)
transpose( (Matrix2)arg1) -> Matrix2 :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__

Static Methods
 
linearTransformation(...)
linearTransformation( (Vector2)i1, (Vector2)j1, (Vector2)i2, (Vector2)j2) -> Matrix2 :
 
rotation(...)
rotation( (float)angle) -> Matrix2 :
Class Variables
  __instance_size__ = 40
Properties
  IDENTITY

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

__add__( (Matrix2)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __add__(class TOOLS::Matrix2 {lvalue},class TOOLS::Matrix2)

__div__(...)

 

__div__( (Matrix2)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __div__(class TOOLS::Matrix2 {lvalue},double)

__eq__(...)
(Equality operator)

 

__eq__( (Matrix2)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __eq__(class TOOLS::Matrix2 {lvalue},class TOOLS::Matrix2)

__getitem__(...)
(Indexing operator)

 

__getitem__( (Matrix2)arg1, (tuple)arg2) -> float :

    C++ signature :
        double __getitem__(class TOOLS::Matrix2,class boost::python::tuple)

__iadd__(...)

 

__iadd__( (object)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __iadd__(struct boost::python::back_reference<class TOOLS::Matrix2 &>,class TOOLS::Matrix2)

__idiv__(...)

 

__idiv__( (object)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __idiv__(struct boost::python::back_reference<class TOOLS::Matrix2 &>,double)

__imul__(...)

 

__imul__( (object)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __imul__(struct boost::python::back_reference<class TOOLS::Matrix2 &>,class TOOLS::Matrix2)

__imul__( (object)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __imul__(struct boost::python::back_reference<class TOOLS::Matrix2 &>,double)

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5]]]]) -> None :
    Matrix2(f,f,f,f)

    C++ signature :
        void __init__(struct _object * [,double [,double [,double [,double]]]])

__init__( (object)arg1, (Vector2)arg2, (Vector2)arg3) -> None :

    C++ signature :
        void __init__(struct _object *,class TOOLS::Vector2,class TOOLS::Vector2)

Overrides: object.__init__

__isub__(...)

 

__isub__( (object)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __isub__(struct boost::python::back_reference<class TOOLS::Matrix2 &>,class TOOLS::Matrix2)

__mul__(...)

 

__mul__( (Matrix2)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix2 {lvalue},class TOOLS::Matrix2)

__mul__( (Matrix2)arg1, (Vector2)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix2 {lvalue},class TOOLS::Vector2)

__mul__( (Matrix2)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix2 {lvalue},double)

__ne__(...)

 

__ne__( (Matrix2)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __ne__(class TOOLS::Matrix2 {lvalue},class TOOLS::Matrix2)

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(...)
(Representation operator)

 

__repr__( (Matrix2)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class TOOLS::Matrix2)

Overrides: object.__repr__

__setitem__(...)
(Index assignment operator)

 

__setitem__( (Matrix2)arg1, (tuple)arg2, (float)arg3) -> None :

    C++ signature :
        void __setitem__(class TOOLS::Matrix2 {lvalue},class boost::python::tuple,double)

__str__(...)
(Informal representation operator)

 

__str__( (Matrix2)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class TOOLS::Matrix2)

Overrides: object.__str__

__sub__(...)
(Subtraction operator)

 

__sub__( (Matrix2)arg1, (Matrix2)arg2) -> object :

    C++ signature :
        struct _object * __sub__(class TOOLS::Matrix2 {lvalue},class TOOLS::Matrix2)

adjoint(...)

 

adjoint( (Matrix2)arg1) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 adjoint(class TOOLS::Matrix2)

data(...)

 

data( (Matrix2)arg1) -> list :

    C++ signature :
        class boost::python::list data(class TOOLS::Matrix2)

det(...)

 

det( (Matrix2)arg1) -> float :

    C++ signature :
        double det(class TOOLS::Matrix2)

getColumn(...)

 

getColumn( (Matrix2)arg1, (int)arg2) -> Vector2 :

    C++ signature :
        class TOOLS::Vector2 getColumn(class TOOLS::Matrix2 {lvalue},unsigned char)

getDiagonal(...)

 

getDiagonal( (Matrix2)arg1) -> Vector2 :

    C++ signature :
        class TOOLS::Vector2 getDiagonal(class TOOLS::Matrix2 {lvalue})

getRow(...)

 

getRow( (Matrix2)arg1, (int)arg2) -> Vector2 :

    C++ signature :
        class TOOLS::Vector2 getRow(class TOOLS::Matrix2 {lvalue},unsigned char)

inverse(...)

 

inverse( (Matrix2)arg1) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 inverse(class TOOLS::Matrix2)

isOrthogonal(...)

 

isOrthogonal( (Matrix2)arg1) -> bool :

    C++ signature :
        bool isOrthogonal(class TOOLS::Matrix2 {lvalue})

isSingular(...)

 

isSingular( (Matrix2)arg1) -> bool :

    C++ signature :
        bool isSingular(class TOOLS::Matrix2 {lvalue})

isValid(...)

 

isValid( (Matrix2)arg1) -> bool :

    C++ signature :
        bool isValid(class TOOLS::Matrix2 {lvalue})

linearTransformation(...)
Static Method

 

linearTransformation( (Vector2)i1, (Vector2)j1, (Vector2)i2, (Vector2)j2) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 linearTransformation(class TOOLS::Vector2,class TOOLS::Vector2,class TOOLS::Vector2,class TOOLS::Vector2)

rotation(...)
Static Method

 

rotation( (float)angle) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 rotation(double)

svd(...)

 

svd( (Matrix2)arg1) -> object :
    Singular Value Decomposition of a Matrix2. Return rotation matrix and the two singular values.

    C++ signature :
        class boost::python::api::object svd(class TOOLS::Matrix2)

trace(...)

 

trace( (Matrix2)arg1) -> float :

    C++ signature :
        double trace(class TOOLS::Matrix2)

transpose(...)

 

transpose( (Matrix2)arg1) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 transpose(class TOOLS::Matrix2)


Property Details

IDENTITY

Get Method:
unreachable(...)