I - input typeO - output typepublic class IterableVariance<I extends RealType<I>,O extends RealType<O>> extends AbstractStatsOp<Iterable<I>,O> implements Ops.Stats.Variance
Op to calculate the stats.variance using the online algorithm
from Knuth and Welford.SpecialOp.FlavorNAME| Constructor and Description |
|---|
IterableVariance() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(Iterable<I> input,
O output)
Computes the output given some input.
|
createOutputin, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, calculate, createOutput, getIndependentInstance, run, runcomputein, setInputrunsetOutputcandidates, filterArity, opinitializepublic void compute(Iterable<I> input, O output)
UnaryComputerOpCopyright © 2014–2022 ImageJ. All rights reserved.