IMP  2.0.1
The Integrative Modeling Platform
IMP::algebra::VectorInputD< D > Class Template Reference

#include <IMP/algebra/VectorD.h>

+ Inheritance diagram for IMP::algebra::VectorInputD< D >:

Public Member Functions

 VectorInputD (const VectorD< D > &v)
 
 VectorInputD (const Floats &v)
 
- Public Member Functions inherited from IMP::algebra::VectorD< D >
 VectorD (const Floats &f)
 
template<class It >
 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< D >
typedef const double * CoordinateConstIterator
 
typedef double * CoordinateIterator
 

Detailed Description

template<int D>
class IMP::algebra::VectorInputD< D >

A class to flexibly accept vectors as inputs to functions.

Definition at line 638 of file VectorD.h.


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