numericalMethods.algebra.linear.decompose
Class Unmerge

java.lang.Object
  |
  +--numericalMethods.algebra.linear.decompose.Unmerge

public class Unmerge
extends java.lang.Object

Seperates merged matrices.

This class does not check any arguments for validity!
For identical arguments results are undefined!

See Also:
LR, PLR, Householder

Constructor Summary
Unmerge()
           
 
Method Summary
static void triangular(double[][] L, double[][] R)
          Separates the left and right triangular part out of a merged real matrix.
static void triangular(double[][] L_re, double[][] L_im, double[][] R_re, double[][] R_im)
          Separates the left and right triangular part out of a merged complex matrix.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unmerge

public Unmerge()
Method Detail

triangular

public static void triangular(double[][] L,
                              double[][] R)
Separates the left and right triangular part out of a merged real matrix. The diagonal goes to the right triangular matrix and the diagonal elements of the left triangular matrix are set to one. Additional rows are ignored.

Parameters:
L - The matrix to unmerge and afterwards the left triangular matrix.
R - A matrix to take the right triangular matrix.

triangular

public static void triangular(double[][] L_re,
                              double[][] L_im,
                              double[][] R_re,
                              double[][] R_im)
Separates the left and right triangular part out of a merged complex matrix. The diagonal goes to the right triangular matrix and the diagonal elements of the left triangular matrix are set to one. Additional rows are ignored.

Parameters:
L_re - The real part of the matrix to unmerge and afterwards the left triangular matrix.
L_im - The imaginary part of the matrix to unmerge and afterwards the left triangular matrix.
R_re - A matrix to take the real part of the right triangular matrix.
R_im - A matrix to take the imaginary part of the right triangular matrix.