MPQC  3.0.0-alpha
sc::mat3 Class Reference

Public Member Functions

 mat3 (const vec3 &v0, const vec3 &v1, const vec3 &v2)
 
 mat3 (const double d)
 
 mat3 (const mat3 &m)
 
mat3operator= (const mat3 &m)
 
mat3operator+= (const mat3 &m)
 
mat3operator-= (const mat3 &m)
 
mat3operator*= (const double d)
 
mat3operator/= (const double d)
 
vec3operator[] (int i)
 
const vec3operator[] (int i) const
 
mat3 transpose () const
 
mat3 inverse ()
 
mat3apply (V_FCT_PTR fct)
 

Protected Attributes

vec3 v [3]
 

Friends

mat3 operator- (const mat3 &a)
 
mat3 operator+ (const mat3 &a, const mat3 &b)
 
mat3 operator- (const mat3 &a, const mat3 &b)
 
mat3 operator* (const mat3 &a, const mat3 &b)
 
mat3 operator* (const mat3 &a, const double d)
 
mat3 operator* (const double d, const mat3 &a)
 
mat3 operator/ (const mat3 &a, const double d)
 
int operator== (const mat3 &a, const mat3 &b)
 
int operator!= (const mat3 &a, const mat3 &b)
 
std::ostream & operator<< (std::ostream &s, mat3 &m)
 
std::istream & operator>> (std::istream &s, mat3 &m)
 
void swap (mat3 &a, mat3 &b)
 
vec3 operator* (const mat3 &a, const vec3 &v)
 
vec2 operator* (const mat3 &a, const vec2 &v)
 

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

Generated at Sun Jan 26 2020 23:24:07 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.