33#ifndef MADNESS_LINALG_LAPACKE_TYPES_H__INCLUDED
34#define MADNESS_LINALG_LAPACKE_TYPES_H__INCLUDED
44# ifndef lapack_complex_float
45# define lapack_complex_float std::complex<float>
47static_assert(
sizeof(std::complex<float>)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and std::complex<float> do not match");
49# ifndef lapack_complex_double
50# define lapack_complex_double std::complex<double>
52static_assert(
sizeof(std::complex<double>)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and std::complex<double> do not match");
56# ifdef MKL_DIRECT_CALL
57# include <mkl_types.h>
58# ifndef lapack_complex_float
59# define lapack_complex_float MKL_Complex8
61# ifndef lapack_complex_double
62# define lapack_complex_double MKL_Complex16
67# ifndef lapack_complex_float
68# define lapack_complex_float std::complex<float>
70# ifndef lapack_complex_double
71# define lapack_complex_double std::complex<double>
85 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and T given to madness::cblas::to_cptr do not match");
91 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and T given to madness::cblas::to_cptr do not match");
98 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and T given to madness::cblas::to_zptr do not match");
101 template <
typename T>
104 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and T given to madness::cblas::to_zptr do not match");
auto T(World &world, response_space &f) -> response_space
Definition global_functions.cc:34
#define lapack_complex_double
Definition lapacke_types.h:50
#define lapack_complex_float
Definition lapacke_types.h:45
Macros and tools pertaining to the configuration of MADNESS.
const lapack_complex_double * to_zptr(const T *ptr)
Definition lapacke_types.h:97
const lapack_complex_float * to_cptr(const T *ptr)
Definition lapacke_types.h:84
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
std::string type(const PairType &n)
Definition PNOParameters.h:18