$search

upgrade_val< std::complex< float >, double > Struct Template Reference
[Upgrade_val]

ensure we don't lose precision when multiplying a complex number with a higher precision real number More...

#include <upgrade_val.hpp>

List of all members.

Public Types

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

Static Public Member Functions

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

Detailed Description

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

ensure we don't lose precision when multiplying a complex number with a higher precision real number

Definition at line 88 of file upgrade_val.hpp.


Member Typedef Documentation

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

Definition at line 90 of file upgrade_val.hpp.

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

Definition at line 91 of file upgrade_val.hpp.


Member Function Documentation

static arma_inline double upgrade_val< std::complex< float >, double >::apply ( const double  x  )  [inline, static]

Definition at line 94 of file upgrade_val.hpp.

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

Definition at line 93 of file upgrade_val.hpp.


The documentation for this struct was generated from the following file:
 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:59 2013