Commit 2ff6d3b
authored
Dev (#41)
* 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 notice
* merge
* Drop Create Commons
* cleanup after merge
* update support computations
* insupport(d::SuperpositionMeasure, x)
* dorp ParamWeighted
* insupport(d::FactoredBase, x)
* export unsafe_logdensityof
* call promote_type instead of promote_rule
* logdensity_def for named tuple product measures
* type annotation for now
* debugging
* drop shows
* speed up mapped arrays
* throw an error for `Union{}` types
* MT tests passing
* updates
* get tests passing
* MIT license for MeasureBase
* bump version
* cleanup
* spacing
* Move ConditionalMeasure to MeasureBase
* add LogarithmicNumbers
* export basemeasure_sequence
* update superpose
* fix logdensity_rel
* remove FIXME (it's fixed!!)
* logdensityof(d::Density, x)
* simplify insupport(::Lebesgue, ::Real)
* clean up
* assume insupport yields Bool
* change logdensity_rel fall-through to warning and return NaN
* update logdensity_rel
* drop old code
* fix warning
* export logdensity_rel
* logdensity_def(μ::Dirac, ν::Dirac, x)
* logdensity_def methods
* drop `static`
* ]add StatsFuns
* Fixing up superposition
* [compat] entries
* trying to speed things up
* bugfixes
* logdensity_rel tests
* logdensity_rel tests
* drop qualifier, and add a test
* more tests
* type constraint in "logdensityof(μ::AbstractMeasure, x)" (was piracy, oops)
* add some docs
* docs
* docs
* typo
* moar speed
* don't export Test
* some more updates
* logdensity_rel for products
* `kleisli` docs
* update instance_type
* instance_type => Core.Typeof
* `powermeasure` bug fix
* fix logdensity_rel bug
* get `commonbase` to take x type into account
* test powers
* commonbase docstring
* deprecate instance_type
* avoid breakage
* switch || terms
* @ifelse macro
* simplify logdensity_rel
* give up on this @ifelse business
* bump version1 parent d1c8540 commit 2ff6d3b
File tree
11 files changed
+120
-73
lines changed- src
- combinators
- primitives
- test
11 files changed
+120
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
202 | 218 | | |
203 | 219 | | |
204 | 220 | | |
| |||
210 | 226 | | |
211 | 227 | | |
212 | 228 | | |
213 | | - | |
| 229 | + | |
214 | 230 | | |
215 | 231 | | |
216 | 232 | | |
217 | 233 | | |
218 | 234 | | |
| 235 | + | |
219 | 236 | | |
220 | 237 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
234 | 242 | | |
235 | 243 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
250 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
22 | 37 | | |
23 | 38 | | |
24 | 39 | | |
25 | 40 | | |
26 | 41 | | |
27 | 42 | | |
28 | | - | |
| 43 | + | |
29 | 44 | | |
30 | 45 | | |
31 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
70 | 65 | | |
71 | 66 | | |
72 | 67 | | |
| 68 | + | |
| 69 | + | |
73 | 70 | | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
0 commit comments