fronts.o¶
-
fronts.
o
(r, t)¶ Transform to the Boltzmann variable.
Returns the Boltzmann variable at the given r and t, which is the result of applying the Boltzmann transformation:
\[o(r,t) = r/\sqrt t\]- Parameters
r (float or numpy.ndarray) – Location(s). If an array, it must have a shape broadcastable with t.
t (float or numpy.ndarray) – Time(s). If an array, it must have a shape broadcastable with r. Values must be positive.
- Returns
o – The return is a float if both r and t are floats. Otherwise it is an array of the shape that results from broadcasting r and t.
- Return type
float or numpy.ndarray