Public Types | Static Public Member Functions | List of all members
upgrade_val< std::complex< float >, std::complex< double > > Struct Template Reference

ensure we don't lose precision when multiplying complex numbers with different underlying types More...

#include <upgrade_val.hpp>

Public Types

typedef std::complex< double > T1_result
 
typedef std::complex< double > T2_result
 

Static Public Member Functions

static arma_inline const std::complex< double > apply (const std::complex< float > &x)
 
static arma_inline const std::complex< double > & apply (const std::complex< double > &x)
 

Detailed Description

template<>
struct upgrade_val< std::complex< float >, std::complex< double > >

ensure we don't lose precision when multiplying complex numbers with different underlying types

Definition at line 111 of file upgrade_val.hpp.

Member Typedef Documentation

typedef std::complex<double> upgrade_val< std::complex< float >, std::complex< double > >::T1_result

Definition at line 113 of file upgrade_val.hpp.

typedef std::complex<double> upgrade_val< std::complex< float >, std::complex< double > >::T2_result

Definition at line 114 of file upgrade_val.hpp.

Member Function Documentation

static arma_inline const std::complex<double> upgrade_val< std::complex< float >, std::complex< double > >::apply ( const std::complex< float > &  x)
inlinestatic

Definition at line 116 of file upgrade_val.hpp.

static arma_inline const std::complex<double>& upgrade_val< std::complex< float >, std::complex< double > >::apply ( const std::complex< double > &  x)
inlinestatic

Definition at line 117 of file upgrade_val.hpp.


The documentation for this struct was generated from the following file:


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