ConstantSizeFloatingPointVector
public protocol ConstantSizeFloatingPointVector : ConstantSizeVector, FloatingPointVector
A vector whose number of components is defined at compile time and whose components are of type FloatingPoint.
-
distanceFrom(vector:)
Default implementationComputes the distance between 2 vcctors.
Default Implementation
Declaration
Swift
func distanceFrom(vector: Self) -> ComponentType
Parameters
vector
the vector to compute the distance from.
Return Value
The distance between this vector and vector.