tREADME.rst - numeric - C++ library with numerical algorithms
(HTM) git clone git://src.adamsgaard.dk/numeric
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) 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 clear
8 syntax that feels natural for the language, in a coding style that is felt as
9 good practice.
10
11 The program must check that the matrix width/height has been given as a command
12 line argument, and exit with an error of the string "Sorry, I need matrix width
13 as command line argument", if not given.
14
15 All codes must produce the following matrices, when given the command line
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 during
28 development.
29