scalation.linalgebra

ParMatrixD

object ParMatrixD extends Error with Serializable

The ParMatrixD companion object provides operations for ParMatrixD that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors.

Linear Supertypes
Serializable, Serializable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ParMatrixD
  2. Serializable
  3. Serializable
  4. Error
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(fileName: String, sep: Char = ','): ParMatrixD

    Create a matrix by reading from a text file, e.

    Create a matrix by reading from a text file, e.g., a CSV file.

    fileName

    the name of file holding the data

    sep

    the character separating the values

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def eye(n: Int): ParMatrixD

    Create an n-by-n identity matrix (ones on main diagonal, zeros elsewhere).

    Create an n-by-n identity matrix (ones on main diagonal, zeros elsewhere).

    n

    the dimension of the square matrix

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  14. def form_cw(x: VectorD, y: Double): ParMatrixD

    Form a matrix from a vector and a scalar, column-wise.

    Form a matrix from a vector and a scalar, column-wise.

    x

    the first vector -> column 0

    y

    the second scalar -> column 1 (repeat scalar)

  15. def form_cw(x: Double, y: VectorD): ParMatrixD

    Form a matrix from a scalar and a vector, column-wise.

    Form a matrix from a scalar and a vector, column-wise.

    x

    the first scalar -> column 0 (repeat scalar)

    y

    the second vector -> column 1

  16. def form_cw(x: VectorD, y: VectorD): ParMatrixD

    Form a matrix from two vectors, column-wise.

    Form a matrix from two vectors, column-wise.

    x

    the first vector -> column 0

    y

    the second vector -> column 1

  17. def form_rw(x: VectorD, y: Double): ParMatrixD

    Form a matrix from a vector and a scalar, row-wise.

    Form a matrix from a vector and a scalar, row-wise.

    x

    the first vector -> row 0

    y

    the second scalar -> row 1 (repeat scalar)

  18. def form_rw(x: Double, y: VectorD): ParMatrixD

    Form a matrix from scalar and a vector, row-wise.

    Form a matrix from scalar and a vector, row-wise.

    x

    the first scalar -> row 0 (repeat scalar)

    y

    the second vector -> row 1

  19. def form_rw(x: VectorD, y: VectorD): ParMatrixD

    Form a matrix from two vectors, row-wise.

    Form a matrix from two vectors, row-wise.

    x

    the first vector -> row 0

    y

    the second vector -> row 1

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def outer(x: VectorD, y: VectorD): ParMatrixD

    Compute the outer product of vector x and vector y.

    Compute the outer product of vector x and vector y. The result of the outer product is a matrix where c(i, j) is the product of i-th element of x with the j-th element of y.

    x

    the first vector

    y

    the second vector

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def times(u: VectorD, a: ParMatrixD): VectorD

    Multiply vector u by matrix a.

    Multiply vector u by matrix a. Treat u as a row vector.

    u

    the vector to multiply by

    a

    the matrix to multiply by (requires sameCrossDimensions)

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped