public abstract class Simplex extends R_D
MultiState.M
.Direction
for another
K-dimensional subspace of RK+1.Modifier and Type | Class and Description |
---|---|
static class |
Simplex.Uniform
The UnParameterised Uniform Model over a K_Simplex data-space
(
Mdl is fully parameterised). |
R_D.Forest, R_D.ForestSearch, R_D.Independent, R_D.M, R_D.NrmDir, R_D.Transform
UPModel.Est
Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
Value.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
Modifier and Type | Method and Description |
---|---|
void |
check(Value v)
Perform a validity check on datum v —
that it is L1-normalised.
|
int |
D()
D, the dimension of [0, 1]D which contains
the K-Simplex; D =
K() +1. |
abstract int |
K()
K, the dimension (degrees of freedom) of the data-space
which is a sub-space of [0, 1]K+1.
|
double |
logArea()
The area of the standard K-
Simplex is
(√(K+1))/K!, so log of that. |
ds2L1stats, ds2NorL1stats, ds2Nstats, sp2Model, transform
apply, defnParams, estimator, main, stats, stats, stats, stats, toString, transform
public Simplex(Value dp)
public abstract int K()
D
-1.
Also see Direction.K()
.public double logArea()
Simplex
is
(√(K+1))/K!, so log of that. E.g.,
(i) Bool ~ 1-Simplex, vol=√2;
(ii) {R|G|B} ~ 2-Simplex, vol=(√3)/2!;
(iii) DNA ~ 3-Simplex, vol=1/3 = (√(K+1))/K!;
... etc..public void check(Value v)