Mercurial > repos > public > sbplib_julia
diff LazyTensors/src/tensor_mapping.jl @ 285:e21dcda55163 boundary_conditions
Add type representing an unknown dimension in the domain of tensormappings
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 19 Jun 2020 12:20:31 +0200 |
parents | 8964b3165097 |
children |
line wrap: on
line diff
--- a/LazyTensors/src/tensor_mapping.jl Thu Jun 18 22:07:10 2020 +0200 +++ b/LazyTensors/src/tensor_mapping.jl Fri Jun 19 12:20:31 2020 +0200 @@ -62,7 +62,12 @@ """ function domain_size end -export range_size, domain_size +""" + Dummy type for representing dimensions of tensormappings when domain_size is unknown +""" +struct UnknownDim end +export range_size, domain_size, TensorMappingDim, UnknownDim + # TODO: Think about boundschecking!