


% -*- texinfo -*-
% @deftypefn {Function File} {@var{b} = } randint (@var{n})
% @deftypefnx {Function File} {@var{b} = } randint (@var{n},@var{m})
% @deftypefnx {Function File} {@var{b} = } randint (@var{n},@var{m},@var{range})
% @deftypefnx {Function File} {@var{b} = } randint (@var{n},@var{m},@var{range},@var{seed})
%
% Generate a matrix of random binary numbers. The size of the matrix is
% @var{n} rows by @var{m} columns. By default @var{m} is equal to @var{n}.
%
% The range in which the integers are generated will is determined by
% the variable @var{range}. If @var{range} is an integer, the value will
% lie in the range [0,@var{range}-1], or [@var{range}+1,0] if @var{range}
% is negative. If @var{range} contains two elements the intgers will lie
% within these two elements, inclusive. By default @var{range} is
% assumed to be [0:1].
%
% The variable @var{seed} allows the random number generator to be seeded
% with a fixed value. The initial seed will be restored when returning.
% @end deftypefn