Classes | Namespaces | Functions | Variables

apfVector.h File Reference

The APF linear algebra vector interface. More...

Go to the source code of this file.

Classes

class  apf::Vector< N >
 template-generic vector of N doubles More...
class  apf::Vector3
 convenience wrapper over apf::Vector<3> More...

Namespaces

namespace  apf
 

All APF symbols are contained in this namespace.


Functions

Vector< 3 > apf::cross (Vector< 3 > const &a, Vector< 3 > const &b)
 3D vector cross product
template<std::size_t N>
Vector< N > apf::project (Vector< N > const &a, Vector< N > const &b)
 Returns vector (a) projected onto vector (b).
template<std::size_t N>
Vector< N > apf::reject (Vector< N > const &a, Vector< N > const &b)
 vector rejection
std::ostream & operator<< (std::ostream &s, apf::Vector3 const &v)
 write apf::Vector3 to a C++ stream

Variables

double const apf::pi
 The mathematical constant pi.

Detailed Description

The APF linear algebra vector interface.

Definition in file apfVector.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines