MADNESS 0.10.1
testcomplexfunctionsolver.cc File Reference
#include <iostream>
#include <madness/mra/mra.h>
#include <madness/mra/nonlinsol.h>
#include <complex>
#include <cmath>
Include dependency graph for testcomplexfunctionsolver.cc:

Classes

struct  F
 simple class for testing the solver More...

Typedefs

using dataT = std::complex<double>
using factoryT = FunctionFactory<dataT,N>
using functionT = Function<dataT,N>

Functions

F allocator ()
dataT inner (const F &a, const F &b)
int main (int argc, char **argv)
F residual (const F &f)
void residualx (const Key< N > &key, Tensor< dataT > &t)

Variables

const size_t N = 1

Typedef Documentation

◆ dataT

using dataT = std::complex<double>

◆ factoryT

◆ functionT

Function Documentation

◆ allocator()

◆ inner()

dataT inner ( const F & a,
const F & b )

References a, b, and madness::conj().

◆ main()

◆ residual()

◆ residualx()

void residualx ( const Key< N > & key,
Tensor< dataT > & t )

References UNARY_OPTIMIZED_ITERATOR.

Referenced by residual().

Variable Documentation

◆ N

const size_t N = 1