![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
.
More...
#include <MDSTk/Base/mdsStaticAssert.h>#include <MDSTk/Math/mdsBase.h>#include <MDSTk/Math/mdsVectorBase.h>#include <cmath>#include "mdsGeneral.hxx"Namespaces | |
| namespace | mds |
Medical Data Segmentation Toolkit (MDSTk) | |
| namespace | mds::math |
Functions | |
| template<typename R , class M > | |
| R | mds::math::getMax (const CMatrixBase< M > &Matrix) |
| Maximum value in the matrix. | |
| template<typename R , class M > | |
| R | mds::math::getMean (const CMatrixBase< M > &Matrix) |
| Mean value of matrix elements. | |
| template<typename R , class M > | |
| R | mds::math::getMin (const CMatrixBase< M > &Matrix) |
| Minimum value in the matrix. | |
| template<typename R , class M > | |
| R | mds::math::getMult (const CMatrixBase< M > &Matrix) |
| Returns result of multiplication of all matrix elements. | |
| template<typename R , class M1 , class M2 > | |
| R | mds::math::getProduct (const CMatrixBase< M1 > &Matrix1, const CMatrixBase< M2 > &Matrix2) |
| Inner product of two matrices. | |
| template<typename R , class M1 , class M2 > | |
| R | mds::math::getSquareError (const CMatrixBase< M1 > &Matrix1, const CMatrixBase< M2 > &Matrix2) |
| Normalized mean square error between elements of two matrices - 1/N * sum((m1 - m2)^2). | |
| template<typename R , class M > | |
| R | mds::math::getSum (const CMatrixBase< M > &Matrix) |
| Returns sum of all matrix elements. | |
| template<typename R , class M > | |
| R | mds::math::getSumOfSquares (const CMatrixBase< M > &Matrix) |
| Returns sum of squares of the matrix elements. | |
| template<typename R , class M > | |
| R | mds::math::getTrace (const CMatrixBase< M > &Matrix) |
| Returns trace of the square matrix. | |
| template<typename R , class M > | |
| R | mds::math::getVariance (const CMatrixBase< M > &Matrix) |
| Variance of matrix elements. | |
| template<class M > | |
| std::ostream & | mds::math::operator<< (std::ostream &Stream, const CMatrixBase< M > &Matrix) |
| Prints the matrix to a given output stream. | |
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
.
Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2006/02/15
Description:
1.7.6.1