<< search_cte Basic functions shiftr >>

Grocer >> Basic functions > seqa

seqa

production of a sequence of values

CALLING SEQUENCE

[seq]=seqa(a,b,c)

PARAMETERS

Input

* a = initial value in sequence

* b = increment

* c = number of values in the sequence

 

Output

* seq = a sequence, (a:b:(a+b*(c-1)))' in scilab notation

DESCRIPTION

Produces a sequence of values (a Gauss compatibility function).

EXAMPLE

seqa(2,5,3)
//returns
//
//!   2.  !
//!   7.  !
//!   12. !

AUTHOR

Eric Dubois 2002

Report an issue
<< search_cte Basic functions shiftr >>