MPQC  2.3.1
Public Member Functions | Protected Attributes | Friends | List of all members
sc::mat4 Class Reference
Collaboration diagram for sc::mat4:
Collaboration graph
[legend]

Public Member Functions

 mat4 (const vec4 &v0, const vec4 &v1, const vec4 &v2, const vec4 &v3)
 
 mat4 (const double d)
 
 mat4 (const mat4 &m)
 
mat4operator= (const mat4 &m)
 
mat4operator+= (const mat4 &m)
 
mat4operator-= (const mat4 &m)
 
mat4operator*= (const double d)
 
mat4operator/= (const double d)
 
vec4operator[] (int i)
 
const vec4operator[] (int i) const
 
mat4 transpose () const
 
mat4 inverse ()
 
mat4apply (V_FCT_PTR fct)
 

Protected Attributes

vec4 v [4]
 

Friends

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

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

Generated at Sun Jan 26 2020 23:33:07 for MPQC 2.3.1 using the documentation package Doxygen 1.8.16.