MatrixDOps

scalation.mathstat.MatrixDOps
object MatrixDOps

The MatrixDOps object provides extension methods to support scalar op matrix operations, so that one can write 2.0 + x as well as x + 2.0.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MatrixDOps.type

Members list

Extensions

Extensions

extension (a: Double)
def *(x: MatrixD): MatrixD
def +(x: MatrixD): MatrixD

Compute the element-wise sum (or difference, product, quotient) of scalar a and matrix x.

Compute the element-wise sum (or difference, product, quotient) of scalar a and matrix x.

Value parameters

a

the scalar first operand

x

the vector second operand

Attributes

def -(x: MatrixD): MatrixD
def /(x: MatrixD): MatrixD