Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uses of numpy.matrix #139

Merged
merged 9 commits into from
Jun 7, 2024
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
Loading