# sc::mat4 Class Reference

List of all members.

## Public Member Functions

| mat4 (const vec4 &v0, const vec4 &v1, const vec4 &v2, const vec4 &v3)
| mat4 (const double d)
| mat4 (const mat4 &m)
mat4 & | operator= (const mat4 &m)
mat4 & | operator+= (const mat4 &m)
mat4 & | operator-= (const mat4 &m)
mat4 & | operator*= (const double d)
mat4 & | operator/= (const double d)
vec4 & | operator[] (int i)
const vec4 & | operator[] (int i) const
mat4 | transpose () const
mat4 | inverse ()
mat4 & | apply (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:

- algebra3.h