IntVal

smile.cas.IntVal
case class IntVal(x: Int) extends IntScalar

Integer scalar value.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait IntScalar
trait Tensor
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def apply(env: Map[String, Tensor]): IntVal

Applies the expression.

Applies the expression.

Attributes

Definition Classes
override def toScalar: Scalar

Explicit conversion of int to float.

Explicit conversion of int to float.

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def %(y: IntScalar): IntScalar

Attributes

Inherited from:
IntScalar
def *(y: IntScalar): IntScalar

Attributes

Inherited from:
IntScalar

Attributes

Inherited from:
IntScalar
def +(y: IntScalar): IntScalar

Attributes

Inherited from:
IntScalar
def -(y: IntScalar): IntScalar

Attributes

Inherited from:
IntScalar
def /(y: IntScalar): IntScalar

Attributes

Inherited from:
IntScalar
def apply(env: (String, Tensor)*): IntScalar

Applies the expression.

Applies the expression.

Attributes

Inherited from:
IntScalar

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def rank: Option[Int]

The rank of tensor, i.e. the number of dimensions.

The rank of tensor, i.e. the number of dimensions.

Attributes

Definition Classes
Inherited from:
IntScalar
override def shape: Option[Array[IntScalar]]

The shape of tensor, i.e the size of each dimension.

The shape of tensor, i.e the size of each dimension.

Attributes

Definition Classes
Inherited from:
IntScalar

Simplify the expression.

Simplify the expression.

Attributes

Inherited from:
IntScalar

Attributes

Inherited from:
IntScalar

Attributes

Inherited from:
IntScalar