NumPHP\Core\NumArray::__construct PHP Method

__construct() public method

Creates an new NumArray
Since: 1.0.0
public __construct ( mixed $data )
$data mixed given data
    public function __construct($data)
    {
        $this->data = $data;
        $this->shape = Shape::getShape($data);
    }