function y=lindata(A,B,N)
% lindata - linear data sequence
%
% lindata :: 
%    real  ~'initial value',
%    real  ~'final value',
%    natural ~'number of steps (sequence length is steps+1),
% -> seq [[1,M]].

k=(B-A)/N;
y=map(@(i)A+k*i,integers(0,N));
	
