PMatrix

smfsb.`package`.PMatrix
See thePMatrix companion object
case class PMatrix[T](x: Int, y: Int, r: Int, c: Int, data: ParVector[T])

Comonadic pointed 2d image/matrix type (parallel implementation), used by the spatial simulation functions.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(x: Int, y: Int): T
def coflatMap[S](f: (PMatrix[T]) => S): PMatrix[S]
def down: PMatrix[T]
def extract: T
def left: PMatrix[T]
def map[S](f: T => S): PMatrix[S]
def right: PMatrix[T]
def up: PMatrix[T]
def updated(x: Int, y: Int, value: T): PMatrix[T]
def zip[S](m: PMatrix[S]): PMatrix[(T, S)]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product