question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for basic vector operations

See original GitHub issue

The various distanceTo() methods have been of great use to me. Now I wanted to use the library for some basic operations, like adding and subtracting vectors, but I don’t seem to find them in documentation or code. The closest thing I can find is Point.translate(), but that’s tied to Point and does not include other vector operations.

Am I missing something, or are these vector operations currently not supported?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alexbol99commented, Jun 15, 2018

In version 0.4.5 added basic operations on vectors, like add, subtract, angle, projection. Together with already existing length, slope, dot, cross products and others it seems enough for all basic needs.

0reactions
alexbol99commented, Aug 10, 2018

Issue closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vector Operations - GeeksforGeeks
Mathematical Operations on Vectors · Addition/Subtraction of two vectors. · Multiplication of vector with scalars. · Product of two vectors: Dot ...
Read more >
Vector Operations - Math10
Operations on Vectors · Vector Subtraction · Properties of Vector Addition and Scalar Multiplication · Unit Vectors · Direction Angles · Angle Between...
Read more >
1 Basic vector operations - UCSB C.L.A.S.
This review package, which contains some key points, worked examples, and practice problems on some selected topics, serves to help students prepare for...
Read more >
Basic Vector Operations - MATLAB Answers - MathWorks
Basic Vector Operations. Learn more about vector, vectors, basic operations, arithmetic, beginner.
Read more >
Question on basic vector operations - Math Stack Exchange
I figured out part a, I am just struggling with b) and c). If anyone can help me or give me some insight...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found