iRoCS Toolbox
1.1.0
|
Functions | |
template<int NRows, int NColumns> | |
bool | all (blitz::TinyMatrix< bool, NRows, NColumns > const &matrix) |
all() reduction for boolean blitz::TinyMatrix. More... | |
template<int NRows, int NColumns> | |
bool | any (blitz::TinyMatrix< bool, NRows, NColumns > const &matrix) |
any() reduction for boolean blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator!= (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison for inequality of two blitz::TinyMatrices. More... | |
template<typename DataT , int Dim1, int Dim2> | |
TinyVector< DataT, Dim2 > | operator* (TinyMatrix< DataT, Dim2, Dim1 > const &m, TinyVector< DataT, Dim1 > const &v) |
Product of a blitz::TinyMatrix and a blitz::TinyVector. More... | |
template<typename DataT , int Dim1, int Dim2> | |
TinyVector< DataT, Dim1 > | operator* (TinyVector< DataT, Dim2 > const &v, TinyMatrix< DataT, Dim2, Dim1 > const &m) |
Product of a blitz::TinyVector and a blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator* (DataT const &alpha, TinyMatrix< DataT, NRows, NColumns > const &m) |
Product of a scalar and a blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator* (TinyMatrix< DataT, NRows, NColumns > const &m, DataT const &alpha) |
Product of a scalar and a blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator+ (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Addition of a blitz::TinyMatrix to another blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator- (TinyMatrix< DataT, NRows, NColumns > const &m) |
Negation of a blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator- (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Subtraction of a blitz::TinyMatrix from another blitz::TinyMatrix. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< DataT, NRows, NColumns > | operator/ (TinyMatrix< DataT, NRows, NColumns > const &m, DataT const &alpha) |
Division of a blitz::TinyMatrix by a scalar. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator< (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison of two blitz::TinyMatrices using the less than operator. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator<= (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison of two blitz::TinyMatrices using the less than or equals operator. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator== (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison for equality of two blitz::TinyMatrices. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator> (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison of two blitz::TinyMatrices using the greater than operator. More... | |
template<typename DataT , int NRows, int NColumns> | |
TinyMatrix< bool, NRows, NColumns > | operator>= (TinyMatrix< DataT, NRows, NColumns > const &lhs, TinyMatrix< DataT, NRows, NColumns > const &rhs) |
Elementwise comparison of two blitz::TinyMatrices using the greater than or equals operator. More... | |
TinyMatrix<DataT,NRows,NColumns> blitz::operator- | ( | TinyMatrix< DataT, NRows, NColumns > const & | m | ) |
Negation of a blitz::TinyMatrix.
m | The matrix |
Definition at line 51 of file TinyMatrixOperators.hh.
TinyVector<DataT,Dim2> blitz::operator* | ( | TinyMatrix< DataT, Dim2, Dim1 > const & | m, |
TinyVector< DataT, Dim1 > const & | v | ||
) |
Product of a blitz::TinyMatrix and a blitz::TinyVector.
m | The matrix |
v | The vector to multiply to matrix m |
Definition at line 70 of file TinyMatrixOperators.hh.
TinyVector<DataT,Dim1> blitz::operator* | ( | TinyVector< DataT, Dim2 > const & | v, |
TinyMatrix< DataT, Dim2, Dim1 > const & | m | ||
) |
Product of a blitz::TinyVector and a blitz::TinyMatrix.
The vector is interpreted as row vector and left-multiplied to the matrix.
v | The vector |
m | The matrix |
Definition at line 92 of file TinyMatrixOperators.hh.
TinyMatrix<DataT,NRows,NColumns> blitz::operator* | ( | DataT const & | alpha, |
TinyMatrix< DataT, NRows, NColumns > const & | m | ||
) |
Product of a scalar and a blitz::TinyMatrix.
alpha | The scalar to multiply to the matrix |
m | The matrix |
Definition at line 113 of file TinyMatrixOperators.hh.
TinyMatrix<DataT,NRows,NColumns> blitz::operator* | ( | TinyMatrix< DataT, NRows, NColumns > const & | m, |
DataT const & | alpha | ||
) |
Product of a scalar and a blitz::TinyMatrix.
m | The matrix |
alpha | The scalar to multiply to the matrix |
Definition at line 135 of file TinyMatrixOperators.hh.
TinyMatrix<DataT,NRows,NColumns> blitz::operator/ | ( | TinyMatrix< DataT, NRows, NColumns > const & | m, |
DataT const & | alpha | ||
) |
Division of a blitz::TinyMatrix by a scalar.
m | The matrix |
alpha | The scalar divident |
Definition at line 157 of file TinyMatrixOperators.hh.
TinyMatrix<DataT,NRows,NColumns> blitz::operator- | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Subtraction of a blitz::TinyMatrix from another blitz::TinyMatrix.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 179 of file TinyMatrixOperators.hh.
TinyMatrix<DataT,NRows,NColumns> blitz::operator+ | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Addition of a blitz::TinyMatrix to another blitz::TinyMatrix.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 202 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator== | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison for equality of two blitz::TinyMatrices.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 225 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator!= | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison for inequality of two blitz::TinyMatrices.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 246 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator< | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison of two blitz::TinyMatrices using the less than operator.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 268 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator<= | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison of two blitz::TinyMatrices using the less than or equals operator.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 290 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator> | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison of two blitz::TinyMatrices using the greater than operator.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 312 of file TinyMatrixOperators.hh.
TinyMatrix<bool,NRows,NColumns> blitz::operator>= | ( | TinyMatrix< DataT, NRows, NColumns > const & | lhs, |
TinyMatrix< DataT, NRows, NColumns > const & | rhs | ||
) |
Elementwise comparison of two blitz::TinyMatrices using the greater than or equals operator.
lhs | The left-hand-side matrix |
rhs | The right-hand-side matrix |
Definition at line 334 of file TinyMatrixOperators.hh.
bool blitz::all | ( | blitz::TinyMatrix< bool, NRows, NColumns > const & | matrix | ) |
all() reduction for boolean blitz::TinyMatrix.
This function returns true, if all elements of the given matrix are true.
matrix | The matrix to check |
true
if all elements of the given matrix are true, false
otherwise Definition at line 356 of file TinyMatrixOperators.hh.
Referenced by arrayToColorQImage(), arrayToGrayQImage(), BlitzDataExplorer::BlitzDataExplorer(), segmentation::collectSelectedClusterProfiles(), BlitzDataExplorer::getXYView(), BlitzDataExplorer::getXZView(), BlitzDataExplorer::getZYView(), segmentation::NormalPDF< T >::NormalPDF(), segmentation::ProfileSampler< T, Dim >::sample(), and BlitzDataExplorer::updateData().
bool blitz::any | ( | blitz::TinyMatrix< bool, NRows, NColumns > const & | matrix | ) |
any() reduction for boolean blitz::TinyMatrix.
This function returns true, if any element of the given matrix is true.
matrix | The matrix to check |
true
if any element of the given matrix is true, false
otherwise Definition at line 375 of file TinyMatrixOperators.hh.
Referenced by atb::STLFileWriter::drawEllipse(), atb::STLFileWriter::drawRotationObjectFromContour(), and segmentation::ProfileFilter< T, Dim >::operator()().