download
raw
215 Bytes
import numpy as np
def int_heaviside(t):
"""
Integral of the Heaviside step: returns t for t>=1, 0 otherwise
"""
int_h = np.zeros_like(t)
mask = t >= 1
int_h[mask] = t[mask]
return int_h

Xet Storage Details

Size:
215 Bytes
·
Xet hash:
aec705f5bf8837e44bfa20dac9e1491beea7dfd127806615475d0342d5d507c3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.