spire.math

FloatComplex

final class FloatComplex extends AnyVal

Value class which encodes two floating point values in a Long.

We get (basically) unboxed complex numbers using this hack. The underlying implementation lives in the FastComplex object.

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FloatComplex
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FloatComplex(u: Long)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def *(b: FloatComplex): FloatComplex

  4. final def **(b: Int): FloatComplex

  5. final def **(b: FloatComplex): FloatComplex

  6. final def +(b: FloatComplex): FloatComplex

  7. final def -(b: FloatComplex): FloatComplex

  8. final def /(b: FloatComplex): FloatComplex

  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. final def abs: Float

  11. final def angle: Float

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. final def complexSignum: FloatComplex

  14. final def conjugate: FloatComplex

  15. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  16. final def imag: Float

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def isWhole: Boolean

  19. final def negate: FloatComplex

  20. final def pow(b: Int): FloatComplex

  21. final def pow(b: FloatComplex): FloatComplex

  22. final def real: Float

  23. final def repr: String

  24. final def signum: Int

  25. final def toString(): String

    Definition Classes
    FloatComplex → Any
  26. val u: Long

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped