MADNESS 0.10.1
Typedefs | Functions
test_Zmtxmq.cc File Reference
#include <madness/madness_config.h>
#include <iostream>
#include <vector>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <complex>
#include <madness/world/safempi.h>
#include <madness/world/posixmem.h>
#include <madness/tensor/cblas.h>
#include <madness/tensor/tensor.h>
#include <madness/tensor/mxm.h>
#include <madness/tensor/mTxmq.h>
Include dependency graph for test_Zmtxmq.cc:

Typedefs

typedef std::complex< double > double_complex
 
typedef std::complex< float > float_complex
 

Functions

int main (int argc, char *argv[])
 
static double ran ()
 
static double_complex ran_cd ()
 
static float_complex ran_cf ()
 
template<typename T >
static void test_shape_c (long ni, long nj, long nk, long ldb, const T *a, const T *b, T *c_test, T *c_ref, long &num_tested, long &num_failed, const char *tname, double tol)
 

Typedef Documentation

◆ double_complex

typedef std::complex<double> double_complex

◆ float_complex

typedef std::complex<float> float_complex

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ ran()

static double ran ( )
static

Referenced by ran_cd(), and ran_cf().

◆ ran_cd()

static double_complex ran_cd ( )
static

References ran().

Referenced by main().

◆ ran_cf()

static float_complex ran_cf ( )
static

References ran().

Referenced by main().

◆ test_shape_c()

template<typename T >
static void test_shape_c ( long  ni,
long  nj,
long  nk,
long  ldb,
const T *  a,
const T *  b,
T *  c_test,
T *  c_ref,
long &  num_tested,
long &  num_failed,
const char *  tname,
double  tol 
)
static

References a, std::abs(), b, diff(), madness::mTxmq(), and madness::mTxmq_reference().

Referenced by main().