Operatorswift 6.0.1Swift
+(_:_:)
static func + (a: Self, b: Self.Scalar) -> Self
Other members in extension
Type members
static var one: Self
A vector with one in all lanes.
static var zero: Self
A vector with zero in all lanes.
static func * (a: Self.Scalar, b: Self
) -> Self static func * (a: Self, b: Self.Scalar
) -> Self static func * (a: Self, b: Self
) -> Self static func *= (a: inout Self, b: Self.Scalar
) static func *= (a: inout Self, b: Self
) static func + (a: Self.Scalar, b: Self
) -> Self static func + (a: Self, b: Self
) -> Self static func += (a: inout Self, b: Self.Scalar
) static func += (a: inout Self, b: Self
) static func - (a: Self
) -> Self static func - (a: Self.Scalar, b: Self
) -> Self static func - (a: Self, b: Self.Scalar
) -> Self static func - (a: Self, b: Self
) -> Self static func -= (a: inout Self, b: Self.Scalar
) static func -= (a: inout Self, b: Self
) static func / (a: Self.Scalar, b: Self
) -> Self static func / (a: Self, b: Self.Scalar
) -> Self static func / (a: Self, b: Self
) -> Self static func /= (a: inout Self, b: Self.Scalar
) static func /= (a: inout Self, b: Self
)
Instance members
func addProduct(Self.Scalar, Self
) func addProduct(Self, Self.Scalar
) func addProduct(Self, Self
) func addingProduct(Self.Scalar, Self
) -> Self func addingProduct(Self, Self.Scalar
) -> Self func addingProduct(Self, Self
) -> Self func clamp(lowerBound: Self, upperBound: Self
) func clamped(lowerBound: Self, upperBound: Self
) -> Self func formSquareRoot(
) func max(
) -> Self.Scalar The greatest scalar in the vector.
func min(
) -> Self.Scalar The least scalar in the vector.
func round(FloatingPointRoundingRule
) func rounded(FloatingPointRoundingRule
) -> Self A vector formed by rounding each lane of the source vector to an integral value according to the specified rounding
rule
.func squareRoot(
) -> Self func sum(
) -> Self.Scalar The sum of the scalars in the vector.