public abstract class Sequences extends UPModel
Sequences.M
.
Here a Sequence is finite and is represented by a Vector.Modifier and Type | Class and Description |
---|---|
static class |
Sequences.K
Sequence.K uses the same Model,
Sequences.K.eltUPM (parameterised),
for every element of every Sequence datum. |
static class |
Sequences.LtoR
The UnParameterised Left-to-Right Model of Sequences.
|
class |
Sequences.M
The fully parameterised Model of Sequences;
Sequences is the UnParameterised Model. |
UPModel.Est, UPModel.Transform
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 | Field and Description |
---|---|
protected Discretes |
lengthUPM
The UnParameterised Model of the lengths of Sequences.
|
Constructor and Description |
---|
Sequences(Value dp)
Problem definition parameter(s) 'dp'.
|
Modifier and Type | Method and Description |
---|---|
Value |
lengthStats(boolean add,
Value ss0,
Value ss1)
Get
lengthUPM 's stats(add,ss0,ss1) on lengths. |
Value |
lengthStats(Vector ds,
int lo,
int hi)
Get
lengthUPM 's statistics on lengths out
of 'ds[lo,hi)'. |
apply, defnParams, estimator, main, sp2Model, stats, stats, stats, stats, toString, transform
protected Discretes lengthUPM
Sequences.M.lengthMdl
. A constructor must set it.public Sequences(Value dp)