Packages

c

smile.cas

OneVector

case class OneVector(size: IntScalar = IntConst("n")) extends Vector with Product with Serializable

Vector of all 1's

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OneVector
  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 OneVector(size: IntScalar = IntConst("n"))

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): (OneVector, B)
    Implicit
    This member is added by an implicit conversion from OneVector toArrowAssoc[OneVector] 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
    OneVectorVector
  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
    OneVectorVector
  16. def d(dx: Var): Vector

    Returns the partial derivative.

    Returns the partial derivative.

    Definition Classes
    OneVectorVector
  17. def ensuring(cond: (OneVector) => Boolean, msg: => Any): OneVector
    Implicit
    This member is added by an implicit conversion from OneVector toEnsuring[OneVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (OneVector) => Boolean): OneVector
    Implicit
    This member is added by an implicit conversion from OneVector toEnsuring[OneVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: => Any): OneVector
    Implicit
    This member is added by an implicit conversion from OneVector toEnsuring[OneVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): OneVector
    Implicit
    This member is added by an implicit conversion from OneVector toEnsuring[OneVector] 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. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from OneVector toStringFormat[OneVector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def rank: Option[Int]

    The rank of tensor, i.e.

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

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

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    Vector
  33. val size: IntScalar

    The size of vector.

    The size of vector.

    Definition Classes
    OneVectorVector
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    OneVector → AnyRef → Any
  36. def unary_+: Vector
    Definition Classes
    Vector
  37. def unary_-: Vector
    Definition Classes
    Vector
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. 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 OneVector toany2stringadd[OneVector] 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:
    (oneVector: any2stringadd[OneVector]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

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

Inherited by implicit conversion StringFormat fromOneVector to StringFormat[OneVector]

Inherited by implicit conversion Ensuring fromOneVector to Ensuring[OneVector]

Inherited by implicit conversion ArrowAssoc fromOneVector to ArrowAssoc[OneVector]

Ungrouped