IMP logo
IMP Reference Guide  2.9.0
The Integrative Modeling Platform
VectorBaseD.h File Reference

Simple D vector class. More...

#include <IMP/algebra/algebra_config.h>
#include "GeometricPrimitiveD.h"
#include <IMP/check_macros.h>
#include <IMP/exception.h>
#include <IMP/random.h>
#include <IMP/utility.h>
#include <IMP/types.h>
#include <boost/random/variate_generator.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/range.hpp>
#include "internal/vector.h"
#include <limits>
#include <cmath>
#include <boost/static_assert.hpp>
+ Include dependency graph for VectorBaseD.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::algebra::VectorBaseD< D >
 A Cartesian vector in D-dimensions. More...
 

Namespaces

 IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.
 

Macros

#define IMP_ALGEBRA_VECTOR_CHECK   check_vector()
 
#define IMP_ALGEBRA_VECTOR_CHECK_COMPATIBLE(o)
 
#define IMP_ALGEBRA_VECTOR_CHECK_INDEX(i)   check_index(i)
 

Functions

template<class VT >
double IMP::algebra::get_magnitude_and_normalize_in_place (VT &vt)
 Returns the magnitude of vt and turns it to a unit vector in place. More...
 
template<class VT >
VT IMP::algebra::get_unit_vector (VT vt)
 Returns a unit vector pointing at the same direction as this vector. More...
 

Detailed Description

Simple D vector class.

Copyright 2007-2018 IMP Inventors. All rights reserved.

Definition in file VectorBaseD.h.

Macro Definition Documentation

#define IMP_ALGEBRA_VECTOR_CHECK_COMPATIBLE (   o)
Value:
check_compatible_vector(o); \
o.check_vector()

Definition at line 31 of file VectorBaseD.h.