VectorMath.h File Reference

#include "SimTKcommon/basics.h"
#include "SimTKcommon/Simmatrix.h"
#include <cmath>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  SimTK

Defines

#define ELEMENTWISE_FUNCTION(func)

Functions

template<class ELEM>
VectorBase< typename CNT<
ELEM >::TAbs > 
SimTK::abs (const VectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< typename CNT<
ELEM >::TAbs > 
SimTK::abs (const RowVectorBase< ELEM > v)
template<class ELEM>
MatrixBase< typename CNT<
ELEM >::TAbs > 
SimTK::abs (const MatrixBase< ELEM > v)
template<int N, class ELEM>
Vec< N, typename CNT< ELEM
>::TAbs > 
SimTK::abs (const Vec< N, ELEM > v)
template<int N, class ELEM>
Row< N, typename CNT< ELEM
>::TAbs > 
SimTK::abs (const Row< N, ELEM > v)
template<int M, int N, class ELEM>
Mat< M, N, typename CNT< ELEM
>::TAbs > 
SimTK::abs (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
SymMat< N, typename CNT< ELEM
>::TAbs > 
SimTK::abs (const SymMat< N, ELEM > v)
template<class ELEM>
ELEM SimTK::sum (const VectorBase< ELEM > v)
template<class ELEM>
ELEM SimTK::sum (const RowVectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::sum (const MatrixBase< ELEM > v)
template<int N, class ELEM>
ELEM SimTK::sum (const Vec< N, ELEM > v)
template<int N, class ELEM>
ELEM SimTK::sum (const Row< N, ELEM > v)
template<int M, int N, class ELEM>
Row< N, ELEM > SimTK::sum (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::sum (const SymMat< N, ELEM > v)
template<class ELEM>
ELEM SimTK::min (const VectorBase< ELEM > v)
template<class ELEM>
ELEM SimTK::min (const RowVectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::min (const MatrixBase< ELEM > v)
template<int N, class ELEM>
ELEM SimTK::min (const Vec< N, ELEM > v)
template<int N, class ELEM>
ELEM SimTK::min (Row< N, ELEM > v)
template<int M, int N, class ELEM>
Row< N, ELEM > SimTK::min (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::min (SymMat< N, ELEM > v)
template<class ELEM>
ELEM SimTK::max (const VectorBase< ELEM > v)
template<class ELEM>
ELEM SimTK::max (const RowVectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::max (const MatrixBase< ELEM > v)
template<int N, class ELEM>
ELEM SimTK::max (Vec< N, ELEM > v)
template<int N, class ELEM>
ELEM SimTK::max (const Row< N, ELEM > v)
template<int M, int N, class ELEM>
Row< N, ELEM > SimTK::max (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::max (const SymMat< N, ELEM > v)
template<class ELEM>
ELEM SimTK::mean (const VectorBase< ELEM > v)
template<class ELEM>
ELEM SimTK::mean (const RowVectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::mean (const MatrixBase< ELEM > v)
template<int N, class ELEM>
ELEM SimTK::mean (const Vec< N, ELEM > v)
template<int N, class ELEM>
ELEM SimTK::mean (const Row< N, ELEM > v)
template<int M, int N, class ELEM>
Row< N, ELEM > SimTK::mean (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::mean (const SymMat< N, ELEM > v)
template<class ELEM>
VectorBase< ELEM > SimTK::sort (const VectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::sort (const RowVectorBase< ELEM > v)
template<class ELEM>
MatrixBase< ELEM > SimTK::sort (const MatrixBase< ELEM > v)
template<int N, class ELEM>
Vec< N, ELEM > SimTK::sort (Vec< N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::sort (Row< N, ELEM > v)
template<int M, int N, class ELEM>
Mat< M, N, ELEM > SimTK::sort (Mat< M, N, ELEM > v)
template<int N, class ELEM>
Mat< N, N, ELEM > SimTK::sort (const SymMat< N, ELEM > v)
template<class ELEM, class RandomAccessIterator>
ELEM SimTK::median (RandomAccessIterator start, RandomAccessIterator end)
template<class ELEM>
ELEM SimTK::median (const VectorBase< ELEM > v)
template<class ELEM>
ELEM SimTK::median (const RowVectorBase< ELEM > v)
template<class ELEM>
RowVectorBase< ELEM > SimTK::median (const MatrixBase< ELEM > v)
template<int N, class ELEM>
ELEM SimTK::median (Vec< N, ELEM > v)
template<int N, class ELEM>
ELEM SimTK::median (Row< N, ELEM > v)
template<int M, int N, class ELEM>
Row< N, ELEM > SimTK::median (const Mat< M, N, ELEM > v)
template<int N, class ELEM>
Row< N, ELEM > SimTK::median (const SymMat< N, ELEM > v)


Define Documentation

#define ELEMENTWISE_FUNCTION ( func   ) 


Generated on Thu Feb 28 01:34:34 2008 for SimTKcommon by  doxygen 1.4.7