Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

SymmetricMatrix3 Class Reference

#include <SymmetricMatrix3.h>

Inheritance diagram for SymmetricMatrix3:

Matrix3 List of all members.

Public Member Functions


Detailed Description

A class for symmetric 3x3 matrices. Only the upper half of the matrix should be used. The data storage is still a matrix, for convenient access.

Definition at line 13 of file SymmetricMatrix3.h.


Constructor & Destructor Documentation

SymmetricMatrix3::SymmetricMatrix3  )  [inline]
 

Definition at line 15 of file SymmetricMatrix3.h.

virtual SymmetricMatrix3::~SymmetricMatrix3  )  [inline, virtual]
 

Definition at line 16 of file SymmetricMatrix3.h.


Member Function Documentation

real SymmetricMatrix3::getDeterminant  )  const [inline]
 

Gets the determinant of the matrix, based on the upper half elements only.

Definition at line 28 of file SymmetricMatrix3.h.

References real, and sqr().

Referenced by ArticulatedAgentQuasistatic::backwardDynamics(), and ArticulatedAgentBase::solveSystem().

void SymmetricMatrix3::mirror  )  [inline]
 

Sets the lower half of the matrix to correspond to the upper half.

Definition at line 37 of file SymmetricMatrix3.h.

Referenced by ArticulatedAgentQuasistatic::backwardDynamics(), and ArticulatedAgentBase::solveSystem().

SymmetricMatrix3& SymmetricMatrix3::operator+= const SymmetricMatrix3 m  )  [inline]
 

The + operator is restricted to the upper half of the matrix.

Definition at line 44 of file SymmetricMatrix3.h.

References Matrix3::matrix.

void SymmetricMatrix3::setElements real  v1,
real  v2,
real  v3,
real  v4,
real  v5,
real  v6
[inline]
 

Sets the elements from the upper half of the matrix.

Definition at line 19 of file SymmetricMatrix3.h.

Referenced by ArticulatedAgentQuasistatic::backwardDynamics().


The documentation for this class was generated from the following file:

Thyrix homepageUsers' guide

(C) Arxia 2004-2005