Skip to main content

add_tangents

Function add_tangents 

Source
pub fn add_tangents(
    cx: &mut dyn AdCx,
    a: Tangent,
    b: Tangent,
) -> Result<Tangent>
Expand description

The sum of two tangents of the same type, skipping symbolic zeros.

ยงErrors

Returns an error if the types differ.