tREADME.rst - numeric - C++ library with numerical algorithms | |
git clone git://src.adamsgaard.dk/numeric | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
tREADME.rst (904B) | |
--- | |
1 =============================== | |
2 MATRIX MULTIPLICATION BENCHMARK | |
3 =============================== | |
4 This benchmark aims to test the computational speed of a simple matrix | |
5 multiplication in double precision of square matrices. | |
6 | |
7 The code written should be stripped of comments, but be written in a cle… | |
8 syntax that feels natural for the language, in a coding style that is fe… | |
9 good practice. | |
10 | |
11 The program must check that the matrix width/height has been given as a … | |
12 line argument, and exit with an error of the string "Sorry, I need matri… | |
13 as command line argument", if not given. | |
14 | |
15 All codes must produce the following matrices, when given the command li… | |
16 argument '2': | |
17 | |
18 A = [[2.0 2.0] | |
19 [2.0 2.0]] | |
20 | |
21 B = [[0.0 2.0] | |
22 [1.0 3.0]] | |
23 | |
24 C = [[2.0 10.0] | |
25 [2.0 10.0]] | |
26 | |
27 The programs should not display this output, but should be validated dur… | |
28 development. | |
29 |