NDArray::full
public static function full(int[] $shape, float|int $fill_value): NDArray;
Return a new array of given shape and type, filled with $fill_value.
public static function full(int[] $shape, float|int $fill_value): NDArray;
Return a new array of given shape and type, filled with $fill_value.