Contents Previous Next Subchapters

Legendre's Elliptic Integrals of the First Kind
Syntax ellipf(phik)
See Also elliprf

Description
Computes an element-by-element approximation of the elliptic integral defined by
                 phi
                 /        2   2    -1/2 
     F(phik) = | [ 1 - k sin (x) ]   dx
                 /
                 0
where the arguments phi and k are real or double-precision matrices. If both of these arguments is not a scalar, they must have the same dimension. For each (ij),

     | phi(ij) | < pi/2  and  | k(ij) | < 1

Example
                 phi
                 /   
     F(phi, 0) = | dx = phi
                 /
                 0
If you enter
     phi = rand(2, 3)
     print ellipf(phi, 0.)
     print phi
O-Matrix will print two matrices with the same values.