Skip to content

Improve erf function for complex values #278

@axkr

Description

@axkr

This call:

    System.out.println(org.hipparchus.special.Erf.erf(new Complex(1.0, 1.5)));

prints out:
(NaN, NaN)

but should print
(1.8468330146085414,-0.7013604642514801)

See wolframalpha:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions