Packages

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

Scalar variable

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

Instance Constructors

  1. new Var(symbol: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(y: Matrix): Matrix
    Definition Classes
    Scalar
  4. def *(y: Vector): Vector
    Definition Classes
    Scalar
  5. def *(y: Scalar): Scalar
    Definition Classes
    Scalar
  6. def **(y: Scalar): Scalar
    Definition Classes
    Scalar
  7. def +(y: Scalar): Scalar
    Definition Classes
    Scalar
  8. def -(y: Scalar): Scalar
    Definition Classes
    Scalar
  9. def ->[B](y: B): (Var, B)
    Implicit
    This member is added by an implicit conversion from Var toArrowAssoc[Var] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(y: Scalar): Scalar
    Definition Classes
    Scalar
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def apply(env: Map[String, Tensor]): Scalar

    Applies the expression.

    Applies the expression.

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

    Applies the expression.

    Applies the expression.

    Definition Classes
    Scalar
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def d(dx: VectorVar): Vector

    Returns the gradient vector.

    Returns the gradient vector.

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

    Returns the derivative.

    Returns the derivative.

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

    Returns the gradient vector.

    Returns the gradient vector.

    Definition Classes
    Scalar
  19. def ensuring(cond: (Var) => Boolean, msg: => Any): Var
    Implicit
    This member is added by an implicit conversion from Var toEnsuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (Var) => Boolean): Var
    Implicit
    This member is added by an implicit conversion from Var toEnsuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: => Any): Var
    Implicit
    This member is added by an implicit conversion from Var toEnsuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): Var
    Implicit
    This member is added by an implicit conversion from Var toEnsuring[Var] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def rank: Option[Int]

    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]]

    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

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    Scalar
  34. val symbol: String
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    Var → AnyRef → Any
  37. def unary_+: Scalar
    Definition Classes
    Scalar
  38. def unary_-: Scalar
    Definition Classes
    Scalar
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Var toany2stringadd[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

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Var toStringFormat[Var] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (Var, B)
    Implicit
    This member is added by an implicit conversion from Var toArrowAssoc[Var] 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.

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 fromVar to any2stringadd[Var]

Inherited by implicit conversion StringFormat fromVar to StringFormat[Var]

Inherited by implicit conversion Ensuring fromVar to Ensuring[Var]

Inherited by implicit conversion ArrowAssoc fromVar to ArrowAssoc[Var]

Ungrouped