PLaSK library
Loading...
Searching...
No Matches
brent.cpp File Reference
#include "brent.hpp"
#include "rootdigger-impl.hpp"
Include dependency graph for brent.cpp:

Go to the source code of this file.

Namespaces

namespace  plask
 Patterson quadrature for complex function along specified line.
 
namespace  plask::optical
 
namespace  plask::optical::modal
 

Macros

#define carg(x)   realaxis? dcomplex(x, imag(start)) : dcomplex(real(start), x)
 
#define fun(x)   abs(valFunction(carg(x)))
 

Macro Definition Documentation

◆ carg

#define carg (   x)    realaxis? dcomplex(x, imag(start)) : dcomplex(real(start), x)

Definition at line 19 of file brent.cpp.

◆ fun

#define fun (   x)    abs(valFunction(carg(x)))

Definition at line 20 of file brent.cpp.