Mercurial > repos > public > sbplib_julia
diff src/LazyTensors/lazy_array.jl @ 1594:d68d02dd882f feature/boundary_conditions
Merge with default
author | Vidar Stiernström <vidar.stiernstrom@gmail.com> |
---|---|
date | Sat, 25 May 2024 16:07:10 -0700 |
parents | d7bc11053951 |
children | dfb43fdac9fc |
line wrap: on
line diff
--- a/src/LazyTensors/lazy_array.jl Tue Jan 23 20:48:25 2024 +0100 +++ b/src/LazyTensors/lazy_array.jl Sat May 25 16:07:10 2024 -0700 @@ -1,7 +1,7 @@ """ LazyArray{T,D} <: AbstractArray{T,D} -Array which is calcualted lazily when indexing. +Array which is calculated lazily when indexing. A subtype of `LazyArray` will use lazy version of `+`, `-`, `*`, `/`. """ @@ -42,7 +42,7 @@ """ LazyElementwiseOperation{T,D,Op} <: LazyArray{T,D} -Struct allowing for lazy evaluation of elementwise operations on `AbstractArray`s. +Struct allowing for lazy evaluation of element-wise operations on `AbstractArray`s. A `LazyElementwiseOperation` contains two arrays together with an operation. The operations are carried out when the `LazyElementwiseOperation` is indexed.