VinaLC: Parallel Molecular Docking Program

Biochemical and Biophysical Systems Group
VinaLC version: 1.1.2

vec Struct Reference

#include <common.h>

Public Member Functions

 vec ()
 
 vec (fl x, fl y, fl z)
 
const floperator[] (sz i) const
 
floperator[] (sz i)
 
fl norm_sqr () const
 
fl norm () const
 
fl operator* (const vec &v) const
 
const vecoperator+= (const vec &v)
 
const vecoperator-= (const vec &v)
 
const vecoperator+= (fl s)
 
const vecoperator-= (fl s)
 
vec operator+ (const vec &v) const
 
vec operator- (const vec &v) const
 
const vecoperator*= (fl s)
 
void assign (fl s)
 
sz size () const
 

Public Attributes

fl data [3]
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned version)
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

vec::vec ( )
inline

References data, and not_a_num.

Referenced by operator+(), and operator-().

Here is the caller graph for this function:

vec::vec ( fl  x,
fl  y,
fl  z 
)
inline

References data.

Member Function Documentation

const fl& vec::operator[] ( sz  i) const
inline

References data.

fl& vec::operator[] ( sz  i)
inline

References data.

fl vec::norm_sqr ( ) const
inline

References data, and sqr().

Referenced by norm().

Here is the call graph for this function:

Here is the caller graph for this function:

fl vec::norm ( ) const
inline

References norm_sqr().

Referenced by angle_to_quaternion(), and axis_frame::axis_frame().

Here is the call graph for this function:

Here is the caller graph for this function:

fl vec::operator* ( const vec v) const
inline

References data.

const vec& vec::operator+= ( const vec v)
inline

References data.

const vec& vec::operator-= ( const vec v)
inline

References data.

const vec& vec::operator+= ( fl  s)
inline

References data.

const vec& vec::operator-= ( fl  s)
inline

References data.

vec vec::operator+ ( const vec v) const
inline

References data, and vec().

Here is the call graph for this function:

vec vec::operator- ( const vec v) const
inline

References data, and vec().

Here is the call graph for this function:

const vec& vec::operator*= ( fl  s)
inline

References data.

void vec::assign ( fl  s)
inline

References data.

sz vec::size ( ) const
inline
template<class Archive >
void vec::serialize ( Archive &  ar,
const unsigned  version 
)
inlineprivate

References data.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation


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