public class NhoodSum extends java.lang.Object implements NhoodMapping
Constructor and Description |
---|
NhoodSum(DblMatrix xx)
Construct an NhoodMapping that will calculate the cardinal sums for a matrix X.
|
Modifier and Type | Method and Description |
---|---|
void |
applyMapping(int index,
DblMatrix codes,
int[] indices)
Operates only on a vector of StencilCodes and an int[] of
indices where those StencilCoded functions should be implemented and
the index of the "home" node (usually the center node).
|
DblMatrix |
getSum() |
public NhoodSum(DblMatrix xx)
public void applyMapping(int index, DblMatrix codes, int[] indices)
NhoodMapping
applyMapping
in interface NhoodMapping
public DblMatrix getSum()
Copyright © 2011, 2013. Daniel P. Dougherty