Classes | Namespaces | Functions
Vector.h File Reference

Go to the source code of this file.

Classes

class  oomph::Vector< _Tp >
 
class  oomph::Vector< bool >
 A Vector of bools cannot be created because the is no compiler-independent implementation of the bit manipulators. Making all the constructors private should lead to compile-time errors. More...
 

Namespaces

 oomph
 
 oomph::VectorHelpers
 Namespace for helper functions for Vector<double>
 

Functions

void oomph::VectorHelpers::check_lengths_match (const Vector< double > &a, const Vector< double > &b)
 Check the lengths if two Vectors are the same length. More...
 
double oomph::VectorHelpers::dot (const Vector< double > &a, const Vector< double > &b)
 Probably not always best/fastest because not optimised for dimension but useful... More...
 
double oomph::VectorHelpers::magnitude (const Vector< double > &a)
 Get the magnitude of a vector. More...
 
double oomph::VectorHelpers::angle (const Vector< double > &a, const Vector< double > &b)
 Get the angle between two vector. More...
 
void oomph::VectorHelpers::cross (const Vector< double > &A, const Vector< double > &B, Vector< double > &C)
 Cross product using "proper" output (move semantics means this is ok nowadays). More...
 
Vector< double > oomph::VectorHelpers::cross (const Vector< double > &A, const Vector< double > &B)
 Cross product using "proper" output (move semantics means this is ok This calls the other cross(...) function. More...