Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_array.jl @ 875:067a322e4f73 laplace_benchmarks
Merge with feature/laplace_opset
| author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
|---|---|
| date | Thu, 27 Jan 2022 10:55:08 +0100 |
| parents | 76e5682d0e52 |
| children | 7ef605b8f132 |
comparison
equal
deleted
inserted
replaced
| 874:7e9ebd572deb | 875:067a322e4f73 |
|---|---|
| 40 end | 40 end |
| 41 | 41 |
| 42 | 42 |
| 43 """ | 43 """ |
| 44 LazyElementwiseOperation{T,D,Op} <: LazyArray{T,D} | 44 LazyElementwiseOperation{T,D,Op} <: LazyArray{T,D} |
| 45 Struct allowing for lazy evaluation of elementwise operations on AbstractArrays. | 45 Struct allowing for lazy evaluation of elementwise operations on `AbstractArray`s. |
| 46 | 46 |
| 47 A LazyElementwiseOperation contains two arrays together with an operation. | 47 A `LazyElementwiseOperation` contains two arrays together with an operation. |
| 48 The operations are carried out when the LazyElementwiseOperation is indexed. | 48 The operations are carried out when the `LazyElementwiseOperation` is indexed. |
| 49 """ | 49 """ |
| 50 struct LazyElementwiseOperation{T,D,Op,T1<:AbstractArray{T,D},T2<:AbstractArray{T,D}} <: LazyArray{T,D} | 50 struct LazyElementwiseOperation{T,D,Op,T1<:AbstractArray{T,D},T2<:AbstractArray{T,D}} <: LazyArray{T,D} |
| 51 a::T1 | 51 a::T1 |
| 52 b::T2 | 52 b::T2 |
| 53 | 53 |
