We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86853be commit da624bfCopy full SHA for da624bf
src/Matrix.php
@@ -8,9 +8,7 @@
8
9
class Matrix
10
{
11
- /**
12
- * @var array
13
- */
+ /** @var array */
14
protected $internal;
15
16
/**
@@ -263,17 +261,13 @@ public function multiplyScalar(float $value): self
263
261
264
262
265
266
- *
267
- * Scalar divide
268
- * kA = [k / a₁, k / a₂, k / a₃ ...]
269
270
* @param float $value
271
* @return self
272
* @throws MatrixException
273
*/
274
public function divideScalar(float $value): self
275
276
- if($value == 0) {
+ if ($value == 0) {
277
throw new MatrixException("Zero can not be denominator.");
278
}
279
0 commit comments