Matrix

smile.cas.Matrix
trait Matrix extends Tensor

Matrix: rank-2 tensor.

Attributes

Graph
Supertypes
trait Tensor
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def apply(env: Map[String, Tensor]): Matrix

Applies the expression.

Applies the expression.

Attributes

def d(dx: Var): Matrix

Returns the partial derivative.

Returns the partial derivative.

Attributes

The size of matrix (rows x columns).

The size of matrix (rows x columns).

Attributes

Concrete methods

def *(y: Scalar): Matrix
def *(y: Vector): Vector
def *(y: Matrix): Matrix
def +(y: Matrix): Matrix
def -(y: Matrix): Matrix
def apply(env: (String, Tensor)*): Matrix

Applies the expression.

Applies the expression.

Attributes

def inv: Matrix

The inverse of matrix.

The inverse of matrix.

Attributes

override def rank: Option[Int]

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

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

Attributes

Definition Classes
override 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.

Attributes

Definition Classes

Simplify the expression.

Simplify the expression.

Attributes

def t: Matrix

The transpose of matrix.

The transpose of matrix.

Attributes