23 template<
typename T1>
arma_inline static T1&
rw(
const T1& x) {
return const_cast<T1&
>(x); }
27 template<
typename T>
arma_inline static const T
tmp_real(
const std::complex<T>& X) {
return X.real(); }
static arma_inline const eT & tmp_real(const eT &X)
internal function to obtain the real part of either a plain number or a complex number ...
static arma_inline T1 & rw(const T1 &x)
internal function to allow modification of data declared as read-only
static arma_inline const T tmp_real(const std::complex< T > &X)