|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
29 #ifndef CDPL_FORCEFIELD_GRADIENTVECTORTRAITS_HPP
30 #define CDPL_FORCEFIELD_GRADIENTVECTORTRAITS_HPP
44 template <
typename GV>
53 for (std::size_t i = 0; i < num_elem; i++) {
84 typedef typename VectorType::size_type
SizeType;
88 for (
typename std::vector<V>::iterator it = g.begin(), end = g.begin() + num_elem; it != end; ++it)
95 #endif // CDPL_FORCEFIELD_GRADIENTVECTORTRAITS_HPP
static void clear(VectorType &g, std::size_t num_elem)
Definition: GradientVectorTraits.hpp:86
VectorType::SizeType SizeType
Definition: GradientVectorTraits.hpp:68
std::size_t SizeType
Definition: GradientVectorTraits.hpp:49
Math::VectorArray< V > VectorType
Definition: GradientVectorTraits.hpp:65
Definition of the class CDPL::Math::VectorArray.
std::vector< V > VectorType
Definition: GradientVectorTraits.hpp:81
std::size_t SizeType
The type of objects stored by the array.
Definition: Array.hpp:110
An array for storing generic vector objects.
Definition: VectorArray.hpp:49
static void clear(VectorType &g, std::size_t num_elem)
Definition: GradientVectorTraits.hpp:70
ConstElementIterator getElementsBegin() const
Returns a constant iterator pointing to the beginning of the array.
Definition: Array.hpp:884
GV VectorType
Definition: GradientVectorTraits.hpp:48
V::ValueType ValueType
Definition: GradientVectorTraits.hpp:67
static void clear(VectorType &g, std::size_t num_elem)
Definition: GradientVectorTraits.hpp:51
Definition: GradientVectorTraits.hpp:46
V ElementType
Definition: GradientVectorTraits.hpp:82
The namespace of the Chemical Data Processing Library.
V ElementType
Definition: GradientVectorTraits.hpp:66
V::ValueType ValueType
Definition: GradientVectorTraits.hpp:83
StorageType::iterator ElementIterator
A mutable random access iterator used to iterate over the elements of the array.
Definition: Array.hpp:137
VectorType::size_type SizeType
Definition: GradientVectorTraits.hpp:84