ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

SIMD

extension SIMD where Scalar: ElementaryFunctions
extension SIMD
where
  Self: Differentiable,
  Self.TangentVector: SIMD,
  Scalar: BinaryFloatingPoint & Differentiable,
  Self.TangentVector == Self,
  Scalar.TangentVector == Scalar
  • Declaration

    @_alwaysEmitIntoClient
    public static func sqrt(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func cos(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func sin(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func tan(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func acos(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func asin(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func atan(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func cosh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func sinh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func tanh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func acosh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func asinh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func atanh(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp2(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp10(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func expm1(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func log(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func log2(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func log10(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func log1p(_ x: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func pow(_ x: Self, _ y: Self) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func pow(_ x: Self, _ n: Int) -> Self
  • Declaration

    @_alwaysEmitIntoClient
    public static func root(_ x: Self, _ n: Int) -> Self