Package org.ujmp.core.benchmark
Class AbstractMatrix2DBenchmark
java.lang.Object
org.ujmp.core.benchmark.AbstractMatrix2DBenchmark
- All Implemented Interfaces:
MatrixBenchmark
- Direct Known Subclasses:
ArrayDenseDoubleMatrix2DBenchmark
,BlockDenseDoubleMatrix2DBenchmark
,ColtDenseDoubleMatrix2DBenchmark
,ColtSparseDoubleMatrix2DBenchmark
,CommonsMathArrayDenseDoubleMatrix2DBenchmark
,CommonsMathBlockDenseDoubleMatrix2DBenchmark
,DefaultDenseDoubleMatrix2DBenchmark
,JamaDenseDoubleMatrix2DBenchmark
,JBlasDenseDoubleMatrix2DBenchmark
,VecMathDenseDoubleMatrix2DBenchmark
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DoubleMatrix2D
createMatrix
(long... size) abstract DoubleMatrix2D
createMatrix
(Matrix source) final BenchmarkConfig
final Class<? extends DoubleMatrix2D>
final String
final void
run()
void
-
Field Details
-
config
-
benchmarkSeed
private static long benchmarkSeed
-
-
Constructor Details
-
AbstractMatrix2DBenchmark
public AbstractMatrix2DBenchmark()
-
-
Method Details
-
createMatrix
-
createMatrix
-
getMatrixLabel
- Specified by:
getMatrixLabel
in interfaceMatrixBenchmark
-
getMatrixClass
- Specified by:
getMatrixClass
in interfaceMatrixBenchmark
-
getConfig
- Specified by:
getConfig
in interfaceMatrixBenchmark
-
setName
-
run
public final void run()- Specified by:
run
in interfaceMatrixBenchmark
-