Class

scalan.primitives.NumericOps

IntegralMod

Related Doc: package NumericOps

Permalink

case class IntegralMod[T](i: ExactIntegral[T])(implicit elem: Scalan.Elem[T]) extends Scalan.DivOp[T] with Product with Serializable

Descriptor of binary % operation (reminder of integral division).

Linear Supertypes
Serializable, Serializable, Product, Equals, Scalan.DivOp[T], Scalan.BinOp[T, T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntegralMod
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DivOp
  7. BinOp
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntegralMod(i: ExactIntegral[T])(implicit elem: Scalan.Elem[T])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(lhs: Scalan.Ref[T], rhs: Scalan.Ref[T]): Scalan.Ref[T]

    Permalink

    Builds a new graph node by applying this operation to the given arguments.

    Builds a new graph node by applying this operation to the given arguments.

    Definition Classes
    BinOp
  5. def applyLazy(lhs: Scalan.Ref[T], rhs: Scalan.Ref[Scalan.Thunk[T]]): Scalan.Ref[T]

    Permalink

    Builds a new graph node by applying this operation to the given arguments.

    Builds a new graph node by applying this operation to the given arguments. This is a short-cuting (aka lazy) version of the operation, where the lazyness is represented by Thunk.

    Definition Classes
    BinOp
  6. def applySeq(x: T, y: T): T

    Permalink

    Note, this is implemented using ExactIntegral.rem method which delegates to scala.math.Integral.rem.

    Note, this is implemented using ExactIntegral.rem method which delegates to scala.math.Integral.rem. The later also implements % operator in Scala for numeric types.

    x

    operation argument

    y

    operation argument

    returns

    result of applying this operation to (x, y)

    Definition Classes
    IntegralModBinOp
    See also

    sigmastate.eval.NumericOps.BigIntIsIntegral

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. implicit val eResult: Scalan.Elem[T]

    Permalink
    Definition Classes
    BinOp
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. val i: ExactIntegral[T]

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. val opName: String

    Permalink
    Definition Classes
    BinOp
  18. def shouldPropagate(lhs: T, rhs: T): Boolean

    Permalink

    Whether the constants should be propagated through this operations by rewriting.

    Whether the constants should be propagated through this operations by rewriting.

    Definition Classes
    DivOpBinOp
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    BinOp → AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Scalan.DivOp[T]

Inherited from Scalan.BinOp[T, T]

Inherited from AnyRef

Inherited from Any

Ungrouped