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

Revert "Infinite random sequences" #186

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
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
24 changes: 10 additions & 14 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,41 @@ FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
Infinities = "e1ba4f0e-776d-440f-acd9-e1d2e9742647"
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[weakdeps]
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[extensions]
InfiniteArraysDSPExt = "DSP"
InfiniteArraysStatisticsExt = "Statistics"

[compat]
Aqua = "0.8"
ArrayLayouts = "1.8"
BandedMatrices = "1.0"
Base64 = "1"
BlockArrays = "1.0"
Base64 = "1"
DSP = "0.7"
Distributions = "0.25"
FillArrays = "1.0"
Infinities = "0.1.1"
LazyArrays = "2.0.2"
LinearAlgebra = "1.6"
Random = "1"
SparseArrays = "1"
Statistics = "1"
Test = "1"
julia = "1.10"

[extensions]
InfiniteArraysDSPExt = "DSP"
InfiniteArraysStatisticsExt = "Statistics"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Test", "BandedMatrices", "BlockArrays", "Statistics", "SparseArrays", "Base64", "DSP", "Distributions"]
test = ["Aqua", "Test", "BandedMatrices", "BlockArrays", "Statistics", "SparseArrays", "Base64", "DSP"]

[weakdeps]
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
8 changes: 2 additions & 6 deletions src/InfiniteArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Base: *, +, -, /, <, ==, >, \, ≤, ≥, (:), @propagate_inbounds,
cumsum, dataids, diff, div, eltype, fill, findfirst, first, floatrange, getindex, hcat,
in, ind2sub_rs, intersect, inv, isempty, isinf, issorted, last, length, lt, max,
maximum, minimum, mod, one, ones, parent, parentindices, permutedims, print_matrix, print_matrix_row,
print_matrix_vdots, promote_rule, rand, reinterpret, reshape, reverse, searchsorted,
print_matrix_vdots, promote_rule, reinterpret, reshape, reverse, searchsorted,
searchsortedfirst, searchsortedlast, setindex!, show, show_circular, show_delim_array, sign,
signbit, similar, size, sort, sort!, step, sum, tail,
to_shape, transpose, unaliascopy, union, unitrange_last, unsafe_convert, unsafe_indices, unsafe_length,
Expand Down Expand Up @@ -42,15 +42,12 @@ import FillArrays: AbstractFill, Eye, Fill, Ones, RectDiagonal, Zeros, fill_resh
import Infinities: InfiniteCardinal, Infinity, ∞

import LazyArrays: AbstractCachedVector, ApplyLayout, CachedArray, CachedVector, InvColumnLayout,
LazyArrayStyle, LazyLayout, LazyMatrix, PaddedColumns, _padded_sub_materialize, resizedata!,
sub_paddeddata
LazyArrayStyle, LazyLayout, LazyMatrix, PaddedColumns, _padded_sub_materialize, sub_paddeddata

import LinearAlgebra: AdjOrTrans, HermOrSym, diag, norm, norm1, norm2, normp

import LazyArrays: AbstractPaddedLayout

import Random: default_rng

export ∞, ℵ₀, Hcat, Vcat, Zeros, Ones, Fill, Eye, BroadcastArray, cache
import Base: unitrange, oneto

Expand All @@ -59,7 +56,6 @@ import Base: unitrange, oneto
include("infrange.jl")
include("infarrays.jl")
include("reshapedarray.jl")
include("infrand.jl")

##
# Fill FillArrays
Expand Down
64 changes: 0 additions & 64 deletions src/infrand.jl

This file was deleted.

7 changes: 3 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, SparseArrays, InfiniteArrays, Infinities, FillArrays, LazyArrays, Random, Statistics, Test, Base64
using BandedMatrices, Distributions
using LinearAlgebra, SparseArrays, InfiniteArrays, Infinities, FillArrays, LazyArrays, Statistics, Test, Base64
using BandedMatrices
import InfiniteArrays: InfUnitRange, InfStepRange, OneToInf, NotANumber, oneto, unitrange
import LazyArrays: CachedArray, MemoryLayout, LazyLayout, DiagonalLayout, LazyArrayStyle, colsupport, DualLayout
import BandedMatrices: _BandedMatrix, BandedColumns
Expand Down Expand Up @@ -1230,5 +1230,4 @@ end
end

include("test_infconv.jl")
include("test_block.jl")
include("test_infrand.jl")
include("test_block.jl")
32 changes: 0 additions & 32 deletions test/test_infrand.jl

This file was deleted.