mcpele
1.0.0
The Monte Carlo Python Energy Landscape Explorer
|
#include <vecn.h>
Public Types | |
typedef dtype * | iterator |
typedef dtype const * | const_iterator |
Public Member Functions | |
VecN () | |
VecN (dtype const &d) | |
VecN (pele::Array< dtype > const &x) | |
size_t | size () const |
dtype * | data () |
dtype const * | data () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
dtype & | operator[] (const size_t i) |
dtype const & | operator[] (const size_t i) const |
void | assign (dtype const &d) |
VecN< N > & | operator= (pele::Array< double > const &rhs) |
VecN< N > & | operator+= (const VecN< N > &rhs) |
VecN< N > & | operator+= (const dtype &rhs) |
VecN< N > & | operator-= (const VecN< N > &rhs) |
VecN< N > & | operator-= (const dtype &rhs) |
VecN< N > & | operator*= (const VecN< N > &rhs) |
VecN< N > & | operator*= (const dtype &rhs) |
VecN< N > & | operator/= (const VecN< N > &rhs) |
VecN< N > & | operator/= (const dtype &rhs) |
VecN< N > | operator- (VecN< N > const &rhs) const |
dtype | sum () const |
dtype | prod () const |
typedef dtype const* pele::VecN< N >::const_iterator |
typedef dtype* pele::VecN< N >::iterator |
pele::VecN< N >::VecN | ( | ) | [inline] |
pele::VecN< N >::VecN | ( | dtype const & | d | ) | [inline] |
pele::VecN< N >::VecN | ( | pele::Array< dtype > const & | x | ) | [inline] |
void pele::VecN< N >::assign | ( | dtype const & | d | ) | [inline] |
iterator pele::VecN< N >::begin | ( | ) | [inline] |
const_iterator pele::VecN< N >::begin | ( | ) | const [inline] |
dtype* pele::VecN< N >::data | ( | ) | [inline] |
dtype const* pele::VecN< N >::data | ( | ) | const [inline] |
iterator pele::VecN< N >::end | ( | ) | [inline] |
const_iterator pele::VecN< N >::end | ( | ) | const [inline] |
VecN<N>& pele::VecN< N >::operator*= | ( | const VecN< N > & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator*= | ( | const dtype & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator+= | ( | const VecN< N > & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator+= | ( | const dtype & | rhs | ) | [inline] |
VecN<N> pele::VecN< N >::operator- | ( | VecN< N > const & | rhs | ) | const [inline] |
VecN<N>& pele::VecN< N >::operator-= | ( | const VecN< N > & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator-= | ( | const dtype & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator/= | ( | const VecN< N > & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator/= | ( | const dtype & | rhs | ) | [inline] |
VecN<N>& pele::VecN< N >::operator= | ( | pele::Array< double > const & | rhs | ) | [inline] |
copy the data in a pele::Array into this vector
dtype& pele::VecN< N >::operator[] | ( | const size_t | i | ) | [inline] |
dtype const& pele::VecN< N >::operator[] | ( | const size_t | i | ) | const [inline] |
dtype pele::VecN< N >::prod | ( | ) | const [inline] |
size_t pele::VecN< N >::size | ( | ) | const [inline] |
dtype pele::VecN< N >::sum | ( | ) | const [inline] |