src/PHPSci/Kernel/CArray/Wrapper.php
public static function eye(int $x, int $y, int $k = 0): \CArray
    {
        return parent::eye($x, $y, $k);
    }
public static function eye(int $x, int $y, int $k = 0): \CArray
    {
        return parent::eye($x, $y, $k);
    }
public static function eye ( int $ x , int $ y , int $ k = 0 ) : \ CArray { return parent :: eye ( $ x , $ y , $ k ) ; }
Return CArray filled with zeros and ones in the
diagonal provided diagonal index.

@param int $x Number of rows (2-D) or width (1-D)
@param int $y Number of cols (2-D) or 0 (1-D)
@param int $k (Optional) Diagonal Index. Defaults to 0.

@return \CArray
Return CArray filled with zeros and ones in the diagonal provided diagonal index .