src/PHPSci/Kernel/CArray/Wrapper.php
public static function ones(int $x, int $y): \CArray
    {
        return parent::ones($x, $y);
    }
public static function ones(int $x, int $y): \CArray
    {
        return parent::ones($x, $y);
    }
public static function ones ( int $ x , int $ y ) : \ CArray { return parent :: ones ( $ x , $ y ) ; }
Return new CArray with same shape as target CArray filled
with zeros.

@param int $x Number of rows (2-D) or width (1-D)
@param int $y Number of cols (2-D) or 0 (1-D)

@return \CArray   CArray with shape ($x, $y) filled with ones.
Return new CArray with same shape as target CArray filled with zeros .