Scalar: 0D array operations.
- Create
- Test
- Map
Create
What | How | Details |
Boolean scalar | np.array(True) | |
Floating point scalar | np.array(0) | |
Int scalar | np.array(0, dtype=np.int64) | |
Test
What | How | Details |
Is NaN | np.isnan(x) | |
Is infinite | np.isinf(x) | |
Is finite | np.isfinite(x) | |
Map
What | How | Details |
Log transform | np.log(x) | |
Log-10 transform | np.log10(x) | |