TNT::Vector< T > Class Template Reference

#include <Base/Math/tnt/vec.h>

Inheritance diagram for TNT::Vector< T >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef const Tconst_iterator
typedef const Tconst_reference
typedef T element_type
typedef Titerator
typedef Tpointer
typedef Treference
typedef Subscript size_type
typedef T value_type

Public Member Functions

const iterator begin () const
iterator begin ()
Subscript dim () const
const iterator end () const
iterator end ()
Subscript lbound () const
Vector< T > & newsize (Subscript N)
const_reference operator() (Subscript i) const
reference operator() (Subscript i)
Vector< T > & operator= (const T &scalar)
Vector< T > & operator= (const Vector< T > &A)
const_reference operator[] (Subscript i) const
reference operator[] (Subscript i)
Subscript size () const
 Vector (const Subscript N, const std::string &s)
 Vector (Subscript N, const T *v)
 Vector (Subscript N, const T &value=T())
 Vector (const Vector< T > &A)
 Vector ()
 ~Vector ()

Protected Member Functions

void copy (const T *v)
void destroy ()
void initialize (Subscript N)
void set (const T &val)

Protected Attributes

Subscript n_
Tv_
Tvm1_


Detailed Description

template<class T>
class TNT::Vector< T >

Definition at line 55 of file vec.h.


Member Typedef Documentation

template<class T >
typedef const T* TNT::Vector< T >::const_iterator

Definition at line 67 of file vec.h.

template<class T >
typedef const T& TNT::Vector< T >::const_reference

Definition at line 68 of file vec.h.

template<class T >
typedef T TNT::Vector< T >::element_type

Definition at line 63 of file vec.h.

template<class T >
typedef T* TNT::Vector< T >::iterator

Definition at line 65 of file vec.h.

template<class T >
typedef T* TNT::Vector< T >::pointer

Definition at line 64 of file vec.h.

template<class T >
typedef T& TNT::Vector< T >::reference

Definition at line 66 of file vec.h.

template<class T >
typedef Subscript TNT::Vector< T >::size_type

Definition at line 61 of file vec.h.

template<class T >
typedef T TNT::Vector< T >::value_type

Definition at line 62 of file vec.h.


Constructor & Destructor Documentation

template<class T >
TNT::Vector< T >::~Vector (  )  [inline]

template<class T >
TNT::Vector< T >::Vector (  )  [inline]

template<class T >
TNT::Vector< T >::Vector ( const Vector< T > &  A  )  [inline]

template<class T >
TNT::Vector< T >::Vector ( Subscript  N,
const T value = T() 
) [inline]

Definition at line 186 of file vec.h.

template<class T >
TNT::Vector< T >::Vector ( Subscript  N,
const T v 
) [inline]

Definition at line 192 of file vec.h.

template<class T >
TNT::Vector< T >::Vector ( const Subscript  N,
const std::string &  s 
) [inline]

Definition at line 207 of file vec.h.


Member Function Documentation

template<class T >
const iterator TNT::Vector< T >::begin (  )  const [inline]

Definition at line 166 of file vec.h.

template<class T >
iterator TNT::Vector< T >::begin (  )  [inline]

template<class T >
void TNT::Vector< T >::copy ( const T v  )  [inline, protected]

template<class T >
void TNT::Vector< T >::destroy (  )  [inline, protected]

template<class T >
Subscript TNT::Vector< T >::dim (  )  const [inline]

template<class T >
const iterator TNT::Vector< T >::end (  )  const [inline]

Definition at line 167 of file vec.h.

template<class T >
iterator TNT::Vector< T >::end (  )  [inline]

Definition at line 165 of file vec.h.

template<class T >
void TNT::Vector< T >::initialize ( Subscript  N  )  [inline, protected]

template<class T >
Subscript TNT::Vector< T >::lbound (  )  const [inline]

Definition at line 70 of file vec.h.

Referenced by TNT::QR_factor(), TNT::QR_solve(), and TNT::R_solve().

template<class T >
Vector<T>& TNT::Vector< T >::newsize ( Subscript  N  )  [inline]

Definition at line 220 of file vec.h.

