length, containing only copies of
n+1 of the form
nth element of
vec. Note that elements are numbered starting at 0.
kth element of
val. (Note that vectors use 0-based indexing.)
lstto a vector so that the ith value in the vector is the same as the ith value in the lst.
vecto a list so that the ith value in the list is the same as the ith value in the vector.
valis a vector.
vecwith multiple copies of
Copyright (c) 2007-10 Janet Davis, Matthew Kluber, Samuel A. Rebelsky, and Jerod Weinman. (Selected materials copyright by John David Stone and Henry Walker and used by permission.)
This material is based upon work partially supported by the National Science Foundation under Grant No. CCLI-0633090. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
This work is licensed under a Creative Commons
Attribution-NonCommercial 2.5 License. To view a copy of this
or send a letter to Creative Commons, 543 Howard Street, 5th Floor,
San Francisco, California, 94105, USA.