jama trouble

Ho friends, i'm a newbie of jama.I want to know how i can resolve a linear system from a singular matrix.I have a matrix A:1 0 1 0 1 0 10 1 1 0 1 1 00 0 1 0 0 0 10 0 0 1 0 1 1there's a method in jama to solve this linear
[299 byte] By [marlborinoa] at [2007-11-27 1:22:44]
# 1
I'm sorry....i forgot the system to resolve.....it's:Ax=0
marlborinoa at 2007-7-12 0:10:17 > top of Java-index,Java Essentials,Java Programming...
# 2
The documentation for jama is here: http://math.nist.gov/javanumerics/jama/doc/ and it seems to include some useful looking decompositions.
pbrockway2a at 2007-7-12 0:10:17 > top of Java-index,Java Essentials,Java Programming...
# 3

particular solution is X = (0,0,0,0,0,0,0)

general solution is:

X(x1,x2,x3,x4,x5,x6,x7)

x1 = C1

x2 = C1+C2-C3

x3 = C3

x4 = C2+C3

x5 = -C1

x6 = -C2

x7 = -C3

C1, C2, C3 € R

i used a program i made some monthes ago to get it:

http://petitcalvino.free.fr/projects/Projet%20Maths/Executable.jar

Launch

Menu Matrice

-> Nouvelle matrice

-> utiliser la m閠hode matricielle

-> nombre de lignes : 4

--> nombre de colonnes : 7

--> method: Manuellement

--> fill the matrix (NB : B column is "0,0,0,0" since solution is "0")

--> select "solution particuli鑢e" or "solution generale" for the particular and general solutions of the system

don't mind trying it if it can help ;)

Message was edited by:

calvino_ind

Message was edited by:

calvino_ind

calvino_inda at 2007-7-12 0:10:17 > top of Java-index,Java Essentials,Java Programming...
# 4
thanks calvino_ind....i've tried your program and it's perfect....can i have the source code please?...I need it extremely!!...i need only the function to calculate the "solution generale"...thanks
marlborinoa at 2007-7-12 0:10:17 > top of Java-index,Java Essentials,Java Programming...
# 5

source is available at

http://petitcalvino.free.fr/projects/Projet%20Maths/sources/

if i remember correctly, you have to call jordan() on a matrix, and then to call getVecteursKerA(), in class Mtx.java ; but it's prolly a bit more complicated.

there are lots of comments, but maybe it will be helpless for you since it s in french

if you want more info about this prog, just add me with calvino_ind@hotmail.com so i can give you some more help ;)

Message was edited by:

calvino_ind

calvino_inda at 2007-7-12 0:10:17 > top of Java-index,Java Essentials,Java Programming...