GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
xnorm.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (C) 2008-2023 The Octave Project Developers
4 //
5 // See the file COPYRIGHT.md in the top-level directory of this
6 // distribution or <https://octave.org/copyright/>.
7 //
8 // This file is part of Octave.
9 //
10 // Octave is free software: you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Octave is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Octave; see the file COPYING. If not, see
22 // <https://www.gnu.org/licenses/>.
23 //
24 ////////////////////////////////////////////////////////////////////////
25 
26 #if ! defined (octave_xnorm_h)
27 #define octave_xnorm_h 1
28 
29 #include "octave-config.h"
30 
31 #include "oct-norm.h"
32 
33 class octave_value;
34 
36 
37 extern OCTINTERP_API octave_value
38 xnorm (const octave_value& x, const octave_value& p);
39 
40 extern OCTINTERP_API octave_value
41 xcolnorms (const octave_value& x, const octave_value& p);
42 
43 extern OCTINTERP_API octave_value
44 xrownorms (const octave_value& x, const octave_value& p);
45 
46 extern OCTINTERP_API octave_value
47 xfrobnorm (const octave_value& x);
48 
50 
51 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
52 
53 OCTAVE_DEPRECATED (7, "use 'octave::xnorm' instead")
54 inline octave_value
55 xnorm (const octave_value& x, const octave_value& p)
56 {
57  return octave::xnorm (x, p);
58 }
59 
60 OCTAVE_DEPRECATED (7, "use 'octave::xcolnorms' instead")
61 inline octave_value
62 xcolnorms (const octave_value& x, const octave_value& p)
63 {
64  return octave::xcolnorms (x, p);
65 }
66 
67 OCTAVE_DEPRECATED (7, "use 'octave::xrownorms' instead")
68 inline octave_value
69 xrownorms (const octave_value& x, const octave_value& p)
70 {
71  return octave::xrownorms (x, p);
72 }
73 
74 OCTAVE_DEPRECATED (7, "use 'octave::xfrobnorm' instead")
75 inline octave_value
76 xfrobnorm (const octave_value& x)
77 {
78  return octave::xfrobnorm (x);
79 }
80 
81 #endif
82 
83 #endif
OCTAVE_END_NAMESPACE(octave)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
F77_RET_T const F77_DBLE * x
OCTINTERP_API octave_value xfrobnorm(const octave_value &x)
Definition: xnorm.cc:173
OCTINTERP_API octave_value xrownorms(const octave_value &x, const octave_value &p)
Definition: xnorm.cc:134
OCTINTERP_API octave_value xcolnorms(const octave_value &x, const octave_value &p)
Definition: xnorm.cc:95
OCTINTERP_API octave_value xnorm(const octave_value &x, const octave_value &p)
Definition: xnorm.cc:38