Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add traits for generic norms and distances #130

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Aug 7, 2019

  1. Add traits Distance and Norm in order to provide abstract notions…

    … of distances between numbers.
    
    The `Norm` trait provides a `norm` function for types that represent a normed vector space – e.g. the absolute value of a float or the norm of a complex number.
    
    The `Distance` trait provides a `distance` function to still calculate the distance between two values if no sensible norm can be defined.
    Nuramon27 committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    bef01a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc0131d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd65144 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a9571e View commit details
    Browse the repository at this point in the history