Skip to content

Commit

Permalink
np.matrix -> np.array in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jun 6, 2024
1 parent d2b29bb commit e285fd6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ There are three inertia properties for the human overall::
(center of the Ls0 stadium)....

>>> chad.inertia?
...Docstring: Inertia matrix/dyadic of the human, a np.matrix, in units
...Docstring: Inertia matrix/dyadic of the human, a np.array, in units
of kg-m^2, about the center of mass of the human, expressed in the
global frame....

Expand All @@ -188,12 +188,12 @@ and three related strictly to kinematics::
pelvis....

>>> chad.J1.rel_inertia?
...Docstring: Inertia matrix/dyadic of the segment, a np.matrix, in
...Docstring: Inertia matrix/dyadic of the segment, a np.array, in
units of kg-m^2, about the center of mass of the segment, expressed in
the frame of the segment....

>>> chad.J1.inertia?
...Docstring: Inertia matrix/dyadic of the segment, a np.matrix, in
...Docstring: Inertia matrix/dyadic of the segment, a np.array, in
units of kg-m^2, about the center of mass of the human, expressed in
the global frame....

Expand All @@ -209,7 +209,7 @@ and three related strictly to kinematics::

>>> chad.J1.rot_mat?
...Docstring: Rotation matrix specifying the orientation of this
segment relative to the orientation of the global frame, a np.matrix,
segment relative to the orientation of the global frame, a np.array,
unitless. Multiplying a vector expressed in this segment's frame with
this rotation matrix on the left gives that same vector, but expressed
in the global frame....
Expand All @@ -227,7 +227,7 @@ the segment containing them)::
(Ls0)....

>>> chad.J1.solids[0].inertia?
...Docstring: Inertia matrix/dyadic of the solid, a np.matrix, in units
...Docstring: Inertia matrix/dyadic of the solid, a np.array, in units
of kg-m^2, about the center of mass of the human, expressed in the
global frame....

Expand All @@ -236,7 +236,7 @@ the segment containing them)::
expressed in the frame of the solid, from the origin of the solid....

>>> chad.J1.solids[0].rel_inertia?
...Docstring: Inertia matrix/dyadic of the solid, a np.matrix, in units
...Docstring: Inertia matrix/dyadic of the solid, a np.array, in units
of kg-m^2, about the center of mass of the solid, expressed in the
frame of the solid....

Expand Down

0 comments on commit e285fd6

Please sign in to comment.