s21bcf

s21bcf © Numerical Algorithms Group, 2002.

Purpose

S21BCF Symmetrised elliptic integral of 2nd kind R (x,y,z) D

Synopsis

[fun_value,ifail] = s21bcf(x,y,z<,ifail>)

Description

 
 This routine calculates an approximate value for the integral
 
                           infty
                         3 /             dt
              R (x,y,z)= - |     -------------------
               D         2 /        ________________
                           0       /               3
                                 \/ (t+x)(t+y)(t+z) 
 
 where x, y>=0, at most one of x and y is zero, and z>0.
 
 The routine may fail either because it has been called with 
 arguments outside the domain of definition, or with arguments so 
 extreme that there is an unavoidable danger of setting underflow 
 or overflow.
 
                  -3/2                                        
 Note: R (x,x,x)=x    , so there exists a region of extreme 
        D                                                 
 arguments for which the function value is not representable.
 

Parameters

s21bcf

Required Input Arguments:

x                                     real
y                                     real
z                                     real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

ifail                                 integer