Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

updatePrimal¶

Description¶

Signature¶

void updatePrimal<T>(
    inout DifferentialPair<T> p,
    T newPrimal)
    where T : IDifferentiable;

Generic Parameters¶

T: IDifferentiable¶

Parameters¶

p : DifferentialPair<T>¶

newPrimal : T¶

On this page
  • updatePrimal
    • Description
    • Signature
    • Generic Parameters
      • T: IDifferentiable
    • Parameters
      • p : DifferentialPair<T>
      • newPrimal : T