Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btMatrixX< T > Struct Template Reference

#include <btMatrixX.h>

Collaboration diagram for btMatrixX< T >:
Collaboration graph
[legend]

Public Member Functions

T * getBufferPointerWritable ()
 
const T * getBufferPointer () const
 
 btMatrixX ()
 
 btMatrixX (int rows, int cols)
 
void resize (int rows, int cols)
 
int cols () const
 
int rows () const
 
void addElem (int row, int col, T val)
 we don't want this read/write operator(), because we cannot keep track of non-zero elements, use setElem instead More...
 
void copyLowerToUpperTriangle ()
 
void setElem (int row, int col, T val)
 
const T & operator() (int row, int col) const
 
void clearSparseInfo ()
 
void setZero ()
 
void printMatrix (const char *msg)
 
void printNumZeros (const char *msg)
 
btMatrixX transpose () const
 
void sortRowIndexArrays ()
 
void sortColIndexArrays ()
 
btMatrixX operator* (const btMatrixX &other)
 
void multiplyAdd2_p8r (const btScalar *B, const btScalar *C, int numRows, int numRowsOther, int row, int col)
 
void multiply2_p8r (const btScalar *B, const btScalar *C, int numRows, int numRowsOther, int row, int col)
 

Public Attributes

int m_rows
 
int m_cols
 
int m_operations
 
int m_resizeOperations
 
int m_setElemOperations
 
btAlignedObjectArray< T > m_storage
 
btAlignedObjectArray
< btAlignedObjectArray< int > > 
m_rowNonZeroElements1
 
btAlignedObjectArray
< btAlignedObjectArray< int > > 
m_colNonZeroElements
 

Detailed Description

template<typename T>
struct btMatrixX< T >

Definition at line 34 of file btMatrixX.h.

Constructor & Destructor Documentation

template<typename T >
btMatrixX< T >::btMatrixX ( )
inline

Definition at line 55 of file btMatrixX.h.

template<typename T >
btMatrixX< T >::btMatrixX ( int  rows,
int  cols 
)
inline

Definition at line 63 of file btMatrixX.h.

Member Function Documentation

template<typename T >
void btMatrixX< T >::addElem ( int  row,
int  col,
val 
)
inline

we don't want this read/write operator(), because we cannot keep track of non-zero elements, use setElem instead

Definition at line 98 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::clearSparseInfo ( )
inline

Definition at line 145 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::cols ( ) const
inline

Definition at line 83 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::copyLowerToUpperTriangle ( )
inline

Definition at line 112 of file btMatrixX.h.

template<typename T >
const T* btMatrixX< T >::getBufferPointer ( ) const
inline

Definition at line 51 of file btMatrixX.h.

template<typename T >
T* btMatrixX< T >::getBufferPointerWritable ( )
inline

Definition at line 46 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::multiply2_p8r ( const btScalar B,
const btScalar C,
int  numRows,
int  numRowsOther,
int  row,
int  col 
)
inline

Definition at line 385 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::multiplyAdd2_p8r ( const btScalar B,
const btScalar C,
int  numRows,
int  numRowsOther,
int  row,
int  col 
)
inline

Definition at line 363 of file btMatrixX.h.

template<typename T >
const T& btMatrixX< T >::operator() ( int  row,
int  col 
) const
inline

Definition at line 140 of file btMatrixX.h.

template<typename T >
btMatrixX btMatrixX< T >::operator* ( const btMatrixX< T > &  other)
inline

Definition at line 265 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::printMatrix ( const char *  msg)
inline

Definition at line 171 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::printNumZeros ( const char *  msg)
inline

Definition at line 185 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::resize ( int  rows,
int  cols 
)
inline

Definition at line 72 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::rows ( ) const
inline

Definition at line 87 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::setElem ( int  row,
int  col,
val 
)
inline

Definition at line 127 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::setZero ( )
inline

Definition at line 156 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::sortColIndexArrays ( )
inline

Definition at line 257 of file btMatrixX.h.

template<typename T >
void btMatrixX< T >::sortRowIndexArrays ( )
inline

Definition at line 249 of file btMatrixX.h.

template<typename T >
btMatrixX btMatrixX< T >::transpose ( ) const
inline

Definition at line 222 of file btMatrixX.h.

Member Data Documentation

template<typename T >
btAlignedObjectArray< btAlignedObjectArray<int> > btMatrixX< T >::m_colNonZeroElements

Definition at line 44 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::m_cols

Definition at line 37 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::m_operations

Definition at line 38 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::m_resizeOperations

Definition at line 39 of file btMatrixX.h.

template<typename T >
btAlignedObjectArray< btAlignedObjectArray<int> > btMatrixX< T >::m_rowNonZeroElements1

Definition at line 43 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::m_rows

Definition at line 36 of file btMatrixX.h.

template<typename T >
int btMatrixX< T >::m_setElemOperations

Definition at line 40 of file btMatrixX.h.

template<typename T >
btAlignedObjectArray<T> btMatrixX< T >::m_storage

Definition at line 42 of file btMatrixX.h.


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