VectorMathCapable
public protocol VectorMathCapable
Conforming types implement functions for basic vector arithmetic.
-
Product.
Declaration
Swift
static func *(lhs: Self, rhs: Self) -> Self
-
Product (in place).
Declaration
Swift
static func *=(lhs: inout Self, rhs: Self)
-
Quotient.
Declaration
Swift
static func /(lhs: Self, rhs: Self) -> Self
-
Quotient (in place).
Declaration
Swift
static func /=(lhs: inout Self, rhs: Self)
-
Sum.
Declaration
Swift
static func +(lhs: Self, rhs: Self) -> Self
-
Sum (in place).
Declaration
Swift
static func +=(lhs: inout Self, rhs: Self)
-
Difference.
Declaration
Swift
static func -(lhs: Self, rhs: Self) -> Self
-
Difference (in place).
Declaration
Swift
static func -=(lhs: inout Self, rhs: Self)
-
Scalar-Vector product.
Declaration
Swift
static func *(lhs: Scalar, rhs: Self) -> Self