Thanks for this.
I won't pretend to understand the whole script at this time but it appears that you have, an rms value 'X' (or array of such values ) for which you want to find the logeof 1/X. The problem that I see is thatyour rms is not the root mean square but root (sum of squares). If rms is intended to be root mean square then it should be (as from previous discussion on this forum):



This has been tested and works but whether it has actual meaning for complex numbers is ??? It could bear on something that I am interested in -fields under transmission lines- magnitude Ok but direction is a bit questionable.

Don



On 12/12/2013 7:42 PM, Raul Miller wrote:
On Thu, Dec 12, 2013 at 10:27 PM, Don Kelly <d...@shaw.ca> wrote:
What is the purpose of this exercise?
http://jsoftware.com/pipermail/programming/2013-December/034264.html

After correcting the obligatory errors, I was trying to address what
is now the -@^.@rms part of this line:

choose=: try #~ [: (= >./) -@^.@rms@(try -"1 {:@keep)

Thanks,


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to