Functions
Operator_minus

Functions

template<typename T1 >
arma_inline const eOp< T1, eop_negoperator- (const Base< typename T1::elem_type, T1 > &X)
 unary - More...
 
template<typename T1 >
arma_inline const T1 & operator- (const eOp< T1, eop_neg > &X)
 cancellation of two consecutive negations: -(-T1) More...
 
template<typename T1 >
arma_inline const eOp< T1, eop_scalar_minus_postoperator- (const Base< typename T1::elem_type, T1 > &X, const typename T1::elem_type k)
 Base - scalar. More...
 
template<typename T1 >
arma_inline const eOp< T1, eop_scalar_minus_preoperator- (const typename T1::elem_type k, const Base< typename T1::elem_type, T1 > &X)
 scalar - Base More...
 
template<typename T1 >
arma_inline const mtOp< typename std::complex< typename T1::pod_type >, T1, op_cx_scalar_minus_preoperator- (const std::complex< typename T1::pod_type > &k, const Base< typename T1::pod_type, T1 > &X)
 complex scalar - non-complex Base (experimental) More...
 
template<typename T1 >
arma_inline const mtOp< typename std::complex< typename T1::pod_type >, T1, op_cx_scalar_minus_postoperator- (const Base< typename T1::pod_type, T1 > &X, const std::complex< typename T1::pod_type > &k)
 non-complex Base - complex scalar (experimental) More...
 
template<typename T1 , typename T2 >
arma_inline const eGlue< T1, T2, eglue_minusoperator- (const Base< typename T1::elem_type, T1 > &X, const Base< typename T1::elem_type, T2 > &Y)
 subtraction of Base objects with same element type More...
 
template<typename T1 , typename T2 >
const mtGlue< typename promote_type< typename T1::elem_type, typename T2::elem_type >::result, T1, T2, glue_mixed_minusoperator- (const Base< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T1_result, T1 > &X, const Base< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T2_result, T2 > &Y)
 subtraction of Base objects with different element types More...
 

Detailed Description

Function Documentation

template<typename T1 >
arma_inline const eOp<T1, eop_neg> operator- ( const Base< typename T1::elem_type, T1 > &  X)

unary -

Definition at line 24 of file operator_minus.hpp.

template<typename T1 >
arma_inline const T1& operator- ( const eOp< T1, eop_neg > &  X)

cancellation of two consecutive negations: -(-T1)

Definition at line 38 of file operator_minus.hpp.

template<typename T1 >
arma_inline const eOp<T1, eop_scalar_minus_post> operator- ( const Base< typename T1::elem_type, T1 > &  X,
const typename T1::elem_type  k 
)

Base - scalar.

Definition at line 52 of file operator_minus.hpp.

template<typename T1 >
arma_inline const eOp<T1, eop_scalar_minus_pre> operator- ( const typename T1::elem_type  k,
const Base< typename T1::elem_type, T1 > &  X 
)

scalar - Base

Definition at line 69 of file operator_minus.hpp.

template<typename T1 >
arma_inline const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_minus_pre> operator- ( const std::complex< typename T1::pod_type > &  k,
const Base< typename T1::pod_type, T1 > &  X 
)

complex scalar - non-complex Base (experimental)

Definition at line 86 of file operator_minus.hpp.

template<typename T1 >
arma_inline const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_minus_post> operator- ( const Base< typename T1::pod_type, T1 > &  X,
const std::complex< typename T1::pod_type > &  k 
)

non-complex Base - complex scalar (experimental)

Definition at line 103 of file operator_minus.hpp.

template<typename T1 , typename T2 >
arma_inline const eGlue<T1, T2, eglue_minus> operator- ( const Base< typename T1::elem_type, T1 > &  X,
const Base< typename T1::elem_type, T2 > &  Y 
)

subtraction of Base objects with same element type

Definition at line 120 of file operator_minus.hpp.

template<typename T1 , typename T2 >
const mtGlue<typename promote_type<typename T1::elem_type, typename T2::elem_type>::result, T1, T2, glue_mixed_minus> operator- ( const Base< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T1_result, T1 > &  X,
const Base< typename force_different_type< typename T1::elem_type, typename T2::elem_type >::T2_result, T2 > &  Y 
)
inline

subtraction of Base objects with different element types

Definition at line 137 of file operator_minus.hpp.



armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:00