Basic Image AlgorithmS Library
2.8.0
|
class for column vectors with arbitrary size More...
#include <Base/Math/GenerateGauss.hh>
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 |
void | clear () |
stl conform interface JW More... | |
Subscript | dim () const |
double | Dist (const Vector< T > &vec) const |
Return the euclidean distance of 2 vectors. More... | |
double | DistLinf (const Vector< T > &vec) const |
Return the L infinity distance of 2 vectors. More... | |
void | ElementwiseProduct (const Vector< T > &arg, Vector< T > &dest) const |
multiply this with arg elementwise and store the result in dest More... | |
Vector< T > | ElementwiseProduct (const Vector< T > &arg) const |
multiply this with arg elementwise and return the result More... | |
iterator | end () |
const iterator | end () const |
void | Fill (const T &scalar) |
fills complete Vector with scalar value More... | |
T * | GetData () const |
get the pointer to the data array of the vector (for faster direct memory access) More... | |
T * | GetDataLast () const |
Get the pointer to last element of the data array. More... | |
double | GetMean (void) const |
int | GetNumElements () const |
conformance interface JW More... | |
void | GetSTLVec (std::vector< T > &vec) const |
std::vector< T > | GetSTLVec () const |
bool | IsZero () const |
void | KroneckerProduct (const Vector< T > &arg, Vector< T > &dst) const |
kronecker product More... | |
Subscript | lbound () const |
double | Length () const |
returns the Euclidean Length of the Vector More... | |
bool | Load (const std::string &filename) |
method to load directly from a given filename. More... | |
void | Multiply (const T &scalar, Vector< T > &res) const |
multiply components with scalar storing result in res More... | |
void | MultiplyIP (const T &scalar) |
in place multiplication with scalar More... | |
Vector< T > & | newsize (Subscript N) |
T | NormL1 () const |
Return the L1 norm: |a| + |b| + |c| + ... More... | |
double | NormL2 () const |
Return the L2 norm: sqrt(a^1 + a^2 + ...) More... | |
bool | operator!= (const Vector< T > &vec) const |
reference | operator() (Subscript i) |
const_reference | operator() (Subscript i) const |
void | operator*= (T scalar) |
void | operator+= (const Vector< T > &vec) |
void | operator-= (const Vector< T > &vec) |
void | operator/= (T scalar) |
Vector< T > & | operator= (const TNT::Vector< T > &vec) |
assignment operators calling corresponding operator from base class "TNT::Vector" if appropriate More... | |
Vector< T > & | operator= (const Vector< T > &vec) |
assignment operator calling corresponding operator from base class "TNT::Vector" if appropriate More... | |
bool | operator== (const Vector< T > &vec) const |
reference | operator[] (Subscript i) |
const_reference | operator[] (Subscript i) const |
Matrix< T > | OuterProduct (const Vector< T > &v) const |
outer product, constructs a matrix. More... | |
bool | Save (const std::string &filename) const |
method to save directly to a given filename. More... | |
T | ScalarProduct (const Vector< T > &argvec) const |
scalar product (inner product) of two vectors returning a scalr More... | |
void | ScalarProduct (const Vector< T > &argvec, T &result) const |
scalar product (inner product) of two vectors returning a scalar, storing the result in result More... | |
void | Set (const T &scalar) |
void | SetZero () |
equivalent to matrix call More... | |
unsigned int | Size () const |
length of the vector More... | |
Subscript | size () const |
void | Sub (const Vector< T > &arg, Vector< T > &dest) const |
Substraction of vector, storing results in destination vector. More... | |
void | SubIP (const Vector< T > &argmat) |
in place subtracting More... | |
Vector< T > | SubVec (int length, int offset=0) const |
returns the subvector with elements between offset and offset+length-1 More... | |
Vector () | |
Vector (const int rows) | |
Vector (const int rows, const std::string &s) | |
Vector (int rows, const T &value) | |
assignment with a constant value for all elements (=set) More... | |
Vector (int rows, const T *v) | |
Vector (const Vector< T > &v) | |
Vector (const TNT::Vector< T > &v) | |
Vector (const Vector2< T > &v) | |
Vector (const Vector3< T > &v) | |
Vector (const Vector4< T > &v) | |
Vector (const std::vector< T > &v) | |
virtual | ~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_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
Vector< T > | operator* (const Vector< T > &v, const T &scalar) |
template<class T > | |
Vector< T > | operator* (const T &scalar, const Vector< T > &v) |
template<class T > | |
T | operator* (const Vector< T > &v, const Vector< T > &argvec) |
template<class T > | |
Vector< T > | operator* (const Matrix< T > &mat, const Vector2< T > &vec) |
template<class T > | |
std::ostream & | operator<< (std::ostream &os, const BIAS::Vector< T > &vec) |
class for column vectors with arbitrary size
class Vector is the vector class that should be used by common BIAS algorithms and data structures. It is derived from TNT::Vector to inherit the basic operations and algorithm. Special implementations should be done here and NOT in TNT:Vector because the true 'base' Matrix class "TNT::Vector" should be interchangeable and aside from this maintained by NIST.
changed from BIAS to BIAS 11/05/2002 (jw)
The Vector is in row-major order (=n rows, 1 column)
Definition at line 30 of file GenerateGauss.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef T BIAS::Vector< T >::value_type |
|
virtual |
Definition at line 45 of file Vector.cpp.
|
inline |
|
inlineexplicit |
|
explicit |
Definition at line 49 of file Vector.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
BIAS::Vector< T >::Vector | ( | const Vector2< T > & | v | ) |
Definition at line 55 of file Vector.cpp.
BIAS::Vector< T >::Vector | ( | const Vector3< T > & | v | ) |
Definition at line 61 of file Vector.cpp.
BIAS::Vector< T >::Vector | ( | const Vector4< T > & | v | ) |
Definition at line 67 of file Vector.cpp.
|
explicit |
Definition at line 73 of file Vector.cpp.
References BIAS::Vector< T >::Size().
|
inlineinherited |
Definition at line 164 of file vec.h.
Referenced by Packed_symmetric_eigenvalue_solve(), Upper_symmetric_eigenvalue_solve(), and TNT::Upper_symmetric_eigenvalue_solve().
|
inlineinherited |
|
inline |
|
inlineprotectedinherited |
Definition at line 92 of file vec.h.
Referenced by TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
|
inlineprotectedinherited |
Definition at line 147 of file vec.h.
Referenced by TNT::Vector< Subscript >::newsize(), TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::~Vector().
|
inlineinherited |
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 |
Return the euclidean distance of 2 vectors.
Definition at line 435 of file Vector.hh.
References BIAS::Vector< T >::GetDataLast(), and TNT::Vector< T >::size().
|
inline |
Return the L infinity distance of 2 vectors.
Definition at line 459 of file Vector.hh.
References BIAS::Vector< T >::GetDataLast(), and TNT::Vector< T >::size().
|
inline |
multiply this with arg elementwise and store the result in dest
Definition at line 491 of file Vector.hh.
References TNT::Vector< T >::newsize(), and BIAS::Vector< T >::Size().
Referenced by BIAS::CondensHisto::GetMaxVariance(), BIAS::CondensHisto::GetMeanVariance(), BIAS::Condensation::GetVariance(), and BIAS::Condensation::GetWeightedVariance().
|
inline |
|
inlineinherited |
|
inlineinherited |
void BIAS::Vector< T >::Fill | ( | const T & | scalar | ) |
fills complete Vector with scalar value
Definition at line 92 of file Vector.cpp.
References TNT::Vector< T >::operator=().
Referenced by BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), TemplateInit::Init(), and BIAS::Matrix< T >::Mult().
|
inline |
get the pointer to the data array of the vector (for faster direct memory access)
Definition at line 219 of file Vector.hh.
Referenced by BIAS::clfGradientGauss< InputStorageType, OutputStorageType >::CalculateKernels_(), BIAS::CheckJacobian(), BIAS::FFT::Compute(), BIAS::ComputeCovariance(), BIAS::ComputeJacobian(), BIAS::IntegralHistogram::CopyNoCheck(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), Lapack_WLLS_solve(), BIAS::LevenbergMarquardt(), BIAS::LevenbergMarquardtExtended(), BIAS::Vector< T >::operator+=(), BIAS::Vector< T >::operator-=(), BIAS::Vector3< HOMGPOINT2D_TYPE >::operator=(), BIAS::Vector< T >::operator==(), BIAS::Powell(), BIAS::PowellExtended(), BIAS::PMatrixBase::SetFromVector(), and BIAS::glfShaderProgram::SetUniform().
|
inline |
Get the pointer to last element of the data array.
Definition at line 226 of file Vector.hh.
Referenced by BIAS::Vector< T >::Dist(), and BIAS::Vector< T >::DistLinf().
double BIAS::Vector< T >::GetMean | ( | void | ) | const |
Definition at line 200 of file Vector.cpp.
|
inline |
conformance interface JW
Definition at line 147 of file Vector.hh.
Referenced by BIAS::glfShaderProgram::SetUniform().
void BIAS::Vector< T >::GetSTLVec | ( | std::vector< T > & | vec | ) | const |
Definition at line 180 of file Vector.cpp.
std::vector< T > BIAS::Vector< T >::GetSTLVec | ( | ) | const |
Definition at line 191 of file Vector.cpp.
|
inlineprotectedinherited |
Definition at line 80 of file vec.h.
Referenced by TNT::Vector< Subscript >::newsize(), TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
bool BIAS::Vector< T >::IsZero | ( | ) | const |
Definition at line 127 of file Vector.cpp.
Referenced by BIAS::TriangleMesh::TestContraction().
void BIAS::Vector< T >::KroneckerProduct | ( | const Vector< T > & | arg, |
Vector< T > & | dst | ||
) | const |
kronecker product
Definition at line 111 of file Vector.cpp.
References TNT::Vector< T >::newsize(), and TNT::Vector< T >::size().
Referenced by BIAS::Triangulation::GetCovarianceProjective().
|
inlineinherited |
Definition at line 70 of file vec.h.
Referenced by TNT::QR_factor(), TNT::QR_solve(), and TNT::R_solve().
|
inline |
bool BIAS::Vector< T >::Load | ( | const std::string & | filename | ) |
method to load directly from a given filename.
internally using stream operator
Definition at line 151 of file Vector.cpp.
|
inline |
multiply components with scalar storing result in res
Definition at line 377 of file Vector.hh.
Referenced by BIAS::Vector< T >::operator*().
|
inline |
in place multiplication with scalar
Definition at line 202 of file Vector.hh.
Referenced by BIAS::Condensation::CalculateMean_().
|
inlineinherited |
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 |
Return the L2 norm: sqrt(a^1 + a^2 + ...)
Definition at line 416 of file Vector.hh.
Referenced by BIAS::ImageAlignment::Align(), BIAS::ImageBlender::ComputeCylCamGeometry(), BIAS::ImageBlenderIncremental::ComputeCylCamGeometry_(), BIAS::TriangleMesh::TestContraction(), and BIAS::Covariance3Dto2DHomg::Transform_().
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
Definition at line 298 of file Vector.hh.
References BIAS::Vector< T >::GetData(), and TNT::Vector< T >::size().
|
inline |
Definition at line 310 of file Vector.hh.
References BIAS::Vector< T >::GetData(), and TNT::Vector< T >::size().
|
inline |
Vector< T > & BIAS::Vector< T >::operator= | ( | const TNT::Vector< T > & | vec | ) |
assignment operators calling corresponding operator from base class "TNT::Vector" if appropriate
Definition at line 85 of file Vector.cpp.
References TNT::Vector< T >::operator=().
|
inline |
|
inline |
Definition at line 344 of file Vector.hh.
References BIAS::Vector< T >::GetData(), and TNT::Vector< T >::size().
|
inlineinherited |
|
inlineinherited |
Matrix< T > BIAS::Vector< T >::OuterProduct | ( | const Vector< T > & | v | ) | const |
outer product, constructs a matrix.
Often written as v * v^T for col vectors
Definition at line 99 of file Vector.cpp.
References TNT::Vector< T >::size().
Referenced by BIAS::ContourDetectorBSpline< StorageType >::Fit_(), BIAS::GenerateGauss::Gauss2D(), BIAS::QRFrac(), BIAS::TrackerBaseHomography< StorageType >::Track_(), BIAS::MonteCarloTransform::Transform(), and BIAS::UnscentedTransform::Transform().
bool BIAS::Vector< T >::Save | ( | const std::string & | filename | ) | const |
method to save directly to a given filename.
internally using stream operator
Definition at line 166 of file Vector.cpp.
|
inline |
scalar product (inner product) of two vectors returning a scalr
Definition at line 355 of file Vector.hh.
Referenced by BIAS::BSplineCurve::CubicUniformBSpline(), BIAS::CondensImg::DrawMean(), BIAS::ContourDetectorBSpline< StorageType >::GetNormal_(), BIAS::ContourDetectorBSpline< StorageType >::GetPointAndParamVec_(), BIAS::Vector< T >::operator*(), BIAS::BSplineCurve::QuadraticUniformBSpline(), BIAS::GaussHelmert::Solve(), and BIAS::TrackerBaseHomography< StorageType >::Track_().
|
inline |
scalar product (inner product) of two vectors returning a scalar, storing the result in result
Definition at line 363 of file Vector.hh.
References TNT::Vector< T >::size().
|
inlineprotectedinherited |
Definition at line 118 of file vec.h.
Referenced by TNT::Vector< Subscript >::operator=(), and TNT::Vector< Subscript >::Vector().
|
inline |
Definition at line 153 of file Vector.hh.
Referenced by BIAS::Condensation::CalculateMean_(), BIAS::Vector3< T >::operator*(), and BIAS::Vector4< T >::operator*().
|
inline |
equivalent to matrix call
Definition at line 156 of file Vector.hh.
Referenced by BIAS::PCA::ComputeMean(), BIAS::CamPoseCalib::Estimate(), BIAS::ContourDetectorBSpline< StorageType >::Fit_(), BIAS::CondensHisto::GetMeanVariance(), BIAS::Condensation::GetVariance(), BIAS::Condensation::GetWeightedVariance(), BIAS::EMatrix::InitFromF(), BIAS::SparseMatrix::InvertAndSolve(), BIAS::SparseMatrix::Multiply(), BIAS::Matrix< T >::MultLeft(), Packed_symmetric_eigenvalue_solve(), BIAS::PoseParametrization::PoseParametrization(), BIAS::QRFrac(), BIAS::GaussHelmert::Solve(), BIAS::SparseMatrix::Solve(), BIAS::TriangleMesh::TestContraction(), BIAS::TrackerBaseHomography< StorageType >::Track_(), BIAS::MonteCarloTransform::Transform(), and BIAS::UnscentedTransform::Transform().
|
inline |
length of the vector
Definition at line 143 of file Vector.hh.
Referenced by BIAS::GenSynthMatches::_CheckParams(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::ImageAlignment::Align(), BIAS::BIASVectorToMxArr(), BIAS::FFT::Compute(), BIAS::SOCP::Compute(), BIAS::LDA::ComputeAnonymousReduction(), BIAS::TrackerBaseInterface< StorageType >::ComputeMaskSum(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::Vector< T >::ElementwiseProduct(), BIAS::TrackerBaseInterface< StorageType >::Filter_BySeparableMask(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_BySeparableMask(), BIAS::CamPoseCalib::GetCov(), BIAS::FFT::GetMagnitude(), BIAS::FFT::GetPhase(), BIAS::Random::GetQuasiNormalDistributed(), BIAS::Random::GetQuasiUniformDistributed(), BIAS::MonteCarloTransform::GetSamples_(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::ContourDetectorBSpline< StorageType >::Init(), BIAS::TextureTransformAffine::InterpretParameters(), BIAS::SparseMatrix::InvertAndSolve(), BIAS::EParametrization::Normalize(), Packed_symmetric_eigenvalue_solve(), BIAS::TextureTransform::ParameterJacobianBackward(), BIAS::TextureTransform::ParameterJacobianForward(), BIAS::PMatrixBase::Parametrization2R_(), BIAS::Parametrization::ParamsToEMatrix(), BIAS::Powell(), BIAS::PowellExtended(), BIAS::Covariance3Dto2D::Project(), BIAS::Covariance3Dto2DHomg::Project(), BIAS::Tensor3D< T >::SetFromVector(), BIAS::TextureTransformAffine::SetParameters(), BIAS::TextureTransformDisparity::SetParameters(), BIAS::TextureTransformDisplacement::SetParameters(), BIAS::TextureTransformRotation::SetParameters(), BIAS::TextureTransformEuclidian::SetParameters(), BIAS::TextureTransformSimilar::SetParameters(), BIAS::wxVectorPanel::SetVector(), BIAS::SparseMatrix::Solve(), SquaredMahalanobisDistance(), BIAS::ContourDetectorBSpline< StorageType >::TestInit_(), BIAS::MonteCarloTransform::Transform(), BIAS::UnscentedTransform::Transform(), BIAS::Covariance3Dto2D::Transform_(), BIAS::Covariance3Dto2DHomg::Transform_(), BIAS::CamPoseCalib::TransformVec(), BIAS::Vector< T >::Vector(), and BIAS::Tracker< StorageType, CalculationType >::Vector2FilterMask_().
|
inlineinherited |
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().
|
inline |
Substraction of vector, storing results in destination vector.
Definition at line 395 of file Vector.hh.
References TNT::Vector< T >::newsize().
|
inline |
Vector< T > BIAS::Vector< T >::SubVec | ( | int | length, |
int | offset = 0 |
||
) | const |
returns the subvector with elements between offset and offset+length-1
Definition at line 138 of file Vector.cpp.
Definition at line 75 of file Operators.hh.
References BIAS::Vector< T >::Multiply(), and TNT::Vector< T >::size().
Definition at line 84 of file Operators.hh.
References BIAS::Vector< T >::Multiply(), and TNT::Vector< T >::size().
Definition at line 295 of file Operators.hh.
References BIAS::Vector< T >::ScalarProduct().
|
related |
Definition at line 662 of file Operators.hh.
References TNT::Matrix< T >::num_cols(), and TNT::Matrix< T >::num_rows().
|
related |
|
protectedinherited |
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().
|
protectedinherited |
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().
|
protectedinherited |
Definition at line 74 of file vec.h.
Referenced by TNT::Vector< Subscript >::destroy(), TNT::Vector< Subscript >::initialize(), and TNT::Vector< Subscript >::operator()().