#include <itkVariableSizeMatrix.h>
Definition at line 44 of file itkVariableSizeMatrix.h.
Public Types | |
typedef T | ComponentType |
typedef vnl_matrix< T > | InternalMatrixType |
typedef VariableSizeMatrix | Self |
typedef T | ValueType |
Public Member Functions | |
unsigned int | Cols () const |
void | Fill (const T &value) |
vnl_matrix< T > | GetTranspose (void) const |
const InternalMatrixType & | GetVnlMatrix (void) const |
InternalMatrixType & | GetVnlMatrix (void) |
vnl_vector< T > | operator * (const vnl_vector< T > &matrix) const |
vnl_matrix< T > | operator * (const vnl_matrix< T > &matrix) const |
Self | operator * (const Self &matrix) const |
Array< T > | operator * (const Array< T > &vector) const |
void | operator *= (const T &value) |
void | operator *= (const vnl_matrix< T > &matrix) |
void | operator *= (const Self &matrix) |
const T & | operator() (unsigned int row, unsigned int col) const |
T & | operator() (unsigned int row, unsigned int col) |
void | operator/= (const T &value) |
const Self & | operator= (const Self &matrix) |
const Self & | operator= (const vnl_matrix< T > &matrix) |
const T * | operator[] (unsigned int i) const |
T * | operator[] (unsigned int i) |
unsigned int | Rows () const |
void | SetIdentity (void) |
bool | SetSize (unsigned int r, unsigned int c) |
VariableSizeMatrix (const Self &matrix) | |
VariableSizeMatrix (unsigned int rows, unsigned int cols) | |
VariableSizeMatrix () | |
vnl_matrix< T > | GetInverse (void) const |
Self | operator * (const T &value) |
bool | operator!= (const Self &matrix) const |
bool | operator== (const Self &matrix) const |
Self | operator+ (const Self &matrix) const |
const Self & | operator+= (const Self &matrix) |
Self | operator- (const Self &matrix) const |
const Self & | operator-= (const Self &matrix) |
Self | operator/ (const T &value) |
typedef T itk::VariableSizeMatrix< T >::ComponentType |
Definition at line 51 of file itkVariableSizeMatrix.h.
typedef vnl_matrix<T> itk::VariableSizeMatrix< T >::InternalMatrixType |
Internal matrix type
Definition at line 54 of file itkVariableSizeMatrix.h.
typedef VariableSizeMatrix itk::VariableSizeMatrix< T >::Self |
Standard class typedefs.
Definition at line 47 of file itkVariableSizeMatrix.h.
typedef T itk::VariableSizeMatrix< T >::ValueType |
Component value type
Definition at line 50 of file itkVariableSizeMatrix.h.
itk::VariableSizeMatrix< T >::VariableSizeMatrix | ( | ) | [inline] |
Default constructor.
Definition at line 177 of file itkVariableSizeMatrix.h.
itk::VariableSizeMatrix< T >::VariableSizeMatrix | ( | unsigned int | rows, | |
unsigned int | cols | |||
) |
itk::VariableSizeMatrix< T >::VariableSizeMatrix | ( | const Self & | matrix | ) | [inline] |
Copy constructor.
Definition at line 182 of file itkVariableSizeMatrix.h.
unsigned int itk::VariableSizeMatrix< T >::Cols | ( | ) | const [inline] |
Return number of columns in the matrix
Definition at line 188 of file itkVariableSizeMatrix.h.
Referenced by itk::VariableSizeMatrix< T >::operator==().
void itk::VariableSizeMatrix< T >::Fill | ( | const T & | value | ) | [inline] |
Fill the matrix with a value.
Definition at line 135 of file itkVariableSizeMatrix.h.
vnl_matrix<T> itk::VariableSizeMatrix< T >::GetInverse | ( | void | ) | const [inline] |
Return the inverse matrix.
Definition at line 162 of file itkVariableSizeMatrix.h.
vnl_matrix<T> itk::VariableSizeMatrix< T >::GetTranspose | ( | void | ) | const [inline] |
Return the transposed matrix.
Definition at line 171 of file itkVariableSizeMatrix.h.
const InternalMatrixType& itk::VariableSizeMatrix< T >::GetVnlMatrix | ( | void | ) | const [inline] |
Return the matrix.
Definition at line 127 of file itkVariableSizeMatrix.h.
InternalMatrixType& itk::VariableSizeMatrix< T >::GetVnlMatrix | ( | void | ) | [inline] |
Return the matrix.
Definition at line 123 of file itkVariableSizeMatrix.h.
Referenced by itk::operator<<().
Self itk::VariableSizeMatrix< T >::operator * | ( | const T & | value | ) | [inline] |
Matrix by scalar multiplication.
Definition at line 89 of file itkVariableSizeMatrix.h.
vnl_vector<T> itk::VariableSizeMatrix< T >::operator * | ( | const vnl_vector< T > & | matrix | ) | const |
Matrix by vnl_vector multiplication.
vnl_matrix<T> itk::VariableSizeMatrix< T >::operator * | ( | const vnl_matrix< T > & | matrix | ) | const |
Matrix by vnl_matrix multiplication.
Self itk::VariableSizeMatrix< T >::operator * | ( | const Self & | matrix | ) | const |
Array<T> itk::VariableSizeMatrix< T >::operator * | ( | const Array< T > & | vector | ) | const |
void itk::VariableSizeMatrix< T >::operator *= | ( | const T & | value | ) | [inline] |
Matrix by scalar multiplication.
Definition at line 85 of file itkVariableSizeMatrix.h.
void itk::VariableSizeMatrix< T >::operator *= | ( | const vnl_matrix< T > & | matrix | ) |
Matrix by vnl_matrix multiplication.
void itk::VariableSizeMatrix< T >::operator *= | ( | const Self & | matrix | ) |
bool itk::VariableSizeMatrix< T >::operator!= | ( | const Self & | matrix | ) | const [inline] |
Definition at line 147 of file itkVariableSizeMatrix.h.
References itk::VariableSizeMatrix< T >::operator==().
const T& itk::VariableSizeMatrix< T >::operator() | ( | unsigned int | row, | |
unsigned int | col | |||
) | const [inline] |
Return an element of the matrix.
Definition at line 111 of file itkVariableSizeMatrix.h.
T& itk::VariableSizeMatrix< T >::operator() | ( | unsigned int | row, | |
unsigned int | col | |||
) | [inline] |
Return an element of the matrix.
Definition at line 107 of file itkVariableSizeMatrix.h.
Self itk::VariableSizeMatrix< T >::operator+ | ( | const Self & | matrix | ) | const |
Matrix addition.
const Self& itk::VariableSizeMatrix< T >::operator+= | ( | const Self & | matrix | ) |
Matrix addition.
Self itk::VariableSizeMatrix< T >::operator- | ( | const Self & | matrix | ) | const |
Matrix addition.
const Self& itk::VariableSizeMatrix< T >::operator-= | ( | const Self & | matrix | ) |
Matrix addition.
Self itk::VariableSizeMatrix< T >::operator/ | ( | const T & | value | ) | [inline] |
Matrix by scalar division.
Definition at line 100 of file itkVariableSizeMatrix.h.
void itk::VariableSizeMatrix< T >::operator/= | ( | const T & | value | ) | [inline] |
Matrix by scalar division.
Definition at line 96 of file itkVariableSizeMatrix.h.
const Self& itk::VariableSizeMatrix< T >::operator= | ( | const Self & | matrix | ) | [inline] |
Assignment operator.
Definition at line 154 of file itkVariableSizeMatrix.h.
References itk::VariableSizeMatrix< T >::m_Matrix.
const Self& itk::VariableSizeMatrix< T >::operator= | ( | const vnl_matrix< T > & | matrix | ) | [inline] |
Assignment operator.
Definition at line 139 of file itkVariableSizeMatrix.h.
bool itk::VariableSizeMatrix< T >::operator== | ( | const Self & | matrix | ) | const [inline] |
Comparison operators.
Definition at line 214 of file itkVariableSizeMatrix.h.
References itk::VariableSizeMatrix< T >::Cols(), itk::VariableSizeMatrix< T >::m_Matrix, and itk::VariableSizeMatrix< T >::Rows().
Referenced by itk::VariableSizeMatrix< T >::operator!=().
const T* itk::VariableSizeMatrix< T >::operator[] | ( | unsigned int | i | ) | const [inline] |
Return a row of the matrix.
Definition at line 119 of file itkVariableSizeMatrix.h.
T* itk::VariableSizeMatrix< T >::operator[] | ( | unsigned int | i | ) | [inline] |
Return a row of the matrix.
Definition at line 115 of file itkVariableSizeMatrix.h.
unsigned int itk::VariableSizeMatrix< T >::Rows | ( | ) | const [inline] |
Return number of rows in the matrix
Definition at line 185 of file itkVariableSizeMatrix.h.
Referenced by itk::VariableSizeMatrix< T >::operator==().
void itk::VariableSizeMatrix< T >::SetIdentity | ( | void | ) | [inline] |
Set the matrix to identity.
Definition at line 131 of file itkVariableSizeMatrix.h.
bool itk::VariableSizeMatrix< T >::SetSize | ( | unsigned int | r, | |
unsigned int | c | |||
) | [inline] |
Set the matrix size. Old data lost. Returns true if size changed.
Definition at line 191 of file itkVariableSizeMatrix.h.