Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Static Public Member Functions | List of all members
CDPL::Math::MinimizerVariableArrayTraits< A > Struct Template Reference

#include <MinimizerVariableArrayTraits.hpp>

+ Inheritance diagram for CDPL::Math::MinimizerVariableArrayTraits< A >:

Public Types

typedef A ArrayType
 
typedef A::ValueType ValueType
 
typedef A::SizeType SizeType
 

Static Public Member Functions

template<typename T >
static T dot (const ArrayType &a1, const ArrayType &a2)
 
template<typename T >
static T norm2 (const ArrayType &a)
 
template<typename T >
static void axpy (const T &alpha, const ArrayType &x, ArrayType &y)
 
static void clear (ArrayType &a)
 
static void assign (ArrayType &a1, const ArrayType &a2)
 
template<typename T >
static void multiply (ArrayType &a, const T &v)
 
static void sub (ArrayType &a1, const ArrayType &a2)
 

Member Typedef Documentation

◆ ArrayType

template<typename A >
typedef A CDPL::Math::MinimizerVariableArrayTraits< A >::ArrayType

◆ ValueType

template<typename A >
typedef A::ValueType CDPL::Math::MinimizerVariableArrayTraits< A >::ValueType

◆ SizeType

template<typename A >
typedef A::SizeType CDPL::Math::MinimizerVariableArrayTraits< A >::SizeType

Member Function Documentation

◆ dot()

template<typename A >
template<typename T >
static T CDPL::Math::MinimizerVariableArrayTraits< A >::dot ( const ArrayType a1,
const ArrayType a2 
)
inlinestatic

◆ norm2()

template<typename A >
template<typename T >
static T CDPL::Math::MinimizerVariableArrayTraits< A >::norm2 ( const ArrayType a)
inlinestatic

◆ axpy()

template<typename A >
template<typename T >
static void CDPL::Math::MinimizerVariableArrayTraits< A >::axpy ( const T &  alpha,
const ArrayType x,
ArrayType y 
)
inlinestatic

◆ clear()

template<typename A >
static void CDPL::Math::MinimizerVariableArrayTraits< A >::clear ( ArrayType a)
inlinestatic

◆ assign()

template<typename A >
static void CDPL::Math::MinimizerVariableArrayTraits< A >::assign ( ArrayType a1,
const ArrayType a2 
)
inlinestatic

◆ multiply()

template<typename A >
template<typename T >
static void CDPL::Math::MinimizerVariableArrayTraits< A >::multiply ( ArrayType a,
const T &  v 
)
inlinestatic

◆ sub()

template<typename A >
static void CDPL::Math::MinimizerVariableArrayTraits< A >::sub ( ArrayType a1,
const ArrayType a2 
)
inlinestatic

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