Mercurial > octave
diff scripts/miscellaneous/xor.m @ 3321:6923abb04e16
[project @ 1999-10-26 18:15:30 by jwe]
author | jwe |
---|---|
date | Tue, 26 Oct 1999 18:15:41 +0000 |
parents | 3241d0057e78 |
children | f8dde1807dee |
line wrap: on
line diff
--- a/scripts/miscellaneous/xor.m Fri Oct 22 09:46:23 1999 +0000 +++ b/scripts/miscellaneous/xor.m Tue Oct 26 18:15:41 1999 +0000 @@ -14,11 +14,13 @@ ## along with this file. If not, write to the Free Software Foundation, ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -## usage: xor (x, y) -## -## Returns the "exclusive or" of the entries of x and y. -## For boolean expressions x and y, xor (x, y) is true iff either x -## or y is true. +## -*- texinfo -*- +## @deftypefn {Mapping Function} {} xor (@var{x}, @var{y}) +## Return the `exclusive or' of the entries of @var{x} and @var{y}. +## For boolean expressions @var{x} and @var{y}, +## @code{xor (@var{x}, @var{y})} is true if and only if @var{x} or @var{y} +## is true, but not if both @var{x} and @var{y} are true. +## @end deftypefn ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> ## Created: 16 September 1994