diff src/LazyTensors/lazy_tensor_operations.jl @ 379:de4746d6d126

Add some notes and todos
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 30 Sep 2020 21:30:29 +0200
parents 946516954c85
children 1936e38fe51e
line wrap: on
line diff
--- a/src/LazyTensors/lazy_tensor_operations.jl	Wed Sep 30 21:25:50 2020 +0200
+++ b/src/LazyTensors/lazy_tensor_operations.jl	Wed Sep 30 21:30:29 2020 +0200
@@ -14,6 +14,8 @@
 # TODO: Do boundschecking on creation!
 export LazyTensorMappingApplication
 
+# TODO: Go through and remove unneccerary type parameters on functions
+
 Base.:*(tm::TensorMapping{T,R,D}, o::AbstractArray{T,D}) where {T,R,D} = LazyTensorMappingApplication(tm,o)
 Base.getindex(ta::LazyTensorMappingApplication{T,R,D}, I::Vararg{Index,R}) where {T,R,D} = apply(ta.t, ta.o, I...)
 Base.getindex(ta::LazyTensorMappingApplication{T,R,D}, I::Vararg{Int,R}) where {T,R,D} = apply(ta.t, ta.o, Index{Unknown}.(I)...)