Fastor icon indicating copy to clipboard operation
Fastor copied to clipboard

Row and column extractions on 2D tensors should use fixed views

Open romeric opened this issue 1 year ago • 1 comments

We currently use dynamic views while extracting rows and columns of a 2D tensor

Tensor<double, 3, 4> A;
A(0, all)  --> TensorViewExpr<A>

this make it unnecessarily impossible to construct tensors of the right shape at compile time when we already know this info which is Tensor<double,4> in this case.

romeric avatar Mar 20 '24 06:03 romeric

Related issue #157

romeric avatar Mar 20 '24 06:03 romeric