VectorDOps

scalation.mathstat.VectorDOps
object VectorDOps

The VectorDOps object provides extension methods to support scalar op vector 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
VectorDOps.type

Members list

Extensions

Extensions

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

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

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

Value parameters

a

the scalar first operand

x

the vector second operand

Attributes

def -(x: VectorD): VectorD
def /(x: VectorD): VectorD