I would also like to point out that the matrix in your example code is
not symmetric. It is also not necessary to allocate g:
> > double g[] = new double [3];
It is sufficient to just use:
double g[];
Regards,
Mark
>
> ----- Original Message -----
> From: "salih_alborno" <salih_alborno@y...>
> To: <
jsci@yahoogroups.com>
> Sent: Monday, April 21, 2003 10:10 PM
> Subject: [jsci] problem in JSci.maths.LinearMath.eigenSolveSymmetric( )
>
>
> > dear sirs,
> >
> > i have been using JSci recently. it worked fine. however when i have
> > attempted using the eigenSolveSymmetric(x,v) function, i get an
> > error saying " cannot resolve symbol" and the error points to the
> > function.
> > i have used: LinearMath.eigenvalueSolveSymmetric(x) and it worked
> > perfectly.
> > my code looks like this:
> >
> > double array [][] = new double[][]{
> > {2,5,1},
> > {1,4,1},
> > {1,2,7},
> > };
> > JSci.maths.DoubleSquareMatrix x = new DoubleSquareMatrix(array);
> > double g[] = new double [3];
> > try {
> >
> > g = LinearMath.eigenSolveSymmetric(x);
> >
> > } catch (MaximumIterationsExceededException mxe){
> > System.out.println(mxe.getMessage());
> > }
> >
> > i will be thankfull, if you could tell what is the problem.
> > yours
> > salih
> > 21/4/03
> >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >