case class Int2Scalar(x: IntScalar) extends Scalar with Product with Serializable
Explicit conversion of int to float.
- Alphabetic
- By Inheritance
- Int2Scalar
- Serializable
- Product
- Equals
- Scalar
- Tensor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(y: Matrix): Matrix
- Definition Classes
- Scalar
- def *(y: Vector): Vector
- Definition Classes
- Scalar
- def *(y: Scalar): Scalar
- Definition Classes
- Scalar
- def **(y: Scalar): Scalar
- Definition Classes
- Scalar
- def +(y: Scalar): Scalar
- Definition Classes
- Scalar
- def -(y: Scalar): Scalar
- Definition Classes
- Scalar
- def ->[B](y: B): (Int2Scalar, B)
- Implicit
- This member is added by an implicit conversion from Int2Scalar toArrowAssoc[Int2Scalar] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def /(y: Scalar): Scalar
- Definition Classes
- Scalar
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(env: Map[String, Tensor]): Scalar
Applies the expression.
Applies the expression.
- Definition Classes
- Int2Scalar → Scalar
- def apply(env: (String, Tensor)*): Scalar
Applies the expression.
Applies the expression.
- Definition Classes
- Scalar
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def d(dx: VectorVar): Vector
Returns the gradient vector.
Returns the gradient vector.
- Definition Classes
- Int2Scalar → Scalar
- def d(dx: Var): Scalar
Returns the derivative.
Returns the derivative.
- Definition Classes
- Int2Scalar → Scalar
- def d(dx: Var*): Vector
Returns the gradient vector.
Returns the gradient vector.
- Definition Classes
- Scalar
- def ensuring(cond: (Int2Scalar) => Boolean, msg: => Any): Int2Scalar
- Implicit
- This member is added by an implicit conversion from Int2Scalar toEnsuring[Int2Scalar] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (Int2Scalar) => Boolean): Int2Scalar
- Implicit
- This member is added by an implicit conversion from Int2Scalar toEnsuring[Int2Scalar] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): Int2Scalar
- Implicit
- This member is added by an implicit conversion from Int2Scalar toEnsuring[Int2Scalar] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): Int2Scalar
- Implicit
- This member is added by an implicit conversion from Int2Scalar toEnsuring[Int2Scalar] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rank: Option[Int]
The rank of tensor, i.e.
- def shape: Option[Array[IntScalar]]
The shape of tensor, i.e the size of each dimension.
- def simplify: Scalar
Simplify the expression.
Simplify the expression.
- Definition Classes
- Int2Scalar → Scalar
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Int2Scalar → AnyRef → Any
- def unary_+: Scalar
- Definition Classes
- Scalar
- def unary_-: Scalar
- Definition Classes
- Scalar
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val x: IntScalar
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Int2Scalar toany2stringadd[Int2Scalar] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(int2Scalar: any2stringadd[Int2Scalar]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Int2Scalar toStringFormat[Int2Scalar] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Int2Scalar, B)
- Implicit
- This member is added by an implicit conversion from Int2Scalar toArrowAssoc[Int2Scalar] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Smile (Statistical Machine Intelligence and Learning Engine) is a fast and comprehensive machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala. With advanced data structures and algorithms, Smile delivers state-of-art performance.
Smile covers every aspect of machine learning, including classification, regression, clustering, association rule mining, feature selection, manifold learning, multidimensional scaling, genetic algorithms, missing value imputation, efficient nearest neighbor search, etc.