|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Simple D vector class. More...
Go to the source code of this file.
Classes | |
| class | IMP::algebra::VectorD< D > |
| A Cartesian vector in D-dimensions. More... | |
Namespaces | |
| namespace | IMP |
| Base functionality and abstract base classes for representation, scoring and sampling. | |
| namespace | IMP::algebra |
| General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules. | |
Typedefs | |
| typedef VectorD< 1 > | IMP::algebra::Vector1D |
| typedef Vector< VectorD< 1 > > | IMP::algebra::Vector1Ds |
| typedef VectorD< 2 > | IMP::algebra::Vector2D |
| typedef Vector< VectorD< 2 > > | IMP::algebra::Vector2Ds |
| typedef VectorD< 3 > | IMP::algebra::Vector3D |
| typedef Vector< VectorD< 3 > > | IMP::algebra::Vector3Ds |
| typedef VectorD< 4 > | IMP::algebra::Vector4D |
| typedef Vector< VectorD< 4 > > | IMP::algebra::Vector4Ds |
| typedef VectorD< 5 > | IMP::algebra::Vector5D |
| typedef Vector< VectorD< 5 > > | IMP::algebra::Vector5Ds |
| typedef VectorD< 6 > | IMP::algebra::Vector6D |
| typedef Vector< VectorD< 6 > > | IMP::algebra::Vector6Ds |
| typedef VectorD<-1 > | IMP::algebra::VectorKD |
| typedef Vector< VectorD<-1 > > | IMP::algebra::VectorKDs |
Functions | |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_basis_vector_d (unsigned int coordinate) |
| Return the basis vector for the given coordinate. | |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_basis_vector_kd (int Di, unsigned int coordinate) |
| Return the basis vector for the given coordinate. | |
| template<int D> | |
| double | IMP::algebra::get_distance (const VectorD< D > &v1, const VectorD< D > &v2) |
| Compute the distance between two vectors. | |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_elementwise_product (const VectorD< D > &a, const VectorD< D > &b) |
| Return the vector that is the elementwise product of the two. | |
| template<int D> | |
| double | IMP::algebra::get_l1_norm (const VectorD< D > &v) |
| template<int D> | |
| double | IMP::algebra::get_l2_norm (const VectorD< D > &v) |
| template<int D> | |
| double | IMP::algebra::get_linf_norm (const VectorD< D > &v) |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_ones_vector_d (double v=1) |
| Return a vector of ones (or another constant). | |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_ones_vector_kd (unsigned int Di, double v=1) |
| Return a vector of ones (or another constant). | |
| template<int D> | |
| double | IMP::algebra::get_squared_distance (const VectorD< D > &v1, const VectorD< D > &v2) |
| Compute the squared distance between two vectors. | |
| const algebra::Vector3D & | IMP::algebra::get_vector_geometry (Particle *p) |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_zero_vector_d () |
| Return a vector of zeros. | |
| template<int D> | |
| VectorD< D > | IMP::algebra::get_zero_vector_kd (int Di) |
| Return a dynamically sized vector of zeros. | |
| void | IMP::algebra::set_vector_geometry (Particle *p, const algebra::Vector3D &v) |
Simple D vector class.
Copyright 2007-2026 IMP Inventors. All rights reserved.
Definition in file algebra/VectorD.h.