sparse-xdiv.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2004-2012 David Bateman
00004 Copyright (C) 1998-2004 Andy Adler
00005 
00006 This file is part of Octave.
00007 
00008 Octave is free software; you can redistribute it and/or modify it
00009 under the terms of the GNU General Public License as published by the
00010 Free Software Foundation; either version 3 of the License, or (at your
00011 option) any later version.
00012 
00013 Octave is distributed in the hope that it will be useful, but WITHOUT
00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00015 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00016 for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Octave; see the file COPYING.  If not, see
00020 <http://www.gnu.org/licenses/>.
00021 
00022 */
00023 
00024 #if !defined (octave_sparse_xdiv_h)
00025 #define octave_sparse_xdiv_h 1
00026 
00027 #include "oct-cmplx.h"
00028 #include "MatrixType.h"
00029 
00030 class DiagMatrix;
00031 class ComplexDiagMatrix;
00032 class SparseMatrix;
00033 class SparseComplexMatrix;
00034 
00035 extern Matrix xdiv (const Matrix& a, const SparseMatrix& b, MatrixType &typ);
00036 extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b,
00037                            MatrixType &typ);
00038 extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b,
00039                            MatrixType &typ);
00040 extern ComplexMatrix xdiv (const ComplexMatrix& a,
00041                            const SparseComplexMatrix& b, MatrixType &typ);
00042 
00043 extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b,
00044                           MatrixType &typ);
00045 extern SparseComplexMatrix xdiv (const SparseMatrix& a,
00046                                  const SparseComplexMatrix& b, MatrixType &typ);
00047 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a,
00048                                  const SparseMatrix& b, MatrixType &typ);
00049 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a,
00050                                  const SparseComplexMatrix& b, MatrixType &typ);
00051 
00052 extern SparseMatrix xdiv (const SparseMatrix& a,
00053                           const DiagMatrix& b, MatrixType &typ);
00054 extern SparseComplexMatrix xdiv (const SparseMatrix& a,
00055                                  const ComplexDiagMatrix& b, MatrixType &typ);
00056 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a,
00057                                  const DiagMatrix& b, MatrixType &typ);
00058 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a,
00059                                  const ComplexDiagMatrix& b, MatrixType &typ);
00060 
00061 extern Matrix x_el_div (double a, const SparseMatrix& b);
00062 extern ComplexMatrix x_el_div (double a, const SparseComplexMatrix& b);
00063 extern ComplexMatrix x_el_div (const Complex a, const SparseMatrix& b);
00064 extern ComplexMatrix x_el_div (const Complex a,
00065                                const SparseComplexMatrix& b);
00066 
00067 extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b,
00068                         MatrixType& typ);
00069 extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b,
00070                                MatrixType &typ);
00071 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b,
00072                                MatrixType &typ);
00073 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a,
00074                                const ComplexMatrix& b, MatrixType &typ);
00075 
00076 extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b,
00077                               MatrixType &typ);
00078 extern SparseComplexMatrix xleftdiv (const SparseMatrix& a,
00079                                      const SparseComplexMatrix& b, MatrixType &typ);
00080 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a,
00081                                      const SparseMatrix& b, MatrixType &typ);
00082 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a,
00083                                      const SparseComplexMatrix& b, MatrixType &typ);
00084 
00085 extern SparseMatrix xleftdiv (const DiagMatrix&, const SparseMatrix&, MatrixType&);
00086 extern SparseComplexMatrix xleftdiv (const ComplexDiagMatrix&, const SparseMatrix&,
00087                                      MatrixType&);
00088 extern SparseComplexMatrix xleftdiv (const DiagMatrix&, const SparseComplexMatrix&,
00089                                      MatrixType&);
00090 extern SparseComplexMatrix xleftdiv (const ComplexDiagMatrix&, const SparseComplexMatrix&,
00091                                      MatrixType&);
00092 
00093 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines