I apologize if this question sounds weird, but I have come across this function (which I am trying to replicate using C# code), which has left me a bit confused.
The way I am understanding, is that this function states that the total amount of elements in set Sj will be divided by the sum of the two vectors (since pc and coh(s) return vectors, each having 2 points). From what I managed to find, the || denote the absolute value of the addition (I could be wrong though). The function will then return the maximum value for that calculation.
What is confusing me is the fact that I am dividing an integer by the sum of two vectors and to my (limited) knowledge, that cannot be done.
Can anyone offer some explanation for this?
Thanks in advance.
EDIT: After some more digging, I found this:
The length or magnitude or norm of the vector a is denoted by ||a|| or, less commonly, |a|, which is not to be confused with the absolute value (a scalar "norm").
So I take it that now I am deviding an integer by an float. Is my assumption correct or did I get something wrong?