Różnicowalny widok

@frozen
public struct DifferentiableView
extension Array.DifferentiableView: Differentiable
where Element: Differentiable
extension Array.DifferentiableView: EuclideanDifferentiable
where Element: EuclideanDifferentiable
extension Array.DifferentiableView: Equatable
where Element: Differentiable & Equatable
extension Array.DifferentiableView: ExpressibleByArrayLiteral
where Element: Differentiable
extension Array.DifferentiableView: CustomStringConvertible
where Element: Differentiable
extension Array.DifferentiableView: AdditiveArithmetic
where Element: AdditiveArithmetic & Differentiable
extension Array.DifferentiableView: _KeyPathIterableBase
where Element: Differentiable
extension Array.DifferentiableView: KeyPathIterable
where Element: Differentiable
extension Array.DifferentiableView: ElementaryFunctions
where Element: Differentiable & ElementaryFunctions
extension Array.DifferentiableView:
  BidirectionalCollection,
  Collection,
  MutableCollection,
  RandomAccessCollection,
  RangeReplaceableCollection,
  Sequence
where Element: Differentiable
extension Array.DifferentiableView: VectorProtocol
where Element: Differentiable & VectorProtocol
extension Array.DifferentiableView: PointwiseMultiplicative
where Element: Differentiable & PointwiseMultiplicative

Widok tablicy jako rozmaitości iloczynu różniczkowego Element pomnożonego przez siebie samego count razy.

Dostępne, gdy `Element`: `Różniczalny`
Dostępne, gdy `Element`: `EuclideanDifferentiable`
Dostępne, gdy `Element`: `Różniczkowy` i `Równy`
  • Deklaracja

    public static func == (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Bool
Dostępne, gdy `Element`: `Różniczalny`
Dostępne, gdy `Element`: `AdditiveArithmetic` i `Różniczkowalny`
  • Deklaracja

    public static var zero: Array.DifferentiableView { get }
  • Deklaracja

    public static func + (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Array.DifferentiableView
  • Deklaracja

    public static func - (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Array.DifferentiableView
  • Deklaracja

    public subscript(index: Int) -> Element { get }
Dostępne, gdy `Element`: `Różniczalny`
  • Deklaracja

    public typealias AllKeyPaths = [PartialKeyPath<Array.DifferentiableView>]
  • Deklaracja

    public var allKeyPaths: [PartialKeyPath<Array.DifferentiableView>] { get }
Dostępne, gdy `Element`: `Różnicowalne` i `ElementarneFunctions`
  • Pierwiastek kwadratowy z x .

    W przypadku typów rzeczywistych, jeśli x jest ujemne, wynikiem jest .nan . W przypadku typów złożonych następuje odcięcie gałęzi na ujemnej osi rzeczywistej.

    Deklaracja

    public static func sqrt(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Cosinus x , interpretowany jako kąt w radianach.

    Deklaracja

    public static func cos(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Sinus x , interpretowany jako kąt w radianach.

    Deklaracja

    public static func sin(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Tangens x , interpretowany jako kąt w radianach.

    Deklaracja

    public static func tan(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny cosinus x w radianach.

    Deklaracja

    public static func acos(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny sinus x w radianach.

    Deklaracja

    public static func asin(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny tangens x w radianach.

    Deklaracja

    public static func atan(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Cosinus hiperboliczny x .

    Deklaracja

    public static func cosh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Sinus hiperboliczny x .

    Deklaracja

    public static func sinh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Tangens hiperboliczny x .

    Deklaracja

    public static func tanh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny cosinus hiperboliczny x .

    Deklaracja

    public static func acosh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny sinus hiperboliczny x .

    Deklaracja

    public static func asinh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Odwrotny tangens hiperboliczny x .

    Deklaracja

    public static func atanh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Funkcja wykładnicza zastosowana do x lub e**x .

    Deklaracja

    public static func exp(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Dwa podniesione do potęgi x .

    Deklaracja

    public static func exp2(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Dziesięć podniesione do potęgi x .

    Deklaracja

    public static func exp10(_ x: `Self`) -> Array<Element>.DifferentiableView
  • exp(x) - 1 oceniane tak, aby zachować dokładność bliską zeru.

    Deklaracja

    public static func expm1(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Logarytm naturalny x .

    Deklaracja

    public static func log(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Logarytm o podstawie dwóch z x .

    Deklaracja

    public static func log2(_ x: `Self`) -> Array<Element>.DifferentiableView
  • Logarytm dziesiętny z x .

    Deklaracja

    public static func log10(_ x: `Self`) -> Array<Element>.DifferentiableView
  • log(1 + x) oceniany tak, aby zachować dokładność bliską zeru.

    Deklaracja

    public static func log1p(_ x: `Self`) -> Array<Element>.DifferentiableView
  • exp(y log(x)) obliczone bez utraty precyzji pośredniej.

    W przypadku typów rzeczywistych, jeśli x jest ujemne, wynikiem jest NaN, nawet jeśli y ma wartość całkowitą. W przypadku typów złożonych następuje odcięcie gałęzi na ujemnej osi rzeczywistej.

    Deklaracja

    public static func pow(_ x: `Self`, _ y: `Self`) -> Array<Element>.DifferentiableView
  • x podniesione do n tej potęgi.

    Iloczyn n kopii x .

    Deklaracja

    public static func pow(_ x: `Self`, _ n: Int) -> Array<Element>.DifferentiableView
  • n ty pierwiastek z x .

    W przypadku typów rzeczywistych, jeśli x jest ujemne, a n parzyste, wynikiem jest NaN. W przypadku typów złożonych odgałęzienie jest wycinane wzdłuż ujemnej osi rzeczywistej.

    Deklaracja

    public static func root(_ x: `Self`, _ n: Int) -> Array<Element>.DifferentiableView
Dostępne, gdy `Element`: `Różniczalny`
Dostępne, gdy „Element”: „Różnicowalny” i „Protokół wektorowy”.
Dostępne, gdy `Element`: `Różniczkowy` i `PunktowoMultiplikatywny`
  • Deklaracja

    public static var one: `Self` { get }
  • Deklaracja

    public var reciprocal: `Self` { get }
  • Deklaracja

    public static func .* (lhs: `Self`, rhs: `Self`) -> Array<Element>.DifferentiableView
  • Deklaracja

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