Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 1 | Value constructor |
| 2 | Value constructor |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 3 | v1 = [1.000000, 2.000000] |
| 4 | v2 = [3.000000, -1.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 5 | Value constructor |
| 6 | Copy constructor |
| 7 | Destructor. |
| 8 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 9 | v1+v2 = [4.000000, 1.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 10 | Value constructor |
| 11 | Copy constructor |
| 12 | Destructor. |
| 13 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 14 | v1-v2 = [-2.000000, 3.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 15 | Value constructor |
| 16 | Copy constructor |
| 17 | Destructor. |
| 18 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 19 | v1-8 = [-7.000000, -6.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 20 | Value constructor |
| 21 | Copy constructor |
| 22 | Destructor. |
| 23 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 24 | v1+8 = [9.000000, 10.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 25 | Value constructor |
| 26 | Copy constructor |
| 27 | Destructor. |
| 28 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 29 | v1*8 = [8.000000, 16.000000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 30 | Value constructor |
| 31 | Copy constructor |
| 32 | Destructor. |
| 33 | Destructor. |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 34 | v1/8 = [0.125000, 0.250000] |
Wenzel Jakob | be0e834 | 2015-10-01 16:48:34 +0200 | [diff] [blame] | 35 | Value constructor |
| 36 | Copy constructor |
| 37 | Destructor. |
| 38 | Destructor. |
| 39 | 8-v1 = [7.000000, 6.000000] |
| 40 | Value constructor |
| 41 | Copy constructor |
| 42 | Destructor. |
| 43 | Destructor. |
| 44 | 8+v1 = [9.000000, 10.000000] |
| 45 | Value constructor |
| 46 | Copy constructor |
| 47 | Destructor. |
| 48 | Destructor. |
| 49 | 8*v1 = [8.000000, 16.000000] |
| 50 | Value constructor |
| 51 | Copy constructor |
| 52 | Destructor. |
| 53 | Destructor. |
| 54 | 8/v1 = [8.000000, 4.000000] |
Wenzel Jakob | 38bd711 | 2015-07-05 20:05:44 +0200 | [diff] [blame] | 55 | (v1+v2)*2 = [8.000000, 2.000000] |
| 56 | Destructor. |
| 57 | Destructor. |