Class

smile.cas

Var

Related Doc: package cas

Permalink

case class Var(symbol: String) extends Scalar with Product with Serializable

Scalar variable

Linear Supertypes
Serializable, Serializable, Product, Equals, Scalar, Tensor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Var
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Scalar
  7. Tensor
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Var(symbol: String)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(y: Matrix): Matrix

    Permalink
    Definition Classes
    Scalar
  4. def *(y: Vector): Vector

    Permalink
    Definition Classes
    Scalar
  5. def *(y: Scalar): Scalar

    Permalink
    Definition Classes
    Scalar
  6. def **(y: Scalar): Scalar

    Permalink
    Definition Classes
    Scalar
  7. def +(y: Scalar): Scalar

    Permalink
    Definition Classes
    Scalar
  8. def -(y: Scalar): Scalar

    Permalink
    Definition Classes
    Scalar
  9. def ->[B](y: B): (Var, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to ArrowAssoc[Var] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(y: Scalar): Scalar

    Permalink
    Definition Classes
    Scalar
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def apply(env: Map[String, Tensor]): Scalar

    Permalink

    Applies the expression.

    Applies the expression.

    Definition Classes
    VarScalar
  13. def apply(env: (String, Tensor)*): Scalar

    Permalink

    Applies the expression.

    Applies the expression.

    Definition Classes
    Scalar
  14. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def d(dx: VectorVar): Vector

    Permalink

    Returns the gradient vector.

    Returns the gradient vector.

    Definition Classes
    VarScalar
  17. def d(dx: Var): Scalar

    Permalink

    Returns the derivative.

    Returns the derivative.

    Definition Classes
    VarScalar
  18. def d(dx: Var*): Vector

    Permalink

    Returns the gradient vector.

    Returns the gradient vector.

    Definition Classes
    Scalar
  19. def ensuring(cond: (Var) ⇒ Boolean, msg: ⇒ Any): Var

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to Ensuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (Var) ⇒ Boolean): Var

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to Ensuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): Var

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to Ensuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): Var

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to Ensuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to StringFormat[Var] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def rank: Option[Int]

    Permalink

    The rank of tensor, i.e.

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

    Definition Classes
    ScalarTensor
  32. def shape: Option[Array[IntScalar]]

    Permalink

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

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

    Definition Classes
    ScalarTensor
  33. def simplify: Scalar

    Permalink

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    Scalar
  34. val symbol: String

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Var → AnyRef → Any
  37. def unary_+: Scalar

    Permalink
    Definition Classes
    Scalar
  38. def unary_-: Scalar

    Permalink
    Definition Classes
    Scalar
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (Var, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to ArrowAssoc[Var] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Var to any2stringadd[Var] 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:
    (var: any2stringadd[Var]).+(other)
    Definition Classes
    any2stringadd

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Scalar

Inherited from Tensor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Var to any2stringadd[Var]

Inherited by implicit conversion StringFormat from Var to StringFormat[Var]

Inherited by implicit conversion Ensuring from Var to Ensuring[Var]

Inherited by implicit conversion ArrowAssoc from Var to ArrowAssoc[Var]

Ungrouped