Skip to content

Commit

Permalink
restructuring for launch
Browse files Browse the repository at this point in the history
  • Loading branch information
sflammia committed May 22, 2024
1 parent 671ba50 commit 9d2c1e2
Show file tree
Hide file tree
Showing 29 changed files with 161,465 additions and 55,268 deletions.
Binary file removed Notes/DoubleSine.pdf
Binary file not shown.
Binary file removed Notes/draft.pdf
Binary file not shown.
Binary file removed Notes/main.pdf
Binary file not shown.
Binary file removed Notes/table4-16.png
Binary file not shown.
Binary file removed data/A
Binary file not shown.
Binary file removed data/L
Binary file not shown.
Binary file removed data/Q
Binary file not shown.
3,292 changes: 3,292 additions & 0 deletions data/Q.csv

Large diffs are not rendered by default.

Binary file removed data/beta
Binary file not shown.
Binary file removed data/d
Binary file not shown.
3,292 changes: 3,292 additions & 0 deletions data/d.csv

Large diffs are not rendered by default.

Binary file removed data/ghosts
Binary file not shown.
Binary file removed data/n
Binary file not shown.
File renamed without changes.
250 changes: 20 additions & 230 deletions docs/Zauner-Julia.ipynb → docs/Zauner-Julia-dev.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,245 +54,34 @@
"execution_count": 3,
"id": "19a651bc-1cfe-4249-a2e4-16cb7de27cea",
"metadata": {},
"outputs": [],
"source": [
"using Zauner"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "7e3bec6a-a7d1-45bc-854f-1bff4fa89ab3",
"metadata": {},
"outputs": [],
"source": [
"using Serialization, ProfileSVG, BenchmarkTools"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a2e49afd-c642-45bf-add8-217b449bff4d",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 6,
"id": "0ebadb8d-dd33-47e7-98c1-fd7bd736f836",
"metadata": {
"scrolled": true
},
"outputs": [
{
"ename": "LoadError",
"evalue": "ArgumentError: array must be non-empty",
"output_type": "error",
"traceback": [
"ArgumentError: array must be non-empty",
"",
"Stacktrace:",
" [1] _throw_argerror(s::String)",
" @ Base ./array.jl:383",
" [2] pop!",
" @ ./array.jl:1398 [inlined]",
" [3] deserialize_cycle",
" @ /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:818 [inlined]",
" [4] deserialize(s::Serializer{IOStream}, t::DataType)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:1497",
" [5] handle_deserialize(s::Serializer{IOStream}, b::Int32)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:878",
" [6] deserialize_fillarray!(A::Vector{ZZRingElem}, s::Serializer{IOStream})",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:1281",
" [7] deserialize_array(s::Serializer{IOStream})",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:1273",
" [8] handle_deserialize(s::Serializer{IOStream}, b::Int32)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:865",
" [9] deserialize_fillarray!(A::Vector{Vector{ZZRingElem}}, s::Serializer{IOStream})",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:1281",
" [10] deserialize_array(s::Serializer{IOStream})",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:1273",
" [11] handle_deserialize(s::Serializer{IOStream}, b::Int32)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:865",
" [12] deserialize(s::Serializer{IOStream})",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:814",
" [13] handle_deserialize(s::Serializer{IOStream}, b::Int32)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:920",
" [14] deserialize",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:814 [inlined]",
" [15] deserialize(s::IOStream)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:801",
" [16] open(f::typeof(deserialize), args::String; kwargs::@Kwargs{})",
" @ Base ./io.jl:396",
" [17] open",
" @ Base ./io.jl:393 [inlined]",
" [18] deserialize(filename::String)",
" @ Serialization /Applications/Julia.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Serialization/src/Serialization.jl:811",
" [19] top-level scope",
" @ In[6]:2"
"name": "stderr",
"output_type": "stream",
"text": [
"\u001b[32m\u001b[1mPrecompiling\u001b[22m\u001b[39m Zauner\n",
"\u001b[32m ✓ \u001b[39mZauner\n",
" 1 dependency successfully precompiled in 4 seconds. 82 already precompiled.\n"
]
}
],
"source": [
"AdmissibleTuple(4)\n",
"Q = map(x->QuadBin(x...), deserialize(\"../data/Q\") )\n",
"dims = deserialize(\"../data/d\")\n",
"# L = deserialize(\"../data/L\")\n",
"# A = deserialize(\"../data/A\")\n",
"# G = deserialize(\"../data/ghosts\")\n",
"println(\"Import complete.\")"
"using Zauner"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "b98804f2-f509-4965-b2ec-a22881456fbc",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[32m\u001b[1mStatus\u001b[22m\u001b[39m `~/Library/CloudStorage/Dropbox/Github/Zaunerdev/Project.toml`\n",
" \u001b[90m[295af30f] \u001b[39mRevise v3.5.14\n",
" \u001b[90m[ce1149fb] \u001b[39mZauner v0.1.0 `~/Dropbox/Github/Zauner`\n",
" \u001b[90m[44cfe95a] \u001b[39mPkg v1.10.0\n",
"Package: RandomExtensions Version: 0.4.4\n",
"Package: PCRE2_jll Version: 10.42.0+1\n",
"Package: MutableArithmetics Version: 1.4.4\n",
"Package: IrrationalConstants Version: 0.2.2\n",
"Package: Mmap Version: nothing\n",
"Package: Documenter Version: 1.4.1\n",
"Package: DiffRules Version: 1.15.1\n",
"Package: LibGit2 Version: nothing\n",
"Package: Base64 Version: nothing\n",
"Package: oneTBB_jll Version: 2021.12.0+0\n",
"Package: RegistryInstances Version: 0.1.0\n",
"Package: OpenLibm_jll Version: 0.8.1+2\n",
"Package: Revise Version: 3.5.14\n",
"Package: Artifacts Version: nothing\n",
"Package: SCS Version: 2.0.0\n",
"Package: JSON Version: 0.21.4\n",
"Package: InteractiveUtils Version: nothing\n",
"Package: MarkdownAST Version: 0.1.2\n",
"Package: Preferences Version: 1.4.3\n",
"Package: FFTW Version: 1.8.0\n",
"Package: FLINT_jll Version: 300.100.300+0\n",
"Package: LibGit2_jll Version: 1.6.4+0\n",
"Package: FileWatching Version: nothing\n",
"Package: SuiteSparse_jll Version: 7.2.1+1\n",
"Package: Expat_jll Version: 2.6.2+0\n",
"Package: CompilerSupportLibraries_jll Version: 1.0.5+1\n",
"Package: DiffResults Version: 1.1.0\n",
"Package: AMRVW Version: 1.2.1\n",
"Package: LinearAlgebra Version: nothing\n",
"Package: OpenSSL_jll Version: 3.0.13+1\n",
"Package: JuliaInterpreter Version: 0.9.31\n",
"Package: Dates Version: nothing\n",
"Package: SpecialFunctions Version: 2.4.0\n",
"Package: BenchmarkTools Version: 1.5.0\n",
"Package: Hecke Version: 0.32.0\n",
"Package: Bzip2_jll Version: 1.0.8+1\n",
"Package: LoweredCodeUtils Version: 2.4.6\n",
"Package: Parsers Version: 2.8.1\n",
"Package: IOCapture Version: 0.2.4\n",
"Package: CodecBzip2 Version: 0.8.2\n",
"Package: Profile Version: nothing\n",
"Package: libblastrampoline_jll Version: 5.8.0+1\n",
"Package: LLVMOpenMP_jll Version: 15.0.7+0\n",
"Package: REPL Version: nothing\n",
"Package: GMP_jll Version: 6.2.1+6\n",
"Package: ArgTools Version: 1.1.1\n",
"Package: MKL_jll Version: 2024.1.0+0\n",
"Package: OpenBLAS_jll Version: 0.3.23+2\n",
"Package: SparseArrays Version: 1.10.0\n",
"Package: Sockets Version: nothing\n",
"Package: RecipesBase Version: 1.3.4\n",
"Package: AbstractFFTs Version: 1.5.0\n",
"Package: NetworkOptions Version: 1.2.0\n",
"Package: JLLWrappers Version: 1.5.0\n",
"Package: Git_jll Version: 2.44.0+2\n",
"Package: MPFR_jll Version: 4.2.0+1\n",
"Package: StaticArraysCore Version: 1.4.2\n",
"Package: PrecompileTools Version: 1.2.1\n",
"Package: AbstractAlgebra Version: 0.41.6\n",
"Package: Libiconv_jll Version: 1.17.0+0\n",
"Package: NaNMath Version: 1.0.2\n",
"Package: Zlib_jll Version: 1.2.13+1\n",
"Package: OrderedCollections Version: 1.6.3\n",
"Package: Zauner Version: 0.1.0\n",
"Package: LibSSH2_jll Version: 1.11.0+1\n",
"Package: AbstractTrees Version: 0.4.5\n",
"Package: TranscodingStreams Version: 0.10.8\n",
"Package: p7zip_jll Version: 17.4.0+2\n",
"Package: MozillaCACerts_jll Version: 2023.1.10\n",
"Package: Markdown Version: nothing\n",
"Package: Downloads Version: 1.6.0\n",
"Package: LDLFactorizations Version: 0.10.1\n",
"Package: Random Version: nothing\n",
"Package: AMD Version: 0.5.3\n",
"Package: LazilyInitializedFields Version: 1.2.2\n",
"Package: Serialization Version: nothing\n",
"Package: LibCURL_jll Version: 8.4.0+0\n",
"Package: ForwardDiff Version: 0.10.36\n",
"Package: Convex Version: 0.15.4\n",
"Package: LazyArtifacts Version: nothing\n",
"Package: OpenBLAS32_jll Version: 0.3.24+0\n",
"Package: Test Version: nothing\n",
"Package: QuadGK Version: 2.9.4\n",
"Package: Reexport Version: 1.2.2\n",
"Package: Statistics Version: 1.10.0\n",
"Package: CodeTracking Version: 1.3.5\n",
"Package: Polynomials Version: 3.2.13\n",
"Package: DataStructures Version: 0.18.20\n",
"Package: CommonSubexpressions Version: 0.3.0\n",
"Package: LogExpFunctions Version: 0.3.27\n",
"Package: Requires Version: 1.3.0\n",
"Package: IntelOpenMP_jll Version: 2024.1.0+0\n",
"Package: TOML Version: 1.0.3\n",
"Package: SCS_jll Version: 3.2.4+1\n",
"Package: LibCURL Version: 0.6.4\n",
"Package: MacroTools Version: 0.5.13\n",
"Package: FFTW_jll Version: 3.3.10+0\n",
"Package: Distributed Version: nothing\n",
"Package: MbedTLS_jll Version: 2.28.2+1\n",
"Package: Compat Version: 4.15.0\n",
"Package: OpenSpecFun_jll Version: 0.5.5+0\n",
"Package: Logging Version: nothing\n",
"Package: nghttp2_jll Version: 1.52.0+1\n",
"Package: SpecialMatrices Version: 3.0.0\n",
"Package: UUIDs Version: nothing\n",
"Package: Unicode Version: nothing\n",
"Package: Pkg Version: 1.10.0\n",
"Package: Tar Version: 1.10.0\n",
"Package: Printf Version: nothing\n",
"Package: GenericFFT Version: 0.1.6\n",
"Package: Nemo Version: 0.45.3\n",
"Package: Git Version: 1.3.1\n",
"Package: CodecZlib Version: 0.7.4\n",
"Package: MathOptInterface Version: 1.29.0\n",
"Package: SHA Version: 0.7.0\n",
"Package: Libdl Version: nothing\n",
"Package: ANSIColoredPrinters Version: 0.0.1\n",
"Package: DocStringExtensions Version: 0.9.3\n"
]
}
],
"execution_count": 4,
"id": "7e3bec6a-a7d1-45bc-854f-1bff4fa89ab3",
"metadata": {},
"outputs": [],
"source": [
"using Pkg\n",
"Pkg.status()\n",
"deps = Pkg.dependencies()\n",
"for (pkg, info) in deps\n",
" println(\"Package: \", info.name, \" Version: \", info.version)\n",
"end"
"using ProfileSVG, BenchmarkTools"
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 5,
"id": "c145373e-2b50-4ff7-8b10-62ccde87fed8",
"metadata": {},
"outputs": [
Expand All @@ -301,19 +90,19 @@
"output_type": "stream",
"text": [
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner algebraic tests | \u001b[32m 39 \u001b[39m\u001b[36m 39 \u001b[39m\u001b[0m0.4s\n",
"Zauner algebraic tests | \u001b[32m 39 \u001b[39m\u001b[36m 39 \u001b[39m\u001b[0m1.9s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner analytic tests | \u001b[32m 13 \u001b[39m\u001b[36m 13 \u001b[39m\u001b[0m0.1s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner quadform tests | \u001b[32m 16 \u001b[39m\u001b[36m 16 \u001b[39m\u001b[0m0.1s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner SL(2,ℤ) tests | \u001b[32m 45 \u001b[39m\u001b[36m 45 \u001b[39m\u001b[0m0.7s\n",
"Zauner SL(2,ℤ) tests | \u001b[32m 45 \u001b[39m\u001b[36m 45 \u001b[39m\u001b[0m0.6s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner double sine tests | \u001b[32m 34 \u001b[39m\u001b[36m 34 \u001b[39m\u001b[0m1.4s\n",
"Zauner double sine tests | \u001b[32m 34 \u001b[39m\u001b[36m 34 \u001b[39m\u001b[0m1.2s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner utils tests | \u001b[32m 35 \u001b[39m\u001b[36m 35 \u001b[39m\u001b[0m0.2s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1m Time\u001b[22m\n",
"Zauner ghost tests | \u001b[32m 75 \u001b[39m\u001b[36m 75 \u001b[39m\u001b[0m25.0s\n",
"Zauner ghost tests | \u001b[32m 75 \u001b[39m\u001b[36m 75 \u001b[39m\u001b[0m23.0s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
"Zauner precision_bump tests | \u001b[32m 5 \u001b[39m\u001b[36m 5 \u001b[39m\u001b[0m2.5s\n",
"\u001b[0m\u001b[1mTest Summary: | \u001b[22m\u001b[32m\u001b[1mPass \u001b[22m\u001b[39m\u001b[36m\u001b[1mTotal \u001b[22m\u001b[39m\u001b[0m\u001b[1mTime\u001b[22m\n",
Expand All @@ -323,15 +112,16 @@
{
"data": {
"text/plain": [
"Test.DefaultTestSet(\"Zauner galois tests\", Any[], 14, false, false, true, 1.716144850917581e9, 1.716144852134038e9, false, \"/Users/sflammia/Library/CloudStorage/Dropbox/Github/Zauner/test/runtests.jl\")"
"Test.DefaultTestSet(\"Zauner galois tests\", Any[], 14, false, false, true, 1.716404188328442e9, 1.716404189564781e9, false, \"/Users/sflammia/Library/CloudStorage/Dropbox/Github/Zauner/test/runtests.jl\")"
]
},
"execution_count": 10,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"AdmissibleTuple(4) # trigger precompilation\n",
"include(\"../test/runtests.jl\")"
]
},
Expand Down
Loading

0 comments on commit 9d2c1e2

Please sign in to comment.