Skip to content

Commit

Permalink
Add example subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewilliami committed Nov 5, 2024
1 parent f44a189 commit 4f6c7c0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 26 deletions.
6 changes: 6 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ authors = ["Jake W. Ireland <[email protected]> and contributors"]
version = "0.2.3"

[deps]
# CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
# Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"
# Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
FLoops = "cc61a311-1640-44b5-9fba-1b764f453329"
Hecke = "3e1990a7-5d81-5526-99ce-9ba3ff248f21"
# Javis = "78b212ba-a7f9-42d4-b726-60726080707e"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
# Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
# ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[compat]
Expand Down
15 changes: 3 additions & 12 deletions examples/Project.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"
CodingTheory = "89c41d41-0018-4667-9435-0b7cbc9fb764"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DataFramesMeta = "1313f7d8-7da2-5740-9ea0-a2ca25f37964"
FLoops = "cc61a311-1640-44b5-9fba-1b764f453329"
Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0"
InspectDR = "d0351b0e-4b05-5898-87b3-e2a8edfddd1d"
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
Lazy = "50d2b5c4-7a5e-59d5-8109-a42b560f39c0"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
Javis = "78b212ba-a7f9-42d4-b726-60726080707e"
Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
PGFPlotsX = "8314cec4-20b6-5062-9cdb-752b83310925"
Plotly = "58dd65bb-95f3-509e-9936-c39a10fdeae7"
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"
5 changes: 1 addition & 4 deletions examples/bounds.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CSV, DataFrames, StatsPlots, ProgressMeter

include(joinpath(dirname(dirname(@__FILE__)), "src", "CodingTheory.jl"))
using .CodingTheory
using CSV, DataFrames, StatsPlots, ProgressMeter, CodingTheory

stop_at = parse(BigInt, ARGS[1])

Expand Down
5 changes: 1 addition & 4 deletions examples/get_codewords_time_analysis.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using StatsPlots, ProgressMeter, CSV, DataFrames

include(joinpath(dirname(dirname(@__FILE__)), "src", "CodingTheory.jl"))
using .CodingTheory
using StatsPlots, ProgressMeter, CSV, DataFrames, CodingTheory

stop_at = parse(BigInt, ARGS[1])

Expand Down
4 changes: 1 addition & 3 deletions examples/random_numbers_core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ using Base.Threads: @threads
using ProgressMeter: @showprogress, Progress, next!
using FLoops: @floop, ThreadedEx
using Plots, Formatting, CSV, DataFrames
using CodingTheory

plotly()

include(joinpath(dirname(dirname(@__FILE__)), "src", "CodingTheory.jl"))
using .CodingTheory

function obtain_data(
q::Integer, n::Integer, d::Integer, stop_at::Integer; m::Integer = 10_000
)
Expand Down
4 changes: 1 addition & 3 deletions examples/sort_bounds.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
include(joinpath(dirname(@__DIR__), "src", "CodingTheory.jl"))
using .CodingTheory

using CodingTheory
using DataFrames, CSV
using DataFramesMeta: @where
using Formatting
Expand Down

0 comments on commit 4f6c7c0

Please sign in to comment.