comparison src/OPERATORS/op-bm-sbm.cc @ 9931:fb6b6fcafa62

untabify files in src/OPERATORS directory
author John W. Eaton <jwe@octave.org>
date Mon, 07 Dec 2009 14:49:48 -0500
parents eb63fbe60fab
children ac4b97c6bf8b
comparison
equal deleted inserted replaced
9930:1ddc25c3623a 9931:fb6b6fcafa62
1 /* 1 /*
2 2
3 Copyright (C) 2004, 2005, 2007, 2008 David Bateman 3 Copyright (C) 2004, 2005, 2007, 2008, 2009 David Bateman
4 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler 4 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler
5 5
6 This file is part of Octave. 6 This file is part of Octave.
7 7
8 Octave is free software; you can redistribute it and/or modify it 8 Octave is free software; you can redistribute it and/or modify it
50 DEFCATOP (bm_sbm, bool_matrix, sparse_bool_matrix) 50 DEFCATOP (bm_sbm, bool_matrix, sparse_bool_matrix)
51 { 51 {
52 CAST_BINOP_ARGS (octave_bool_matrix&, const octave_sparse_bool_matrix&); 52 CAST_BINOP_ARGS (octave_bool_matrix&, const octave_sparse_bool_matrix&);
53 SparseBoolMatrix tmp (v1.bool_matrix_value ()); 53 SparseBoolMatrix tmp (v1.bool_matrix_value ());
54 return octave_value (tmp. concat (v2.sparse_bool_matrix_value (), 54 return octave_value (tmp. concat (v2.sparse_bool_matrix_value (),
55 ra_idx)); 55 ra_idx));
56 } 56 }
57 57
58 DEFCATOP (m_sbm, matrix, sparse_bool_matrix) 58 DEFCATOP (m_sbm, matrix, sparse_bool_matrix)
59 { 59 {
60 CAST_BINOP_ARGS (octave_matrix&, const octave_sparse_bool_matrix&); 60 CAST_BINOP_ARGS (octave_matrix&, const octave_sparse_bool_matrix&);
83 { 83 {
84 INSTALL_BINOP (op_eq, octave_bool_matrix, octave_sparse_bool_matrix, eq); 84 INSTALL_BINOP (op_eq, octave_bool_matrix, octave_sparse_bool_matrix, eq);
85 INSTALL_BINOP (op_ne, octave_bool_matrix, octave_sparse_bool_matrix, ne); 85 INSTALL_BINOP (op_ne, octave_bool_matrix, octave_sparse_bool_matrix, ne);
86 86
87 INSTALL_BINOP (op_el_and, octave_bool_matrix, octave_sparse_bool_matrix, 87 INSTALL_BINOP (op_el_and, octave_bool_matrix, octave_sparse_bool_matrix,
88 el_and); 88 el_and);
89 INSTALL_BINOP (op_el_or, octave_bool_matrix, octave_sparse_bool_matrix, 89 INSTALL_BINOP (op_el_or, octave_bool_matrix, octave_sparse_bool_matrix,
90 el_or); 90 el_or);
91 91
92 INSTALL_CATOP (octave_bool_matrix, octave_sparse_bool_matrix, bm_sbm); 92 INSTALL_CATOP (octave_bool_matrix, octave_sparse_bool_matrix, bm_sbm);
93 INSTALL_CATOP (octave_bool_matrix, octave_sparse_matrix, bm_sm); 93 INSTALL_CATOP (octave_bool_matrix, octave_sparse_matrix, bm_sm);
94 INSTALL_CATOP (octave_matrix, octave_sparse_bool_matrix, m_sbm); 94 INSTALL_CATOP (octave_matrix, octave_sparse_bool_matrix, m_sbm);
95 95
96 INSTALL_ASSIGNOP (op_asn_eq, octave_bool_matrix, octave_sparse_bool_matrix, 96 INSTALL_ASSIGNOP (op_asn_eq, octave_bool_matrix, octave_sparse_bool_matrix,
97 assign) 97 assign)
98 INSTALL_ASSIGNCONV (octave_bool_matrix, octave_sparse_bool_matrix, 98 INSTALL_ASSIGNCONV (octave_bool_matrix, octave_sparse_bool_matrix,
99 octave_bool_matrix); 99 octave_bool_matrix);
100 100
101 INSTALL_WIDENOP (octave_bool_matrix, octave_sparse_bool_matrix, 101 INSTALL_WIDENOP (octave_bool_matrix, octave_sparse_bool_matrix,
102 sparse_bool_matrix_conv); 102 sparse_bool_matrix_conv);
103 } 103 }
104 104
105 /* 105 /*
106 ;;; Local Variables: *** 106 ;;; Local Variables: ***
107 ;;; mode: C++ *** 107 ;;; mode: C++ ***