Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-2.4.4/include/armadillo_bits/forward_bones.hpp @ 0:8b6102e2a9b0
Armadillo Library
author | maxzanoni76 <max.zanoni@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 09:27:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b6102e2a9b0 |
---|---|
1 // Copyright (C) 2008-2010 NICTA (www.nicta.com.au) | |
2 // Copyright (C) 2008-2010 Conrad Sanderson | |
3 // | |
4 // This file is part of the Armadillo C++ library. | |
5 // It is provided without any warranty of fitness | |
6 // for any purpose. You can redistribute this file | |
7 // and/or modify it under the terms of the GNU | |
8 // Lesser General Public License (LGPL) as published | |
9 // by the Free Software Foundation, either version 3 | |
10 // of the License or (at your option) any later version. | |
11 // (see http://www.opensource.org/licenses for more info) | |
12 | |
13 | |
14 using std::cout; | |
15 using std::cerr; | |
16 using std::endl; | |
17 using std::ios; | |
18 | |
19 template<typename eT> class Mat; | |
20 template<typename eT> class Col; | |
21 template<typename eT> class Row; | |
22 template<typename eT> class Cube; | |
23 template<typename oT> class field; | |
24 | |
25 template<typename eT> class subview; | |
26 template<typename eT> class subview_col; | |
27 template<typename eT> class subview_row; | |
28 template<typename eT> class subview_cube; | |
29 template<typename oT> class subview_field; | |
30 | |
31 template<typename eT> class diagview; | |
32 | |
33 template<typename eT, typename T1> class subview_elem1; | |
34 template<typename eT, typename T1, typename T2> class subview_elem2; | |
35 | |
36 | |
37 class arma_empty_class {}; | |
38 | |
39 class diskio; | |
40 | |
41 class op_min; | |
42 class op_max; | |
43 | |
44 class op_strans; | |
45 class op_htrans; | |
46 class op_inv; | |
47 class op_sum; | |
48 class op_abs; | |
49 class op_diagmat; | |
50 class op_trimat; | |
51 | |
52 class eop_conj; | |
53 | |
54 class glue_times; | |
55 class glue_times_diag; | |
56 | |
57 class glue_rel_lt; | |
58 class glue_rel_gt; | |
59 class glue_rel_lteq; | |
60 class glue_rel_gteq; | |
61 class glue_rel_eq; | |
62 class glue_rel_noteq; | |
63 | |
64 class op_rel_lt_pre; | |
65 class op_rel_lt_post; | |
66 class op_rel_gt_pre; | |
67 class op_rel_gt_post; | |
68 class op_rel_lteq_pre; | |
69 class op_rel_lteq_post; | |
70 class op_rel_gteq_pre; | |
71 class op_rel_gteq_post; | |
72 class op_rel_eq; | |
73 class op_rel_noteq; | |
74 | |
75 class gen_ones_diag; | |
76 class gen_ones_full; | |
77 class gen_zeros; | |
78 class gen_randu; | |
79 class gen_randn; | |
80 | |
81 | |
82 template<const bool, const bool, const bool, const bool> class gemm; | |
83 template<const bool, const bool, const bool> class gemv; | |
84 | |
85 | |
86 template< typename eT, typename gen_type> class Gen; | |
87 | |
88 template< typename T1, typename op_type> class Op; | |
89 template< typename T1, typename eop_type> class eOp; | |
90 template<typename out_eT, typename T1, typename op_type> class mtOp; | |
91 | |
92 template< typename T1, typename T2, typename glue_type> class Glue; | |
93 template< typename T1, typename T2, typename eglue_type> class eGlue; | |
94 template<typename out_eT, typename T1, typename T2, typename glue_type> class mtGlue; | |
95 | |
96 | |
97 | |
98 template< typename eT, typename gen_type> class GenCube; | |
99 | |
100 template< typename T1, typename op_type> class OpCube; | |
101 template< typename T1, typename eop_type> class eOpCube; | |
102 template<typename out_eT, typename T1, typename op_type> class mtOpCube; | |
103 | |
104 template< typename T1, typename T2, typename glue_type> class GlueCube; | |
105 template< typename T1, typename T2, typename eglue_type> class eGlueCube; | |
106 template<typename out_eT, typename T1, typename T2, typename glue_type> class mtGlueCube; | |
107 | |
108 | |
109 template<typename T1> class Proxy; | |
110 template<typename T1> class ProxyCube; | |
111 | |
112 | |
113 | |
114 //! \addtogroup injector | |
115 //! @{ | |
116 | |
117 | |
118 struct injector_end_of_row {}; | |
119 | |
120 static const injector_end_of_row endr = injector_end_of_row(); | |
121 //!< endr indicates "end of row" when using the << operator; | |
122 //!< similar conceptual meaning to std::endl | |
123 | |
124 //! @} | |
125 | |
126 | |
127 | |
128 //! \addtogroup diskio | |
129 //! @{ | |
130 | |
131 | |
132 enum file_type | |
133 { | |
134 file_type_unknown, | |
135 auto_detect, //!< Automatically detect the file type (file must be one of the following types) | |
136 raw_ascii, //!< ASCII format (text), without any other information. | |
137 arma_ascii, //!< Armadillo ASCII format (text), with information about matrix type and size | |
138 csv_ascii, //!< comma separated values (CSV), without any other information | |
139 raw_binary, //!< raw binary format, without any other information. | |
140 arma_binary, //!< Armadillo binary format, with information about matrix type and size | |
141 pgm_binary, //!< Portable Grey Map (greyscale image) | |
142 ppm_binary //!< Portable Pixel Map (colour image), used by the field and cube classes | |
143 }; | |
144 | |
145 | |
146 //! @} | |
147 | |
148 |