Packages

object BidMatrixC extends Error with Serializable

The BidMatrixC object is the companion object for the BidMatrixC class.

Linear Supertypes
Serializable, Serializable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BidMatrixC
  2. Serializable
  3. Serializable
  4. Error
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(fileName: String): BidMatrixC

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

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

    fileName

    the name of file holding the data

  2. def apply(u: VectoC): BidMatrixC

    Create a bidiagonal matrix and assign values from vector 'u'.

    Create a bidiagonal matrix and assign values from vector 'u'.

    u

    the vector to assign

  3. def apply(u: Vector[VectoC]): BidMatrixC

    Create a bidiagonal matrix and assign values from the Scala Vector of vectors 'u'.

    Create a bidiagonal matrix and assign values from the Scala Vector of vectors 'u'. Assumes vectors are column-wise.

    u

    the Vector of vectors to assign

  4. def apply(u: Array[VectoC], columnwise: Boolean = true): BidMatrixC

    Create a bidiagonal matrix and assign values from the array of vectors 'u'.

    Create a bidiagonal matrix and assign values from the array of vectors 'u'.

    u

    the array of vectors to assign

    columnwise

    whether the vectors are treated as column or row vectors

  5. def eye(m: Int): BidMatrixC

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

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

    m

    the row and column dimensions of the matrix

  6. final 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