Skip to content

Commit 9fcb5bc

Browse files
committed
Bback to simply, not working, numpy deg2rad/rad2deg refs.
1 parent 7eaae54 commit 9fcb5bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

simulation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,12 @@ To test out the function ``eval_eom()`` we need some NumPy 1D arrays for
285285
\textrm{angular acceleration}\rightarrow N \ m = kg \ m^2 \cdot rad
286286
\ s^{-2}`.
287287

288-
The :external:py:func:`~numpy._core.umath.deg2rad` and
289-
:external:py:func:`~numpy._core.umath.rad2deg` are helpful for angle
290-
conversions. All SymPy and NumPy trigonometric functions operate on radians, so
291-
you'll have to convert if you prefer thinking in degrees. My recommendation is
292-
to only use degrees when displaying the outputs, so keep any calls to these two
293-
functions at the input and output of your whole computation pipeline.
288+
The :external:py:func:`~numpy.deg2rad` and :external:py:func:`~numpy.rad2deg`
289+
are helpful for angle conversions. All SymPy and NumPy trigonometric functions
290+
operate on radians, so you'll have to convert if you prefer thinking in
291+
degrees. My recommendation is to only use degrees when displaying the outputs,
292+
so keep any calls to these two functions at the input and output of your whole
293+
computation pipeline.
294294

295295
Here I introduce ``q_vals``, ``u_vals``, and ``p_vals``, each a 1D NumPy array.
296296
Make sure to use a different variable name than your symbols so you can

0 commit comments

Comments
 (0)