Functions
Operator_plus

Functions

template<typename T1 >
arma_inline const Base
< typename T1::elem_type, T1 > & 
operator+ (const Base< typename T1::elem_type, T1 > &X)
 unary plus operation (does nothing, but is required for completeness)
template<typename T1 >
arma_inline const eOp< T1,
eop_scalar_plus
operator+ (const Base< typename T1::elem_type, T1 > &X, const typename T1::elem_type k)
 Base + scalar.
template<typename T1 >
arma_inline const eOp< T1,
eop_scalar_plus
operator+ (const typename T1::elem_type k, const Base< typename T1::elem_type, T1 > &X)
 scalar + Base
template<typename T1 >
arma_inline const mtOp
< typename std::complex
< typename T1::pod_type >, T1,
op_cx_scalar_plus
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_plus
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 , typename T2 >
arma_inline const eGlue< T1,
T2, eglue_plus
operator+ (const Base< typename T1::elem_type, T1 > &X, const Base< typename T1::elem_type, T2 > &Y)
 addition of Base objects with same element type
template<typename T1 , typename T2 >
const mtGlue< typename
promote_type< typename
T1::elem_type, typename
T2::elem_type >::result, T1,
T2, glue_mixed_plus
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)
 addition of Base objects with different element types

Function Documentation

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

unary plus operation (does nothing, but is required for completeness)

Definition at line 24 of file operator_plus.hpp.

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

Base + scalar.

Definition at line 38 of file operator_plus.hpp.

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

scalar + Base

Definition at line 52 of file operator_plus.hpp.

template<typename T1 >
arma_inline const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_plus> 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 66 of file operator_plus.hpp.

template<typename T1 >
arma_inline const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_plus> 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 83 of file operator_plus.hpp.

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

addition of Base objects with same element type

Definition at line 100 of file operator_plus.hpp.

template<typename T1 , typename T2 >
const mtGlue<typename promote_type<typename T1::elem_type, typename T2::elem_type>::result, T1, T2, glue_mixed_plus> 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]

addition of Base objects with different element types

Definition at line 117 of file operator_plus.hpp.



armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:07