Revision 937, 0.6 kB
(checked in by smidl, 15 years ago)
|
matlab class extension for pdf
|
Line | |
---|
1 | classdef mexBM |
---|
2 | properties |
---|
3 | % from wikipedia |
---|
4 | rv |
---|
5 | rvc |
---|
6 | rvy |
---|
7 | end |
---|
8 | methods |
---|
9 | function validate(p) |
---|
10 | if size(p.mu)<1 & (size(p.b)<1) |
---|
11 | error('incompatible mu and b'); |
---|
12 | end |
---|
13 | end |
---|
14 | function dims=dimensions(p) |
---|
15 | %please fill |
---|
16 | [size_of_posterior size_of_data size_of_condition] |
---|
17 | end |
---|
18 | function obj=bayes(obj,dt,cond) |
---|
19 | % transform old estimate into new estimate |
---|
20 | end |
---|
21 | function p=posterior(obj) |
---|
22 | % return posterior density |
---|
23 | end |
---|
24 | end |
---|
25 | end |
---|