Class BandMatrixC

java.lang.Object
  extended byBandMatrixC

public class BandMatrixC
extends java.lang.Object

BandMatrixC - Linear algebra package for Complex band matrices


Field Summary
(package private)  int c
           
(package private)  Complex[] d
           
(package private)  Complex det
           
(package private)  int diagos
           
(package private)  boolean isDecomposed
           
(package private)  int l
           
(package private)  int lines
           
(package private)  Complex[][] m
           
(package private)  int n
           
(package private)  int r
           
 
Constructor Summary
BandMatrixC(int diagos, int lines)
          Constructor
 
Method Summary
 Complex[] dot(Complex[] v)
          Matrix times vector
 Complex get(int j, int i)
          Retrieve value of matrix elements
 Complex getD(int i)
           
 Complex getL(int i)
           
 Complex getR(int i)
           
 void set(int i, int j, Complex v)
          Store matrix elements
 void setD(int i, Complex v)
           
 void setL(int i, Complex v)
           
 void setR(int i, Complex v)
           
 Complex[] solve3(Complex[] rhs)
          Gaussian elimination for 3-banded matrix with multiple RHS and BC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m

Complex[][] m

d

Complex[] d

det

Complex det

diagos

int diagos

lines

int lines

n

int n

isDecomposed

boolean isDecomposed

l

int l

c

int c

r

int r
Constructor Detail

BandMatrixC

public BandMatrixC(int diagos,
                   int lines)
Constructor

Method Detail

set

public void set(int i,
                int j,
                Complex v)
Store matrix elements


setL

public void setL(int i,
                 Complex v)

setD

public void setD(int i,
                 Complex v)

setR

public void setR(int i,
                 Complex v)

get

public Complex get(int j,
                   int i)
Retrieve value of matrix elements


getL

public Complex getL(int i)

getD

public Complex getD(int i)

getR

public Complex getR(int i)

dot

public Complex[] dot(Complex[] v)
Matrix times vector


solve3

public Complex[] solve3(Complex[] rhs)
Gaussian elimination for 3-banded matrix with multiple RHS and BC