18 #ifndef __itkVariableSizeMatrix_h
19 #define __itkVariableSizeMatrix_h
23 #include "vnl/vnl_matrix_fixed.h"
24 #include "vnl/algo/vnl_matrix_inverse.h"
25 #include "vnl/vnl_transpose.h"
26 #include "vnl/vnl_matrix.h"
76 vnl_matrix< T >
operator *(
const vnl_matrix< T > & matrix)
const;
82 void operator*=(
const vnl_matrix< T > & matrix);
85 vnl_vector< T >
operator *(
const vnl_vector< T > & matrix)
const;
118 inline const T &
operator()(
unsigned int row,
unsigned int col)
const
154 inline void Fill(
const T & value)
184 vnl_matrix< T > temp = vnl_matrix_inverse< T >(
m_Matrix);
210 inline bool SetSize(
unsigned int r,
unsigned int c) {
return m_Matrix.set_size(r, c); }
232 if ( ( matrix.
Rows() != this->Rows() )
233 || ( matrix.
Cols() != this->Cols() ) )
240 for (
unsigned int r = 0; r < this->Rows(); r++ )
242 for (
unsigned int c = 0; c < this->Cols(); c++ )
244 if ( m_Matrix(r, c) != matrix.
m_Matrix(r, c) )
255 #ifndef ITK_MANUAL_INSTANTIATION
256 #include "itkVariableSizeMatrix.hxx"