FreeFem  3.5.x
Public Member Functions | Public Attributes | Friends | List of all members
fem::cmat Class Reference

Public Member Functions

 cmat (const cmat &r)
 
 cmat (ccreal r)
 cmat(cmat& r) { val[0]=r.val[0]; val[1]=r.val[1]; val[2]=r.val[2]; val[3]=r.val[3]; } // copy constructor
 
ccreal & operator() (int i, int j)
 
ccreal & operator[] (int i)
 
const ccreal & operator[] (int i) const
 
float modul2 ()
 
cmat operator*= (const cmat &a)
 
cmatoperator*= (const ccreal a)
 
cmatoperator/= (const ccreal a)
 
cmatoperator+= (const cmat &a)
 
cmatoperator+= (const ccreal a)
 
cmatoperator-= (const cmat &a)
 
cmatoperator-= (const ccreal a)
 
cmatoperator= (const cmat &a)
 
cmatoperator= (const ccreal a)
 
cmatoperator- ()
 

Public Attributes

ccreal val [4]
 

Friends

cmat operator* (const cmat &a, const cmat &b)
 
cmat operator* (const cmat &a, const ccreal b)
 
cmat operator* (const ccreal b, const cmat &a)
 
cmat operator/ (const cmat &a, const ccreal b)
 
cmat operator+ (const cmat &a, const cmat &b)
 
cmat operator+ (const cmat &a, const ccreal b)
 
cmat operator+ (const ccreal b, const cmat &a)
 
cmat operator- (const cmat &a, const cmat &b)
 
cmat operator- (const cmat &a, const ccreal b)
 
cmat operator- (const ccreal b, const cmat &a)
 
float norm2 (cmat &a)
 
cvect operator* (const cmat &a, const cvect &b)
 
cvect operator* (const cvect &b, const cmat &a)
 
cvect operator/ (const cvect &b, const cmat &a)
 
cmat operator/ (const cmat &b, const cmat &a)
 
std::ostream & operator<< (std::ostream &os, cmat &a)
 
std::istream & operator>> (std::istream &os, cmat &a)
 
cmat id (const cvect &a)
 

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

This is the FreeFEM reference manual
Provided by The KFEM project