Package

com

ibm

Permalink

package ibm

Visibility
  1. Public
  2. All

Value Members

  1. package lagraph

    Permalink

    Provides classes for dealing with complex numbers.

    Provides classes for dealing with complex numbers. Also provides implicits for converting to and from Int.

    Overview

    The main class to use is com.ibm.lagraph.LagContext, as so

    scala> val complex = LagContext(4,3)
    complex: com.ibm.lagraph.LagContext = 4 + 3i

    If you include com.ibm.lagraph.LagSemiring, you can convert numbers more directly

    scala> import com.ibm.lagraph.LagSemiring._
    scala> val complex = 4 + 3.i
    complex: com.ibm.lagraph.Complex = 4 + 3i

Ungrouped