Top

Name

lvector , fvector , dvector — return an array of either long, float or double

Synopsis

array lvector ( elt1 ,
  .... ,
  elt-n );
 
array fvector ( elt1 ,
  .... ,
  elt-n );
 
array dvector ( elt1 ,
  .... ,
  elt-n );
 

Description

These functions are like vector but return an array of either long, float or double whereas vector returns a generic, untyped array.

Example 24.96. Examples:

aref (lvector (1, 2), 1) = 1    is true.