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

Public Member Functions

 cvect (const cvect &r)
 
 cvect (ccreal r)
 cvect( cvect& r) { val[0]=r.val[0];val[1]=r.val[1];} // copy constructor
 
ccreal & operator[] (int i)
 
const ccreal & operator[] (int i) const
 
float modul2 ()
 
ccreal operator*= (const cvect &a)
 
cvectoperator*= (const ccreal a)
 
cvectoperator/= (const ccreal a)
 
cvectoperator+= (const cvect &a)
 
cvectoperator+= (const ccreal a)
 
cvectoperator-= (const cvect &a)
 
cvectoperator-= (const ccreal a)
 
cvectoperator= (const cvect &a)
 
cvectoperator= (const ccreal a)
 
cvectoperator- ()
 

Public Attributes

ccreal val [2]
 

Friends

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

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

This is the FreeFEM reference manual
Provided by The KFEM project