@@ -260,27 +260,27 @@ public function providerArrayArithmetic(): array
260
260
],
261
261
'Division: row vector / column vector ' => [
262
262
'={1,2,3} / {4;5;6} ' ,
263
- [[0.25 , 0.5 , 0.75 ], [0.2 , 0.4 , 0.6 ], [0.16666666666667 , 0.33333333333333 , 0.5 ]],
263
+ [[0.25 , 0.5 , 0.75 ], [0.2 , 0.4 , 0.6 ], [0.16666666666666667 , 0.3333333333333333 , 0.5 ]],
264
264
],
265
265
'Division: column vector / row vector ' => [
266
266
'={1;2;3} / {4,5,6} ' ,
267
- [[0.25 , 0.2 , 0.16666666666667 ], [0.5 , 0.4 , 0.33333333333333 ], [0.75 , 0.6 , 0.5 ]],
267
+ [[0.25 , 0.2 , 0.16666666666666667 ], [0.5 , 0.4 , 0.3333333333333333 ], [0.75 , 0.6 , 0.5 ]],
268
268
],
269
269
'Division: matrix 3x2 / 3x2 ' => [
270
270
'={1,2,3;4,5,6} / {7,8,9;10,11,12} ' ,
271
- [[0.142857142857143 , 0.25 , 0.33333333333333 ], [0.4 , 0.45454545454545 , 0.5 ]],
271
+ [[0.14285714285714285 , 0.25 , 0.3333333333333333 ], [0.4 , 0.45454545454545453 , 0.5 ]],
272
272
],
273
273
'Division: matrix 2x3 / 2x3 ' => [
274
274
'={1,4;2,5;3,6} / {7,10;8,11;9,12} ' ,
275
- [[0.142857142857143 , 0.4 ], [0.25 , 0.45454545454545 ], [0.33333333333333 , 0.5 ]],
275
+ [[0.14285714285714285 , 0.4 ], [0.25 , 0.45454545454545453 ], [0.3333333333333333 , 0.5 ]],
276
276
],
277
277
'Division: row vector 2 / column vector 2 ' => [
278
278
'={2,3} / {4;5} ' ,
279
279
[[0.5 , 0.75 ], [0.4 , 0.6 ]],
280
280
],
281
281
'Division: matrix 3x2 / 2x3 ' => [
282
282
'={1,2,3;4,5,6} / {7,10;8,11;9,12} ' ,
283
- [[0.14285714285714 , 0.2 ], [0.5 , 0.45454545454545 ]],
283
+ [[0.14285714285714285 , 0.2 ], [0.5 , 0.45454545454545453 ]],
284
284
],
285
285
'Division: matrix 2x3 / 3x2 ' => [
286
286
'={7,10;8,11;9,12} / {1,2,3;4,5,6} ' ,
@@ -289,7 +289,7 @@ public function providerArrayArithmetic(): array
289
289
// Power
290
290
'Power: square matrix 2x2 ^ 2x2 ' => [
291
291
'={1,2;3,4} ^ {-2,4;-6,8} ' ,
292
- [[1 , 16 ], [0.00137174211248 , 65536 ]],
292
+ [[1 , 16 ], [0.0013717421124828531 , 65536 ]],
293
293
],
294
294
'Power: square matrix 2x2 ^ scalar ' => [
295
295
'={1,2;3,4} ^ 2 ' ,
0 commit comments