◆ createTensorOp()
std::unique_ptr< TensorOperation > exatn::numerics::TensorOpFactory::createTensorOp |
( |
TensorOpCode |
opcode | ) |
|
Creates a new instance of a desired subtype.
◆ createTensorOpShared()
std::shared_ptr< TensorOperation > exatn::numerics::TensorOpFactory::createTensorOpShared |
( |
TensorOpCode |
opcode | ) |
|
Creates a new instance of a desired subtype.
◆ get()
◆ registerTensorOp()
void exatn::numerics::TensorOpFactory::registerTensorOp |
( |
TensorOpCode |
opcode, |
|
|
createTensorOpFn |
creator |
|
) |
| |
Registers a new tensor operation subtype to produce instances of.
The documentation for this class was generated from the following files: