Commit 41ccea4
authored
Dev (#30)
* some refactoring
* pretty printing
* some updates for resettablerng
* deepcopy on iterate
* Move ResettableRNG to MeasureTheory
* Make Pretty a const
* drop extra spaces
* formatting
* formatting
* formatting
* add DensityInterface dependency
* faster `rootmeasure`
* updates
* primitive measure docs
* get tests passing
* cleaning up
* formatting
* drop some unneeded methods
* update for DensityInterface
* updating densities to DensityInterface approach
* update domains
* moving things around
* updates to IntegerBounds
* more domain mucking
* fix some exports
* update deps
* update `using`
* working on tests
* Working toward tests passing
* some refactoring
* working on tests
* cleaning up
* get tests to pass
* tests passing
* update logdensity_def for pointwise product
* PrettyPrinting + tests
* speed up `rootmeasure`
* oops didn't mean to include that
* tile(::FactoredBase)
* Update Half and FactoredBase
* drop exp.jl
* simplify basemeasure
* drop old `include`
* drop redundant method
* update compat Returns
* add AbstractDensity
* Move Affine to MeasureTheory
* drop some old `For` code
* update counting measure
* add testvalue(::Type{T})
* bugfix
* some dispatch adjustments
* simplify show
* formatting
* transformed measures
* ZeroSets
* using LinearAlgebra, Statistics
* working on MeasureTheory tests
* updates
* updates
* typo
* update default to mimic Base
* fix tile(::Lebesgue)
* Add test_interface function
* small doc update
* DensityKind(::Likelihood)
* fixing show(::Likelihood)
* adding some docs
* update `rand` method
* drop old integration code
* add `rebase`
* export rebase
* law for ⊗
* typo
* Make Likelihood more flexible
* update kernel methods
* add Likelihood method (avoid stack overflow)
* refactoring
* compat
* Maybe Comat just works?
* refactoring
* some new stuff
* working on tests
* update powermeasure combinator
* bugfix
* comment out debugging lines
* more refactoring
* test @inferred basemeasure_depth(μ)
* drop `constructor` (just use ConstructionBase.constructorof`)
* debugging
* update help
* update interface
* make tests harder
* fixes
* Dirac bugfix
* formatting
* improve type inference
* working on type inference
* update interface
* udpates
* get test passing
* @test !isabstracttype(typejoin(...))
* work on show methods
* update CI
* remove old code
* update productmeasure
* prettyprinting stuff
* Drop te @constprop :aggressive stuff (maybe don't need it?)
* nerline
* dropping some old code
* update tbasemeasure_type(::PowerMeasure)
* moar tests
* update SpikeMixture
* update superpose type parameter name
* drop old tests
* func_string
* more updates
* getting closer
* almost there!
* generated function for type stability
* tests passing!
* newline
* more fixes
* exports and bugfix
* insupport(μ::Counting{T}, x) where {T<:Type}
* working on MeasureTheory tests
* MeasureTheory tests passing
* drop some old code
* inlining
* improve inference
* update `tile(::For)`
* tighten down infrerence
* update basemeasure(::For) for generators
* loosen type bound on instance_type
* drop debugging code
* small update for Likelihood, and a test
* fixing up likelihoods
* improve `basemeasure_depth` dispatch
* still some trouble with inferred basemeasure_depth
* clean up `For` dispatch
* simplify _logdensityof
* optimize for Returns{True} case
* rework basemeasure_depth
* aggressive tests passing!!
* drop type-level stuff
* drop help
* license
* affero
* copyright notice1 parent 917304d commit 41ccea4
45 files changed
Lines changed: 68202 additions & 1341 deletions
File tree
- .github/workflows
- src
- combinators
- primitives
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | | - | |
24 | 27 | | |
25 | | - | |
26 | 28 | | |
27 | 29 | | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
7 | 21 | | |
8 | 22 | | |
9 | | - | |
10 | | - | |
| 23 | + | |
11 | 24 | | |
12 | 25 | | |
13 | | - | |
| 26 | + | |
| 27 | + | |
14 | 28 | | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
18 | 32 | | |
19 | | - | |
| 33 | + | |
20 | 34 | | |
21 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
22 | 41 | | |
23 | | - | |
| 42 | + | |
24 | 43 | | |
25 | | - | |
| 44 | + | |
26 | 45 | | |
27 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
28 | 49 | | |
29 | | - | |
| 50 | + | |
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
33 | 54 | | |
34 | | - | |
| 55 | + | |
35 | 56 | | |
36 | 57 | | |
37 | 58 | | |
38 | 59 | | |
39 | 60 | | |
40 | 61 | | |
41 | 62 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 63 | + | |
49 | 64 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 65 | + | |
53 | 66 | | |
54 | | - | |
| 67 | + | |
| 68 | + | |
55 | 69 | | |
56 | | - | |
57 | 70 | | |
58 | | - | |
59 | 71 | | |
| 72 | + | |
60 | 73 | | |
61 | 74 | | |
62 | | - | |
63 | 75 | | |
64 | | - | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| 81 | + | |
| 82 | + | |
70 | 83 | | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
76 | | - | |
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
80 | 92 | | |
81 | 93 | | |
| 94 | + | |
82 | 95 | | |
83 | 96 | | |
84 | 97 | | |
85 | 98 | | |
| 99 | + | |
86 | 100 | | |
87 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
0 commit comments