src/Chippyash/Math/Matrix/Derivative/Strategy/Determinant/Lu.php
Avoid classes with short names like Lu. Configured minimum length is 3. Open
Open
class Lu implements DeterminantStrategyInterface
{
/**
* Compute determinant using LU method
* $mA must be
- Read upRead up
- Exclude checks
ShortClassName
Since: 2.9
Detects when classes or interfaces have a very short name.
Example
class Fo {
}
interface Fo {
}
Source https://phpmd.org/rules/naming.html#shortclassname
The variable $Lu is not named in camelCase. Open
Open
public function determinant(NumericMatrix $mA)
{
$Lu = new dLu();
$det = $Lu->decompose($mA)->Det;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Lu is not named in camelCase. Open
Open
public function determinant(NumericMatrix $mA)
{
$Lu = new dLu();
$det = $Lu->decompose($mA)->Det;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}