# Elliptic2nd

Advanced Analysis Library Only

double Elliptic2nd (double k, double *a);

## Purpose

Computes the elliptic or incomplete elliptic integral of the second kind. The elliptic integral of the first kind is defined as follows:

The incomplete elliptic integral of the second kind is defined as follows:

If you call this function with a = NULL, the elliptic integral is computed. Otherwise, the incomplete elliptic integral is computed.

## Parameters

Input
Name | Type | Description
k | double-precision | The modulus argument. is the elliptic modulus.
a | double-precision pointer | The range of integration for the incomplete elliptic integral. The elliptic integral is computed if a is NULL.

## Return Value

Name | Type | Description
result | double-precision | The value of the elliptic or incomplete elliptic integral.