CFL
Functions

Implementations of indicator functions. More...

Functions

Ind naive ()
 
Ind smart ()
 

Detailed Description

This namespace contains implementations of indicator functions with the goal to accelerate the integration of discontinuous functions.

See also
IInd and Ind

Function Documentation

Ind cfl::NInd::naive ( )

Constructs "naive" implementation of an indicator function. It assigns one to any point where the value of the function is greater then the barrier; assigns zero otherwise. This implementation is not efficient. Do not use it. It is given here only for comparison.

Returns
Naive and not efficient implementation of the class Ind.
Ind cfl::NInd::smart ( )

Constructs an "efficient" implementation of an indicator function. Use it.

Returns
An efficient implementation of the class Ind.