public class PureFunctions extends Functions
Modifier and Type | Field and Description |
---|---|
static water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> |
PLUS |
static water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> |
PROD |
static water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> |
PRODUCT |
static water.util.fp.PureFunctions.Function<java.lang.Double,java.lang.Double> |
SQUARE |
static water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> |
SUM |
static water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> |
SUM_OF_SQUARES |
static water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> |
X2_PLUS_Y2 |
static water.util.fp.PureFunctions.Function3<java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double> |
X2_PLUS_Y2_PLUS_Z2 |
Constructor and Description |
---|
PureFunctions() |
Modifier and Type | Method and Description |
---|---|
static <X,Y,Z> water.util.fp.PureFunctions.Function<X,Z> |
compose(water.util.fp.PureFunctions.Function<X,Y> f,
water.util.fp.PureFunctions.Function<Y,Z> g) |
public static final water.util.fp.PureFunctions.Function<java.lang.Double,java.lang.Double> SQUARE
public static final water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> PLUS
public static final water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> PROD
public static final water.util.fp.PureFunctions.Function2<java.lang.Double,java.lang.Double,java.lang.Double> X2_PLUS_Y2
public static final water.util.fp.PureFunctions.Function3<java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double> X2_PLUS_Y2_PLUS_Z2
public static final water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> SUM
public static final water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> SUM_OF_SQUARES
public static final water.util.fp.PureFunctions.Foldable<java.lang.Double,java.lang.Double> PRODUCT