Referenced by BIAS::GenSynthMatches::_AddParameter(), BIAS::Binomial< InputStorageType, OutputStorageType >::_CalculateKernel(), BIAS::Param::AddParamVecDbl(), BIAS::Param::AddParamVecInt(), BIAS::CheckJacobian(), BIAS::ContourDetectorBSpline< StorageType >::CPntsToQ_(), BIAS::FilterMask::CreateFloatFilter(), BIAS::FilterMask::CreateIntFilter(), TNT::eigenproblem_special_quadratic_matrix_solve(), TNT::eigenvalue_solve(), BIAS::Vector< T >::ElementwiseProduct(), BIAS::CamPoseCalib::Estimate(), BIAS::GenerateGauss::Gauss1D(), General_singular_value_decomposition(), BIAS::SVD::GetLeftNullvector(), BIAS::FFT::GetMagnitude(), BIAS::CondensHisto::GetMaxValue(), BIAS::CondensHisto::GetMaxVariance(), BIAS::Random::GetMeanAndCovariance(), BIAS::CondensHisto::GetMeanVariance(), BIAS::SVD::GetNullvector(), BIAS::PMatrixLinear::GetPEstSystemInHom(), BIAS::FFT::GetPhase(), BIAS::ContourDetectorBSpline< StorageType >::GetPointAndParamVec_(), BIAS::Random::GetQuasiUniformDistributed(), GetSystem(), BIAS::Condensation::GetVariance(), BIAS::Condensation::GetWeightedVariance(), BIAS::Condensation::Init(), BIAS::LeastSquaresBase::Init(), BIAS::SparseMatrix::InvertAndSolve(), BIAS::Vector< T >::KroneckerProduct(), main(), BIAS::Matrix< T >::Mult(), BIAS::SparseMatrix::Multiply(), BIAS::Matrix< T >::MultLeft(), BIAS::MxArrToBIASVector(), MySqTransform(), BIAS::GenSynthMatches::operator=(), TNT::operator>>(), BIAS::UnVignette::PrepareLeastSquaresMin_(), BIAS::PMDImageProc::PreparePolyDepthCalibration(), BIAS::Covariance3Dto2DHomg::Project(), BIAS::Covariance3Dto2D::Project(), TNT::QR_factor(), BIAS::FilterMask::ResetFloatFilter(), BIAS::FilterMask::ResetIntFilter(), BIAS::LeastSquaresSVD::Solve(), BIAS::SparseMatrix::Solve(), BIAS::Vector< T >::Sub(), BIAS::SVD3x3::SVD3x3(), BIAS::TextureTransformDisparity::TextureTransformDisparity(), BIAS::TextureTransformDisplacement::TextureTransformDisplacement(), BIAS::TextureTransformEuclidian::TextureTransformEuclidian(), BIAS::TextureTransformRotation::TextureTransformRotation(), BIAS::TextureTransformSimilar::TextureTransformSimilar(), BIAS::Tracker< StorageType, CalculationType >::Tracker(), BIAS::MonteCarloTransform::Transform(), AffineBackTransform::Transform_(), AffineTransform::Transform_(), BIAS::CovTransformPose::Transform_(), BIAS::CovQuaternion2AxisAngle::Transform_(), BIAS::CovEuler2Quaternion::Transform_(), BIAS::Covariance3Dto2D::Transform_(), BIAS::Cov3Dto2DPoseCertain::Transform_(), BIAS::CamPoseCalib::TransformVec(), Upper_symmetric_eigenvalue_solve(), BIAS::Matrix< T >::Vec(), BIAS::Tracker< StorageType, CalculationType >::Vector2FilterMask_(), and BIAS::LeastSquaresSVD::WeightedSolve().

template<class T >
const_reference TNT::Vector< T >::operator() ( Subscript  i  )  const [inline]

Definition at line 277 of file vec.h.

template<class T >
reference TNT::Vector< T >::operator() ( Subscript  i  )  [inline]

Definition at line 268 of file vec.h.

template<class T >
Vector<T>& TNT::Vector< T >::operator= ( const T scalar  )  [inline]

Definition at line 251 of file vec.h.

template<class T >
Vector<T>& TNT::Vector< T >::operator= ( const Vector< T > &  A  )  [inline]

template<class T >
const_reference TNT::Vector< T >::operator[] ( Subscript  i  )  const [inline]

Definition at line 295 of file vec.h.

template<class T >
reference TNT::Vector< T >::operator[] ( Subscript  i  )  [inline]

Definition at line 286 of file vec.h.

template<class T >
void TNT::Vector< T >::set ( const T val  )  [inline, protected]

Definition at line 118 of file vec.h.

template<class T >
Subscript TNT::Vector< T >::size (  )  const [inline]

Definition at line 262 of file vec.h.

