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