# HG changeset patch # User jwe # Date 1021561952 0 # Node ID e1a2648d9150fecef174e854a28ad97fbc005da9 # Parent f1500121e2e90457b52bcdc59b5c16df1b4efe02 [project @ 2002-05-16 15:12:10 by jwe] diff --git a/src/OPERATORS/op-bm-b.cc b/src/OPERATORS/op-bm-b.cc new file mode 100644 --- /dev/null +++ b/src/OPERATORS/op-bm-b.cc @@ -0,0 +1,54 @@ +/* + +Copyright (C) 2001 Cai Jianming + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +#if defined (__GNUG__) +#pragma implementation +#endif + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "gripes.h" +#include "ov.h" +#include "ov-bool.h" +#include "ov-bool-mat.h" +#include "ov-typeinfo.h" +#include "ops.h" +#include "xdiv.h" +#include "xpow.h" + +// bool matrix by bool ops. + +DEFASSIGNOP_FN (assign, bool_matrix, bool, assign) + +void +install_bm_b_ops (void) +{ + INSTALL_ASSIGNOP (op_asn_eq, octave_bool_matrix, octave_bool, assign); +} + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; End: *** +*/ diff --git a/src/OPERATORS/op-cell.cc b/src/OPERATORS/op-cell.cc new file mode 100644 --- /dev/null +++ b/src/OPERATORS/op-cell.cc @@ -0,0 +1,53 @@ +/* + +Copyright (C) 1996, 1997 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +#if defined (__GNUG__) +#pragma implementation +#endif + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "gripes.h" +#include "ov.h" +#include "ov-cell.h" +#include "ov-scalar.h" +#include "ov-re-mat.h" +#include "ov-typeinfo.h" +#include "ops.h" + +// cell ops. + +DEFASSIGNANYOP_FN (assign, cell, assign); + +void +install_cell_ops (void) +{ + INSTALL_ASSIGNANYOP (op_asn_eq, octave_cell, assign); +} + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; End: *** +*/ diff --git a/src/TEMPLATE-INST/Map-oct-obj.cc b/src/TEMPLATE-INST/Map-oct-obj.cc new file mode 100644 --- /dev/null +++ b/src/TEMPLATE-INST/Map-oct-obj.cc @@ -0,0 +1,42 @@ +/* + +Copyright (C) 2002 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +// Instantiate Maps of octave_value_lists. + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "Map.h" +#include "Map.cc" + +#include "oct-obj.h" + +template class Map; +template class CHNode; +template class CHMap; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; End: *** +*/