diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi index 69ef40d30..e3c45e843 100644 --- a/doc/ref/api-compound.texi +++ b/doc/ref/api-compound.texi @@ -1492,45 +1492,6 @@ a @result{} #2((#f #f) (#f #t)) @end example @end deffn -@deffn {Scheme Procedure} enclose-array array dim1 @dots{} -@deffnx {C Function} scm_enclose_array (array, dimlist) -@var{dim1}, @var{dim2} @dots{} should be nonnegative integers less than -the rank of @var{array}. @code{enclose-array} returns an array -resembling an array of shared arrays. The dimensions of each shared -array are the same as the @var{dim}th dimensions of the original array, -the dimensions of the outer array are the same as those of the original -array that did not match a @var{dim}. - -An enclosed array is not a general Scheme array. Its elements may not -be set using @code{array-set!}. Two references to the same element of -an enclosed array will be @code{equal?} but will not in general be -@code{eq?}. The value returned by @code{array-prototype} when given an -enclosed array is unspecified. - -For example, - -@lisp -(enclose-array '#3(((a b c) - (d e f)) - ((1 2 3) - (4 5 6))) - 1) -@result{} -# - -(enclose-array '#3(((a b c) - (d e f)) - ((1 2 3) - (4 5 6))) - 1 0) -@result{} -# -@end lisp -@end deffn - @deffn {Scheme Procedure} array-shape array @deffnx {Scheme Procedure} array-dimensions array @deffnx {C Function} scm_array_dimensions (array)