Class PositiveOrZero
- java.lang.Object
-
- com.opengamma.strata.math.impl.minimization.PositiveOrZero
-
- All Implemented Interfaces:
Function<DoubleArray,Boolean>
public class PositiveOrZero extends Object implements Function<DoubleArray,Boolean>
A function from a vector x (DoubleArray
to Boolean that returns true iff all the elements of x are positive or zero.
-
-
Constructor Summary
Constructors Constructor Description PositiveOrZero()
-
-
-
Method Detail
-
apply
public Boolean apply(DoubleArray x)
- Specified by:
apply
in interfaceFunction<DoubleArray,Boolean>
-
-