From 005e7f5fad1a0eba7e7debf4c5981d6e6478224f Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Thu, 18 Apr 2024 23:49:39 +0530 Subject: [PATCH] Map imported names to correct parentmodules (#200) --- src/BlockBandedMatrices.jl | 71 +++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/src/BlockBandedMatrices.jl b/src/BlockBandedMatrices.jl index 3ad1eca..41ab06b 100644 --- a/src/BlockBandedMatrices.jl +++ b/src/BlockBandedMatrices.jl @@ -2,45 +2,38 @@ module BlockBandedMatrices using BlockArrays, BandedMatrices, ArrayLayouts, FillArrays, MatrixFactorizations using LinearAlgebra -import Base: getindex, setindex!, checkbounds, @propagate_inbounds, convert, - +, *, -, /, \, strides, zeros, size, - unsafe_convert, fill!, length, first, last, - eltype, getindex, to_indices, to_index, - reindex, tail, @_propagate_inbounds_meta, - ==, axes, copy, copyto!, similar, OneTo, Slice - -import Base.Broadcast: BroadcastStyle, AbstractArrayStyle, DefaultArrayStyle, Broadcasted, broadcasted - -import LinearAlgebra: UniformScaling, isdiag, rmul!, lmul!, ldiv!, rdiv!, axpy!, - AbstractTriangular, AdjOrTrans, HermOrSym, StructuredMatrixStyle, - qr, qr! -import LinearAlgebra.BLAS: BlasInt, BlasFloat, @blasfunc, BlasComplex, BlasReal -import LinearAlgebra.LAPACK: chktrans, chkdiag, chklapackerror, checksquare, chkstride1, - chkuplo -import MatrixFactorizations: ql, ql!, _ql, QLPackedQ, AdjQRPackedQLayout, AdjQLPackedQLayout, QR, QRPackedQ - -import ArrayLayouts: BlasMatLmulVec, MatLmulVec, MatLmulMat, - triangularlayout, UpperTriangularLayout, TriangularLayout, MatLdivVec, - triangulardata, sublayout, sub_materialize, materialize, materialize!, - AbstractColumnMajor, DenseColumnMajor, ColumnMajor, - DiagonalLayout, MulAdd, mul, colsupport, rowsupport, - _qr, _factorize, _copyto!, zero!, layout_replace_in_print_matrix, - transposelayout, conjlayout, symmetriclayout, hermitianlayout - -import BlockArrays: blocksize, blockcheckbounds, BlockedUnitRange, blockisequal, DefaultBlockAxis, - Block, BlockSlice, unblock, block, blockindex, - _blocklengths2blocklasts, BlockIndexRange, sizes_from_blocks, BlockSlice1, - blockcolsupport, blockrowsupport, blockcolstart, blockcolstop, blockrowstart, blockrowstop, - AbstractBlockLayout, BlockLayout, blocks, hasmatchingblocks, BlockStyle, BlockSlices, _blockkron - -import BandedMatrices: isbanded, bandwidths, bandwidth, banded_getindex, colrange, - inbands_setindex!, inbands_getindex, banded_setindex!, - banded_generic_axpy!, - BlasFloat, banded_dense_axpy!, MemoryLayout, - BandedLayout, BandedColumnMajor, BandedColumns, bandedcolumns, - BandedSubBandedMatrix, bandeddata, - _BandedMatrix, colstart, colstop, rowstart, rowstop, - BandedStyle, bandshift +import ArrayLayouts: AbstractColumnMajor, AdjQRPackedQLayout, BlasMatLmulVec, ColumnMajor, DenseColumnMajor, + DiagonalLayout, MatLdivVec, MatLmulMat, MatLmulVec, MemoryLayout, MulAdd, TriangularLayout, + UpperTriangularLayout, _copyto!, _factorize, _qr, colsupport, conjlayout, hermitianlayout, + layout_replace_in_print_matrix, mul, rowsupport, sub_materialize, sublayout, symmetriclayout, + transposelayout, triangulardata, triangularlayout, zero!, materialize!, materialize + +import BandedMatrices: BandedColumnMajor, BandedColumns, BandedLayout, BandedStyle, BandedSubBandedMatrix, BlasFloat, + _BandedMatrix, banded_dense_axpy!, banded_generic_axpy!, banded_getindex, banded_setindex!, + bandedcolumns, bandeddata, bandshift, bandwidth, bandwidths, colrange, colstart, colstop, + inbands_getindex, inbands_setindex!, isbanded, rowstart, rowstop + +import Base: *, +, -, /, \, ==, @propagate_inbounds, OneTo, Slice, axes, checkbounds, + convert, copy, copyto!, eltype, fill!, first, getindex, last, length, reindex, setindex!, similar, size, + strides, unsafe_convert, zeros + +import Base.Broadcast: AbstractArrayStyle, BroadcastStyle, Broadcasted, DefaultArrayStyle, broadcasted + +import BlockArrays: AbstractBlockLayout, Block, BlockIndexRange, BlockLayout, BlockSlice, BlockSlice1, BlockSlices, + BlockStyle, BlockedUnitRange, DefaultBlockAxis, _blockkron, _blocklengths2blocklasts, block, + blockcheckbounds, blockcolstart, blockcolstop, blockcolsupport, blockindex, blockisequal, + blockrowstart, blockrowstop, blockrowsupport, blocks, blocksize, hasmatchingblocks, + sizes_from_blocks, unblock + +import FillArrays: Fill, Ones, Zeros + +import LinearAlgebra: AbstractTriangular, AdjOrTrans, HermOrSym, StructuredMatrixStyle, UniformScaling, axpy!, + isdiag, ldiv!, lmul!, qr, qr!, rdiv!, rmul! + +import LinearAlgebra.BLAS: BlasComplex, BlasFloat, BlasReal + +import MatrixFactorizations: AdjQLPackedQLayout, QR, QRPackedQ, _ql, ql, ql! + export BandedBlockBandedMatrix, BlockBandedMatrix, BlockSkylineMatrix, blockbandwidth, blockbandwidths, subblockbandwidth, subblockbandwidths, Ones, Zeros, Fill, Block, BlockTridiagonal, BlockBidiagonal, isblockbanded