Referenced by BIAS::GenSynthMatches::_CheckParams(), BIAS::SVD::AbsLeftNullspaceDim(), BIAS::SVD::AbsNullspaceDim(), BIAS::Condensation::AddOffsets_(), BIAS::ImageAlignment::Align(), BIAS::CamPoseCalib::ApplyCoVariances_(), BIAS::ImageAlignment::AutoAlign(), BIAS::IntegralHistogram::CalcSimilarity(), BIAS::CheckJacobian(), BIAS::FilterMask::ComputeIntPrecisionBits(), BIAS::ComputeJacobian(), BIAS::IntegralHistogram::CopyNoCheck(), BIAS::FilterMask::CreateFloatFilter(), BIAS::Vector< T >::Dist(), BIAS::Vector< T >::ElementwiseProduct(), BIAS::Parametrization::EMatrixToParams(), BIAS::CamPoseCalib::Estimate(), Fill(), BIAS::SVD::General_Eigenproblem_GeneralMatrix_Lapack(), BIAS::ContourDetectorBSpline< StorageType >::GetBoundingBox(), BIAS::FMatrixEstimation::GetDetPolynomial(), BIAS::Random::GetMeanAndCovariance(), BIAS::GenSynthMatchesRig::GetParameters_(), BIAS::SVD::GetSingularValue(), gsolve(), BIAS::HomgPoint3D::HomgPoint3D(), BIAS::Kalman::Init(), BIAS::SVD::Invert(), BIAS::Vector< T >::IsZero(), BIAS::Vector< T >::KroneckerProduct(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), Lapack_WLLS_solve(), main(), BIAS::Matrix< EP_TYPE >::Matrix(), BIAS::Matrix< T >::Mult(), BIAS::Vector< T >::Multiply(), BIAS::Matrix< T >::MultLeft(), BIAS::Vector< T >::operator*(), BIAS::Vector< T >::operator*=(), BIAS::Vector3< T >::operator+(), BIAS::Vector< T >::operator+=(), BIAS::Vector< T >::operator-=(), BIAS::Vector< T >::operator/=(), BIAS::Vector3< HOMGPOINT2D_TYPE >::operator=(), BIAS::Vector< T >::operator==(), TNT::operator>>(), BIAS::Vector< T >::OuterProduct(), BIAS::Parametrization::ParamsToEMatrix(), TNT::QR_factor(), BIAS::ContourDetectorBSpline< StorageType >::QToCPnts_(), BIAS::SVD::RelLeftNullspaceDim(), BIAS::SVD::RelNullspaceDim(), BIAS::FilterMask::ResetFloatFilter(), BIAS::Vector< T >::ScalarProduct(), BIAS::ContourDetectorBSpline< StorageType >::Scale(), BIAS::ContourDetectorBSpline< StorageType >::ScaleX(), BIAS::ContourDetectorBSpline< StorageType >::ScaleY(), BIAS::Vector3< T >::Set(), BIAS::Matrix< T >::Set(), BIAS::RParametrization::Set(), BIAS::HomgPoint2D::Set(), BIAS::Matrix< T >::SetCol(), BIAS::PoseParametrization::SetCQ(), BIAS::EParametrization::SetEQ(), BIAS::Matrix3x3< T >::SetFromVector(), BIAS::HomgPlane3D::SetFromVector(), BIAS::ExtendedKalman::SetInitial(), BIAS::Matrix< T >::SetRow(), BIAS::Matrix< T >::SetTranspose(), BIAS::CamPoseCalib::SetWeightsByError_(), BIAS::SVD::Solve(), BIAS::LeastSquaresSVD::Solve(), BIAS::GaussHelmert::Solve(), BIAS::CamPoseCalib::SolveLM_(), BIAS::SVD::Sqrt(), BIAS::SVD::SqrtT(), BIAS::ImageAlignment::StrictPyramidAlign(), BIAS::Vector< T >::Sub(), BIAS::Vector< T >::SubIP(), BIAS::ContourDetectorBSpline< StorageType >::TestInit_(), BIAS::UnscentedTransform::Transform(), AffineBackTransform::Transform_(), AffineTransform::Transform_(), BIAS::ProjectionParametersBase::Transform_(), BIAS::Kalman::Update(), BIAS::ExtendedKalman::Update(), BIAS::Vector2< T >::Vector2(), BIAS::Vector3< T >::Vector3(), BIAS::Vector4< T >::Vector4(), and BIAS::LeastSquaresSVD::WeightedSolve().


Member Data Documentation

template<class T >
Subscript TNT::Vector< T >::n_ [protected]

template<class T >
T* TNT::Vector< T >::v_ [protected]

template<class T >
T* TNT::Vector< T >::vm1_ [protected]


The documentation for this class was generated from the following file:

Generated on Wed Jan 7 01:15:30 2009 for Basic Image AlgorithmS Library by  doxygen 1.5.7.1