Packages

c

smile.cas

IdentityMatrix

case class IdentityMatrix(size: (IntScalar, IntScalar) = (IntConst("n"), IntConst("n"))) extends Matrix with Product with Serializable

Identity matrix

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdentityMatrix
  2. Serializable
  3. Product
  4. Equals
  5. Matrix
  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 IdentityMatrix(size: (IntScalar, IntScalar) = (IntConst("n"), 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: Matrix): Matrix
    Definition Classes
    Matrix
  4. def *(y: Vector): Vector
    Definition Classes
    Matrix
  5. def *(y: Scalar): Matrix
    Definition Classes
    Matrix
  6. def +(y: Matrix): Matrix
    Definition Classes
    Matrix
  7. def -(y: Matrix): Matrix
    Definition Classes
    Matrix
  8. def ->[B](y: B): (IdentityMatrix, B)
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toArrowAssoc[IdentityMatrix] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def apply(env: Map[String, Tensor]): Matrix

    Applies the expression.

    Applies the expression.

    Definition Classes
    IdentityMatrixMatrix
  11. def apply(env: (String, Tensor)*): Matrix

    Applies the expression.

    Applies the expression.

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

    Returns the partial derivative.

    Returns the partial derivative.

    Definition Classes
    IdentityMatrixMatrix
  15. def ensuring(cond: (IdentityMatrix) => Boolean, msg: => Any): IdentityMatrix
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toEnsuring[IdentityMatrix] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (IdentityMatrix) => Boolean): IdentityMatrix
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toEnsuring[IdentityMatrix] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): IdentityMatrix
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toEnsuring[IdentityMatrix] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): IdentityMatrix
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toEnsuring[IdentityMatrix] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from IdentityMatrix toStringFormat[IdentityMatrix] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def inv: Matrix

    The inverse of matrix.

    The inverse of matrix.

    Definition Classes
    Matrix
  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
    MatrixTensor
  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
    MatrixTensor
  31. def simplify: Matrix

    Simplify the expression.

    Simplify the expression.

    Definition Classes
    Matrix
  32. val size: (IntScalar, IntScalar)

    The size of matrix (rows x columns).

    The size of matrix (rows x columns).

    Definition Classes
    IdentityMatrixMatrix
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def t: Matrix

    The transpose of matrix.

    The transpose of matrix.

    Definition Classes
    Matrix
  35. def toString(): String
    Definition Classes
    IdentityMatrix → AnyRef → Any
  36. def unary_+: Matrix
    Definition Classes
    Matrix
  37. def unary_-: Matrix
    Definition Classes
    Matrix
  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 IdentityMatrix toany2stringadd[IdentityMatrix] 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:
    (identityMatrix: any2stringadd[IdentityMatrix]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

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

Inherited from Tensor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromIdentityMatrix to any2stringadd[IdentityMatrix]

Inherited by implicit conversion StringFormat fromIdentityMatrix to StringFormat[IdentityMatrix]

Inherited by implicit conversion Ensuring fromIdentityMatrix to Ensuring[IdentityMatrix]

Inherited by implicit conversion ArrowAssoc fromIdentityMatrix to ArrowAssoc[IdentityMatrix]

Ungrouped