diff src/LazyTensors/lazy_tensor_operations.jl @ 394:7ad644d112de feature/lazy_linear_map

Expand tests for LazyLinearMap and update its documentation
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 02 Oct 2020 15:57:53 +0200
parents b14eacf823b6
children 3b4b1758a8ad
line wrap: on
line diff
--- a/src/LazyTensors/lazy_tensor_operations.jl	Fri Oct 02 14:56:03 2020 +0200
+++ b/src/LazyTensors/lazy_tensor_operations.jl	Fri Oct 02 15:57:53 2020 +0200
@@ -105,6 +105,10 @@
 
 TensorMapping defined by the AbstractArray A. `range_indicies` and `domain_indicies` define which indicies of A should
 be considerd the range and domain of the TensorMapping.
+
+When the LazyLinearMap is applied to a vector size domain_size the
+map sums over the dimensions orthogonal to those specified in range_indicies resulting
+in a vector of size range_size.
 """
 struct LazyLinearMap{T,R,D, RD, AA<:AbstractArray{T,RD}} <: TensorMapping{T,R,D}
     A::AA