Guile also provides procedures that operate on all types of uniform numeric
vectors. In what is probably a bug, these procedures are currently available in
the default environment as well; however prudent hackers will make sure to
(srfi srfi-4 gnu) before using these.
Return non-zero when uvec is a uniform numeric vector, zero otherwise.
Return the number of elements of uvec as a
#t if obj is a homogeneous numeric vector of the
Return the number of elements in vec.
Return the element at index i in vec. The first element in vec is index 0.
Set the element at index i in vec to value. The first element in vec is index 0. The return value is unspecified.
Return a newly allocated list holding all elements of vec.
scm_vector_elements (see Vector Accessing from C), but
returns a pointer to the elements of a uniform numeric vector.
scm_vector_writable_elements (see Vector Accessing from C), but returns a pointer to the elements of a uniform numeric vector.
Unless you really need to the limited generality of these functions, it is best to use the type-specific functions, or the array accessors.