dot
calculates the dot product of this vector with a provided vector. If the provided vector is null, 0 is returned.
@param vec the vector to dot with this vector.
@return the resultant dot product of this vector and a given vector.
dot
calculates the dot product of this vector with a provided vector. If the provided vector is null, 0 is returned.
@param vec the vector to dot with this vector.
@return the resultant dot product of this vector and a given vector.
this
nor v
is modified.
@param v the other vector
@return the dot product of this and v1
@throws NullPointerException if v is null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|