[9dd61b1] | 1 | // Copyright (C) 2008-2015 Conrad Sanderson |
---|
| 2 | // Copyright (C) 2008-2015 NICTA (www.nicta.com.au) |
---|
| 3 | // |
---|
| 4 | // This Source Code Form is subject to the terms of the Mozilla Public |
---|
| 5 | // License, v. 2.0. If a copy of the MPL was not distributed with this |
---|
| 6 | // file, You can obtain one at http://mozilla.org/MPL/2.0/. |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | #ifndef ARMA_INCLUDES |
---|
| 10 | #define ARMA_INCLUDES |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | #include <cstdlib> |
---|
| 14 | #include <cstring> |
---|
| 15 | #include <climits> |
---|
| 16 | #include <cmath> |
---|
| 17 | #include <ctime> |
---|
| 18 | #include <cstdio> |
---|
| 19 | |
---|
| 20 | #include <iostream> |
---|
| 21 | #include <fstream> |
---|
| 22 | #include <sstream> |
---|
| 23 | #include <stdexcept> |
---|
| 24 | #include <new> |
---|
| 25 | #include <limits> |
---|
| 26 | #include <algorithm> |
---|
| 27 | #include <complex> |
---|
| 28 | #include <vector> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | #if ( defined(__unix__) || defined(__unix) || defined(_POSIX_C_SOURCE) || (defined(__APPLE__) && defined(__MACH__)) ) && !defined(_WIN32) |
---|
| 32 | #include <unistd.h> |
---|
| 33 | #endif |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | #if (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)) |
---|
| 37 | #include <sys/time.h> |
---|
| 38 | #endif |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | #if (__cplusplus >= 201103L) || defined(__GXX_EXPERIMENTAL_CXX0X__) |
---|
| 42 | #undef ARMA_USE_CXX11 |
---|
| 43 | #define ARMA_USE_CXX11 |
---|
| 44 | #endif |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | #include "armadillo_bits/config.hpp" |
---|
| 48 | #include "armadillo_bits/compiler_setup.hpp" |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | #if defined(ARMA_USE_CXX11) |
---|
| 52 | #include <initializer_list> |
---|
| 53 | #include <cstdint> |
---|
| 54 | #include <random> |
---|
| 55 | #if !defined(ARMA_DONT_USE_CXX11_CHRONO) |
---|
| 56 | #include <chrono> |
---|
| 57 | #endif |
---|
| 58 | #endif |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | #if defined(ARMA_USE_TBB_ALLOC) |
---|
| 62 | #include <tbb/scalable_allocator.h> |
---|
| 63 | #endif |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | #if defined(ARMA_USE_MKL_ALLOC) |
---|
| 67 | #include <mkl_service.h> |
---|
| 68 | #endif |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | #if !defined(ARMA_USE_CXX11) |
---|
| 72 | #if defined(ARMA_HAVE_TR1) |
---|
| 73 | #include <tr1/cmath> |
---|
| 74 | #include <tr1/complex> |
---|
| 75 | #endif |
---|
| 76 | #endif |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | #include "armadillo_bits/include_atlas.hpp" |
---|
| 80 | #include "armadillo_bits/include_hdf5.hpp" |
---|
| 81 | #include "armadillo_bits/include_superlu.hpp" |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | #if defined(_OPENMP) |
---|
| 85 | #include <omp.h> |
---|
| 86 | #endif |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | //! \namespace arma namespace for Armadillo classes and functions |
---|
| 91 | namespace arma |
---|
| 92 | { |
---|
| 93 | |
---|
| 94 | // preliminaries |
---|
| 95 | |
---|
| 96 | #include "armadillo_bits/forward_bones.hpp" |
---|
| 97 | #include "armadillo_bits/arma_static_check.hpp" |
---|
| 98 | #include "armadillo_bits/typedef_elem.hpp" |
---|
| 99 | #include "armadillo_bits/typedef_elem_check.hpp" |
---|
| 100 | #include "armadillo_bits/typedef_mat.hpp" |
---|
| 101 | #include "armadillo_bits/arma_boost.hpp" |
---|
| 102 | #include "armadillo_bits/arma_version.hpp" |
---|
| 103 | #include "armadillo_bits/arma_config.hpp" |
---|
| 104 | #include "armadillo_bits/traits.hpp" |
---|
| 105 | #include "armadillo_bits/promote_type.hpp" |
---|
| 106 | #include "armadillo_bits/upgrade_val.hpp" |
---|
| 107 | #include "armadillo_bits/restrictors.hpp" |
---|
| 108 | #include "armadillo_bits/access.hpp" |
---|
| 109 | #include "armadillo_bits/span.hpp" |
---|
| 110 | #include "armadillo_bits/distr_param.hpp" |
---|
| 111 | #include "armadillo_bits/constants.hpp" |
---|
| 112 | #include "armadillo_bits/constants_compat.hpp" |
---|
| 113 | |
---|
| 114 | #ifdef ARMA_RNG_ALT |
---|
| 115 | #include ARMA_INCFILE_WRAP(ARMA_RNG_ALT) |
---|
| 116 | #else |
---|
| 117 | #include "armadillo_bits/arma_rng_cxx98.hpp" |
---|
| 118 | #endif |
---|
| 119 | |
---|
| 120 | #include "armadillo_bits/arma_rng_cxx11.hpp" |
---|
| 121 | #include "armadillo_bits/arma_rng.hpp" |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | // |
---|
| 125 | // class prototypes |
---|
| 126 | |
---|
| 127 | #include "armadillo_bits/Base_bones.hpp" |
---|
| 128 | #include "armadillo_bits/BaseCube_bones.hpp" |
---|
| 129 | #include "armadillo_bits/SpBase_bones.hpp" |
---|
| 130 | |
---|
| 131 | #include "armadillo_bits/blas_bones.hpp" |
---|
| 132 | #include "armadillo_bits/lapack_bones.hpp" |
---|
| 133 | #include "armadillo_bits/atlas_bones.hpp" |
---|
| 134 | #include "armadillo_bits/arpack_bones.hpp" |
---|
| 135 | #include "armadillo_bits/superlu_bones.hpp" |
---|
| 136 | #include "armadillo_bits/hdf5_bones.hpp" |
---|
| 137 | |
---|
| 138 | #include "armadillo_bits/blas_wrapper.hpp" |
---|
| 139 | #include "armadillo_bits/lapack_wrapper.hpp" |
---|
| 140 | #include "armadillo_bits/atlas_wrapper.hpp" |
---|
| 141 | #include "armadillo_bits/arpack_wrapper.hpp" |
---|
| 142 | #include "armadillo_bits/superlu_wrapper.hpp" |
---|
| 143 | |
---|
| 144 | #include "armadillo_bits/cond_rel_bones.hpp" |
---|
| 145 | #include "armadillo_bits/arrayops_bones.hpp" |
---|
| 146 | #include "armadillo_bits/podarray_bones.hpp" |
---|
| 147 | #include "armadillo_bits/auxlib_bones.hpp" |
---|
| 148 | #include "armadillo_bits/sp_auxlib_bones.hpp" |
---|
| 149 | |
---|
| 150 | #include "armadillo_bits/injector_bones.hpp" |
---|
| 151 | |
---|
| 152 | #include "armadillo_bits/Mat_bones.hpp" |
---|
| 153 | #include "armadillo_bits/Col_bones.hpp" |
---|
| 154 | #include "armadillo_bits/Row_bones.hpp" |
---|
| 155 | #include "armadillo_bits/Cube_bones.hpp" |
---|
| 156 | #include "armadillo_bits/xvec_htrans_bones.hpp" |
---|
| 157 | #include "armadillo_bits/xtrans_mat_bones.hpp" |
---|
| 158 | #include "armadillo_bits/SizeMat_bones.hpp" |
---|
| 159 | #include "armadillo_bits/SizeCube_bones.hpp" |
---|
| 160 | |
---|
| 161 | #include "armadillo_bits/SpValProxy_bones.hpp" |
---|
| 162 | #include "armadillo_bits/SpMat_bones.hpp" |
---|
| 163 | #include "armadillo_bits/SpCol_bones.hpp" |
---|
| 164 | #include "armadillo_bits/SpRow_bones.hpp" |
---|
| 165 | #include "armadillo_bits/SpSubview_bones.hpp" |
---|
| 166 | #include "armadillo_bits/spdiagview_bones.hpp" |
---|
| 167 | |
---|
| 168 | #include "armadillo_bits/typedef_mat_fixed.hpp" |
---|
| 169 | |
---|
| 170 | #include "armadillo_bits/field_bones.hpp" |
---|
| 171 | #include "armadillo_bits/subview_bones.hpp" |
---|
| 172 | #include "armadillo_bits/subview_elem1_bones.hpp" |
---|
| 173 | #include "armadillo_bits/subview_elem2_bones.hpp" |
---|
| 174 | #include "armadillo_bits/subview_field_bones.hpp" |
---|
| 175 | #include "armadillo_bits/subview_cube_bones.hpp" |
---|
| 176 | #include "armadillo_bits/diagview_bones.hpp" |
---|
| 177 | #include "armadillo_bits/subview_each_bones.hpp" |
---|
| 178 | |
---|
| 179 | |
---|
| 180 | #include "armadillo_bits/diskio_bones.hpp" |
---|
| 181 | #include "armadillo_bits/wall_clock_bones.hpp" |
---|
| 182 | #include "armadillo_bits/running_stat_bones.hpp" |
---|
| 183 | #include "armadillo_bits/running_stat_vec_bones.hpp" |
---|
| 184 | |
---|
| 185 | #include "armadillo_bits/Op_bones.hpp" |
---|
| 186 | #include "armadillo_bits/OpCube_bones.hpp" |
---|
| 187 | #include "armadillo_bits/SpOp_bones.hpp" |
---|
| 188 | |
---|
| 189 | #include "armadillo_bits/eOp_bones.hpp" |
---|
| 190 | #include "armadillo_bits/eOpCube_bones.hpp" |
---|
| 191 | |
---|
| 192 | #include "armadillo_bits/mtOp_bones.hpp" |
---|
| 193 | #include "armadillo_bits/mtOpCube_bones.hpp" |
---|
| 194 | #include "armadillo_bits/mtSpOp_bones.hpp" |
---|
| 195 | |
---|
| 196 | #include "armadillo_bits/Glue_bones.hpp" |
---|
| 197 | #include "armadillo_bits/eGlue_bones.hpp" |
---|
| 198 | #include "armadillo_bits/mtGlue_bones.hpp" |
---|
| 199 | #include "armadillo_bits/SpGlue_bones.hpp" |
---|
| 200 | |
---|
| 201 | #include "armadillo_bits/GlueCube_bones.hpp" |
---|
| 202 | #include "armadillo_bits/eGlueCube_bones.hpp" |
---|
| 203 | #include "armadillo_bits/mtGlueCube_bones.hpp" |
---|
| 204 | |
---|
| 205 | #include "armadillo_bits/eop_core_bones.hpp" |
---|
| 206 | #include "armadillo_bits/eglue_core_bones.hpp" |
---|
| 207 | |
---|
| 208 | #include "armadillo_bits/Gen_bones.hpp" |
---|
| 209 | #include "armadillo_bits/GenCube_bones.hpp" |
---|
| 210 | |
---|
| 211 | #include "armadillo_bits/op_diagmat_bones.hpp" |
---|
| 212 | #include "armadillo_bits/op_diagvec_bones.hpp" |
---|
| 213 | #include "armadillo_bits/op_dot_bones.hpp" |
---|
| 214 | #include "armadillo_bits/op_inv_bones.hpp" |
---|
| 215 | #include "armadillo_bits/op_htrans_bones.hpp" |
---|
| 216 | #include "armadillo_bits/op_max_bones.hpp" |
---|
| 217 | #include "armadillo_bits/op_min_bones.hpp" |
---|
| 218 | #include "armadillo_bits/op_mean_bones.hpp" |
---|
| 219 | #include "armadillo_bits/op_median_bones.hpp" |
---|
| 220 | #include "armadillo_bits/op_sort_bones.hpp" |
---|
| 221 | #include "armadillo_bits/op_sort_index_bones.hpp" |
---|
| 222 | #include "armadillo_bits/op_sum_bones.hpp" |
---|
| 223 | #include "armadillo_bits/op_stddev_bones.hpp" |
---|
| 224 | #include "armadillo_bits/op_strans_bones.hpp" |
---|
| 225 | #include "armadillo_bits/op_var_bones.hpp" |
---|
| 226 | #include "armadillo_bits/op_repmat_bones.hpp" |
---|
| 227 | #include "armadillo_bits/op_reshape_bones.hpp" |
---|
| 228 | #include "armadillo_bits/op_vectorise_bones.hpp" |
---|
| 229 | #include "armadillo_bits/op_resize_bones.hpp" |
---|
| 230 | #include "armadillo_bits/op_cov_bones.hpp" |
---|
| 231 | #include "armadillo_bits/op_cor_bones.hpp" |
---|
| 232 | #include "armadillo_bits/op_shuffle_bones.hpp" |
---|
| 233 | #include "armadillo_bits/op_prod_bones.hpp" |
---|
| 234 | #include "armadillo_bits/op_pinv_bones.hpp" |
---|
| 235 | #include "armadillo_bits/op_dotext_bones.hpp" |
---|
| 236 | #include "armadillo_bits/op_flip_bones.hpp" |
---|
| 237 | #include "armadillo_bits/op_princomp_bones.hpp" |
---|
| 238 | #include "armadillo_bits/op_misc_bones.hpp" |
---|
| 239 | #include "armadillo_bits/op_relational_bones.hpp" |
---|
| 240 | #include "armadillo_bits/op_find_bones.hpp" |
---|
| 241 | #include "armadillo_bits/op_chol_bones.hpp" |
---|
| 242 | #include "armadillo_bits/op_cx_scalar_bones.hpp" |
---|
| 243 | #include "armadillo_bits/op_trimat_bones.hpp" |
---|
| 244 | #include "armadillo_bits/op_cumsum_bones.hpp" |
---|
| 245 | #include "armadillo_bits/op_symmat_bones.hpp" |
---|
| 246 | #include "armadillo_bits/op_hist_bones.hpp" |
---|
| 247 | #include "armadillo_bits/op_unique_bones.hpp" |
---|
| 248 | #include "armadillo_bits/op_toeplitz_bones.hpp" |
---|
| 249 | #include "armadillo_bits/op_fft_bones.hpp" |
---|
| 250 | #include "armadillo_bits/op_any_bones.hpp" |
---|
| 251 | #include "armadillo_bits/op_all_bones.hpp" |
---|
| 252 | #include "armadillo_bits/op_normalise_bones.hpp" |
---|
| 253 | #include "armadillo_bits/op_clamp_bones.hpp" |
---|
| 254 | #include "armadillo_bits/op_expmat_bones.hpp" |
---|
| 255 | #include "armadillo_bits/op_nonzeros_bones.hpp" |
---|
| 256 | |
---|
| 257 | #include "armadillo_bits/glue_times_bones.hpp" |
---|
| 258 | #include "armadillo_bits/glue_mixed_bones.hpp" |
---|
| 259 | #include "armadillo_bits/glue_cov_bones.hpp" |
---|
| 260 | #include "armadillo_bits/glue_cor_bones.hpp" |
---|
| 261 | #include "armadillo_bits/glue_kron_bones.hpp" |
---|
| 262 | #include "armadillo_bits/glue_cross_bones.hpp" |
---|
| 263 | #include "armadillo_bits/glue_join_bones.hpp" |
---|
| 264 | #include "armadillo_bits/glue_relational_bones.hpp" |
---|
| 265 | #include "armadillo_bits/glue_solve_bones.hpp" |
---|
| 266 | #include "armadillo_bits/glue_conv_bones.hpp" |
---|
| 267 | #include "armadillo_bits/glue_toeplitz_bones.hpp" |
---|
| 268 | #include "armadillo_bits/glue_hist_bones.hpp" |
---|
| 269 | #include "armadillo_bits/glue_histc_bones.hpp" |
---|
| 270 | #include "armadillo_bits/glue_max_bones.hpp" |
---|
| 271 | #include "armadillo_bits/glue_min_bones.hpp" |
---|
| 272 | |
---|
| 273 | #include "armadillo_bits/spop_max_bones.hpp" |
---|
| 274 | #include "armadillo_bits/spop_min_bones.hpp" |
---|
| 275 | #include "armadillo_bits/spop_sum_bones.hpp" |
---|
| 276 | #include "armadillo_bits/spop_strans_bones.hpp" |
---|
| 277 | #include "armadillo_bits/spop_htrans_bones.hpp" |
---|
| 278 | #include "armadillo_bits/spop_misc_bones.hpp" |
---|
| 279 | #include "armadillo_bits/spop_mean_bones.hpp" |
---|
| 280 | #include "armadillo_bits/spop_var_bones.hpp" |
---|
| 281 | |
---|
| 282 | #include "armadillo_bits/spglue_plus_bones.hpp" |
---|
| 283 | #include "armadillo_bits/spglue_minus_bones.hpp" |
---|
| 284 | #include "armadillo_bits/spglue_times_bones.hpp" |
---|
| 285 | #include "armadillo_bits/spglue_join_bones.hpp" |
---|
| 286 | |
---|
| 287 | // |
---|
| 288 | // low-level debugging and memory handling functions |
---|
| 289 | |
---|
| 290 | #include "armadillo_bits/debug.hpp" |
---|
| 291 | #include "armadillo_bits/memory.hpp" |
---|
| 292 | |
---|
| 293 | // |
---|
| 294 | // wrappers for various cmath functions |
---|
| 295 | |
---|
| 296 | #include "armadillo_bits/arma_cmath.hpp" |
---|
| 297 | |
---|
| 298 | // |
---|
| 299 | // classes that underlay metaprogramming |
---|
| 300 | |
---|
| 301 | #include "armadillo_bits/unwrap.hpp" |
---|
| 302 | #include "armadillo_bits/unwrap_cube.hpp" |
---|
| 303 | #include "armadillo_bits/unwrap_spmat.hpp" |
---|
| 304 | |
---|
| 305 | #include "armadillo_bits/Proxy.hpp" |
---|
| 306 | #include "armadillo_bits/ProxyCube.hpp" |
---|
| 307 | #include "armadillo_bits/SpProxy.hpp" |
---|
| 308 | |
---|
| 309 | #include "armadillo_bits/diagmat_proxy.hpp" |
---|
| 310 | |
---|
| 311 | #include "armadillo_bits/strip.hpp" |
---|
| 312 | |
---|
| 313 | #include "armadillo_bits/Op_meat.hpp" |
---|
| 314 | #include "armadillo_bits/OpCube_meat.hpp" |
---|
| 315 | #include "armadillo_bits/SpOp_meat.hpp" |
---|
| 316 | |
---|
| 317 | #include "armadillo_bits/mtOp_meat.hpp" |
---|
| 318 | #include "armadillo_bits/mtOpCube_meat.hpp" |
---|
| 319 | #include "armadillo_bits/mtSpOp_meat.hpp" |
---|
| 320 | |
---|
| 321 | #include "armadillo_bits/Glue_meat.hpp" |
---|
| 322 | #include "armadillo_bits/GlueCube_meat.hpp" |
---|
| 323 | #include "armadillo_bits/SpGlue_meat.hpp" |
---|
| 324 | |
---|
| 325 | #include "armadillo_bits/eop_aux.hpp" |
---|
| 326 | |
---|
| 327 | #include "armadillo_bits/eOp_meat.hpp" |
---|
| 328 | #include "armadillo_bits/eOpCube_meat.hpp" |
---|
| 329 | |
---|
| 330 | #include "armadillo_bits/eGlue_meat.hpp" |
---|
| 331 | #include "armadillo_bits/eGlueCube_meat.hpp" |
---|
| 332 | |
---|
| 333 | #include "armadillo_bits/mtGlue_meat.hpp" |
---|
| 334 | #include "armadillo_bits/mtGlueCube_meat.hpp" |
---|
| 335 | |
---|
| 336 | #include "armadillo_bits/Base_meat.hpp" |
---|
| 337 | #include "armadillo_bits/BaseCube_meat.hpp" |
---|
| 338 | #include "armadillo_bits/SpBase_meat.hpp" |
---|
| 339 | |
---|
| 340 | #include "armadillo_bits/Gen_meat.hpp" |
---|
| 341 | #include "armadillo_bits/GenCube_meat.hpp" |
---|
| 342 | |
---|
| 343 | // |
---|
| 344 | // ostream |
---|
| 345 | |
---|
| 346 | #include "armadillo_bits/arma_ostream_bones.hpp" |
---|
| 347 | #include "armadillo_bits/arma_ostream_meat.hpp" |
---|
| 348 | |
---|
| 349 | // |
---|
| 350 | // n_unique, which is used by some sparse operators |
---|
| 351 | |
---|
| 352 | #include "armadillo_bits/fn_n_unique.hpp" |
---|
| 353 | |
---|
| 354 | // |
---|
| 355 | // operators |
---|
| 356 | |
---|
| 357 | #include "armadillo_bits/operator_plus.hpp" |
---|
| 358 | #include "armadillo_bits/operator_minus.hpp" |
---|
| 359 | #include "armadillo_bits/operator_times.hpp" |
---|
| 360 | #include "armadillo_bits/operator_schur.hpp" |
---|
| 361 | #include "armadillo_bits/operator_div.hpp" |
---|
| 362 | #include "armadillo_bits/operator_relational.hpp" |
---|
| 363 | |
---|
| 364 | #include "armadillo_bits/operator_cube_plus.hpp" |
---|
| 365 | #include "armadillo_bits/operator_cube_minus.hpp" |
---|
| 366 | #include "armadillo_bits/operator_cube_times.hpp" |
---|
| 367 | #include "armadillo_bits/operator_cube_schur.hpp" |
---|
| 368 | #include "armadillo_bits/operator_cube_div.hpp" |
---|
| 369 | #include "armadillo_bits/operator_cube_relational.hpp" |
---|
| 370 | |
---|
| 371 | #include "armadillo_bits/operator_ostream.hpp" |
---|
| 372 | |
---|
| 373 | // |
---|
| 374 | // user accessible functions |
---|
| 375 | |
---|
| 376 | // the order of the fn_*.hpp include files matters, |
---|
| 377 | // as some files require functionality given in preceding files |
---|
| 378 | |
---|
| 379 | #include "armadillo_bits/fn_conv_to.hpp" |
---|
| 380 | #include "armadillo_bits/fn_min.hpp" |
---|
| 381 | #include "armadillo_bits/fn_max.hpp" |
---|
| 382 | #include "armadillo_bits/fn_accu.hpp" |
---|
| 383 | #include "armadillo_bits/fn_sum.hpp" |
---|
| 384 | #include "armadillo_bits/fn_diagmat.hpp" |
---|
| 385 | #include "armadillo_bits/fn_diagvec.hpp" |
---|
| 386 | #include "armadillo_bits/fn_inv.hpp" |
---|
| 387 | #include "armadillo_bits/fn_trace.hpp" |
---|
| 388 | #include "armadillo_bits/fn_trans.hpp" |
---|
| 389 | #include "armadillo_bits/fn_det.hpp" |
---|
| 390 | #include "armadillo_bits/fn_log_det.hpp" |
---|
| 391 | #include "armadillo_bits/fn_eig_sym.hpp" |
---|
| 392 | #include "armadillo_bits/fn_eig_gen.hpp" |
---|
| 393 | #include "armadillo_bits/fn_eig_pair.hpp" |
---|
| 394 | #include "armadillo_bits/fn_lu.hpp" |
---|
| 395 | #include "armadillo_bits/fn_zeros.hpp" |
---|
| 396 | #include "armadillo_bits/fn_ones.hpp" |
---|
| 397 | #include "armadillo_bits/fn_eye.hpp" |
---|
| 398 | #include "armadillo_bits/fn_misc.hpp" |
---|
| 399 | #include "armadillo_bits/fn_find.hpp" |
---|
| 400 | #include "armadillo_bits/fn_elem.hpp" |
---|
| 401 | #include "armadillo_bits/fn_norm.hpp" |
---|
| 402 | #include "armadillo_bits/fn_dot.hpp" |
---|
| 403 | #include "armadillo_bits/fn_randu.hpp" |
---|
| 404 | #include "armadillo_bits/fn_randn.hpp" |
---|
| 405 | #include "armadillo_bits/fn_trig.hpp" |
---|
| 406 | #include "armadillo_bits/fn_mean.hpp" |
---|
| 407 | #include "armadillo_bits/fn_median.hpp" |
---|
| 408 | #include "armadillo_bits/fn_stddev.hpp" |
---|
| 409 | #include "armadillo_bits/fn_var.hpp" |
---|
| 410 | #include "armadillo_bits/fn_sort.hpp" |
---|
| 411 | #include "armadillo_bits/fn_sort_index.hpp" |
---|
| 412 | #include "armadillo_bits/fn_strans.hpp" |
---|
| 413 | #include "armadillo_bits/fn_chol.hpp" |
---|
| 414 | #include "armadillo_bits/fn_qr.hpp" |
---|
| 415 | #include "armadillo_bits/fn_svd.hpp" |
---|
| 416 | #include "armadillo_bits/fn_solve.hpp" |
---|
| 417 | #include "armadillo_bits/fn_repmat.hpp" |
---|
| 418 | #include "armadillo_bits/fn_reshape.hpp" |
---|
| 419 | #include "armadillo_bits/fn_vectorise.hpp" |
---|
| 420 | #include "armadillo_bits/fn_resize.hpp" |
---|
| 421 | #include "armadillo_bits/fn_cov.hpp" |
---|
| 422 | #include "armadillo_bits/fn_cor.hpp" |
---|
| 423 | #include "armadillo_bits/fn_shuffle.hpp" |
---|
| 424 | #include "armadillo_bits/fn_prod.hpp" |
---|
| 425 | #include "armadillo_bits/fn_eps.hpp" |
---|
| 426 | #include "armadillo_bits/fn_pinv.hpp" |
---|
| 427 | #include "armadillo_bits/fn_rank.hpp" |
---|
| 428 | #include "armadillo_bits/fn_kron.hpp" |
---|
| 429 | #include "armadillo_bits/fn_flip.hpp" |
---|
| 430 | #include "armadillo_bits/fn_as_scalar.hpp" |
---|
| 431 | #include "armadillo_bits/fn_princomp.hpp" |
---|
| 432 | #include "armadillo_bits/fn_cross.hpp" |
---|
| 433 | #include "armadillo_bits/fn_join.hpp" |
---|
| 434 | #include "armadillo_bits/fn_conv.hpp" |
---|
| 435 | #include "armadillo_bits/fn_trunc_exp.hpp" |
---|
| 436 | #include "armadillo_bits/fn_trunc_log.hpp" |
---|
| 437 | #include "armadillo_bits/fn_toeplitz.hpp" |
---|
| 438 | #include "armadillo_bits/fn_trimat.hpp" |
---|
| 439 | #include "armadillo_bits/fn_cumsum.hpp" |
---|
| 440 | #include "armadillo_bits/fn_symmat.hpp" |
---|
| 441 | #include "armadillo_bits/fn_syl_lyap.hpp" |
---|
| 442 | #include "armadillo_bits/fn_hist.hpp" |
---|
| 443 | #include "armadillo_bits/fn_histc.hpp" |
---|
| 444 | #include "armadillo_bits/fn_unique.hpp" |
---|
| 445 | #include "armadillo_bits/fn_fft.hpp" |
---|
| 446 | #include "armadillo_bits/fn_fft2.hpp" |
---|
| 447 | #include "armadillo_bits/fn_any.hpp" |
---|
| 448 | #include "armadillo_bits/fn_all.hpp" |
---|
| 449 | #include "armadillo_bits/fn_size.hpp" |
---|
| 450 | #include "armadillo_bits/fn_numel.hpp" |
---|
| 451 | #include "armadillo_bits/fn_inplace_strans.hpp" |
---|
| 452 | #include "armadillo_bits/fn_inplace_trans.hpp" |
---|
| 453 | #include "armadillo_bits/fn_randi.hpp" |
---|
| 454 | #include "armadillo_bits/fn_randg.hpp" |
---|
| 455 | #include "armadillo_bits/fn_cond.hpp" |
---|
| 456 | #include "armadillo_bits/fn_normalise.hpp" |
---|
| 457 | #include "armadillo_bits/fn_clamp.hpp" |
---|
| 458 | #include "armadillo_bits/fn_expmat.hpp" |
---|
| 459 | #include "armadillo_bits/fn_nonzeros.hpp" |
---|
| 460 | #include "armadillo_bits/fn_interp1.hpp" |
---|
| 461 | |
---|
| 462 | #include "armadillo_bits/fn_speye.hpp" |
---|
| 463 | #include "armadillo_bits/fn_spones.hpp" |
---|
| 464 | #include "armadillo_bits/fn_sprandn.hpp" |
---|
| 465 | #include "armadillo_bits/fn_sprandu.hpp" |
---|
| 466 | #include "armadillo_bits/fn_eigs_sym.hpp" |
---|
| 467 | #include "armadillo_bits/fn_eigs_gen.hpp" |
---|
| 468 | #include "armadillo_bits/fn_norm_sparse.hpp" |
---|
| 469 | #include "armadillo_bits/fn_spsolve.hpp" |
---|
| 470 | #include "armadillo_bits/fn_svds.hpp" |
---|
| 471 | |
---|
| 472 | // |
---|
| 473 | // misc stuff |
---|
| 474 | |
---|
| 475 | #include "armadillo_bits/hdf5_misc.hpp" |
---|
| 476 | #include "armadillo_bits/fft_engine.hpp" |
---|
| 477 | |
---|
| 478 | #if !defined(ARMA_BAD_COMPILER) |
---|
| 479 | #include "armadillo_bits/gmm_misc_bones.hpp" |
---|
| 480 | #include "armadillo_bits/gmm_misc_meat.hpp" |
---|
| 481 | #include "armadillo_bits/gmm_diag_bones.hpp" |
---|
| 482 | #include "armadillo_bits/gmm_diag_meat.hpp" |
---|
| 483 | #endif |
---|
| 484 | |
---|
| 485 | // |
---|
| 486 | // classes implementing various forms of dense matrix multiplication |
---|
| 487 | |
---|
| 488 | #include "armadillo_bits/mul_gemv.hpp" |
---|
| 489 | #include "armadillo_bits/mul_gemm.hpp" |
---|
| 490 | #include "armadillo_bits/mul_gemm_mixed.hpp" |
---|
| 491 | #include "armadillo_bits/mul_syrk.hpp" |
---|
| 492 | #include "armadillo_bits/mul_herk.hpp" |
---|
| 493 | |
---|
| 494 | // |
---|
| 495 | // class meat |
---|
| 496 | |
---|
| 497 | #include "armadillo_bits/eop_core_meat.hpp" |
---|
| 498 | #include "armadillo_bits/eglue_core_meat.hpp" |
---|
| 499 | |
---|
| 500 | #include "armadillo_bits/cond_rel_meat.hpp" |
---|
| 501 | #include "armadillo_bits/arrayops_meat.hpp" |
---|
| 502 | #include "armadillo_bits/podarray_meat.hpp" |
---|
| 503 | #include "armadillo_bits/auxlib_meat.hpp" |
---|
| 504 | #include "armadillo_bits/sp_auxlib_meat.hpp" |
---|
| 505 | |
---|
| 506 | #include "armadillo_bits/injector_meat.hpp" |
---|
| 507 | |
---|
| 508 | #include "armadillo_bits/Mat_meat.hpp" |
---|
| 509 | #include "armadillo_bits/Col_meat.hpp" |
---|
| 510 | #include "armadillo_bits/Row_meat.hpp" |
---|
| 511 | #include "armadillo_bits/Cube_meat.hpp" |
---|
| 512 | #include "armadillo_bits/xvec_htrans_meat.hpp" |
---|
| 513 | #include "armadillo_bits/xtrans_mat_meat.hpp" |
---|
| 514 | #include "armadillo_bits/SizeMat_meat.hpp" |
---|
| 515 | #include "armadillo_bits/SizeCube_meat.hpp" |
---|
| 516 | |
---|
| 517 | #include "armadillo_bits/field_meat.hpp" |
---|
| 518 | #include "armadillo_bits/subview_meat.hpp" |
---|
| 519 | #include "armadillo_bits/subview_elem1_meat.hpp" |
---|
| 520 | #include "armadillo_bits/subview_elem2_meat.hpp" |
---|
| 521 | #include "armadillo_bits/subview_field_meat.hpp" |
---|
| 522 | #include "armadillo_bits/subview_cube_meat.hpp" |
---|
| 523 | #include "armadillo_bits/diagview_meat.hpp" |
---|
| 524 | #include "armadillo_bits/subview_each_meat.hpp" |
---|
| 525 | |
---|
| 526 | #include "armadillo_bits/SpValProxy_meat.hpp" |
---|
| 527 | #include "armadillo_bits/SpMat_meat.hpp" |
---|
| 528 | #include "armadillo_bits/SpMat_iterators_meat.hpp" |
---|
| 529 | #include "armadillo_bits/SpCol_meat.hpp" |
---|
| 530 | #include "armadillo_bits/SpRow_meat.hpp" |
---|
| 531 | #include "armadillo_bits/SpSubview_meat.hpp" |
---|
| 532 | #include "armadillo_bits/SpSubview_iterators_meat.hpp" |
---|
| 533 | #include "armadillo_bits/spdiagview_meat.hpp" |
---|
| 534 | |
---|
| 535 | #include "armadillo_bits/diskio_meat.hpp" |
---|
| 536 | #include "armadillo_bits/wall_clock_meat.hpp" |
---|
| 537 | #include "armadillo_bits/running_stat_meat.hpp" |
---|
| 538 | #include "armadillo_bits/running_stat_vec_meat.hpp" |
---|
| 539 | |
---|
| 540 | #include "armadillo_bits/op_diagmat_meat.hpp" |
---|
| 541 | #include "armadillo_bits/op_diagvec_meat.hpp" |
---|
| 542 | #include "armadillo_bits/op_dot_meat.hpp" |
---|
| 543 | #include "armadillo_bits/op_inv_meat.hpp" |
---|
| 544 | #include "armadillo_bits/op_htrans_meat.hpp" |
---|
| 545 | #include "armadillo_bits/op_max_meat.hpp" |
---|
| 546 | #include "armadillo_bits/op_min_meat.hpp" |
---|
| 547 | #include "armadillo_bits/op_mean_meat.hpp" |
---|
| 548 | #include "armadillo_bits/op_median_meat.hpp" |
---|
| 549 | #include "armadillo_bits/op_sort_meat.hpp" |
---|
| 550 | #include "armadillo_bits/op_sort_index_meat.hpp" |
---|
| 551 | #include "armadillo_bits/op_sum_meat.hpp" |
---|
| 552 | #include "armadillo_bits/op_stddev_meat.hpp" |
---|
| 553 | #include "armadillo_bits/op_strans_meat.hpp" |
---|
| 554 | #include "armadillo_bits/op_var_meat.hpp" |
---|
| 555 | #include "armadillo_bits/op_repmat_meat.hpp" |
---|
| 556 | #include "armadillo_bits/op_reshape_meat.hpp" |
---|
| 557 | #include "armadillo_bits/op_vectorise_meat.hpp" |
---|
| 558 | #include "armadillo_bits/op_resize_meat.hpp" |
---|
| 559 | #include "armadillo_bits/op_cov_meat.hpp" |
---|
| 560 | #include "armadillo_bits/op_cor_meat.hpp" |
---|
| 561 | #include "armadillo_bits/op_shuffle_meat.hpp" |
---|
| 562 | #include "armadillo_bits/op_prod_meat.hpp" |
---|
| 563 | #include "armadillo_bits/op_pinv_meat.hpp" |
---|
| 564 | #include "armadillo_bits/op_dotext_meat.hpp" |
---|
| 565 | #include "armadillo_bits/op_flip_meat.hpp" |
---|
| 566 | #include "armadillo_bits/op_princomp_meat.hpp" |
---|
| 567 | #include "armadillo_bits/op_misc_meat.hpp" |
---|
| 568 | #include "armadillo_bits/op_relational_meat.hpp" |
---|
| 569 | #include "armadillo_bits/op_find_meat.hpp" |
---|
| 570 | #include "armadillo_bits/op_chol_meat.hpp" |
---|
| 571 | #include "armadillo_bits/op_cx_scalar_meat.hpp" |
---|
| 572 | #include "armadillo_bits/op_trimat_meat.hpp" |
---|
| 573 | #include "armadillo_bits/op_cumsum_meat.hpp" |
---|
| 574 | #include "armadillo_bits/op_symmat_meat.hpp" |
---|
| 575 | #include "armadillo_bits/op_hist_meat.hpp" |
---|
| 576 | #include "armadillo_bits/op_unique_meat.hpp" |
---|
| 577 | #include "armadillo_bits/op_toeplitz_meat.hpp" |
---|
| 578 | #include "armadillo_bits/op_fft_meat.hpp" |
---|
| 579 | #include "armadillo_bits/op_any_meat.hpp" |
---|
| 580 | #include "armadillo_bits/op_all_meat.hpp" |
---|
| 581 | #include "armadillo_bits/op_normalise_meat.hpp" |
---|
| 582 | #include "armadillo_bits/op_clamp_meat.hpp" |
---|
| 583 | #include "armadillo_bits/op_expmat_meat.hpp" |
---|
| 584 | #include "armadillo_bits/op_nonzeros_meat.hpp" |
---|
| 585 | |
---|
| 586 | #include "armadillo_bits/glue_times_meat.hpp" |
---|
| 587 | #include "armadillo_bits/glue_mixed_meat.hpp" |
---|
| 588 | #include "armadillo_bits/glue_cov_meat.hpp" |
---|
| 589 | #include "armadillo_bits/glue_cor_meat.hpp" |
---|
| 590 | #include "armadillo_bits/glue_kron_meat.hpp" |
---|
| 591 | #include "armadillo_bits/glue_cross_meat.hpp" |
---|
| 592 | #include "armadillo_bits/glue_join_meat.hpp" |
---|
| 593 | #include "armadillo_bits/glue_relational_meat.hpp" |
---|
| 594 | #include "armadillo_bits/glue_solve_meat.hpp" |
---|
| 595 | #include "armadillo_bits/glue_conv_meat.hpp" |
---|
| 596 | #include "armadillo_bits/glue_toeplitz_meat.hpp" |
---|
| 597 | #include "armadillo_bits/glue_hist_meat.hpp" |
---|
| 598 | #include "armadillo_bits/glue_histc_meat.hpp" |
---|
| 599 | #include "armadillo_bits/glue_max_meat.hpp" |
---|
| 600 | #include "armadillo_bits/glue_min_meat.hpp" |
---|
| 601 | |
---|
| 602 | #include "armadillo_bits/spop_max_meat.hpp" |
---|
| 603 | #include "armadillo_bits/spop_min_meat.hpp" |
---|
| 604 | #include "armadillo_bits/spop_sum_meat.hpp" |
---|
| 605 | #include "armadillo_bits/spop_strans_meat.hpp" |
---|
| 606 | #include "armadillo_bits/spop_htrans_meat.hpp" |
---|
| 607 | #include "armadillo_bits/spop_misc_meat.hpp" |
---|
| 608 | #include "armadillo_bits/spop_mean_meat.hpp" |
---|
| 609 | #include "armadillo_bits/spop_var_meat.hpp" |
---|
| 610 | |
---|
| 611 | #include "armadillo_bits/spglue_plus_meat.hpp" |
---|
| 612 | #include "armadillo_bits/spglue_minus_meat.hpp" |
---|
| 613 | #include "armadillo_bits/spglue_times_meat.hpp" |
---|
| 614 | #include "armadillo_bits/spglue_join_meat.hpp" |
---|
| 615 | } |
---|
| 616 | |
---|
| 617 | |
---|
| 618 | |
---|
| 619 | #include "armadillo_bits/compiler_setup_post.hpp" |
---|
| 620 | |
---|
| 621 | #endif |
---|