Packages

object Fac_LU extends Error

The Fac_LU companion object provides functions related to LU Factorization.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def conditionNum(a: MatriD, a_lu: Fac_LU[MatriD]): Double

    Compute the condition number of matrix 'a', which equals

    Compute the condition number of matrix 'a', which equals

    ||a|| ||b|| where b = a.inverse

    Requires 'a' to be a square matrix. For rectangular matrices, @see SVDecomp.

    a

    the matrix whose condition number is sought

    a_lu

    LU Factorization of matrix A

  7. def conditionNum2(a: MatriD, a_lu: Fac_LU[MatriD]): Double

    Compute the condition number of matrix 'a', which equals

    Compute the condition number of matrix 'a', which equals

    ||a|| ||b|| where b = a.inverse

    Requires 'a' to be a square matrix. For rectangular matrices, @see SVDecomp.

    a

    the matrix whose condition number is sought

    a_lu

    LU Factorization of matrix A

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. 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
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def norm1est(a: MatriD, inv: Boolean): Double

    Compute an estimate of the L1 norm of 'this' matrix, i.e., maximum absolute column sum.

    Compute an estimate of the L1 norm of 'this' matrix, i.e., maximum absolute column sum. It uses an adapted version of Hager's algorithm.

    a

    the matrix A whose norm is sought

    inv

    whether or not to compute for inverse (default true)

  17. def norm1est(a: MatriD, a_lu: Fac_LU[MatriD], inv: Boolean = true): Double

    Compute an estimate of the L1 norm of 'this' matrix, i.e., maximum absolute column sum.

    Compute an estimate of the L1 norm of 'this' matrix, i.e., maximum absolute column sum. It uses an adapted version of Hager's algorithm.

    a

    the matrix A whose norm is sought

    a_lu

    LU Factorization of matrix A

    inv

    whether or not to compute for inverse (default true)

    See also

    www.maths.manchester.ac.uk/~higham/narep/narep135.pdf

    Higham, N.J. "Fortran Codes for Estimating the One-Norm of a Real or Complex Matrix, with Applications to Condition Estimation." ACM Trans. Math. Soft., 14, 1988, pp. 381-396.

    Algorithm 4.1 in HIGHAM1998

  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def solve(a: MatriD, lu: Fac_LU[MatriD], b: VectoD): VectoD

    Solve a system of linear equations 'a*x = b'.

    Solve a system of linear equations 'a*x = b'.

    a

    the matrix A holding the coefficients of the equations

    lu

    LU Factorization of matrix A

    b

    the constant vector

  21. def solveOver(a: MatriD, b: VectoD): VectoD

    Solve for 'x' in the equation 'a*x = b' in an over determined system of linear equation using least squares.

    Solve for 'x' in the equation 'a*x = b' in an over determined system of linear equation using least squares. Return the solution vector 'x'.

    a

    the matrix A holding the coefficients of the equations

    b

    the constant vector

    See also

    people.csail.mit.edu/bkph/articles/Pseudo_Inverse.pdf

  22. def solveUnder(a: MatriD, b: VectoD): VectoD

    Solve for 'x' in the equation 'a*x = b' in an under determined system of linear equation by finding the smallest solution.

    Solve for 'x' in the equation 'a*x = b' in an under determined system of linear equation by finding the smallest solution. Return the solution vector 'x'.

    a

    the matrix A holding the coefficients of the equations

    b

    the constant vector

    See also

    people.csail.mit.edu/bkph/articles/Pseudo_Inverse.pdf

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def test(a: MatriD, b: VectoD): Unit

    Test the LU Factorization of matrix 'a' into 'l' and 'u' and its usage in solving a system of linear equations.

    Test the LU Factorization of matrix 'a' into 'l' and 'u' and its usage in solving a system of linear equations.

    a

    the matrix A to be factored

    b

    the constant vector in Ax = b

  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped