static Amesos2::PMKL::_MKL_Complex8 safeConvert( const TypeFrom t ) { // adapt conversion as necessary Amesos2::PMKL::_MKL_Complex8 ret; ret.real = Teuchos::as<float>(t.real()); ret.imag = Teuchos::as<float>(t.imag()); return( ret ); }
static SLUD::Z::doublecomplex safeConvert( const TypeFrom t ) { SLUD::Z::doublecomplex ret; ret.r = Teuchos::as<double>(t.real()); ret.i = Teuchos::as<double>(t.imag()); return( ret ); }
static Amesos2::PMKL::_DOUBLE_COMPLEX_t safeConvert( const TypeFrom t ) { // adapt conversion as necessary Amesos2::PMKL::_DOUBLE_COMPLEX_t ret; ret.r = Teuchos::as<double>(t.real()); ret.i = Teuchos::as<double>(t.imag()); return( ret ); }