|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.utils.ThomasAlg
public class ThomasAlg
Implement Thomas alg. forthe solution of tridiagonal linear systems.
| Constructor Summary | |
|---|---|
ThomasAlg()
|
|
| Method Summary | |
|---|---|
static boolean |
thomas(double[] a,
double[] b,
double[] c,
double[] d,
int n)
Solve tridiagonal system a(i)x(i-1) + b(i)x(i) + c(i)x(i+1) = d(i), i = 0,..,n-1 a(0) = 0 and c(n-1) = 0. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThomasAlg()
| Method Detail |
|---|
public static final boolean thomas(double[] a,
double[] b,
double[] c,
double[] d,
int n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||