Buckets:
| import numpy as np | |
| def heaviside(t): | |
| """ | |
| Vectorized Heaviside step function: 0 for t<1, 1 for t>=1 | |
| """ | |
| h = np.zeros_like(t) | |
| h[t >= 1] = 1 | |
| return h |
Xet Storage Details
- Size:
- 171 Bytes
- Xet hash:
- b672fb3fd83804b2f7fe3bd070cc79bce419a676eb5673e8b3475e4be58a17b2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.