mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Minor updates.
This commit is contained in:
parent
61eed96070
commit
3dd6e0cf19
3 changed files with 47 additions and 2 deletions
|
@ -420,7 +420,8 @@ This is a stable sort.
|
|||
@deffn {Scheme Procedure} restricted-vector-sort! vec less startpos endpos
|
||||
@deffnx {C Function} scm_restricted_vector_sort_x (vec, less, startpos, endpos)
|
||||
Sort the vector @var{vec}, using @var{less} for comparing
|
||||
the vector elements. @var{startpos} and @var{endpos} delimit
|
||||
the vector elements. @var{startpos} (inclusively) and
|
||||
@var{endpos} (exclusively) delimit
|
||||
the range of the vector which gets sorted. The return value
|
||||
is not specified.
|
||||
@end deffn
|
||||
|
|
|
@ -11,3 +11,47 @@ or @samp{-inf.0}, @code{#f} otherwise.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@deffn {Scheme Procedure} uniform-vector? obj
|
||||
@deffnx {C Function} scm_uniform_vector_p (obj)
|
||||
Return @code{#t} if @var{obj} is a uniform vector.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} uniform-vector-set! v idx val
|
||||
@deffnx {C Function} scm_uniform_vector_set_x (v, idx, val)
|
||||
Set the element at index @var{idx} of the
|
||||
homogenous numeric vector @var{v} to @var{val}.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} uniform-vector->list uvec
|
||||
@deffnx {C Function} scm_uniform_vector_to_list (uvec)
|
||||
Convert the homogeneous numeric vector @var{uvec} to a list.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} make-u8vector len [fill]
|
||||
@deffnx {C Function} scm_make_u8vector (len, fill)
|
||||
Return a newly allocated homogeneous numeric vector which can
|
||||
hold @var{len} elements. If @var{fill} is given, it is used to
|
||||
initialize the elements, otherwise the contents of the vector
|
||||
is unspecified.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} u8vector . l
|
||||
@deffnx {C Function} scm_u8vector (l)
|
||||
Return a newly allocated homogeneous numeric vector containing
|
||||
all argument values.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} list->u8vector l
|
||||
@deffnx {C Function} scm_list_to_u8vector (l)
|
||||
Convert the list @var{l} to a numeric homogeneous vector.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} any->u8vector obj
|
||||
@deffnx {C Function} scm_any_to_u8vector (obj)
|
||||
Convert @var{obj}, which can be a list, vector, or
|
||||
homogenous vector, to a numeric homogenous vector of
|
||||
type u8.
|
||||
@end deffn
|
||||
|
|
|
@ -950,7 +950,7 @@ from separate @code{and} and @code{let*}, or from @code{cond} with
|
|||
@cindex SRFI-4
|
||||
|
||||
The SRFI-4 procedures and data types are always available, @xref{Uniform
|
||||
Vectors}.
|
||||
Numeric Vectors}.
|
||||
|
||||
@node SRFI-6
|
||||
@subsection SRFI-6 - Basic String Ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue