Encode time \(t\) into a cyclical representation.
Time \(t\) is encoded as \(cos(\hat{t})\) and \(sin(\hat{t})\)
where \(\hat{t} = [2\pi t, 2\pi 2 t,\dots, 2\pi n_f t]\).
- Parameters:
-
- Return type:
Array
- Returns:
Encoded time of shape [n, 2 * n_freqs]
.