• Slang Standard Library Reference
    • Interfaces
    • Types
      • Buffer types
      • Math types
      • Miscelaneous types
      • Ray-tracing
      • Sampler types
      • Scalar types
      • Stage IO types
      • Texture types
      • Array
      • Atomic
      • AtomicAdd
      • ConstantBuffer
      • CoopMat
      • CoopMatClampMode
      • CoopMatMatrixLayout
      • CoopMatMatrixUse
      • CoopVec
      • CoopVecComponentType
      • CoopVecMatrixLayout
      • DescriptorAccess
      • DescriptorHandle
      • DescriptorKind
      • DiffTensorView
      • DifferentialPair
        • Differential
        • DifferentialElementType
        • d
        • dadd
        • dmul
        • dzero
        • getDifferential
        • getPrimal
        • init
        • p
        • v
      • DifferentialPtrPair
      • DispatchNodeInputRecord
      • MemoryScope
      • NodePayloadPtr
      • NullDifferential
      • Optional
      • ParameterBlock
      • Ptr
      • String
      • TensorLayout
      • TensorView
      • TorchTensor
      • Tuple
      • _AttributeTargets
      • int8_t4_packed
      • uint8_t4_packed
    • Attributes
    • Global Declarations

DifferentialPair<T>.dadd

Description

Signature

static DifferentialPair<T.Differential> DifferentialPair<T>.dadd(
    DifferentialPair<T.Differential> a,
    DifferentialPair<T.Differential> b)
    where T : IDifferentiable;

Parameters

a : DifferentialPair<T.Differential>

b : DifferentialPair<T.Differential>