Skip to content

Commit 92087b1

Browse files
committed
some documentation and one test
1 parent df6823a commit 92087b1

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "Spiders"
1+
name = "Mandelbrot"
22
uuid = "52854307-bbd1-4ac7-933f-adc0936abe8a"
33
authors = ["Jeffrey Wack"]
44
version = "0.1.0"

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
# Spiders
1+
# Mandelbrot
2+
3+
This package implements several algorithms related to complex quadratic dynamics.
4+
- The spider algorithm calculates the center of a hyperbolic component of the Mandelbrot set from one of its external angles. [Read about the spider algorithm.](https://pi.math.cornell.edu/~hubbard/SpidersFinal.pdf)
5+
- The external angles of a hyperbolic component can be calculated from an angled internal address, describing the path to this component from zero. [Read about internal addresses.](https://arxiv.org/abs/math/9411238)
6+
- A combinatorial description of a Hubbard trees can be generated from a kneading sequence, and when oriented in the plane can produce external angles. [Read about Hubbard trees.](https://www.mat.univie.ac.at/~bruin/papers/bkafsch.pdf)
7+
8+
This package is a work in progress. Currently, KneadingSequence, AngledInternalAddress, HubbardTree, and OrientedHubbardTree can be constructed. To run the spider algorithm use parameter().
29

310
[![Build Status](https://github.com/jeffwack111/Spiders.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jeffwack111/Spiders.jl/actions/workflows/CI.yml?query=branch%3Amain)

src/Spiders.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ export HubbardTree
99
export AngledInternalAddress
1010
export OrientedHubbardTree
1111

12-
export HyperbolicComponent
12+
export parameter
1313

14-
export treeplot
14+
#export HyperbolicComponent
15+
16+
#export treeplot
1517

1618
end

src/trees/Lamination.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ end
149149

150150
function conjugate(angle::Rational)
151151
orb = orbit(angle)
152-
n = period(orb)
152+
n = orb.period
153153

154154
halfa = angle/2
155155
halfb = angle/2 + 1//2

src/trees/OrientTrees.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
include("HubbardTrees.jl")
22

3+
"A combinatorial Hubbard tree with cyclic order at each vertex.
4+
It can be constructed from an AngledInternalAddress
5+
or a rational angle, and it can be used to construct a HyperbolicComponent"
36
struct OrientedHubbardTree <: AbstractHubbardTree
47
adj::Dict{Sequence,Vector{Sequence}}
58
criticalpoint::KneadingSequence

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ using Spiders
22
using Test
33

44
@testset "Spiders.jl" begin
5-
# Write your tests here.
5+
@test KneadingSequence(3//5) == KneadingSequence(2//5)
66
end

0 commit comments

Comments
 (0)