Packages

c

smile.cas

GradientVector

case class GradientVector(y: Var, x: VectorVar) extends Vector with Product with Serializable

The derivative of a scalar y with respect to a vector x.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GradientVector
  2. Serializable
  3. Product
  4. Equals
  5. Vector
  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 GradientVector(y: Var, x: VectorVar)

Value Members

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

    Applies the expression.

    Applies the expression.

    Definition Classes
    GradientVectorVector
  12. def apply(env: (String, Tensor)*): Vector

    Applies the expression.

    Applies the expression.

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

    Returns the Jacobian matrix.

    Returns the Jacobian matrix.

    Definition Classes
    GradientVectorVector
  16. def d(dx: Var): Vector

    Returns the partial derivative.

    Returns the partial derivative.

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

    The rank of tensor, i.e.

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

    Definition Classes
    VectorTensor
  30. 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
    VectorTensor
  31. def simplify: Vector

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    Vector
  32. def size: IntScalar

    The size of vector.

    The size of vector.

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

Shadowed Implicit Value Members

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

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from GradientVector toStringFormat[GradientVector] 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): (GradientVector, B)
    Implicit
    This member is added by an implicit conversion from GradientVector toArrowAssoc[GradientVector] 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 Vector

Inherited from Tensor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromGradientVector to any2stringadd[GradientVector]

Inherited by implicit conversion StringFormat fromGradientVector to StringFormat[GradientVector]

Inherited by implicit conversion Ensuring fromGradientVector to Ensuring[GradientVector]

Inherited by implicit conversion ArrowAssoc fromGradientVector to ArrowAssoc[GradientVector]

Ungrouped