Chemical Data Processing Library C++ API - Version 1.2.0
|
Definition of various grid expression types and operations. More...
#include <type_traits>
#include "CDPL/Math/Check.hpp"
#include "CDPL/Math/Expression.hpp"
#include "CDPL/Math/CommonType.hpp"
#include "CDPL/Math/Functional.hpp"
#include "CDPL/Math/TypeTraits.hpp"
#include "CDPL/Base/Exceptions.hpp"
Go to the source code of this file.
Namespaces | |
CDPL | |
The namespace of the Chemical Data Processing Library. | |
CDPL::Math | |
Contains classes and functions related to mathematics. | |
Functions | |
template<typename E > | |
GridUnaryTraits< E, ScalarNegation< typename E::ValueType > >::ResultType | CDPL::Math::operator- (const GridExpression< E > &e) |
template<typename E > | |
const E & | CDPL::Math::operator+ (const GridExpression< E > &e) |
template<typename E1 , typename E2 > | |
GridBinary1Traits< E1, E2, ScalarAddition< typename E1::ValueType, typename E2::ValueType > >::ResultType | CDPL::Math::operator+ (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E1 , typename E2 > | |
GridBinary1Traits< E1, E2, ScalarSubtraction< typename E1::ValueType, typename E2::ValueType > >::ResultType | CDPL::Math::operator- (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E , typename T > | |
std::enable_if< IsScalar< T >::value, typename Scalar2GridBinaryTraits< E, T, ScalarMultiplication< typename E::ValueType, T > >::ResultType >::type | CDPL::Math::operator* (const GridExpression< E > &e, const T &t) |
template<typename T , typename E > | |
std::enable_if< IsScalar< T >::value, typename Scalar1GridBinaryTraits< T, E, ScalarMultiplication< T, typename E::ValueType > >::ResultType >::type | CDPL::Math::operator* (const T &t, const GridExpression< E > &e) |
template<typename E , typename T > | |
std::enable_if< IsScalar< T >::value, typename Scalar2GridBinaryTraits< E, T, ScalarDivision< typename E::ValueType, T > >::ResultType >::type | CDPL::Math::operator/ (const GridExpression< E > &e, const T &t) |
template<typename E1 , typename E2 > | |
GridEquality< E1, E2 >::ResultType | CDPL::Math::operator== (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E1 , typename E2 > | |
GridEquality< E1, E2 >::ResultType | CDPL::Math::operator!= (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E1 , typename E2 , typename T > | |
std::enable_if< std::is_arithmetic< T >::value, typename GridToleranceEquality< E1, E2, T >::ResultType >::type | CDPL::Math::equals (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2, const T &eps) |
template<typename E > | |
GridUnaryTraits< E, ScalarConjugation< typename E::ValueType > >::ResultType | CDPL::Math::conj (const GridExpression< E > &e) |
template<typename E > | |
GridUnaryTraits< E, ScalarConjugation< typename E::ValueType > >::ResultType | CDPL::Math::herm (const GridExpression< E > &e) |
template<typename E > | |
GridUnaryTraits< E, ScalarReal< typename E::ValueType > >::ResultType | CDPL::Math::real (const GridExpression< E > &e) |
template<typename E > | |
GridUnaryTraits< E, ScalarImaginary< typename E::ValueType > >::ResultType | CDPL::Math::imag (const GridExpression< E > &e) |
template<typename E1 , typename E2 > | |
GridBinary1Traits< E1, E2, ScalarDivision< typename E1::ValueType, typename E2::ValueType > >::ResultType | CDPL::Math::elemDiv (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E1 , typename E2 > | |
GridBinary1Traits< E1, E2, ScalarMultiplication< typename E1::ValueType, typename E2::ValueType > >::ResultType | CDPL::Math::elemProd (const GridExpression< E1 > &e1, const GridExpression< E2 > &e2) |
template<typename E > | |
GridElementSum< E >::ResultType | CDPL::Math::sum (const GridExpression< E > &e) |
Definition of various grid expression types and operations.