~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to liboctave/lo-mappers.h

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
 
4
              2006, 2007 John W. Eaton
 
5
 
 
6
This file is part of Octave.
 
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
 
10
Free Software Foundation; either version 3 of the License, or (at your
 
11
option) any later version.
 
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
 
19
along with Octave; see the file COPYING.  If not, see
 
20
<http://www.gnu.org/licenses/>.
 
21
 
 
22
*/
 
23
 
 
24
#if !defined (octave_liboctave_mappers_h)
 
25
#define octave_liboctave_mappers_h 1
 
26
 
 
27
#include "oct-cmplx.h"
 
28
 
 
29
extern OCTAVE_API double arg (double x);
 
30
extern OCTAVE_API double conj (double x);
 
31
extern OCTAVE_API double fix (double x);
 
32
extern OCTAVE_API double imag (double x);
 
33
extern OCTAVE_API double real (double x);
 
34
extern OCTAVE_API double xround (double x);
 
35
extern OCTAVE_API double signum (double x);
 
36
extern OCTAVE_API double xlog2 (double x); 
 
37
extern OCTAVE_API double xexp2 (double x);
 
38
 
 
39
extern OCTAVE_API bool xisnan (double x);
 
40
extern OCTAVE_API bool xfinite (double x);
 
41
extern OCTAVE_API bool xisinf (double x);
 
42
 
 
43
extern OCTAVE_API bool octave_is_NA (double x);
 
44
extern OCTAVE_API bool octave_is_NaN_or_NA (double x) GCC_ATTR_DEPRECATED;
 
45
 
 
46
extern OCTAVE_API double xmin (double x, double y);
 
47
extern OCTAVE_API double xmax (double x, double y);
 
48
 
 
49
extern OCTAVE_API Complex acos (const Complex& x);
 
50
extern OCTAVE_API Complex acosh (const Complex& x);
 
51
extern OCTAVE_API Complex asin (const Complex& x);
 
52
extern OCTAVE_API Complex asinh (const Complex& x);
 
53
extern OCTAVE_API Complex atan (const Complex& x);
 
54
extern OCTAVE_API Complex atanh (const Complex& x);
 
55
 
 
56
extern OCTAVE_API Complex ceil (const Complex& x);
 
57
extern OCTAVE_API Complex fix (const Complex& x);
 
58
extern OCTAVE_API Complex floor (const Complex& x);
 
59
extern OCTAVE_API Complex xround (const Complex& x);
 
60
extern OCTAVE_API Complex signum (const Complex& x);
 
61
 
 
62
extern OCTAVE_API bool xisnan (const Complex& x);
 
63
extern OCTAVE_API bool xfinite (const Complex& x);
 
64
extern OCTAVE_API bool xisinf (const Complex& x);
 
65
 
 
66
extern OCTAVE_API bool octave_is_NA (const Complex& x);
 
67
extern OCTAVE_API bool octave_is_NaN_or_NA (const Complex& x);
 
68
 
 
69
extern OCTAVE_API Complex xmin (const Complex& x, const Complex& y);
 
70
extern OCTAVE_API Complex xmax (const Complex& x, const Complex& y);
 
71
 
 
72
#endif
 
73
 
 
74
/*
 
75
;;; Local Variables: ***
 
76
;;; mode: C++ ***
 
77
;;; End: ***
 
78
*/