#include "TypeConfig.h"
#include <iostream>
#include <vector>
#include "PointImpl.t.cpp"
Go to the source code of this file.
|
| template<typename T > |
| PointImpl< T > & | dftefe::utils::operator*= (PointImpl< T > &p, T a) |
| | In-plance multiplication of the point by a scalar p->p*a. More...
|
| |
| template<typename T > |
| PointImpl< T > | dftefe::utils::operator* (const PointImpl< T > &p, T a) |
| | Multiplication by a scalar q = p*a. More...
|
| |
| template<typename T > |
| PointImpl< T > | dftefe::utils::operator* (T a, const PointImpl< T > &p) |
| | Multiplication by a scalar q = p*a. More...
|
| |
| template<typename T > |
| PointImpl< T > & | dftefe::utils::operator+= (PointImpl< T > &p, const PointImpl< T > &q) |
| | In-place addition of two pointts p-> p + q. More...
|
| |
| template<typename T > |
| PointImpl< T > | dftefe::utils::operator+ (const PointImpl< T > &v, const PointImpl< T > &u) |
| | Addition of two points r = p + q. More...
|
| |
| template<typename T > |
| PointImpl< T > & | dftefe::utils::operator-= (PointImpl< T > &p, const PointImpl< T > &q) |
| | In-place subtraction of two points p -> p - q;. More...
|
| |
| template<typename T > |
| PointImpl< T > | dftefe::utils::operator- (const PointImpl< T > &p, const PointImpl< T > &q) |
| | Subtraction of two points = p - q. More...
|
| |
| template<typename T > |
| std::ostream & | dftefe::utils::operator<< (std::ostream &outputStream, const PointImpl< T > &p) |
| | Output perator. More...
|
| |
| template<typename T > |
| std::vector< T > | dftefe::utils::flatten (const std::vector< PointImpl< T > > &pts) |
| | Flatten a vector of points into a contiguous coordinate array. Output layout: [x0,y0,z0, x1,y1,z1, ...] of size pts.size()*dim. More...
|
| |