public class Direction.Uniform.M extends Direction.M
Direction.Uniform.Mdl should be sufficient for many purposes, but here is
M, the class of fully parameterised Uniform Direction Models.
The UnParameterised Model is Uniform.R_D.M.TransformModel.DefaultsValue.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple| Constructor and Description |
|---|
M(double msg1,
double msg2,
Value sp)
Requires msg1=0, sp=triv.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nlLH(Value ss)
Assumes that
statistics
are the data-set itself. |
double |
nlPdf(Value v)
The negative log probability density,
that is
logArea. |
void |
random(double[] x)
Generate a random Direction, a random unit Vector in
RD.
|
nlPrasEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTrivpublic M(double msg1,
double msg2,
Value sp)
public double nlPdf(Value v)
logArea.nlPdf in interface HasPdfnlPdf in class Direction.Mpublic double nlLH(Value ss)
statistics
are the data-set itself.