Mercurial > repos > public > sbplib_julia
comparison src/LazyTensors/lazy_array.jl @ 858:5088de9b6d65
Merge feature/setup_documenter
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 19 Jan 2022 07:24:36 +0100 |
parents | 76e5682d0e52 |
children | 7ef605b8f132 |
comparison
equal
deleted
inserted
replaced
823:3c1dd7692797 | 858:5088de9b6d65 |
---|---|
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 |