All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----rsf.operator.ElwInv
1/x[i]. Ifx[1]is close to zero, I replace it byeps.
ewithAbs(e) < epsis replaced byepsor-epsas appropiate.
public ElwInv(RsfSpace spc, float eps)
ewithAbs(e) < epsis replaced byepsor-epsas appropiate. This prevents a division by zero. A practical eps value might be 1.0e-12f. No catching of NaN or INFINITE numbers yet
public ElwInv(RsfSpace spc, Float eps)ElwInv
public ElwInv(RsfSpace spc)
public JamObject copy()image
public Vector image(Vector d)image
public void image(Vector d, Vector r)addImage
public void addImage(Vector d, Vector r)residual
public void residual(Vector d, Vector b, Vector r)getDomain
public Space getDomain()getRange
public Space getRange()main
public static void main(String args[])elwInv
public static void elwInv(Vector data)elwInvDivByZeroIsZero
public static void elwInvDivByZeroIsZero(Vector data)elwInv
public static void elwInv(Vector data, float eps)elwInv
public static void elwInv(Vector data, float eps, float upper)
All Packages Class Hierarchy This Package Previous Next Index