name: Bessel

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_numeric.a

#include <Bessel.h>

boolean compute(float& output, float input, long order, long nterms);
quick start:

float output;
Bessel::compute(output, 1.0);
Bessel::compute(output, 1.0, 0, 20);
description:

The Bessel class implements a family of Bessel functions using an infinite series approximation. For more details about this implementation, see: Currently, only a zeroth order Bessel function, which is the most common order for signal processing applications, is implemented. A zeroth order Bessel function can be approximated by the following power series: Normally, 20 terms in the summation provide an acceptable level of accuracy. This limit can be specified in the compute method.

dependencies:

public constants:

  • define default values and arguments: DEF_ORDER represents the default Bessel function order to be used by the compute method; DEF_NTERMS represents how many terms are used in the approximation.
    static const long DEF_ORDER = 0;
    static const long DEF_NTERMS = 20;
    error codes:

    protected data:

    required public methods:

    class-specific public methods:

    private methods:

    examples:

    notes: