case class AddVector(x: Vector, y: Vector) extends Vector with Product with Serializable
x + y
- Alphabetic
- By Inheritance
- AddVector
- Serializable
- Product
- Equals
- Vector
- Tensor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(y: Vector): Scalar
- Definition Classes
- Vector
- def *(y: Scalar): Vector
- Definition Classes
- Vector
- def *~(y: Vector): Matrix
- Definition Classes
- Vector
- def +(y: Vector): Vector
- Definition Classes
- Vector
- def -(y: Vector): Vector
- Definition Classes
- Vector
- def ->[B](y: B): (AddVector, B)
- def /(y: Scalar): Vector
- Definition Classes
- Vector
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(env: Map[String, Tensor]): Vector
Applies the expression.
- def apply(env: (String, Tensor)*): Vector
Applies the expression.
Applies the expression.
- Definition Classes
- Vector
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def d(dx: VectorVar): Matrix
Returns the Jacobian matrix.
- def d(dx: Var): Vector
Returns the partial derivative.
- def ensuring(cond: (AddVector) => Boolean, msg: => Any): AddVector
- def ensuring(cond: (AddVector) => Boolean): AddVector
- def ensuring(cond: Boolean, msg: => Any): AddVector
- def ensuring(cond: Boolean): AddVector
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- AddVector → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rank: Option[Int]
The rank of tensor, i.e.
- def shape: Option[Array[IntScalar]]
The shape of tensor, i.e the size of each dimension.
- def simplify: Vector
Simplify the expression.
- def size: IntScalar
The size of vector.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AddVector → AnyRef → Any
- def unary_+: Vector
- Definition Classes
- Vector
- def unary_-: Vector
- Definition Classes
- Vector
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val x: Vector
- val y: Vector
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from AddVector toany2stringadd[AddVector] 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:(addVector: any2stringadd[AddVector]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AddVector toStringFormat[AddVector] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (AddVector, B)
- Implicit
- This member is added by an implicit conversion from AddVector toArrowAssoc[AddVector] 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.
Smile (Statistical Machine Intelligence and Learning Engine) is a fast and comprehensive machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala. With advanced data structures and algorithms, Smile delivers state-of-art performance.
Smile covers every aspect of machine learning, including classification, regression, clustering, association rule mining, feature selection, manifold learning, multidimensional scaling, genetic algorithms, missing value imputation, efficient nearest neighbor search, etc.