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.Flavor
NAME
Constructor and Description |
---|
IterableVariance() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Iterable<I> input,
O output)
Computes the output given some input.
|
createOutput
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
initialize
public void compute(Iterable<I> input, O output)
UnaryComputerOp
Copyright © 2014–2022 ImageJ. All rights reserved.