AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
Matrix3x3.h File Reference
#include <agx/agxCore_export.h>
#include <agx/Vec3.h>
#include <agx/Quat.h>
#include <agx/AffineMatrix4x4.h>
#include <agx/SPDMatrix3x3.h>

Go to the source code of this file.

Classes

class  agx::Matrix3x3T< T >
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Macros

#define DET2(a, b, c, d)   ((a)*(d) - (b)*(c))
 
#define INNER_PRODUCT(a, b, r, c)
 
#define SET_ROW(row, v1, v2, v3)
 

Typedefs

typedef Matrix3x3T< Real > agx::Matrix3x3
 
typedef Matrix3x3T< Real64 > agx::Matrix3x3d
 
typedef Matrix3x3T< Real32 > agx::Matrix3x3f
 

Functions

template<typename T >
Matrix3x3T< T > agx::operator* (const T &r, const Matrix3x3T< T > &m)
 
template<typename T >
Vec3T< T > agx::operator* (const Vec3T< T > &v, const Matrix3x3T< T > &m)
 
template<typename T >
std::ostream & agx::operator<< (std::ostream &os, const Matrix3x3T< T > &m)
 

Macro Definition Documentation

◆ DET2

#define DET2 (   a,
  b,
  c,
  d 
)    ((a)*(d) - (b)*(c))

Definition at line 298 of file Matrix3x3.h.

◆ INNER_PRODUCT

#define INNER_PRODUCT (   a,
  b,
  r,
  c 
)
Value:
((a).m_data[r][0] * (b).m_data[0][c]) \
+((a).m_data[r][1] * (b).m_data[1][c]) \
+((a).m_data[r][2] * (b).m_data[2][c])

Definition at line 308 of file Matrix3x3.h.

◆ SET_ROW

#define SET_ROW (   row,
  v1,
  v2,
  v3 
)
Value:
{ \
m_data[(row)][0] = (v1); \
m_data[(row)][1] = (v2); \
m_data[(row)][2] = (v3); \
m_data[(row)][3] = ( 0); \
}

Definition at line 300 of file Matrix3x3.h.