
org.psjava.formula.ReflectionOnYAxis Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of psjava Show documentation
Show all versions of psjava Show documentation
Problem Solving Library for Java
package org.psjava.formula;
import org.psjava.ds.math.Function;
import org.psjava.ds.numbersystrem.AddInvert;
import org.psjava.ds.numbersystrem.IntegerDivisableNumberSystem;
public class ReflectionOnYAxis {
public static Function create(final IntegerDivisableNumberSystem inputNumberSystem, final Function original) {
return new Function() {
@Override
public O get(I input) {
return original.get(AddInvert.calc(inputNumberSystem, input));
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy