# hama-user mailing list archives

##### Site index · List index
Message view
Top
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Re: Doubt in the EigenValueProcedure in DenseMatrix.java
Date Mon, 15 Mar 2010 06:08:05 GMT
```Hi,

> Currently what I am doing is generating a 10*10 random matrix and I give 3 as the

Jacobi Eigenvalue Algorithm is only works for symmetric matrix.

> number of loops. I dont understand why but my output looks very much like my
> input. If I increase the number of loops what should I increase it to ?Is there
> any co relation between size of the matrix and the number of loops

See the 814 line code of DenseMatrix "while (state != 0 && icount < imax)"

The integer state counts the number of components of changed which
have the value true. Iteration stops as soon as state = 0.

The integer imax counts is just a optional. In TestJacobiEigenValue
class, imax is '100', but will be stoped when state = 0 (49
iterations).

On Sun, Mar 14, 2010 at 1:06 PM,  <aa225@buffalo.edu> wrote:
> Hello All,
>          I solved the previous problem. Now my program is able to get the eigen
> values, but I want to know what is a good value to give for the number of loops.
> Currently what I am doing is generating a 10*10 random matrix and I give 3 as the
> number of loops. I dont understand why but my output looks very much like my
> input. If I increase the number of loops what should I increase it to ?Is there
> any co relation between size of the matrix and the number of loops
>
> Best Regards from Buffalo
>
> Abhishek Agrawal
>
> SUNY- Buffalo
> (716-435-7122)
>
> On Sat 03/13/10 12:33 AM , aa225@buffalo.edu sent:
>> Hi,
>> I was looking through the Eigenvalue procedure in DenseMatrix.java and I
>> seethe values of the calculated eigen values are stored in a table. I was
>> wonderinghow ca I access the values of this table from my application. According
to
>> myunderstanding the name of the table is not given at run time
>>
>> Best Regards from Buffalo
>>
>> Abhishek Agrawal
>>
>> SUNY- Buffalo
>> (716-435-7122)
>>
>> On Fri 03/12/10 11:21 PM , aa225@buffa
>> lo.edu sent:> Hi,
>> > I am a relatively new user of Hama. I ran the
>> command "bin/hama> examples "and this is the output I am
>> getting >
>> > /HAMA\$ bin/hama examplesRunJar jarFile
>> > /HAMA\$
>> > From the wiki I see that this is not what I
>> should be getting. What is the> reasonfor this ?
>> >
>> > Best Regards from Buffalo
>> >
>> > Abhishek Agrawal
>> >
>> > SUNY- Buffalo
>> > (716-435-7122)
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>
>>
>
>

--
Best Regards, Edward J. Yoon @ NHN, corp.
edwardyoon@apache.org
http://blog.udanax.org

```
Mime
View raw message