Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_tensor_operations.jl @ 480:c1a366331e75 feature/compose_identity_mappings
Fix typo in docs
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 04 Nov 2020 20:06:10 +0100 |
parents | 95f3b9036801 |
children | 2fde16253a84 |
comparison
equal
deleted
inserted
replaced
479:95f3b9036801 | 480:c1a366331e75 |
---|---|
175 | 175 |
176 """ | 176 """ |
177 Base.:∘(tm, tmi) | 177 Base.:∘(tm, tmi) |
178 Base.:∘(tmi, tm) | 178 Base.:∘(tmi, tm) |
179 | 179 |
180 Composes a `Tensormapping`s `tm` with an `IdentityMapping`s `tmi`, by returning `tm` | 180 Composes a `Tensormapping` `tm` with an `IdentityMapping` `tmi`, by returning `tm` |
181 """ | 181 """ |
182 @inline function Base.:∘(tm::TensorMapping{T,R,D}, tmi::IdentityMapping{T,D}) where {T,R,D} | 182 @inline function Base.:∘(tm::TensorMapping{T,R,D}, tmi::IdentityMapping{T,D}) where {T,R,D} |
183 @boundscheck check_matching_size(tm::TensorMapping, tmi::TensorMapping) | 183 @boundscheck check_matching_size(tm::TensorMapping, tmi::TensorMapping) |
184 return tm | 184 return tm |
185 end | 185 end |