slight improvements to help; use a/b instead of a*~b

This commit is contained in:
Philip Eisenlohr 2021-09-24 08:54:31 -04:00
parent 52a0c6fb01
commit f3bcdca5e8
1 changed files with 6 additions and 6 deletions

View File

@ -120,7 +120,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation other : Rotation
Rotation to check for equality. Rotation to check for inequality.
""" """
return np.logical_not(self==other) return np.logical_not(self==other)
@ -236,7 +236,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation of shape(self.shape) other : Rotation of shape (self.shape)
Rotation for composition. Rotation for composition.
Returns Returns
@ -262,7 +262,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation of shape(self.shape) other : Rotation of shape (self.shape)
Rotation for composition. Rotation for composition.
""" """
@ -276,7 +276,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : damask.Rotation of shape (self.shape) other : damask.Rotation of shape (self.shape)
Rotation to inverse composition. Rotation to invert for composition.
Returns Returns
------- -------
@ -296,7 +296,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation of shape (self.shape) other : Rotation of shape (self.shape)
Rotation to inverse composition. Rotation to invert for composition.
""" """
return self/other return self/other
@ -468,7 +468,7 @@ class Rotation:
Misorientation. Misorientation.
""" """
return other*~self return other/self
################################################################################################ ################################################################################################