edu.northwestern.at.utils.math.matrix
Interface MatrixEBEOperation


public interface MatrixEBEOperation

Perform element-by-element operation on a matrix.

Encapsulates an operation that can be performed on elements at the same position in two matrices.


Method Summary
 double apply(double a, double b)
          Apply an operation to matrix elements.
 

Method Detail

apply

double apply(double a,
             double b)
Apply an operation to matrix elements.

Parameters:
a - Matrix element.
b - Matrix element.
Returns:
Result of applying operation to a and b.