OneDimensionalVector

public protocol OneDimensionalVector : VectorType

A one‐dimensional value that can be used with ×(:) and ÷(::) in conjunction with a scalar.

Conformance Requirements:

  • VectorType
  • static func ÷ (lhs: Self, rhs: Self) -> Scalar
  • Returns the quotient of the left divided by the right.

    Mutating variant

    ×

    Declaration

    Swift

    static func ÷ (lhs: Self, rhs: Self) -> Scalar

    Parameters

    lhs

    The dividend.

    rhs

    The divisor.