eglue_core_bones.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010 NICTA (www.nicta.com.au)
2 // Copyright (C) 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 
16 
17 
18 
19 template<typename eglue_type>
20 struct eglue_core
21  {
22 
23  // matrices
24 
25  template<typename T1, typename T2> arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const eGlue<T1, T2, eglue_type>& x);
26 
27  template<typename T1, typename T2> arma_hot inline static void apply_inplace_plus (Mat<typename T1::elem_type>& out, const eGlue<T1, T2, eglue_type>& x);
28  template<typename T1, typename T2> arma_hot inline static void apply_inplace_minus(Mat<typename T1::elem_type>& out, const eGlue<T1, T2, eglue_type>& x);
29  template<typename T1, typename T2> arma_hot inline static void apply_inplace_schur(Mat<typename T1::elem_type>& out, const eGlue<T1, T2, eglue_type>& x);
30  template<typename T1, typename T2> arma_hot inline static void apply_inplace_div (Mat<typename T1::elem_type>& out, const eGlue<T1, T2, eglue_type>& x);
31 
32 
33  // cubes
34 
35  template<typename T1, typename T2> arma_hot inline static void apply(Cube<typename T1::elem_type>& out, const eGlueCube<T1, T2, eglue_type>& x);
36 
37  template<typename T1, typename T2> arma_hot inline static void apply_inplace_plus (Cube<typename T1::elem_type>& out, const eGlueCube<T1, T2, eglue_type>& x);
38  template<typename T1, typename T2> arma_hot inline static void apply_inplace_minus(Cube<typename T1::elem_type>& out, const eGlueCube<T1, T2, eglue_type>& x);
39  template<typename T1, typename T2> arma_hot inline static void apply_inplace_schur(Cube<typename T1::elem_type>& out, const eGlueCube<T1, T2, eglue_type>& x);
40  template<typename T1, typename T2> arma_hot inline static void apply_inplace_div (Cube<typename T1::elem_type>& out, const eGlueCube<T1, T2, eglue_type>& x);
41  };
42 
43 
44 
45 class eglue_plus;
46 class eglue_minus;
47 class eglue_div;
48 class eglue_schur;
49 
50 
51 
static arma_hot void apply_inplace_minus(Mat< typename T1::elem_type > &out, const eGlue< T1, T2, eglue_type > &x)
static arma_hot void apply(Mat< typename T1::elem_type > &out, const eGlue< T1, T2, eglue_type > &x)
Dense cube class.
Definition: Cube_bones.hpp:30
static arma_hot void apply_inplace_plus(Mat< typename T1::elem_type > &out, const eGlue< T1, T2, eglue_type > &x)
Dense matrix class.
static arma_hot void apply_inplace_div(Mat< typename T1::elem_type > &out, const eGlue< T1, T2, eglue_type > &x)
#define arma_hot
static arma_hot void apply_inplace_schur(Mat< typename T1::elem_type > &out, const eGlue< T1, T2, eglue_type > &x)


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:31:57