Closed ZachariahRosenberg closed 9 months ago
In the text discussing Tim's decreasing function for euclidean distance, the formula is displayed as:
This shows the minimum of the Euclidean distance and some value.
--
In the code (here shown as the PyMC3 version), the T.maximum is used:
T.maximum
def f_distance(gxy_pos, halo_pos, c): return T.maximum(euclidean_distance(gxy_pos, halo_pos), c)[:, None]
Shouldn't these two be the same?
Thanks!
closing since this has gone stale.
In the text discussing Tim's decreasing function for euclidean distance, the formula is displayed as:
This shows the minimum of the Euclidean distance and some value.
--
In the code (here shown as the PyMC3 version), the
T.maximum
is used:Shouldn't these two be the same?
Thanks!