sparse-xpow.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_xpow_h)
00025 #define octave_sparse_xpow_h 1
00026 
00027 #include "oct-cmplx.h"
00028 
00029 class SparseMatrix;
00030 class SparseComplexMatrix;
00031 class octave_value;
00032 
00033 extern octave_value xpow (const SparseMatrix& a, double b);
00034 extern octave_value xpow (const SparseComplexMatrix& a, double b);
00035 
00036 extern octave_value elem_xpow (double a, const SparseMatrix& b);
00037 extern octave_value elem_xpow (double a, const SparseComplexMatrix& b);
00038 
00039 extern octave_value elem_xpow (const SparseMatrix& a, double b);
00040 extern octave_value elem_xpow (const SparseMatrix& a, const SparseMatrix& b);
00041 extern octave_value elem_xpow (const SparseMatrix& a, const Complex& b);
00042 extern octave_value elem_xpow (const SparseMatrix& a,
00043                                const SparseComplexMatrix& b);
00044 
00045 extern octave_value elem_xpow (const Complex& a, const SparseMatrix& b);
00046 extern octave_value elem_xpow (const Complex& a,
00047                                const SparseComplexMatrix& b);
00048 
00049 extern octave_value elem_xpow (const SparseComplexMatrix& a, double b);
00050 extern octave_value elem_xpow (const SparseComplexMatrix& a,
00051                                const SparseMatrix& b);
00052 extern octave_value elem_xpow (const SparseComplexMatrix& a,
00053                                const Complex& b);
00054 extern octave_value elem_xpow (const SparseComplexMatrix& a,
00055                                const SparseComplexMatrix& b);
00056 
00057 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines