operator_cube_times.hpp
Go to the documentation of this file.
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 
15 
18 
19 
20 
22 template<typename T1>
25 operator*
26  (
28  const typename T1::elem_type k
29  )
30  {
32 
34  }
35 
36 
37 
39 template<typename T1>
42 operator*
43  (
44  const typename T1::elem_type k,
46  )
47  {
49 
51  }
52 
53 
54 
56 template<typename T1>
59 operator*
60  (
62  const std::complex<typename T1::pod_type>& k
63  )
64  {
66 
67  return mtOpCube<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_times>('j', X.get_ref(), k);
68  }
69 
70 
71 
73 template<typename T1>
75 const mtOpCube<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_times>
76 operator*
77  (
78  const std::complex<typename T1::pod_type>& k,
80  )
81  {
83 
84  return mtOpCube<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_times>('j', X.get_ref(), k);
85  }
86 
87 
88 
#define arma_extra_debug_sigprint
Definition: debug.hpp:1116
Analog of the Base class, intended for cubes.
#define arma_inline
arma_inline const derived & get_ref() const


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