Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/tensor_mapping.jl @ 945:1f41cf9454f2 feature/tensormapping_application_promotion
Remove type declaratio from doc string
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 12 Mar 2022 22:20:45 +0100 |
parents | 4a4ef4bf6cb9 |
children | 1ba8a398af9c |
comparison
equal
deleted
inserted
replaced
944:4a4ef4bf6cb9 | 945:1f41cf9454f2 |
---|---|
8 TensorMapping{T,R,D} | 8 TensorMapping{T,R,D} |
9 | 9 |
10 Describes a mapping of a `D` dimension tensor to an `R` dimension tensor. | 10 Describes a mapping of a `D` dimension tensor to an `R` dimension tensor. |
11 The action of the mapping is implemented through the method | 11 The action of the mapping is implemented through the method |
12 ```julia | 12 ```julia |
13 apply(t::TensorMapping{T,R,D}, v::AbstractArray{T,D}, I::Vararg) where {R,D,T} | 13 apply(t::TensorMapping{T,R,D}, v::AbstractArray{<:Any,D}, I::Vararg) where {R,D,T} |
14 ``` | 14 ``` |
15 | 15 |
16 The size of the range and domain that the operator works with should be returned by | 16 The size of the range and domain that the operator works with should be returned by |
17 the functions | 17 the functions |
18 ```julia | 18 ```julia |