NoktasalÇarpımsal

public protocol PointwiseMultiplicative : AdditiveArithmetic

Noktasal çarpmayı destekleyen değerlere sahip bir tür.

  • bir

    Tek değer.

    Biri çarpmanın kimlik öğesidir. Herhangi bir değer için x .* .one == x ve .one .* x == x .

    beyan

    static var one: Self { get }
  • Self'in çarpımsal tersi.

    Herhangi bir değer için, x .* x.reciprocal == .one ve x.reciprocal .* x == .one .

    beyan

    var reciprocal: Self { get }
  • İki değeri çarpar ve çarpımını üretir.

    beyan

    static func .* (lhs: Self, rhs: Self) -> Self

    Parametreler

    lhs

    Çarpılacak ilk değer.

    rhs

    Çarpılacak ikinci değer.

  • .*=(_:_ :) Varsayılan uygulama

    İki değeri çarpar ve çarpımını üretir.

    Varsayılan Uygulama

    beyan

    static func .*= (lhs: inout Self, rhs: Self)

    Parametreler

    lhs

    Çarpılacak ilk değer.

    rhs

    Çarpılacak ikinci değer.

  • ./(_:_ :) Uzatma yöntemi

    beyan

    public static func ./ (lhs: Self, rhs: Self) -> Self
  • ./=(_:_ :) Uzatma yöntemi

    beyan

    public static func ./= (lhs: inout Self, rhs: Self)