[skip ci] fixed mistake (R --> Q) in example
This commit is contained in:
parent
55333f7e3e
commit
b1bbe5528b
|
@ -36,7 +36,7 @@ class Rotation:
|
||||||
>>> import numpy as np
|
>>> import numpy as np
|
||||||
>>> Q = damask.Rotation.from_random()
|
>>> Q = damask.Rotation.from_random()
|
||||||
>>> a = np.random.rand(3)
|
>>> a = np.random.rand(3)
|
||||||
>>> b = R @ a
|
>>> b = Q @ a
|
||||||
>>> np.allclose(np.dot(Q.as_matrix(),a),b)
|
>>> np.allclose(np.dot(Q.as_matrix(),a),b)
|
||||||
True
|
True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue