IMP
2.0.0
The Integrative Modeling Platform
|
#include <IMP/algebra/VectorD.h>
Public Member Functions | |
VectorInputD (const VectorD< 1 > &v) | |
VectorInputD (const Floats &v) | |
VectorInputD (double v) | |
Public Member Functions inherited from IMP::algebra::VectorD< 1 > | |
VectorD (const Floats &f) | |
VectorD (It b, It e) | |
VectorD (double x) | |
Initialize the 1-vector from its value. | |
VectorD (double x, double y) | |
Initialize a 2-vector from separate x,y values. | |
VectorD (double x, double y, double z) | |
Initialize a 3-vector from separate x,y,z values. | |
VectorD (double x0, double x1, double x2, double x3) | |
Initialize a 4-vector from separate w,x,y,z values. | |
VectorD () | |
Default constructor. | |
CoordinateIterator | coordinates_begin () |
CoordinateConstIterator | coordinates_begin () const |
CoordinateIterator | coordinates_end () |
CoordinateConstIterator | coordinates_end () const |
Floats | get_coordinates () const |
unsigned int | get_dimension () const |
double | get_magnitude () const |
double | get_scalar_product (const VectorD< D > &o) const |
double | get_squared_magnitude () const |
VectorD | get_unit_vector () const |
double | operator[] (unsigned int i) const |
double & | operator[] (unsigned int i) |
Additional Inherited Members | |
Public Types inherited from IMP::algebra::VectorD< 1 > | |
typedef const double * | CoordinateConstIterator |
typedef double * | CoordinateIterator |
Also accept floating point values for Vector1Ds