Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/tensor_mapping.jl @ 495:6dc6b1475563
Merge feature/tensormapping_eltype
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 05 Nov 2020 13:20:20 +0100 |
parents | cd509e57f898 |
children | 76e5682d0e52 |
comparison
equal
deleted
inserted
replaced
490:7e698030c170 | 495:6dc6b1475563 |
---|---|
62 """ | 62 """ |
63 function domain_size end | 63 function domain_size end |
64 | 64 |
65 export range_size, domain_size | 65 export range_size, domain_size |
66 | 66 |
67 """ | |
68 eltype(::TensorMapping{T}) | |
69 | |
70 The type of elements the TensorMapping acts on. | |
71 """ | |
72 Base.eltype(::TensorMapping{T}) where T = T | |
73 | |
67 # TODO: Think about boundschecking! | 74 # TODO: Think about boundschecking! |