GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ov-uint16.cc
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2004-2018 John W. Eaton
4
5
This file is part of Octave.
6
7
Octave is free software: you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
Octave is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Octave; see the file COPYING. If not, see
19
<https://www.gnu.org/licenses/>.
20
21
*/
22
23
#if defined (HAVE_CONFIG_H)
24
# include "config.h"
25
#endif
26
27
#include <iostream>
28
#include <limits>
29
30
#include "
lo-ieee.h
"
31
#include "
lo-utils.h
"
32
#include "
mx-base.h
"
33
#include "
quit.h
"
34
35
#include "
errwarn.h
"
36
#include "
ovl.h
"
37
#include "
oct-lvalue.h
"
38
#include "
oct-hdf5.h
"
39
#include "
ops.h
"
40
#include "
ov-base.h
"
41
42
#if defined (HAVE_HDF5)
43
# define HDF5_SAVE_TYPE H5T_NATIVE_UINT16
44
#else
45
// This value will not be used.
46
# define HDF5_SAVE_TYPE 0
47
#endif
48
49
#include "
ov-base-int.h
"
50
#include "
ov-base-int.cc
"
51
#include "
ov-uint16.h
"
52
#include "
pr-output.h
"
53
#include "
variables.h
"
54
55
#include "
byte-swap.h
"
56
#include "
ls-oct-text.h
"
57
#include "
ls-utils.h
"
58
#include "
ls-hdf5.h
"
59
60
octave_hdf5_id
octave_uint16_matrix::hdf5_save_type =
HDF5_SAVE_TYPE
;
61
octave_hdf5_id
octave_uint16_scalar::hdf5_save_type =
HDF5_SAVE_TYPE
;
62
63
// Prevent implicit instantiations on some systems (Windows, others?)
64
// that can lead to duplicate definitions of static data members.
65
66
extern
template
class
OCTINTERP_API
octave_base_scalar<double>
;
67
68
template
class
octave_base_matrix<uint16NDArray>
;
69
70
template
class
octave_base_int_matrix<uint16NDArray>
;
71
72
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
(octave_uint16_matrix,
73
"uint16 matrix"
,
"uint16"
);
74
75
template
class
octave_base_scalar<octave_uint16>
;
76
77
template
class
octave_base_int_scalar<octave_uint16>
;
78
79
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
(octave_uint16_scalar,
80
"uint16 scalar"
,
"uint16"
);
pr-output.h
ls-oct-text.h
octave_base_scalar< double >
HDF5_SAVE_TYPE
#define HDF5_SAVE_TYPE
Definition:
ov-uint16.cc:43
ov-uint16.h
variables.h
octave_base_matrix
Definition:
ov-base-mat.h:46
lo-utils.h
oct-hdf5.h
ls-utils.h
ov-base-int.cc
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
Definition:
ov-base.h:180
ov-base-int.h
ops.h
octave_base_int_scalar
Definition:
ov-base-int.h:111
lo-ieee.h
oct-lvalue.h
mx-base.h
octave_hdf5_id
int64_t octave_hdf5_id
Definition:
oct-hdf5-types.h:35
ov-base.h
errwarn.h
quit.h
byte-swap.h
octave_base_int_matrix
Definition:
ov-base-int.h:45
ls-hdf5.h
ovl.h
libinterp
octave-value
ov-uint16.cc
Generated on Sat Sep 1 2018 14:01:41 for GNU Octave by
1.8.14