ExaTN
tensor_op_add.hpp
1 
11 #ifndef EXATN_NUMERICS_TENSOR_OP_ADD_HPP_
12 #define EXATN_NUMERICS_TENSOR_OP_ADD_HPP_
13 
14 #include "tensor_basic.hpp"
15 #include "tensor_operation.hpp"
16 
17 namespace exatn{
18 
19 namespace numerics{
20 
22 public:
23 
24  TensorOpAdd();
25 
26  TensorOpAdd(const TensorOpAdd &) = default;
27  TensorOpAdd & operator=(const TensorOpAdd &) = default;
28  TensorOpAdd(TensorOpAdd &&) noexcept = default;
29  TensorOpAdd & operator=(TensorOpAdd &&) noexcept = default;
30  virtual ~TensorOpAdd() = default;
31 
33  virtual bool isSet() const override;
34 
36  virtual int accept(runtime::TensorNodeExecutor & node_executor,
37  runtime::TensorOpExecHandle * exec_handle) override;
38 
40  static std::unique_ptr<TensorOperation> createNew();
41 
42 private:
43 
44 };
45 
46 } //namespace numerics
47 
48 } //namespace exatn
49 
50 #endif //EXATN_NUMERICS_TENSOR_OP_ADD_HPP_
exatn::numerics::TensorOpAdd::isSet
virtual bool isSet() const override
Definition: tensor_op_add.cpp:23
exatn
Definition: DriverClient.hpp:10
exatn::numerics::TensorOpAdd::createNew
static std::unique_ptr< TensorOperation > createNew()
Definition: tensor_op_add.cpp:34
exatn::numerics::TensorOpAdd
Definition: tensor_op_add.hpp:21
exatn::numerics::TensorOperation
Definition: tensor_operation.hpp:36
exatn::numerics::TensorOpAdd::accept
virtual int accept(runtime::TensorNodeExecutor &node_executor, runtime::TensorOpExecHandle *exec_handle) override
Definition: tensor_op_add.cpp:28
exatn::runtime::TensorNodeExecutor
Definition: tensor_node_executor.hpp:36