java.lang.Object
org.zfcj.math.numbers.RealDivision
- All Implemented Interfaces:
org.zfcj.math.set.BiFunction<RealNumber,,RealNumber, RealNumber> org.zfcj.math.set.BinaryOperator<RealNumber>
A
BinaryOperator that divides two RealNumbers
and returns the quotient-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(RealNumber r, RealNumber s) Applies the function to the given input elements t and u and returns the corresponding output elementstatic RealNumbercalculate(RealNumber r, RealNumber s) Calculates the quotient of the givenRealNumbers r and s and returns the result
-
Constructor Details
-
RealDivision
public RealDivision()
-
-
Method Details
-
apply
Description copied from interface:org.zfcj.math.set.BiFunctionApplies the function to the given input elements t and u and returns the corresponding output element- Specified by:
applyin interfaceorg.zfcj.math.set.BiFunction<RealNumber,RealNumber, RealNumber> - Parameters:
r- an element of the first sets- an element of the second set
-
calculate
Calculates the quotient of the givenRealNumbers r and s and returns the result- Parameters:
r- the first numbers- the second number- Returns:
- the quotient of dividing the given numbers
-