Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | List of all members
CDPL::Math::VectorMatrixUnaryFunctor< V > Struct Template Reference

Base class for unary functors that produce a matrix element from a vector expression and (i, j) cell indices (Math::DiagonalMatrixFromVector, Math::CrossProductMatrixFromVector). More...

#include <Functional.hpp>

+ Inheritance diagram for CDPL::Math::VectorMatrixUnaryFunctor< V >:

Public Types

typedef V::ValueType ResultType
 The matrix-entry result type (the vector's element value type). More...
 
typedef V::SizeType SizeType
 The unsigned size type used by the vector. More...
 

Detailed Description

template<typename V>
struct CDPL::Math::VectorMatrixUnaryFunctor< V >

Base class for unary functors that produce a matrix element from a vector expression and (i, j) cell indices (Math::DiagonalMatrixFromVector, Math::CrossProductMatrixFromVector).

Template Parameters
VThe vector expression type.

Member Typedef Documentation

◆ ResultType

template<typename V >
typedef V::ValueType CDPL::Math::VectorMatrixUnaryFunctor< V >::ResultType

The matrix-entry result type (the vector's element value type).

◆ SizeType

template<typename V >
typedef V::SizeType CDPL::Math::VectorMatrixUnaryFunctor< V >::SizeType

The unsigned size type used by the vector.


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