Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

8.2.9 Arithmetic Operators

triplex<T> operator+(const triplex<T>& o) const; 
triplex<T> operator-(const triplex<T>& o) const; 
triplex<T> operator*(const triplex<T>& o) const; 
triplex<T> operator/(const triplex<T>& o) const; 
triplex<T> operator-() const; 
 
triplex<T>& operator+=(const triplex<T>& o); 
triplex<T>& operator-=(const triplex<T>& o); 
triplex<T>& operator*=(const triplex<T>& o); 
triplex<T>& operator/=(const triplex<T>& o);

These operators execute the respective equivalent C++ standard arithmetic operation on the triplex<T>.