eOpCube_bones.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2011 NICTA (www.nicta.com.au)
2 // Copyright (C) 2010-2011 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 T1, typename eop_type>
20 class eOpCube : public BaseCube<typename T1::elem_type, eOpCube<T1, eop_type> >
21  {
22  public:
23 
24  typedef typename T1::elem_type elem_type;
26 
29 
31  arma_aligned elem_type aux;
35 
36  inline ~eOpCube();
37  inline explicit eOpCube(const BaseCube<typename T1::elem_type, T1>& in_m);
38  inline eOpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const elem_type in_aux);
39  inline eOpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b);
40  inline eOpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c);
41  inline eOpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const elem_type in_aux, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c);
42 
48 
49  arma_inline elem_type operator[] (const uword i) const;
50  arma_inline elem_type at (const uword row, const uword col, const uword slice) const;
51  };
52 
53 
54 
arma_inline uword get_n_cols() const
arma_inline elem_type operator[](const uword i) const
arma_aligned uword aux_uword_c
storage of auxiliary data, uword format
static const bool has_subview
eOpCube(const BaseCube< typename T1::elem_type, T1 > &in_m)
get_pod_type< elem_type >::result pod_type
arma_inline uword get_n_elem() const
arma_inline uword get_n_slices() const
u32 uword
Definition: typedef.hpp:85
arma_aligned uword aux_uword_a
storage of auxiliary data, uword format
arma_aligned uword aux_uword_b
storage of auxiliary data, uword format
static const bool prefer_at_accessor
#define arma_aligned
arma_aligned const ProxyCube< T1 > P
arma_inline uword get_n_rows() const
Analog of the Base class, intended for cubes.
arma_inline elem_type at(const uword row, const uword col, const uword slice) const
arma_aligned elem_type aux
storage of auxiliary data, user defined format
#define arma_inline
arma_inline uword get_n_elem_slice() const
T1::elem_type elem_type


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