This looks nice.  For testing I like

    ]B =: 3 3 $ 0 _1j2 0 0 _3 4j_5 0 0 6
 0 _1j2    0
 0   _3 4j_5
 0    0    6

Kip

Sent from my iPad


On Jan 18, 2013, at 3:49 AM, "Linda Alvord" <lindaalv...@verizon.net> wrote:

> I finally got an  hft  that pleases me:
> 
>    ]A=:2 2$1 2j3 0 4
> 1 2j3
> 0   4
> 
>    hftla 
> ] + (0 = ]) * [: + |:
> 
>   hftla A
>   1 2j3
> 2j_3   4
> 
> Kip, Is there a good matrix with shape  3 3  to use for testing?
> 
> Linda
> 
> 
> -----Original Message-----
> From: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of km
> pSent: Thursday, January 17, 2013 4:35 PM
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] Hermitian from triangular
> 
> Yep, archangel.
> 
> Sent from my iPad
> 
> 
> On Jan 17, 2013, at 2:51 PM, bob therriault <bobtherria...@mac.com> wrote:
> 
>> Last tweak (I promise)
>> 
>> Because the rank of | is 0 0 0 we don't need to specify the rank in the
> definition of la.
>> 
>> la =: [`]@.(<&|)
>>   (la +@|:) A
>>  1 2j3
>> 2j_3   4
>> 
>> Though we do need the parenthesis to separate < from the @. conjunction.
>> 
>> Cheers, bob
>> 
>> 
>> On 2013-01-17, at 12:29 PM, bob therriault wrote:
>> 
>>> la =: [`]@.(<&|)"0
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to