PMatrix

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product