Contents Previous Next Subchapters Current Chapters-> erf ierf erfc beta betai gamma gammln gammainc besselj bessely besseli besselk elliprf elliprd elliprj ellipf ellipe ellipi kolsmi psi airy isprime lentz Parent Chapters-> Omatrix6 special ellipe Search Tools-> contents reference index search

Legendre's Elliptic Integrals of the Second Kind
 Syntax `ellipe(`phi`, `k`)` See Also elliprd , ellipf , ellipi

Description
Computes an element-by-element approximation of the elliptic integral defined by ```                  phi                  /        2   2     1/2       E(phi, k) = | [ 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 `(i, j)`, ```      | phi(i, j) | < pi/2  and  | k(i, j) | < 1 ```
Example ```                  phi                  /         E(phi, 0) = | dx = phi                  /                  0 ```If you enter ```      phi = rand(2, 3)      print ellipe(phi, 0.)      print phi ``` O-Matrix will print two matrices with the same values.