Algorith sandbox
Functions
euclid.h File Reference

TODO:some functions copied from qn/utlity.h. More...

#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_expression.hpp>

Go to the source code of this file.

Functions

template<typename E >
double algo::math::calculateSumOfSquares (const boost::numeric::ublas::vector_expression< E > &x)
 caculates sum of squares. More...
 
double algo::math::calculateDistanceNormL2 (const boost::numeric::ublas::vector< double > &x1, const boost::numeric::ublas::vector< double > &x2)
 calculate distance between x1 and x2. More...
 
double algo::math::calculateNormL2 (const boost::numeric::ublas::vector< double > &x)
 calculates euclidean norm. More...
 

Detailed Description

TODO:some functions copied from qn/utlity.h.

Author
i05nagai
Version
0.0.1
Date
2016-07-20