33#ifndef MADNESS_LINALG_CBLAS_TYPES_H__INCLUDED
34#define MADNESS_LINALG_CBLAS_TYPES_H__INCLUDED
42#ifndef blas_complex_float
43# define blas_complex_float std::complex<float>
45static_assert(
sizeof(std::complex<float>)==
sizeof(
blas_complex_float),
"sizes of blas_complex_float and std::complex<float> do not match");
47#ifndef blas_complex_double
48# define blas_complex_double std::complex<double>
50static_assert(
sizeof(std::complex<double>)==
sizeof(
blas_complex_double),
"sizes of blas_complex_double and std::complex<double> do not match");
54# ifdef MKL_DIRECT_CALL
55# include <mkl_types.h>
56# ifndef blas_complex_float
57# define blas_complex_float MKL_Complex8
59# ifndef blas_complex_double
60# define blas_complex_double MKL_Complex16
64# ifndef blas_complex_float
65# define blas_complex_float std::complex<float>
67# ifndef blas_complex_double
68# define blas_complex_double std::complex<double>
87 static_assert(
sizeof(
T)==
sizeof(
blas_complex_float),
"sizes of blas_complex_float and T given to madness::cblas::to_cptr do not match");
93 static_assert(
sizeof(
T)==
sizeof(
blas_complex_float),
"sizes of blas_complex_float and T given to madness::cblas::to_cptr do not match");
100 static_assert(
sizeof(
T)==
sizeof(
blas_complex_double),
"sizes of blas_complex_double and T given to madness::cblas::to_zptr do not match");
103 template <
typename T>
106 static_assert(
sizeof(
T)==
sizeof(
blas_complex_double),
"sizes of blas_complex_double and T given to madness::cblas::to_zptr do not match");
#define blas_complex_double
Definition cblas_types.h:48
#define blas_complex_float
Definition cblas_types.h:43
auto T(World &world, response_space &f) -> response_space
Definition global_functions.cc:34
Macros and tools pertaining to the configuration of MADNESS.
const blas_complex_double * to_zptr(const T *ptr)
Definition cblas_types.h:99
const blas_complex_float * to_cptr(const T *ptr)
Definition cblas_types.h:86
CBLAS_TRANSPOSE
Matrix operations for BLAS function calls.
Definition cblas_types.h:77
@ NoTrans
Definition cblas_types.h:78
@ ConjTrans
Definition cblas_types.h:80
@ Trans
Definition cblas_types.h:79
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
std::string type(const PairType &n)
Definition PNOParameters.h:18