2.1.16.6.4.4 elliptic_integral_rj


Description

Symmetrised elliptic integral of 3rd kind RJ(x,y,z,r)

Syntax

double elliptic_integral_rj( double x, double y, double z, double r )

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
r
[input] the argument r of the function

Return

Returns a value of the symmetrised elliptic integral of 3rd kind

Examples

EX1

void elliptic_integral_rj_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[6] = {0.5,0.5,1.0,1.0,1.5,1.5};
	double dr = 2.0;
	double dResults[6];
	for(int ii = 0; ii<6 ; ii++)
	{
		dResults[ii] = elliptic_integral_rj(dx[ii],dy[ii],dz[ii],dr);
		printf("%lf	%lf	%lf	%lf:	%lf\n",dx[ii],dy[ii],dz[ii],dr,dResults[ii]);
	}
}

Remark

See Also

elliptic_integral_rc, elliptic_integral_rf, elliptic_integral_rd


Header to Include

origin.h

Reference