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. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  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: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. 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
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. 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)

  16. 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

    Algorithm 4.1 in HIGHAM1998

    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.

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

  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. 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

  20. 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

  21. 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

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. 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

  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped