comparison src/LazyTensors/lazy_tensor_operations.jl @ 451:6cf234eef780 feature/inflated_tensormapping

Add tests for constructors and size calculations
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Oct 2020 22:03:59 +0200
parents ac6d22570a08
children aeda2698166d
comparison
equal deleted inserted replaced
450:ac6d22570a08 451:6cf234eef780
186 D_after = domain_dim(after) 186 D_after = domain_dim(after)
187 D = D_before+D_middle+D_after 187 D = D_before+D_middle+D_after
188 return new{T,R,D,D_before,R_middle,D_middle,D_after, typeof(tm)}(before, tm, after) 188 return new{T,R,D,D_before,R_middle,D_middle,D_after, typeof(tm)}(before, tm, after)
189 end 189 end
190 end 190 end
191 export InflatedTensorMapping
191 192
192 # TODO: Implement constructors where one of `before` or `after` is missing 193 # TODO: Implement constructors where one of `before` or `after` is missing
193 194
194 # TODO: Implement syntax and constructors for products of different combinations of InflatedTensorMapping and IdentityMapping 195 # TODO: Implement syntax and constructors for products of different combinations of InflatedTensorMapping and IdentityMapping
195 196