Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import materialize from ArrayLayouts #271

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/LazyArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module LazyArrays
# Use README as the docstring of the module:
@doc read(joinpath(dirname(@__DIR__), "README.md"), String) LazyArrays

using Base, Base.Broadcast, LinearAlgebra, FillArrays, ArrayLayouts, MatrixFactorizations, SparseArrays
using Base.Broadcast, LinearAlgebra, FillArrays, ArrayLayouts, MatrixFactorizations, SparseArrays
import LinearAlgebra.BLAS

import Base: AbstractArray, AbstractMatrix, AbstractVector,
Expand All @@ -14,7 +14,7 @@ import Base: AbstractArray, AbstractMatrix, AbstractVector,
fld, cld, div, min, max, minimum, maximum, mod,
<, ≤, >, ≥, promote_rule, convert, copy,
size, step, isempty, length, first, last, ndims,
getindex, setindex!, setindex, intersect, @_inline_meta, inv,
getindex, setindex!, setindex, intersect, inv,
sort, sort!, issorted, sortperm, diff, accumulate, cumsum, sum, in, broadcast,
eltype, parent, real, imag,
conj, transpose, adjoint, permutedims, vec,
Expand All @@ -24,7 +24,7 @@ import Base: AbstractArray, AbstractMatrix, AbstractVector,
acosh, asinh, atanh, acsch, asech, acoth, (:),
AbstractMatrix, AbstractArray, checkindex, unsafe_length, OneTo, one, zero,
to_shape, _sub2ind, print_matrix, print_matrix_row, print_matrix_vdots,
checkindex, Slice, @propagate_inbounds, @_propagate_inbounds_meta,
checkindex, Slice, @propagate_inbounds,
_in_range, _range, Ordered,
ArithmeticWraps, floatrange, reverse, unitrange_last,
AbstractArray, AbstractVector, axes, (:), _sub2ind_recurse, broadcast, promote_eltypeof,
Expand All @@ -34,8 +34,7 @@ import Base: AbstractArray, AbstractMatrix, AbstractVector,
unsafe_convert, strides, union, map, searchsortedfirst, searchsortedlast, searchsorted

import Base.Broadcast: BroadcastStyle, AbstractArrayStyle, Broadcasted, broadcasted,
combine_eltypes, DefaultArrayStyle, instantiate, materialize,
materialize!, eltypes
combine_eltypes, DefaultArrayStyle, instantiate, eltypes

import LinearAlgebra: AbstractQ, checksquare, pinv, fill!, tilebufsize, dot, factorize, qr, lu, cholesky,
norm2, norm1, normInf, normp, normMinusInf, diag, det, logabsdet, tr, AdjOrTrans, triu, tril,
Expand All @@ -57,7 +56,7 @@ import FillArrays: AbstractFill, getindex_value
import ArrayLayouts: MatMulVecAdd, MatMulMatAdd, MulAdd, Lmul, Rmul, Ldiv, Dot, Mul, _inv,
transposelayout, conjlayout, sublayout, triangularlayout, triangulardata,
reshapedlayout, diagonallayout, tridiagonallayout, symtridiagonallayout, bidiagonallayout, symmetriclayout, hermitianlayout,
adjointlayout, sub_materialize, mulreduce,
adjointlayout, sub_materialize, mulreduce, materialize, materialize!,
check_mul_axes, _mul_eltype, check_ldiv_axes, ldivaxes, colsupport, rowsupport,
_fill_lmul!, scalarone, scalarzero, fillzeros, zero!, layout_getindex, _copyto!,
AbstractQLayout, StridedLayout, layout_replace_in_print_matrix
Expand Down