OpCube_meat.hpp 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
  2. // Copyright 2008-2016 National ICT Australia (NICTA)
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. // ------------------------------------------------------------------------
  15. //! \addtogroup OpCube
  16. //! @{
  17. template<typename T1, typename op_type>
  18. OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m)
  19. : m(in_m.get_ref())
  20. {
  21. arma_extra_debug_sigprint();
  22. }
  23. template<typename T1, typename op_type>
  24. OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const typename T1::elem_type in_aux)
  25. : m(in_m.get_ref())
  26. , aux(in_aux)
  27. {
  28. arma_extra_debug_sigprint();
  29. }
  30. template<typename T1, typename op_type>
  31. OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const typename T1::elem_type in_aux, const uword in_aux_uword_a, const uword in_aux_uword_b, const uword in_aux_uword_c)
  32. : m(in_m.get_ref())
  33. , aux(in_aux)
  34. , aux_uword_a(in_aux_uword_a)
  35. , aux_uword_b(in_aux_uword_b)
  36. , aux_uword_c(in_aux_uword_c)
  37. {
  38. arma_extra_debug_sigprint();
  39. }
  40. template<typename T1, typename op_type>
  41. OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b)
  42. : m(in_m.get_ref())
  43. , aux_uword_a(in_aux_uword_a)
  44. , aux_uword_b(in_aux_uword_b)
  45. {
  46. arma_extra_debug_sigprint();
  47. }
  48. template<typename T1, typename op_type>
  49. OpCube<T1, op_type>::OpCube(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)
  50. : m(in_m.get_ref())
  51. , aux_uword_a(in_aux_uword_a)
  52. , aux_uword_b(in_aux_uword_b)
  53. , aux_uword_c(in_aux_uword_c)
  54. {
  55. arma_extra_debug_sigprint();
  56. }
  57. template<typename T1, typename op_type>
  58. OpCube<T1, op_type>::OpCube(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, const uword in_aux_uword_d, const char)
  59. : m(in_m.get_ref())
  60. , aux_uword_a(in_aux_uword_a)
  61. , aux_uword_b(in_aux_uword_b)
  62. , aux_uword_c(in_aux_uword_c)
  63. , aux_uword_d(in_aux_uword_d)
  64. {
  65. arma_extra_debug_sigprint();
  66. }
  67. template<typename T1, typename op_type>
  68. OpCube<T1, op_type>::~OpCube()
  69. {
  70. arma_extra_debug_sigprint();
  71. }
  72. //! @}