Basic Image AlgorithmS Library
2.8.0
|
#include <Base/Math/tnt/vec.h>
Public Types | |
typedef const T * | const_iterator |
typedef const T & | const_reference |
typedef T | element_type |
typedef T * | iterator |
typedef T * | pointer |
typedef T & | reference |
typedef Subscript | size_type |
typedef T | value_type |
Public Member Functions | |
iterator | begin () |
const iterator | begin () const |
Subscript | dim () const |
iterator | end () |
const iterator | end () const |
Subscript | lbound () const |
Vector< T > & | newsize (Subscript N) |
reference | operator() (Subscript i) |
const_reference | operator() (Subscript i) const |
Vector< T > & | operator= (const Vector< T > &A) |
Vector< T > & | operator= (const T &scalar) |
reference | operator[] (Subscript i) |
const_reference | operator[] (Subscript i) const |
Subscript | size () const |
Vector () | |
Vector (const Vector< T > &A) | |
Vector (Subscript N, const T &value=T()) | |
Vector (Subscript N, const T *v) | |
Vector (const Subscript N, const std::string &s) | |
~Vector () | |
Protected Member Functions | |
void | copy (const T *v) |
void | destroy () |
void | initialize (Subscript N) |
void | set (const T &val) |
Protected Attributes | |
Subscript | n_ |
T * | v_ |
T * | vm1_ |
typedef const T* TNT::Vector< T >::const_iterator |
typedef const T& TNT::Vector< T >::const_reference |
typedef T TNT::Vector< T >::element_type |
typedef T* TNT::Vector< T >::iterator |
typedef T* TNT::Vector< T >::pointer |
typedef T& TNT::Vector< T >::reference |
typedef Subscript TNT::Vector< T >::size_type |
typedef T TNT::Vector< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 164 of file vec.h.
Referenced by Packed_symmetric_eigenvalue_solve(), Upper_symmetric_eigenvalue_solve(), and TNT::Upper_symmetric_eigenvalue_solve().
|
inline |
|
inlineprotected |
Definition at line 92 of file vec.h.
Referenced by TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
|
inlineprotected |
Definition at line 147 of file vec.h.
Referenced by TNT::Vector< Subscript >::newsize(), TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::~Vector().
|
inline |
Definition at line 257 of file vec.h.
Referenced by TNT::dot_prod(), TNT::matmult(), TNT::operator*(), TNT::operator+(), TNT::operator-(), TNT::QR_solve(), and TNT::R_solve().
|
inline |
|
inline |
|
inlineprotected |
Definition at line 80 of file vec.h.
Referenced by TNT::Vector< Subscript >::newsize(), TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
|
inline |
Definition at line 70 of file vec.h.
Referenced by TNT::QR_factor(), TNT::QR_solve(), and TNT::R_solve().
|
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::LDA::AnalyzeData(), BIAS::CheckJacobian(), BIAS::PCA::ComputeMean(), BIAS::ContourDetectorBSpline< StorageType >::CPntsToQ_(), 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(), BIAS::Condensation::GetVariance(), BIAS::Condensation::GetWeightedVariance(), BIAS::SparseMatrix::InvertAndSolve(), BIAS::Vector< T >::KroneckerProduct(), BIAS::LevenbergMarquardtBase::LM_Compute(), BIAS::LevenbergMarquardtBase::LM_ComputeWithoutJacobian(), BIAS::Matrix< T >::Mult(), BIAS::SparseMatrix::Multiply(), BIAS::Matrix< T >::MultLeft(), BIAS::MxArrToBIASVector(), TNT::Fortran_Sparse_Vector< T >::newsize(), TNT::Fortran_Sparse_Col_Matrix< T >::newsize(), BIAS::GenSynthMatches::operator=(), TNT::operator>>(), Packed_symmetric_eigenvalue_solve(), BIAS::Covariance3Dto2D::Project(), BIAS::Covariance3Dto2DHomg::Project(), TNT::QR_factor(), BIAS::GenSynthMatches::Read(), BIAS::SparseMatrix::Solve(), BIAS::LeastSquaresSVD::Solve(), BIAS::Vector< T >::Sub(), BIAS::TextureTransformDisparity::TextureTransformDisparity(), BIAS::TextureTransformDisplacement::TextureTransformDisplacement(), BIAS::TextureTransformEuclidian::TextureTransformEuclidian(), BIAS::TextureTransformRotation::TextureTransformRotation(), BIAS::TextureTransformSimilar::TextureTransformSimilar(), BIAS::MonteCarloTransform::Transform(), BIAS::CovQuaternion2AxisAngle::Transform_(), BIAS::CovEuler2Quaternion::Transform_(), BIAS::Cov3Dto2DPoseCertain::Transform_(), BIAS::Covariance3Dto2D::Transform_(), BIAS::CovTransformPose::Transform_(), BIAS::CamPoseCalib::TransformVec(), Upper_symmetric_eigenvalue_solve(), BIAS::Matrix< T >::Vec(), BIAS::Tracker< StorageType, CalculationType >::Vector2FilterMask_(), and BIAS::LeastSquaresSVD::WeightedSolve().
|
inline |
|
inline |
|
inline |
Definition at line 233 of file vec.h.
Referenced by BIAS::Vector< T >::Fill(), BIAS::Vector< T >::operator=(), and BIAS::Vector< EP_TYPE >::operator=().
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Definition at line 118 of file vec.h.
Referenced by TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
|
inline |
Definition at line 262 of file vec.h.
Referenced by BIAS::GenSynthMatches::_CheckParams(), BIAS::ImageAlignment::Align(), BIAS::LDA::AnalyzeData(), BIAS::CamPoseCalib::ApplyCoVariances_(), BIAS::ImageAlignment::AutoAlign(), BIAS::TrackerBaseAffine2< StorageType >::BilinearRegion1_(), BIAS::IntegralHistogram::CalcSimilarity(), BIAS::CheckJacobian(), BIAS::LDA::ComputeAnonymousReduction(), BIAS::ComputeJacobian(), BIAS::PCA::ComputeMean(), BIAS::LDA::ComputeMeans(), BIAS::LDA::ComputeReductionMatrix(), BIAS::PCA::ComputeScatter(), BIAS::IntegralHistogram::CopyNoCheck(), BIAS::Vector< T >::Dist(), BIAS::Vector< T >::DistLinf(), BIAS::Parametrization::EMatrixToParams(), BIAS::CamPoseCalib::Estimate(), BIAS::TriangleMesh::GetBiggestConnectedSegment(), BIAS::FMatrixEstimation::GetDetPolynomial(), BIAS::Random::GetMeanAndCovariance(), BIAS::GenSynthMatchesRig::GetParameters_(), BIAS::SVD::GetSingularValue(), BIAS::Matrix< T >::GetSubMatrix(), BIAS::HomgPoint3D::HomgPoint3D(), BIAS::Kalman::Init(), BIAS::IteratedExtendedKalman::Init(), BIAS::Vector< T >::KroneckerProduct(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), Lapack_WLLS_solve(), BIAS::Matrix< EP_TYPE >::Matrix(), BIAS::Matrix< T >::Mult(), BIAS::Matrix< T >::MultLeft(), BIAS::Vector< T >::operator*(), BIAS::Vector3< 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::Vector< T >::ScalarProduct(), BIAS::RParametrization::Set(), BIAS::Vector3< T >::Set(), BIAS::HomgPoint2D::Set(), BIAS::Matrix< T >::Set(), BIAS::Matrix< T >::SetCol(), BIAS::PoseParametrization::SetCQ(), BIAS::EParametrization::SetEQ(), BIAS::HomgPlane3D::SetFromVector(), BIAS::Matrix3x3< T >::SetFromVector(), BIAS::ExtendedKalman::SetInitial(), BIAS::Matrix< T >::SetRow(), BIAS::IteratedExtendedKalman::SetState(), BIAS::Matrix< T >::SetTranspose(), BIAS::CamPoseCalib::SetWeightsByError_(), BIAS::GaussHelmert::Solve(), BIAS::LeastSquaresSVD::Solve(), BIAS::SVD::Solve(), BIAS::CamPoseCalib::SolveLM_(), BIAS::SVD::Sqrt(), BIAS::SVD::SqrtT(), BIAS::ImageAlignment::StrictPyramidAlign(), BIAS::Vector< T >::SubIP(), BIAS::ContourDetectorBSpline< StorageType >::TestInit_(), BIAS::UnscentedTransform::Transform(), BIAS::ProjectionParametersBase::Transform_(), BIAS::Kalman::Update(), BIAS::ExtendedKalman::Update(), BIAS::IteratedExtendedKalman::Update(), BIAS::Vector2< T >::Vector2(), BIAS::Vector3< T >::Vector3(), BIAS::Vector4< T >::Vector4(), and BIAS::LeastSquaresSVD::WeightedSolve().
|
protected |
Definition at line 75 of file vec.h.
Referenced by TNT::Vector< Subscript >::copy(), TNT::Vector< Subscript >::destroy(), TNT::Vector< Subscript >::dim(), TNT::Vector< Subscript >::end(), TNT::Vector< Subscript >::initialize(), TNT::Vector< Subscript >::newsize(), TNT::Vector< Subscript >::operator()(), TNT::Vector< Subscript >::operator=(), TNT::Vector< Subscript >::operator[](), TNT::Vector< Subscript >::set(), TNT::Vector< Subscript >::size(), and TNT::Vector< Subscript >::Vector().
|
protected |
Definition at line 73 of file vec.h.
Referenced by TNT::Vector< Subscript >::begin(), TNT::Vector< Subscript >::copy(), TNT::Vector< Subscript >::destroy(), TNT::Vector< Subscript >::end(), TNT::Vector< Subscript >::initialize(), TNT::Vector< Subscript >::operator=(), TNT::Vector< Subscript >::operator[](), TNT::Vector< Subscript >::set(), and TNT::Vector< Subscript >::Vector().
|
protected |
Definition at line 74 of file vec.h.
Referenced by TNT::Vector< Subscript >::destroy(), TNT::Vector< Subscript >::initialize(), and TNT::Vector< Subscript >::operator()().