comparison src/LazyTensors/lazy_tensor_operations.jl @ 475:2c0e76d5832d feature/outer_product

Update todo
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 26 Oct 2020 23:04:30 +0100
parents 3ad327378b2d
children 2dc2eac27f75
comparison
equal deleted inserted replaced
474:3ad327378b2d 475:2c0e76d5832d
327 LazyOuterProduct(tms::Vararg{TensorMapping}) = foldl(LazyOuterProduct, tms) 327 LazyOuterProduct(tms::Vararg{TensorMapping}) = foldl(LazyOuterProduct, tms)
328 328
329 ⊗(a::TensorMapping, b::TensorMapping) = LazyOuterProduct(a,b) 329 ⊗(a::TensorMapping, b::TensorMapping) = LazyOuterProduct(a,b)
330 export ⊗ 330 export ⊗
331 331
332 # TODO: Can we implement compositions and kroneckers of LazyIdentities to just return new LazyIdentities? 332 # TBD: Should we implement simplifications for outer products of LazyIdentities other LazyIdentities or Inflated tensormappings?