Package cern.colt.matrix.bench
Class BenchmarkMatrix
java.lang.Object
cern.colt.matrix.bench.BenchmarkMatrix
Configurable matrix benchmark.
Runs the operations defined in main(args) or in the file specified by args.
To get this overall help on usage type java cern.colt.matrix.bench.BenchmarkMatrix -help.
To get help on usage of a given command, type java cern.colt.matrix.bench.BenchmarkMatrix -help <command>.
Here is the help ouput for the dgemm command.
Here is a sample result.
For more results see the performance log.
- Version:
- 0.5, 10-May-2000
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
bench_dgemm
(String[] args) Not yet documented.protected static void
bench_dgemv
(String[] args) Not yet documented.protected static void
Not yet documented.protected static void
benchGeneric
(Double2DProcedure fun, String[] args) Not yet documented.protected static String
commands()
protected static Double2DProcedure
fun_dgemm
(boolean transposeA, boolean transposeB) Linear algebrax matrix-matrix multiply.protected static Double2DProcedure
fun_dgemv
(boolean transposeA) Linear algebrax matrix-matrix multiply.protected static Double2DProcedure
fun_pow
(int k) 2D assign with get,setprotected static Double2DProcedure
2D assign with A.assign(B)protected static Double2DProcedure
2D assign with get,setprotected static Double2DProcedure
2D assign with getQuick,setQuickprotected static Double2DProcedure
2D assign with A.assign(B)protected static Double2DProcedure
2D assign with A.assign(B)protected static Double2DProcedure
Linear algebrax matrix-matrix multiply.protected static Double2DProcedure
Element-by-element matrix-matrix multiply.protected static Double2DProcedure
Element-by-element matrix-matrix multiply.protected static Double2DProcedure
2D assign with get,setprotected static Double2DProcedure
2D assign with getQuick,setQuickprotected static Double2DProcedure
2D assign with getQuick,setQuickprotected static Double2DProcedure
Linear algebrax matrix-matrix multiply.protected static Double2DProcedure
Linear algebrax matrix-vector multiply.protected static Double2DProcedure
2D assign with get,setprotected static Double2DProcedure
funSOR5()
protected static Double2DProcedure
funSOR8()
protected static Double2DProcedure
funSort()
protected static DoubleFactory2D
getFactory
(String type) Not yet documented.protected static Double2DProcedure
getGenericFunction
(String cmd) Not yet documented.protected static boolean
Executes a commandstatic void
Runs the matrix benchmark operations defined in args or in the file specified by args0.protected static void
run
(double minSeconds, String title, Double2DProcedure function, String[] types, int[] sizes, double[] densities) Executes procedure repeatadly until more than minSeconds have elapsed.protected static void
runSpecial
(double minSeconds, String title, Double2DProcedure function) Executes procedure repeatadly until more than minSeconds have elapsed.protected static String
usage()
Overall usage.protected static String
Usage of a specific command.
-
Constructor Details
-
BenchmarkMatrix
protected BenchmarkMatrix()Benchmark constructor comment.
-
-
Method Details
-
bench_dgemm
Not yet documented. -
bench_dgemv
Not yet documented. -
bench_pow
Not yet documented. -
benchGeneric
Not yet documented. -
commands
-
fun_dgemm
Linear algebrax matrix-matrix multiply. -
fun_dgemv
Linear algebrax matrix-matrix multiply. -
fun_pow
2D assign with get,set -
funAssign
2D assign with A.assign(B) -
funAssignGetSet
2D assign with get,set -
funAssignGetSetQuick
2D assign with getQuick,setQuick -
funAssignLog
2D assign with A.assign(B) -
funAssignPlusMult
2D assign with A.assign(B) -
funCorrelation
Linear algebrax matrix-matrix multiply. -
funElementwiseMult
Element-by-element matrix-matrix multiply. -
funElementwiseMultB
Element-by-element matrix-matrix multiply. -
funGetQuick
2D assign with get,set -
funLUDecompose
2D assign with getQuick,setQuick -
funLUSolve
2D assign with getQuick,setQuick -
funMatMultLarge
Linear algebrax matrix-matrix multiply. -
funMatVectorMult
Linear algebrax matrix-vector multiply. -
funSetQuick
2D assign with get,set -
funSOR5
-
funSOR8
-
funSort
-
getFactory
Not yet documented. -
getGenericFunction
Not yet documented. -
handle
Executes a command -
main
Runs the matrix benchmark operations defined in args or in the file specified by args0. To get detailed help on usage type java cern.colt.matrix.bench.BenchmarkMatrix -help -
run
protected static void run(double minSeconds, String title, Double2DProcedure function, String[] types, int[] sizes, double[] densities) Executes procedure repeatadly until more than minSeconds have elapsed. -
runSpecial
Executes procedure repeatadly until more than minSeconds have elapsed. -
usage
Overall usage. -
usage
Usage of a specific command.
-