ampsci
High-precision calculations for one- and two-valence atomic systems
qip::Arithmetic2< T, U >

ok

template<typename T, typename U>
class qip::Arithmetic2< T, U >

Like Arithmetic, but for two different types (T op U).

Provides T+U, T-U, T*U, T/U (and the symmetric U+T, U*T) given the compound-assignment operators on T.

#include <Template.hpp>

+ Inheritance diagram for qip::Arithmetic2< T, U >:

Friends

operator+ (T lhs, const U &rhs)
 
operator- (T lhs, const U &rhs)
 
operator* (T lhs, const U &rhs)
 
operator/ (T lhs, const U &rhs)
 
operator+ (const U &lhs, T rhs)
 
operator* (const U &lhs, T rhs)
 

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