Class LinearCombinationPerformance.LengthFactors
- java.lang.Object
-
- org.apache.commons.numbers.examples.jmh.core.LinearCombinationPerformance.Factors
-
- org.apache.commons.numbers.examples.jmh.core.LinearCombinationPerformance.LengthFactors
-
- Direct Known Subclasses:
LinearCombinationPerformance_LengthFactors_jmhType_B1
- Enclosing class:
- LinearCombinationPerformance
public static class LinearCombinationPerformance.LengthFactors extends LinearCombinationPerformance.Factors
The factors to multiply of a specific length.
-
-
Constructor Summary
Constructors Constructor Description LengthFactors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Gets the length of the array of factors.-
Methods inherited from class org.apache.commons.numbers.examples.jmh.core.LinearCombinationPerformance.Factors
getA, getB, getSize, setup
-
-
-
-
Method Detail
-
getLength
public int getLength()
Gets the length of the array of factors. This exists to be overridden by factors of a specific length. The default is to create factors of length 4 for use in the inlined scalar product methods.- Overrides:
getLength
in classLinearCombinationPerformance.Factors
- Returns:
- the length
-
-