Interface LinearCombination.ThreeD
-
- All Known Implementing Classes:
LinearCombinations.Dekker
,LinearCombinations.Dot2s
,LinearCombinations.DotK
,LinearCombinations.Exact
,LinearCombinations.ExtendedPrecision
- Enclosing interface:
- LinearCombination
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface LinearCombination.ThreeD
Compute the sum of the products of two sequences of 3 factors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
value(double a1, double b1, double a2, double b2, double a3, double b3)
Compute the sum of the products of two sequences of factors.
-
-
-
Method Detail
-
value
double value(double a1, double b1, double a2, double b2, double a3, double b3)
Compute the sum of the products of two sequences of factors.- Parameters:
a1
- First factor of the first term.b1
- Second factor of the first term.a2
- First factor of the second term.b2
- Second factor of the second term.a3
- First factor of the third term.b3
- Second factor of the third term.- Returns:
- \( a_1 b_1 + a_2 b_2 + a_3 b_3 \)
-
-