Skip to content

Automatic tangent / cotangent construction #81

@willtebbutt

Description

@willtebbutt

It would be nice to automatically generate appropriate tangents / cotangents for vectors when writing tests. We could achieve this compositionally -- define how to generate for Reals, Complexs, Arrays etc, and build from there. It would probably be as simple as a pair of functions along the lines of

rand_tangent(rng, x) # Generate an element of the tangent space of x
rand_cotangent(rng, x) # Generate an element of the cotangent space of x

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions