elliptic_integral_rf

 

Description

Symmetrised elliptic integral of 1st kind RF(x,y,z)

Syntax

double elliptic_integral_rf( double x, double y, double z )

Parameters

x
[input] the argument x of the function
y
[input] the argument y of the function
z
[input] the argument z of the function

Return

Returns a value of the symmetrised elliptic integral of 1st kind

Examples

EX1

void elliptic_integral_rf_ex1()
{
        double dx[6] = {0.5,0.5,0.5,1.0,1.0,1.5};
        double dy[6] = {0.5,1.0,1.5,0.5,1.0,1.5};
        double dz = 1.0;
        for(int ii = 0; ii<6 ; ii++)
                printf("%lf    %lf     %lf:    %lf\n",dx[ii],dy[ii],dz,elliptic_integral_rf(dx[ii],dy[ii],dz));
}

Remark

See Also

elliptic_integral_rc, elliptic_integral_rd, elliptic_integral_rj

header to Include

origin.h

Reference