treadme added - numeric - C++ library with numerical algorithms | |
git clone git://src.adamsgaard.dk/numeric | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5e1cf2972d2e6b2d5b2f811346f4e1d1302b1de7 | |
parent 05d8fdbca877ba617f1813575dfb1a1968c40dc2 | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Wed, 23 Jan 2013 07:37:36 +0100 | |
readme added | |
Diffstat: | |
A matrixmul/README.rst | 29 +++++++++++++++++++++++++++++ | |
1 file changed, 29 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/matrixmul/README.rst b/matrixmul/README.rst | |
t@@ -0,0 +1,29 @@ | |
+=============================== | |
+MATRIX MULTIPLICATION BENCHMARK | |
+=============================== | |
+This benchmark aims to test the computational speed of a simple matrix | |
+multiplication of square matrices. | |
+ | |
+The code written should be stripped of comments, but be written in a clear | |
+syntax that feels natural for the language, in a coding style that is felt as | |
+good practice. | |
+ | |
+The program must check that the matrix width/height has been given as a command | |
+line argument, and exit with an error of the string "Sorry, I need matrix widt… | |
+as command line argument", if not given. | |
+ | |
+All codes must produce the following matrices, when given the command line | |
+argument '2': | |
+ | |
+ A = [[2.0 2.0] | |
+ [2.0 2.0]] | |
+ | |
+ B = [[0.0 2.0] | |
+ [1.0 3.0]] | |
+ | |
+ C = [[2.0 10.0] | |
+ [2.0 10.0]] | |
+ | |
+The programs should not display this output, but should be validated during | |
+development. | |
+ |