On 2/22/2011 11:34, John Randall wrote:
> bill lam wrote:
>> In the test script of lapack, the 2 line for heev failed and were
>> commented
>> out to make the rest of test continue.  Does anyone have any idea why they
>> fail?
>
> The matrices m and mz are not necessarily symmetric or Hermitian.  I see
> that the test matrices in heev.ijs are all adjusted to be, using (+ |:) or
> (+ (+@|:)).  Could this be the problem, or does heev adapt to this?
>
> Best wishes,
>
> John
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>

I found this on wikipedia:

       h1=: 2 2$3 2j1 2j_1 1
       h1
    3 2j1
2j_1   1
       heev h1
┌────────────────┬───────────────────────────────────┐
│_0.44949 4.44949│0.486519j0.243259 0.750533j0.375266│
│                │        _0.839121          0.543945│
└────────────────┴───────────────────────────────────┘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to