Class

smile.cas

Add

Related Doc: package cas

Permalink

case class Add(x: Scalar, y: Scalar) extends Scalar with Product with Serializable

x + y

Linear Supertypes
Serializable, Serializable, Product, Equals, Scalar, Tensor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Add
  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 Add(x: Scalar, y: Scalar)

    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): (Add, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Add to ArrowAssoc[Add] 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
    AddScalar
  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
    AddScalar
  17. def d(dx: Var): Scalar

    Permalink

    Returns the derivative.

    Returns the derivative.

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

    Permalink

    Returns the gradient vector.

    Returns the gradient vector.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    Add → Equals → AnyRef → Any
  25. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink

    The rank of tensor, i.e.

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

    Definition Classes
    ScalarTensor
  33. 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
  34. def simplify: Scalar

    Permalink

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    AddScalar
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Add → 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. val x: Scalar

    Permalink
  43. val y: Scalar

    Permalink
  44. def [B](y: B): (Add, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Add to ArrowAssoc[Add] 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 Add to any2stringadd[Add] 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:
    (add: any2stringadd[Add]).+(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 Add to any2stringadd[Add]

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

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

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

Ungrouped