عرض مختلف

@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

عرض المصفوفة على أنها متشعب المنتج القابل للتمييز Element مضروبًا في نفسه count مرات.

متاح حيث `العنصر`: `مختلف`
متاح حيث `العنصر`: `EuclideanDifferentiable`
متاح حيث `العنصر`: `مختلف` و`متساوي`
  • تصريح

    public static func == (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Bool
متاح حيث `العنصر`: `مختلف`
متوفر حيث `العنصر`: `الحساب الإضافي` و`القابل للتفاضل`
  • تصريح

    public static var zero: Array.DifferentiableView { get }
  • تصريح

    public static func + (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Array.DifferentiableView
  • تصريح

    public static func - (
      lhs: Array.DifferentiableView,
      rhs: Array.DifferentiableView
    ) -> Array.DifferentiableView
  • تصريح

    public subscript(index: Int) -> Element { get }
متاح حيث `العنصر`: `مختلف`
  • تصريح

    public typealias AllKeyPaths = [PartialKeyPath<Array.DifferentiableView>]
  • تصريح

    public var allKeyPaths: [PartialKeyPath<Array.DifferentiableView>] { get }
متوفر حيث `العنصر`: `القابل للاختلاف` و`الوظائف الأولية`
  • الجذر التربيعي ل x .

    بالنسبة للأنواع الحقيقية، إذا كانت x سالبة فإن النتيجة هي .nan . بالنسبة للأنواع المعقدة، يوجد قطع فرعي على المحور الحقيقي السلبي.

    تصريح

    public static func sqrt(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب تمام x ، يتم تفسيره على أنه زاوية بالراديان.

    تصريح

    public static func cos(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب x ، يتم تفسيره على أنه زاوية بالراديان.

    تصريح

    public static func sin(_ x: `Self`) -> Array<Element>.DifferentiableView
  • ظل x ، يتم تفسيره على أنه زاوية بالراديان.

    تصريح

    public static func tan(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب التمام العكسي لـ x بالراديان.

    تصريح

    public static func acos(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب الجيب العكسي لـ x بالراديان.

    تصريح

    public static func asin(_ x: `Self`) -> Array<Element>.DifferentiableView
  • المماس العكسي لـ x بالراديان.

    تصريح

    public static func atan(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب التمام الزائدي لـ x .

    تصريح

    public static func cosh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • الجيب الزائدي لـ x .

    تصريح

    public static func sinh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • المماس الزائدي لـ x .

    تصريح

    public static func tanh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • جيب التمام الزائدي العكسي لـ x .

    تصريح

    public static func acosh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • الجيب الزائدي العكسي لـ x .

    تصريح

    public static func asinh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • المماس الزائدي العكسي لـ x .

    تصريح

    public static func atanh(_ x: `Self`) -> Array<Element>.DifferentiableView
  • الدالة الأسية المطبقة على x أو e**x .

    تصريح

    public static func exp(_ x: `Self`) -> Array<Element>.DifferentiableView
  • اثنان مرفوع للقوة x .

    تصريح

    public static func exp2(_ x: `Self`) -> Array<Element>.DifferentiableView
  • عشرة مرفوعة للقوة x .

    تصريح

    public static func exp10(_ x: `Self`) -> Array<Element>.DifferentiableView
  • exp(x) - 1 للحفاظ على الدقة بالقرب من الصفر.

    تصريح

    public static func expm1(_ x: `Self`) -> Array<Element>.DifferentiableView
  • اللوغاريتم الطبيعي ل x .

    تصريح

    public static func log(_ x: `Self`) -> Array<Element>.DifferentiableView
  • اللوغاريتم ذو الأساس الثاني لـ x .

    تصريح

    public static func log2(_ x: `Self`) -> Array<Element>.DifferentiableView
  • اللوغاريتم ذو الأساس العشري لـ x .

    تصريح

    public static func log10(_ x: `Self`) -> Array<Element>.DifferentiableView
  • log(1 + x) تم تقييمه للحفاظ على الدقة بالقرب من الصفر.

    تصريح

    public static func log1p(_ x: `Self`) -> Array<Element>.DifferentiableView
  • يتم حساب exp(y log(x)) دون فقدان الدقة المتوسطة.

    بالنسبة للأنواع الحقيقية، إذا كانت x سالبة فإن النتيجة هي NaN، حتى لو كانت y لها قيمة متكاملة. بالنسبة للأنواع المعقدة، يوجد قطع فرعي على المحور الحقيقي السالب.

    تصريح

    public static func pow(_ x: `Self`, _ y: `Self`) -> Array<Element>.DifferentiableView
  • x مرفوع للقوة n .

    نتاج n نسخ من x .

    تصريح

    public static func pow(_ x: `Self`, _ n: Int) -> Array<Element>.DifferentiableView
  • الجذر n لـ x .

    بالنسبة للأنواع الحقيقية، إذا كانت x سالبة و n زوجية، فإن النتيجة هي NaN. بالنسبة للأنواع المعقدة، يوجد فرع مقطوع على طول المحور الحقيقي السلبي.

    تصريح

    public static func root(_ x: `Self`, _ n: Int) -> Array<Element>.DifferentiableView
متاح حيث `العنصر`: `مختلف`
متاح حيث `العنصر`: `الاختلاف` و`بروتوكول المتجهات`
متاح حيث `العنصر`: `مختلف` و`PointwiseMultiplicative`
  • تصريح

    public static var one: `Self` { get }
  • تصريح

    public var reciprocal: `Self` { get }
  • تصريح

    public static func .* (lhs: `Self`, rhs: `Self`) -> Array<Element>.DifferentiableView
  • تصريح

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