StructureSwift5.9.0_Differentiation
DifferentiableView
The view of an array as the differentiable product manifold of Element
multiplied with itself count
times.
@frozen struct DifferentiableView
Citizens in _Differentiation
where Element:Differentiable
Conformances
protocol CustomReflectable
A type that explicitly supplies its own mirror.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Differentiable
A type that mathematically represents a differentiable manifold whose tangent spaces are finite-dimensional.
protocol ExpressibleByArrayLiteral
A type that can be initialized using an array literal.
Members
init([Element]
) Creates a differentiable view of the given array.
init(arrayLiteral: Element...
) var base: [Element]
The viewed array.
var customMirror: Mirror
var description: String
func move(by: Array<Element>.DifferentiableView.TangentVector
) typealias TangentVector
Citizens in _Differentiation
where Element:Equatable, Element:Differentiable
Conformances
protocol Equatable
A type that can be compared for value equality.
Members
Features
Citizens in _Differentiation
where Element:AdditiveArithmetic, Element:Differentiable
Conformances
protocol AdditiveArithmetic
A type with values that support addition and subtraction.
Members
static var zero: Array<Element>.DifferentiableView
subscript(Int
) -> Element static func + (Array
<Element>.DifferentiableView, Array<Element>.DifferentiableView) -> Array<Element>.DifferentiableView static func - (Array
<Element>.DifferentiableView, Array<Element>.DifferentiableView) -> Array<Element>.DifferentiableView
Features
static func + (Self
) -> Self Returns the given number unchanged.