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)
inline def *(x: VectorD): VectorD

Extension methods for Double <+> VectorD. Compute the element-wise sum (or difference, product, quotient) of scalar a and vector x.

Extension methods for Double <+> VectorD. 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

inline def +(x: VectorD): VectorD

Extension methods for Double <+> VectorD. Compute the element-wise sum (or difference, product, quotient) of scalar a and vector x.

Extension methods for Double <+> VectorD. 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

inline def -(x: VectorD): VectorD

Extension methods for Double <+> VectorD. Compute the element-wise sum (or difference, product, quotient) of scalar a and vector x.

Extension methods for Double <+> VectorD. 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

inline def /(x: VectorD): VectorD

Extension methods for Double <+> VectorD. Compute the element-wise sum (or difference, product, quotient) of scalar a and vector x.

Extension methods for Double <+> VectorD. 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