Dual¶
Constructor¶
|
Primary data structure for forward mode automatic differentiation. |
Dunder Methods¶
|
Return the sum of |
|
Return the sum of two numbers, when the left operand is not a Dual number. |
|
Returns the difference between |
|
Return the difference between two numbers, when the left operand is not a Dual number. |
|
Return the product of |
|
Return the product of two numbers, when the left operand is not a Dual number. |
|
Return the quotient of |
|
Return the quotient of two numbers, when the left operand is not a Dual number. |
|
Return |
|
Return |
Return negation of |
|
|
Return element-wise (value and derivative vector) less than comparison of |
|
Return element-wise (value and derivative vector) greater than comparison of |
|
Return element-wise (value and derivative vector) less than or equal to comparison of |
|
Return element-wise (value and derivative vector) greater than or equal to comparison of |
|
Return element-wise (value and derivative vector) equality comparison of |
|
Return element-wise (value and derivative vector) inequality comparison of |