nco_abscissas Subroutine

subroutine nco_abscissas(n, x)

************80

! NCO_ABSCISSAS computes the Newton Cotes Open abscissas.

Discussion:

The interval is [ -1, 1 ].

The abscissas are the equally spaced points between -1 and 1,
not including the endpoints.

Licensing:

This code is distributed under the GNU LGPL license.

Modified:

29 December 2007

Author:

John Burkardt

Parameters:

Input, integer ( kind = 4 ) N, the order of the rule.

Output, real ( kind = 8 ) X(N), the abscissas.

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: n
real(kind=8) :: x(n)