Matrix

com.phasmid.majabigwaduce.matrix.Matrix
See theMatrix companion object
trait Matrix[X]

The Matrix[X] trait represents a sequence of X.

Type parameters

X

the underlying type of each row of the matrix (may itself be a sequence).

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BaseMatrix[X]
class Matrix1[T]
class Matrix2[T]

Members list

Value members

Abstract methods

def rows: Seq[X]

The rows of this Matrix

The rows of this Matrix

Attributes

Determine the numbers of rows, columns, etc.

Determine the numbers of rows, columns, etc.

Attributes

Returns

a Dimensions object (a sequence of integers which has length of one element at least).

Concrete methods

def product[Y, Z](m: Matrix[Y])(implicit evidence$1: Numeric[Y], evidence$2: Product[Z], evidence$3: Monoid[Z], evidence$4: Numeric[Z], ev: Monoid[X], atMost: Duration, cutoff: Dimensions, context: DDContext): Matrix[Z]

Determine the product of this Matrix with m

Determine the product of this Matrix with m

Type parameters

Y

the underlying type of m

Z

the underlying type of the result

Value parameters

atMost

duration of total MapReduce time

context

the DDContext in which any DataDefinition is evaluated (by default, DDContext.default)

cutoff

the maximum size we should implement in current thread

ev

evidence of Monoid[X]

m

the multiplicand

Attributes

Returns

a Matrix which is the product of this and m

def product[Y, Z](ys: Seq[Y])(implicit evidence$1: Numeric[Y], evidence$2: Product[Z], evidence$3: Monoid[Z], evidence$4: Numeric[Z], ev: Monoid[X], atMost: Duration, cutoff: Dimensions, context: DDContext): Matrix[Z]

Determine the product of this Matrix with a sequence of Y objects

Determine the product of this Matrix with a sequence of Y objects

Type parameters

Y

the type of the multiplicand rows

Z

the underlying type of the result

Value parameters

atMost

duration of total MapReduce time

context

the DDContext in which any DataDefinition is evaluated (by default, DDContext.default)

cutoff

the maximum size we should implement in current thread

ev

evidence of Monoid[X]

ys

the rows of Y to be multiplied with this Matrix

Attributes

Returns

a Matrix which is the product of this and m