$search

Operator_minus

Functions

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)
 subtraction of Base objects with different element types
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
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)
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)
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
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.
template<typename T1 >
arma_inline const T1 & operator- (const eOp< T1, eop_neg > &X)
 cancellation of two consecutive negations: -(-T1)
template<typename T1 >
arma_inline const eOp< T1,
eop_neg
operator- (const Base< typename T1::elem_type, T1 > &X)
 unary -

Function Documentation

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.

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 
) [inline]

subtraction of Base objects with same element type

Definition at line 120 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 
) [inline]

non-complex Base - complex scalar (experimental)

Definition at line 103 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 
) [inline]

complex scalar - non-complex Base (experimental)

Definition at line 86 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 
) [inline]

scalar - Base

Definition at line 69 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 
) [inline]

Base - scalar.

Definition at line 52 of file operator_minus.hpp.

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

cancellation of two consecutive negations: -(-T1)

Definition at line 38 of file operator_minus.hpp.

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

unary -

Definition at line 24 of file operator_minus.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:51 2013