Mercurial > hg > octave-jordi
annotate libinterp/corefcn/sparse-xpow.h @ 17516:21656a949661
Add hook function to handle missing Octave components
* __gripe_missing_component__.m: New internal function to handle errors due
to missing Octave components.
* scripts/help/module.mk (help_FCN_FILES): Add __gripe_missing_component__.m.
* variables.cc (Vmissing_component_hook): New internal variable.
* doc.m, mkoctfile.m, configure_make.m: Call __gripe_missing_component__
if required files are not found.
* NEWS: Mention missing_component_hook.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sun, 29 Sep 2013 16:06:41 -0400 |
parents | 68fc671a9339 |
children | d63878346099 |
rev | line source |
---|---|
5164 | 1 /* |
2 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11586
diff
changeset
|
3 Copyright (C) 2004-2012 David Bateman |
11523 | 4 Copyright (C) 1998-2004 Andy Adler |
7016 | 5 |
6 This file is part of Octave. | |
5164 | 7 |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
5164 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
5164 | 21 |
22 */ | |
23 | |
24 #if !defined (octave_sparse_xpow_h) | |
25 #define octave_sparse_xpow_h 1 | |
26 | |
27 #include "oct-cmplx.h" | |
28 | |
29 class SparseMatrix; | |
30 class SparseComplexMatrix; | |
31 class octave_value; | |
32 | |
33 extern octave_value xpow (const SparseMatrix& a, double b); | |
34 extern octave_value xpow (const SparseComplexMatrix& a, double b); | |
35 | |
36 extern octave_value elem_xpow (double a, const SparseMatrix& b); | |
37 extern octave_value elem_xpow (double a, const SparseComplexMatrix& b); | |
38 | |
39 extern octave_value elem_xpow (const SparseMatrix& a, double b); | |
40 extern octave_value elem_xpow (const SparseMatrix& a, const SparseMatrix& b); | |
41 extern octave_value elem_xpow (const SparseMatrix& a, const Complex& b); | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
42 extern octave_value elem_xpow (const SparseMatrix& a, |
10313 | 43 const SparseComplexMatrix& b); |
5164 | 44 |
45 extern octave_value elem_xpow (const Complex& a, const SparseMatrix& b); | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
46 extern octave_value elem_xpow (const Complex& a, |
10313 | 47 const SparseComplexMatrix& b); |
5164 | 48 |
49 extern octave_value elem_xpow (const SparseComplexMatrix& a, double b); | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
50 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
10313 | 51 const SparseMatrix& b); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
52 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
10313 | 53 const Complex& b); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
54 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
10313 | 55 const SparseComplexMatrix& b); |
5164 | 56 |
57 #endif |