com
Provides classes for dealing with complex numbers.
Provides classes for dealing with complex numbers. Also provides implicits for converting to and from Int.
Int
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
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
If you include com.ibm.lagraph.LagSemiring, you can convert numbers more directly