Hex  1.0
Hydrogen-electron collision solver
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Functions
compact.h File Reference
#include <cassert>
#include <cmath>
#include <iostream>
#include "misc.h"
#include "special.h"
Include dependency graph for compact.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ICompactification< FType >
 Compactification. More...
 
class  CompactificationF< Functor, FType >
 Compactification of a function from finite interval. More...
 
class  CompactificationL< Functor, FType >
 Compactification of a function from (-∞,b] to (-1,1]. More...
 
class  CompactificationR< Functor, FType >
 Compactification of a function from [a,+∞) to [-1,1). More...
 
class  CompactIntegrand< Functor, FType >
 Compactification multiplied by its jacobian. More...
 

Functions

template<class Functor , typename FType >
FType lim (Functor F, double x, int *n=nullptr)
 Compute limit. More...
 

Function Documentation

template<class Functor , typename FType >
FType lim ( Functor  F,
double  x,
int *  n = nullptr 
)

Limit

\[ \lim_{t \rightarrow x} F(t) \]

The bisection count will be written into *n if non-null.