Packages

object Complex extends Serializable

A companion object for the Complex class.

This contains constants and implicit conversions.

Source
Complex.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Complex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val E: Complex

    The base of the natural logarithm.

  5. val I: Complex

    One of the two square roots of -1

    One of the two square roots of -1

    This has real part 0 and imaginary part 1.

  6. val Infinity: Complex

    The number whose real and imaginary parts are both positive infinity.

  7. val NaN: Complex

    Not a Number.

    Not a Number.

    This is the number whose real and imaginary parts are both NaN.

  8. val One: Complex

    The number with real part 1 and imaginary part 0.

  9. val Pi: Complex

    Half of the one true circle constant.

    Half of the one true circle constant.

    This is defined as the ratio of a circle's circumference to its diameter.

  10. val Tau: Complex

    The one true circle constant.

    The one true circle constant.

    This is defined as the ratio of a circle's circumference to its radius.

    It is exactly 2π and is denoted by τ.

  11. val Zero: Complex

    The number with real part 0 and imaginary part 0.

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. implicit def fromDouble(v: Double): Complex

    Wraps a Double as a complex number.

    Wraps a Double as a complex number.

    The output will have the input as its real part and 0 as its imaginary part.

    v

    The number to convert to a complex number

    returns

    v as a complex number

  18. implicit def fromInt(v: Int): Complex

    Wraps an Int as a complex number.

    Wraps an Int as a complex number.

    The output will have the input as its real part and 0 as its imaginary part.

    v

    The number to convert to a complex number

    returns

    v as a complex number

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped