qcomplex v1.0.0
  • Pages
  • Modules

    View Source ComplexMath protocol (qcomplex v1.0.0)

    Complex math protocol.

    This protocol is responsible for extending math operators to work with complex numbers.

    Link to this section Summary

    Types

    t()

    Functions

    a ** b
    a * b
    a + b
    -a
    a - b
    a / b
    abs(a)

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: term()

    Link to this section Functions

    Link to this function

    a ** b

    View Source
    Link to this function

    a * b

    View Source
    Link to this function

    a + b

    View Source
    Link to this function

    -a

    View Source
    Link to this function

    a - b

    View Source
    Link to this function

    a / b

    View Source
    Link to this function

    abs(a)

    View Source

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.5) for the Elixir programming language