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) More...
 
template<typename T1 >
arma_inline const eOp< T1, eop_scalar_plusoperator+ (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_plusoperator+ (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_plusoperator+ (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 >
arma_inline const mtOp< typename std::complex< typename T1::pod_type >, T1, op_cx_scalar_plusoperator+ (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 , typename T2 >
arma_inline const eGlue< T1, T2, eglue_plusoperator+ (const Base< typename T1::elem_type, T1 > &X, const Base< typename T1::elem_type, T2 > &Y)
 addition 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_plusoperator+ (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 More...
 

Detailed Description

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):
autogenerated on Fri Apr 16 2021 02:32:00