Function: mpfr_linspace_d (R, BASE, LIMIT, N)

Return a row vector with N linearly spaced elements between BASE and LIMIT.

The result is rounded in the direction R (+inf: towards positive infinity, -inf: towards negative infinity).

The result is not guaranteed to be correctly rounded, but should be within 1 ULP of the correctly rounded result.

mpfr_linspace_d (-inf, 0, 10, 3)
 ⇒ ans = 
       0    5   10

See also: linspace.

Package: interval