Functions

operator_cube_minus.hpp File Reference

Go to the source code of this file.

Functions

template<typename T1 >
arma_inline const eOpCube< T1,
eop_cube_neg
operator- (const BaseCube< typename T1::elem_type, T1 > &X)
 unary -
template<typename T1 >
arma_inline const T1 & operator- (const eOpCube< T1, eop_cube_neg > &X)
 cancellation of two consecutive negations: -(-T1)
template<typename T1 >
arma_inline const eOpCube< T1,
eop_cube_scalar_minus_post
operator- (const BaseCube< typename T1::elem_type, T1 > &X, const typename T1::elem_type k)
 BaseCube - scalar.
template<typename T1 >
arma_inline const eOpCube< T1,
eop_cube_scalar_minus_pre
operator- (const typename T1::elem_type k, const BaseCube< typename T1::elem_type, T1 > &X)
 scalar - BaseCube
template<typename T1 , typename T2 >
arma_inline const eGlueCube
< T1, T2, eglue_cube_minus
operator- (const BaseCube< typename T1::elem_type, T1 > &X, const BaseCube< typename T1::elem_type, T2 > &Y)
 subtraction of BaseCube objects with same element type
template<typename T1 , typename T2 >
arma_inline Cube< typename
promote_type< typename
T1::elem_type, typename
T2::elem_type >::result > 
operator- (const BaseCube< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T1_result, T1 > &X, const BaseCube< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T2_result, T2 > &Y)
 subtraction of Base objects with different element types