Comments (3)
Just use /
as you would for numbers:
import numpy as np
import quaternion
q1 = quaternion.x
q2 = quaternion.y
q1/q2
from quaternion.
Perfect. Thank you!
from quaternion.
Thank you!
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Mike Boyle [email protected] Date: 11/2/16 11:32 AM (GMT-05:00) To: moble/quaternion [email protected] Cc: rosana0331 [email protected], Author [email protected] Subject: Re: [moble/quaternion] Quaternion division (#32)
Just use / as you would for numbers:
import numpy as np
import quaternion
q1 = quaternion.x
q2 = quaternion.y
q1/q2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/moble/quaternion","title":"moble/quaternion","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/moble/quaternion"}},"updates":{"snippets":[{"icon":"PERSON","message":"@moble in #32: Just use /
as you would for numbers:\r\npython\r\nimport numpy as np\r\nimport quaternion\r\nq1 = quaternion.x\r\nq2 = quaternion.y\r\nq1/q2\r\n
\r\n"}],"action":{"name":"View Issue","url":"https://github.com/moble/quaternion/issues/32#issuecomment-257901232"}}}
from quaternion.
Related Issues (20)
- Error while running quaternion.as_rotation_matrix HOT 1
- None check fails HOT 1
- angular_velocity() output format HOT 2
- Euler angles are horrible, and so are quaternions HOT 2
- Documentation should clarify that the quaternions are defined using an active rotation convention HOT 2
- `np.sum` breaks in latest Numpy
- Object mode fallback deprecation in numba.jit
- Version number of latest release HOT 1
- Add a rotation example into the documentation HOT 1
- possible docstring error HOT 2
- add from_euler_angles equivalent for Tait-Bryan angles HOT 1
- slight improvement to "Why Euler angles are horrible"
- Identity decorator exception HOT 1
- Scalar quaternion objects are mutable HOT 1
- `cumprod()` with quaternions crashes HOT 5
- Computation Error: from euler angles to quaternion HOT 1
- Build problem on arm32v7 HOT 2
- Numpy 2.0 support HOT 7
- allow np.float32 precision instead of default float64 or higher HOT 2
- quaternion dtype in cupy to benefit from GPU HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quaternion.