Packages

object SymTriMatrixL extends Error with Serializable

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

Linear Supertypes
Serializable, Serializable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SymTriMatrixL
  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): SymTriMatrixL

    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: VectoL): SymTriMatrixL

    Create a diagonal symtri matrix and assign values from vector 'u'.

    Create a diagonal symtri matrix and assign values from vector 'u'.

    u

    the vector to assign

  3. def apply(u: Vector[VectoL]): SymTriMatrixL

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

    Create a 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[VectoL], columnwise: Boolean = true): SymTriMatrixL

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

    Create a 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): SymTriMatrixL

    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