comparison src/LazyTensors/lazy_tensor_operations.jl @ 1087:423a6442efc3 feature/dissipation_operators

REVIEW: Address documentation
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sun, 08 May 2022 12:15:32 +0200
parents f857057e61e6
children 95464a1af340
comparison
equal deleted inserted replaced
1078:879cca813cc6 1087:423a6442efc3
266 LazyOuterProduct(t1::IdentityTensor, t2::LazyTensor) = InflatedTensor(t1, t2) 266 LazyOuterProduct(t1::IdentityTensor, t2::LazyTensor) = InflatedTensor(t1, t2)
267 267
268 LazyOuterProduct(tms::Vararg{LazyTensor}) = foldl(LazyOuterProduct, tms) 268 LazyOuterProduct(tms::Vararg{LazyTensor}) = foldl(LazyOuterProduct, tms)
269 269
270 270
271 271 # REVIEW: Address TODO below
272 """ 272 """
273 inflate(tm, sz, dir) 273 inflate(tm, sz, dir)
274 274
275 Inflate `tm` with identity tensors in all directions `d` for `d != dir`. 275 Inflate `tm` with identity tensors in all directions `d` for `d != dir`.
276 276