Returns element-wise true where signbit is set (less than zero).
SciPhp\NdArray
NdArray::signbit()
This function has no parameters.
use SciPhp\NumPhp as np;
$m = np::ar([-1, 0, 1])->signbit();
echo "m\n$m";
The above example will output:
m [true false false]