MathPHP\LinearAlgebra\RowVector::__construct PHP Метод

__construct() публичный Метод

Allows the creation of a RowVector (1 × n Matrix) from an array instead of an array of arrays.
public __construct ( array $N )
$N array 1-dimensional array of vector values
    public function __construct(array $N)
    {
        $this->m = 1;
        $this->n = count($N);
        $A = [$N];
        $this->A = $A;
    }