PMatrix

case object PMatrix
Companion
class
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

def apply[T](r: Int, c: Int, data: Seq[T]): PMatrix[T]

Constructor for PMatrix objects. Used for initialising 2d spatial simulations.

Constructor for PMatrix objects. Used for initialising 2d spatial simulations.

def fromBDM[T](m: DenseMatrix[T]): PMatrix[T]

Convert a Breeze DenseMatrix to a PMatrix

Convert a Breeze DenseMatrix to a PMatrix

def toBDM(m: PMatrix[Double]): DenseMatrix[Double]

Convert a PMatrix[Double] to a Breeze DenseMatrix

Convert a PMatrix[Double] to a Breeze DenseMatrix

Inherited methods

def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product