case class OneMatrix(size: (IntScalar, IntScalar) = (IntConst("m"), IntConst("n"))) extends Matrix with Product with Serializable
Matrix of all 1's
- Alphabetic
- By Inheritance
- OneMatrix
- Serializable
- Product
- Equals
- Matrix
- Tensor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(y: Matrix): Matrix
- Definition Classes
- Matrix
- def *(y: Vector): Vector
- Definition Classes
- Matrix
- def *(y: Scalar): Matrix
- Definition Classes
- Matrix
- def +(y: Matrix): Matrix
- Definition Classes
- Matrix
- def -(y: Matrix): Matrix
- Definition Classes
- Matrix
- def ->[B](y: B): (OneMatrix, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(env: Map[String, Tensor]): Matrix
Applies the expression.
- def apply(env: (String, Tensor)*): Matrix
Applies the expression.
Applies the expression.
- Definition Classes
- Matrix
- 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: Var): Matrix
Returns the partial derivative.
- def ensuring(cond: (OneMatrix) => Boolean, msg: => Any): OneMatrix
- def ensuring(cond: (OneMatrix) => Boolean): OneMatrix
- def ensuring(cond: Boolean, msg: => Any): OneMatrix
- def ensuring(cond: Boolean): OneMatrix
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inv: Matrix
The inverse of matrix.
The inverse of matrix.
- Definition Classes
- Matrix
- 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: Matrix
Simplify the expression.
Simplify the expression.
- Definition Classes
- Matrix
- val size: (IntScalar, IntScalar)
The size of matrix (rows x columns).
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def t: Matrix
The transpose of matrix.
The transpose of matrix.
- Definition Classes
- Matrix
- def toString(): String
- Definition Classes
- OneMatrix → AnyRef → Any
- def unary_+: Matrix
- Definition Classes
- Matrix
- def unary_-: Matrix
- Definition Classes
- Matrix
- 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()
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from OneMatrix toany2stringadd[OneMatrix] 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:(oneMatrix: any2stringadd[OneMatrix]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def →[B](y: B): (OneMatrix, B)
- Implicit
- This member is added by an implicit conversion from OneMatrix toArrowAssoc[OneMatrix] 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.