shoooe / Sor

A tensor library written in C++
MIT License
0 stars 0 forks source link

Define >, >=, < and <= for vectors #25

Open shoooe opened 7 years ago

shoooe commented 7 years ago

Ordering operators for vectors based on their magnitude (euclidean norm)?

shoooe commented 7 years ago

According to Wikipedia:

In mathematics, magnitude is the size of a mathematical object, a property by which the object can be compared as larger or smaller than other objects of the same kind. More formally, an object's magnitude is an ordering (or ranking) of the class of objects to which it belongs.

Reference: https://en.wikipedia.org/wiki/Magnitude_(mathematics)