tensor_lib::tensor is a class template that describes a mathematical tensor, implemented as a heap allocated array. It is build as an alternative to structures such as std::vector <std::vector <std::vector<...>>>, replicating its behaviour and syntax almost entirely with the added benefits of having its data contiguous in memory.
1
stars
3
forks
source link
Enhancing replace() method wit parameter pack of tensors overload #28
The replace() method for tensor<> now supports constructing a new tensor from a parameter pack of tensor objects (tensor/subdimension/const_subdimension) and replacing the current tensor with it. replace() for subdimension/const_subdimension will be enhanced with this feature in the future too.
The replace() method for tensor<> now supports constructing a new tensor from a parameter pack of tensor objects (tensor/subdimension/const_subdimension) and replacing the current tensor with it. replace() for subdimension/const_subdimension will be enhanced with this feature in the future too.