We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the vectors $\vec{v}$ and $\vec{w}$, we want to compute $\vec{n} = \vec{v} + \vec{w}$ and $\vec{m} = \vec{v} - \vec{w}$ as shown below:
import curvipy v = curvipy.Vector([10, 10]) w = curvipy.Vector([5, -5]) n = v + w m = v - w
This is not possible on Curvipy 1.0.1. To do so, users have to calculate $\vec{n}$ and $\vec{m}$ manually:
import curvipy v = curvipy.Vector([10, 10]) w = curvipy.Vector([5, -5]) n = curvipy.Vector([10 + 5, 10 + (-5)]) m = curvipy.Vector([10 - 5, 10 - (-5)])
The text was updated successfully, but these errors were encountered:
Add vector addition, subtraction and scaling #11
3b4473a
dylannalex
No branches or pull requests
Given the vectors$\vec{v}$ and $\vec{w}$ , we want to compute $\vec{n} = \vec{v} + \vec{w}$ and $\vec{m} = \vec{v} - \vec{w}$ as shown below:
This is not possible on Curvipy 1.0.1. To do so, users have to calculate$\vec{n}$ and $\vec{m}$ manually:
The text was updated successfully, but these errors were encountered: