public abstract class Accumulator<T extends RealType<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected double |
x |
protected double |
xx |
protected double |
xy |
protected double |
y |
protected double |
yy |
Modifier | Constructor and Description |
---|---|
|
Accumulator(TwinCursor<T> cursor)
The two values x and y from each cursor iteration to get
summed up as single values and their combinations.
|
protected |
Accumulator(TwinCursor<T> cursor,
boolean substract,
double xDiff,
double yDiff) |
|
Accumulator(TwinCursor<T> cursor,
double xDiff,
double yDiff)
The two values (x - xDiff) and (y - yDiff) from each cursor
iteration to get summed up as single values and their combinations.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(T type1,
T type2) |
int |
getCount() |
double |
getX() |
double |
getXX() |
double |
getXY() |
double |
getY() |
double |
getYY() |
protected double x
protected double y
protected double xx
protected double xy
protected double yy
protected int count
public Accumulator(TwinCursor<T> cursor)
public Accumulator(TwinCursor<T> cursor, double xDiff, double yDiff)
protected Accumulator(TwinCursor<T> cursor, boolean substract, double xDiff, double yDiff)
Copyright © 2015–2021 Fiji. All rights reserved.