Vect.h File Reference
Detailed Description
Definition file for class Vect.
#include <valarray>
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <iomanip>
#include "OFELI_Config.h"
#include "util.h"
#include "FDF.h"
#include "Mesh.h"
#include "BCVect.h"
#include "Point.h"
#include "ElementVect.h"
#include "NodeVect.h"
#include "SideVect.h"
#include "EdgeVect.h"
Go to the source code of this file.
Namespaces | |
| namespace | OFELI |
Classes | |
| class | Vect |
| To handle general purpose vectors. More... | |
Functions | |
| template<class T_> | |
| T_ | Dot (const Vect< T_ > &x, const Vect< T_ > &y) |
| Calculate dot product of two vectors. | |
| template<class T_> | |
| Vect< T_ > | operator* (T_ a, const Vect< T_ > &x) |
| Operator * (Multiplication of vector by constant). | |
| template<class T_> | |
| Vect< T_ > | operator+ (const Vect< T_ > &x, const Vect< T_ > &y) |
| Operator + (Addition of two instances of class Vect). | |
| template<class T_> | |
| Vect< T_ > | operator- (const Vect< T_ > &x, const Vect< T_ > &y) |
| Operator - (Difference between two instances of class Vect). | |
| template<class T_> | |
| ostream & | operator<< (ostream &s, const Vect< T_ > &v) |
| Output vector in output stream. | |
| template<class T_> | |
| istream & | operator>> (istream &s, Vect< T_ > &a) |
| Read vector from input stream. | |