std-rseq


Synopsis

(std-rseq <start> <end> <n>)

Description

STD-RSEQ creates an ascending real sequence of n numbers including the start and end element. The first element is start, the last end, the in between elements are equally divided.

Example

(std-rseq 0 1 3)	=> (0.0 0.5 1.0)

Arguments

start, end: Numbers. end must be greater than start.

n: Positive integer number

Return Value

A list of real numbers or nil if start > end or n<1

Side Effects

None.

Module

(std-require 'STDLIST)

Defined in STDLIST