Rosetta Utilities  2014.35
Namespaces | Functions
vector.hh File Reference

Implement the primitive vector operations (again). More...

#include <numeric/kinematic_closure/types.hh>
#include <numeric/xyzVector.hh>
#include <iosfwd>

Namespaces

 numeric
 Unit headers.
 
 numeric::kinematic_closure
 

Functions

Real numeric::kinematic_closure::dot (Coordinate const &a, Coordinate const &b)
 
Coordinate numeric::kinematic_closure::cross (Coordinate const &a, Coordinate const &b)
 
Coordinate numeric::kinematic_closure::norm (Coordinate const &a)
 
std::ostream & numeric::kinematic_closure::operator<< (std::ostream &out, ParameterList const &x)
 
std::ostream & numeric::kinematic_closure::operator<< (std::ostream &out, ParameterMatrix const &xx)
 
Coordinate numeric::kinematic_closure::operator+ (Coordinate const &a, Coordinate const &b)
 
Coordinate numeric::kinematic_closure::operator- (Coordinate const &a, Coordinate const &b)
 
Coordinate numeric::kinematic_closure::operator* (Coordinate const &a, Real const &k)
 
Coordinate numeric::kinematic_closure::operator* (Real const &k, Coordinate const &a)
 
Coordinate numeric::kinematic_closure::operator/ (Coordinate const &a, Real const &k)
 
Coordinate numeric::kinematic_closure::operator/ (Real const &k, Coordinate const &a)
 
template<class T >
Coordinate & numeric::kinematic_closure::operator<< (Coordinate &a, xyzVector< T > const &b)
 
template<class T >
xyzVector< T > & numeric::kinematic_closure::operator<< (xyzVector< T > &a, Coordinate const &b)
 

Detailed Description

Implement the primitive vector operations (again).

Author
Kale Kundert

This file should really not exist, because rosetta already has an xyzVector class which implements all of this functionality. However, for historical reasons, the kinematic closure algorithms do not use xyzVector and must therefore reimplement the primitive vector arithmetic operations. Although a better solution would be to refactor the kinematic closure algorithms, this would be a much larger undertaking.