Re: [Jprogramming] Is there a way to distinguish input 1 from 01 ?

2023-09-16 Thread Piet de Jong
you could probably distinguish between the > different cases but the key is to get input as character. > > On Fri, Sep 15, 2023 at 3:43 PM Elijah Stone wrote: > >> No. No more than you can distinguish 2+2 from 2 + 2. >> >> On Sat, 16 Sep 2023, Piet de Jong wrote: >>

Re: [Jprogramming] Is there a way to distinguish input 1 from 01 ?

2023-09-15 Thread Piet de Jong
008 and 8. > > On Sat, 16 Sep 2023, Piet de Jong wrote: > >> I meant a general verb u such that >> 011 -:&u 11 >> 008 -:&u 8 >> etc are all false. >> >>> On 16 Sep 2023, at 04:50, Elijah Stone wrote: >>> u=: 1 -: 3!:0 >>

Re: [Jprogramming] Is there a way to distinguish input 1 from 01 ?

2023-09-15 Thread Piet de Jong
144 > t=. '/boolean/literal/integer/floating/complex/boxed/extended/rational' > t=. t,'/sparse boolean/sparse literal/sparse integer/sparse floating' > t=. t,'/sparse complex/sparse boxed/symbol/unicode/unicode4' > (n i. 3!:0 y) pick <;._1 t > ) > >

Re: [Jprogramming] Is there a way to distinguish input 1 from 01 ?

2023-09-15 Thread Piet de Jong
I meant a general verb u such that 011 -:&u 11 008 -:&u 8 etc are all false. > On 16 Sep 2023, at 04:50, Elijah Stone wrote: > > u=: 1 -: 3!:0 -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Is there a way to distinguish input 1 from 01 ?

2023-09-15 Thread Piet de Jong
Would like a verb u such that (u 1) does not match (u 01) Without resorting to character input. -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Rank difficulties

2023-09-07 Thread Piet de Jong
3 2 4 5 >> 4 2 3 5 >> 5 2 3 4 >> >> Another possibility is to rotate the axes, >> >> slicer=. (|. i.@:#@:$@:]) |: ] >> >> (0 1 2 3) ($ o slicer"0 _) Y >> 2 3 4 5 >> 3 4 5 2 >> 4 5 2 3 >> 5 2 3 4 >> >>

Re: [Jprogramming] Rank difficulties

2023-09-06 Thread Piet de Jong
you are looking for is a transpose. > > Maybe > > ~.@(, i.@#) |: ] > > Untested. > > Henry Rich > > On Wed, Sep 6, 2023, 6:10 PM Piet de Jong wrote: > >> Here is my “wish" >> >> A dyadic (tacit) verb such that x v y gives all the slices

Re: [Jprogramming] Rank difficulties

2023-09-06 Thread Piet de Jong
25 > 2 (1 slice) n > 2 > 5 > 8 > > 11 > 14 > 17 > > 20 > 23 > 26 > 0 (0 slice) n > 0 > 1 > 2 > > 3 > 4 > 5 > > 6 > 7 > 8 > > > 9 > 10 > 11 > > 12 > 13 > 14 > > 15 > 16 > 17 >

Re: [Jprogramming] Rank difficulties

2023-09-06 Thread Piet de Jong
Here is my “wish" A dyadic (tacit) verb such that x v y gives all the slices of y along dimension x, where x is integer. That is to say i{ x v y is slice i of the array y along dimension x. Thanks for all your help! > On 7 Sep 2023, at 08:04, 'robert therriault' via Programming > wrote:

Re: [Jprogramming] Rank difficulties

2023-09-06 Thread Piet de Jong
I’m looking for a verb that does the relevant slicing. Hopefully the verb can be used to slice on any dimension. > On 7 Sep 2023, at 07:26, Brian Schott wrote: > > Does this help? > > ,./0 1 {"1 m > 0 2 > 1 3 > > > -- > (B=) <-my sig > Brian Schott > --

[Jprogramming] Rank difficulties

2023-09-06 Thread Piet de Jong
Apologies if this is an ignorant question. (Always learning) I want to take “slices” of a multidimensional array. For simplicity suppose the array is 2 dimensional (This is not my actual situation but illustrates my difficulties) m=. i.2 2 The two horizontal slices are 0{m and 1{m or more simp

Re: [Jprogramming] Eigenvectors and eigenvalues of complex matrices

2023-08-19 Thread Piet de Jong
Ok thanks. I didn’t want to “reinvent the wheel." > On 20 Aug 2023, at 07:54, Henry Rich wrote: > > I don't know. The last I used it was years ago. I had to make new wrappers > sometimes; it was straightforward. > > Henry Rich > > On 8/19/2023 5:35 PM

Re: [Jprogramming] Eigenvectors and eigenvalues of complex matrices

2023-08-19 Thread Piet de Jong
19/2023 4:03 PM, Piet de Jong wrote: >> I’ve just updated to J9.4 and Lapack2. >> >> The verb do_dgeev from math/lapack2 appears to work fine for real matrices. >> >> However it gives a “domain error" when applied to a complex matrices. >

[Jprogramming] Eigenvectors and eigenvalues of complex matrices

2023-08-19 Thread Piet de Jong
I’ve just updated to J9.4 and Lapack2. The verb do_dgeev from math/lapack2 appears to work fine for real matrices. However it gives a “domain error" when applied to a complex matrices. Is this how it should be? Or I am missing something? ---

Re: [Jprogramming] Implicit functions

2020-11-04 Thread Piet de Jong
> See https://en.wikipedia.org/wiki/Equation_solving for some of the issues. > > If f can be expressed as a polynomial, you might want to consider > using https://www.jsoftware.com/help/dictionary/dpdot.htm > > Thanks, > > -- > Raul > > On Wed, Nov 4, 2020 at 7:27 P

[Jprogramming] Implicit functions

2020-11-04 Thread Piet de Jong
Still trying to learn/improve my J after 25 years. Here is the issue. I’m probably having a pipe dream. Suppose you have an implicit function f(x,y)=0 which is relatively “clean” (ie simple to specify) Is there a “clean/efficient” way in J to solve for y given x or vice versa. I know I can

Re: [Jprogramming] Some comments on Fold

2020-07-08 Thread Piet de Jong
convoluted but illustrates how I don’t (yet?) find your way of thinking as “natural." > 5, 6, 7. It's a Wiki. If you think the documentation could be improved, go > ahead and improve it. Not familiar with how I can edit the documentation and would not be comfortable doing witho

[Jprogramming] Some comments on Fold

2020-07-08 Thread Piet de Jong
I've been experimenting with the new fold conjunction F:. . I think it's a very useful addition to J and thank all those who have made this possible. Nevertheless I have some comments/reactions.These are made in a constructive spirit. Perhaps these comments just display my own ignor

Re: [Jprogramming] Fold -- can't get it to work

2020-07-03 Thread Piet de Jong
┬─┬─┬─┬─┐ │1│=│0│+│1│ └─┴─┴─┴─┴─┘ ┌─┬─┬─┬─┬─┐ │3│=│1│+│2│ └─┴─┴─┴─┴─┘ ┌─┬─┬─┬─┬─┐ │6│=│3│+│3│ └─┴─┴─┴─┴─┘ 1 3 6 Both give the same result. > On 3 Jul 2020, at 11:47 am, Xiao-Yong Jin wrote: > > >> On Jul 2, 2020, at 3:18 PM, Piet de Jong wrote: >> >> My issue is not with x and y

Re: [Jprogramming] Fold -- can't get it to work

2020-07-02 Thread Piet de Jong
ained, but not stridently enough to convince us to > change it. Dissenters could get in the habit of writing (v~), perhaps. > > Henry Rich > > On 7/2/2020 3:22 AM, Piet de Jong wrote: >> Thanks. Didn’t realise the significance of the change. Have now got it to >> work. &g

Re: [Jprogramming] Fold -- can't get it to work

2020-07-02 Thread Piet de Jong
xpecting the old interpretation. NuVoc is for 9.02 (it has a note to > that effect IIRC). > > Henry Rich > > On 7/1/2020 7:29 PM, Piet de Jong wrote: >> Started looking at fold — seems a very useful new verb. >> However couldn’t get it to work >> >> Engine

[Jprogramming] Fold -- can't get it to work

2020-07-01 Thread Piet de Jong
Started looking at fold — seems a very useful new verb. However couldn’t get it to work Engine: j901/j64avx2/darwin Release-e: commercial/2020-01-29T12:41:32 Library: 9.01.21 Qt IDE: 1.8.6/5.12.7(5.12.7) Platform: Darwin 64 Installer: J901 install InstallPath: /applications/j901 Here is the wha

[Jprogramming] "Passing on" monad/dyad information

2019-05-09 Thread Piet de Jong
Am having a mental block about this problem so will appreciate any help. The following is a simplified version of the problem. Apologies if this is a stupid question. Take the verb ^. which has both a monad and dyad definition: log_e(y) for monad and log_x(y) for dyad Now suppose I want th

[Jprogramming] Why is @ called "atop" rather than "of"

2019-05-06 Thread Piet de Jong
I know this is a very, very minor point. But it was one my (very many) roadblocks in learning of J. It seems more natural to say (u@v y) is "u of v of y” rather than 'u atop v of y.” Why not rename @ as “of”? -- For inf

Re: [Jprogramming] Applying different verbs to different items.

2019-05-03 Thread Piet de Jong
> > R.E. Boss > > >> -----Oorspronkelijk bericht- >> Van: Programming >> Namens Piet de Jong >> Verzonden: vrijdag 3 mei 2019 11:20 >> Aan: Programming forum >> Onderwerp: Re: [Jprogramming] Applying different verbs to different items. >

Re: [Jprogramming] Is there an 'inverse" to evoke

2019-05-03 Thread Piet de Jong
s why perhaps I thought it could be an adverb or conjunction: a counterpart to “evoke” ~. > On 3 May 2019, at 10:09 pm, Henry Rich wrote: > > Impossible - v never sees y, only its value. > > Henry Rich > > On 5/3/2019 6:58 AM, Piet de Jong wrote: >> If m is the name (

Re: [Jprogramming] Is there an 'inverse" to evoke

2019-05-03 Thread Piet de Jong
y, check ": . > Otherwise if you want something like this > > var=: i.3 > 'var' -: v var > 1 > > then I doubt that such a v exists. > > Cheers, > Louis > >> On 3 May 2019, at 12:58, Piet de Jong wrote: >> >> If m is the name (ie

[Jprogramming] Is there an 'inverse" to evoke

2019-05-03 Thread Piet de Jong
If m is the name (ie string) of a variable then ‘m'~ is the value of the variable. Is there an “inverse" to this? That is I want a verb v (or adverb or conjunction) so that if y is a variable then v y is the name (ie string) of the variable.

Re: [Jprogramming] Applying different verbs to different items.

2019-05-03 Thread Piet de Jong
r dyadic verb use in the > gerund. > > c2=: respectively ] > > g c2 3 1 0 3 > > 9 0.5 1 9 > > g c2 i. 3 4 > > 0 1 4 9 > > 2 2.5 3 3.5 > > 2980.96 8103.08 22026.5 59874.1 > > > > > On Fri, May 3, 2019 at 8:16 PM Piet de Jong w

Re: [Jprogramming] Applying different verbs to different items.

2019-05-03 Thread Piet de Jong
Following all the suggestions, the following seems to get close g=. *: ` -: `^ c=. /.~ g c i.3 4 0 2 4 6 2 2.5 3 3.5 16 18 20 22 $ g c i.3 4 3 1 4 The only annoying thing are the final dimensions, fixed up with ,”2 > On 3 May 2019, at 5:04 pm, Piet de Jong wrote: > > c=

Re: [Jprogramming] Applying different verbs to different items.

2019-05-03 Thread Piet de Jong
c=:((128!:2)&.><)”0 seems to work great. Will have to work out exactly why it works — don’t understand the why the rank 0 boxing makes things happen the right way. > On 3 May 2019, at 2:32 pm, Gilles Kirouac wrote: > > or (not as simple) > > c=: (128!:2)&.>< > > g c"0 y > > ┌─┬───┬─┐ >

Re: [Jprogramming] Applying different verbs to different items.

2019-05-02 Thread Piet de Jong
; 0 1 4 9 16 >2.5 33.5 4 4.5 > 22026.5 59874.1 162755 442413 1.2026e6 > > The transpose works in this case because the 3 gerunds are applied to each > transposed row and then Under (&.) undoes the transpose to provide the >

Re: [Jprogramming] Applying different verbs to different items.

2019-05-02 Thread Piet de Jong
Thanks! But it doesn’t appear to generalise to applying successive verbs in the gerund to successive >>items<< in y. (I checked the dictionary re /. and it talks of “collections” of y. Not sure what that means) For example if y is i.3 5 then I’d like the first verb in the gerund to apply

[Jprogramming] Serve -- Rget does not appear to work properly

2015-04-19 Thread Piet de Jong
I’m using Rserve — it works well (many thanks for making this possible - extremely useful) However the dyadic form of Rget does not seem to work (monadic works ok) The problem seems to be that Rget uses “rgetmap_rbase_” and this is not found NB. sample session — have opened Rserve on the R sid

Re: [Jprogramming] Recalling and editing lines in jqt

2015-01-25 Thread Piet de Jong
r a list of jqt shortcuts, which I'm sure is > there somewhere :-/ > > Tobia > > On Sun, Jan 25, 2015 at 11:26 PM, Joe Bogner wrote: > >> Try Ctrl+D or Ctrl+Shift+Up >> On Jan 25, 2015 5:23 PM, "Piet de Jong" wrote: >> >>> I very much

Re: [Jprogramming] Recalling and editing lines in jqt

2015-01-25 Thread Piet de Jong
I very much agree with this. The J way of doing this is unintuitive and (according to me) the most irritable cosmetic aspect in J. If you space up, edit, and enter, then the displayed “history” is not an accurate. To maintain an accurate history one must space up, enter, edit, enter. This is

Re: [Jprogramming] How is it that people are oblivious to APL/J?

2014-12-02 Thread Piet de Jong
Perhaps one of the issues is the cumbersome input/output of “real world” data. Input/output of data organised in say a spreadsheet is one of the first things a serious user would like to achieve so that he/she can get on with manipulations. I know this is possible with tara etc and much apprecia

Re: [Jprogramming] Missing help menu item on J803qt for Mac

2014-10-30 Thread Piet de Jong
> ensuring that Edit is open before you use File>Recent... > > Best, > Marc > > On Wed, Oct 29, 2014 at 11:23 AM, Piet de Jong wrote: >> I had it before Yosemite (I think) >> Where can I find the patch referred to? >> >>> On 29 Oct 2014, at 9:52 pm

Re: [Jprogramming] Missing help menu item on J803qt for Mac

2014-10-30 Thread Piet de Jong
/jwiki/Guides/Compiling%20Jqt>. > > Alternatively, you can work around this issue in your current build by > ensuring that Edit is open before you use File>Recent... > > Best, > Marc > > On Wed, Oct 29, 2014 at 11:23 AM, Piet de Jong wrote: >> I had it before Yosemite (I think)

Re: [Jprogramming] Missing help menu item on J803qt for Mac

2014-10-29 Thread Piet de Jong
I had it before Yosemite (I think) Where can I find the patch referred to? > On 29 Oct 2014, at 9:52 pm, bill lam wrote: > > thanks. IIRC there was already a patch to fix menu issue on Mac. > > Is your problem specific to yosemite? > On Oct 29, 2014 6:48 PM, "Piet de J

Re: [Jprogramming] Missing help menu item on J803qt for Mac

2014-10-29 Thread Piet de Jong
ote: > > did you test with jqt 1.2.4? What is your JVERSION? > On Oct 29, 2014 6:37 PM, "Piet de Jong" wrote: > >> When I open J803qt on my Mac the following Menu items display across the >> top menu bar of the execution window: >> >> jqt File Edit View

[Jprogramming] Missing help menu item on J803qt for Mac

2014-10-29 Thread Piet de Jong
When I open J803qt on my Mac the following Menu items display across the top menu bar of the execution window: jqt File Edit View Run Tools Project Help After pulling in a file using File>>Recent … the Help menu disappears from the top menu bar Can this be correct? (I need “Help"

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
lowing in lapack.ijs found in the addon (notice the space at the end). > > dll=: > '/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib > ' > > >> On Tue, Oct 28, 2014 at 12:01 AM, Piet de Jong wrote:

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
set dll=: ... to this file instead? > > > On Sun, Oct 26, 2014 at 7:12 PM, Piet de Jong wrote: >> Thanks for the message and help. >> >> I browsed around and found >> >> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/V

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
e instead? > > > On Sun, Oct 26, 2014 at 7:12 PM, Piet de Jong <mailto:pietd...@gmail.com>> wrote: >> Thanks for the message and help. >> >> I browsed around and found >> >> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecL

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
With the suggested replacement still get the same error: ── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y > On 27 Oct 2014, at 5:33 pm, bill lam wrote: > > /System/Library/

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
cder'' 1 0 > On 27 Oct 2014, at 1:26 pm, bill lam wrote: > > cder is a verb, to execute you need ot type > > cder'' > > Пн, 27 окт 2014, Piet de Jong написал(а): >> ── (6 of 22) LAPACK (ctd) ─── >

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y cder 15!:10 LASTIN_jlapack_ ┌─┬─┬─┬──┬─┬───┬───┬───

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
and cd is the external caller > On 27 Oct 2014, at 11:26 am, bill lam wrote: > > what were the error messages reported? What was the reason for failure > from cder'' ? > On Oct 26, 2014 7:13 PM, "Piet de Jong" <mailto:pietd...@gmail.com>> wrot

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
locate the library and amend the " dll=: ... " line in lapack.ijs . > On Oct 25, 2014 9:42 PM, "Piet de Jong" wrote: > >> So how is the shared dll library installed? >> >> Help is much appreciated. >> >> >>> On 25 Oct 201

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread Piet de Jong
s not install any binary lapack lib to > Mac. I suspect if it failed in j80x it will also fail in older > versions of J. > > Сб, 25 окт 2014, Piet de Jong написал(а): >> I did clean installs of 801 802 and 803 qt for Mac. >> >> Also installed the Lapack. >> &g

[Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread Piet de Jong
I did clean installs of 801 802 and 803 qt for Mac. Also installed the Lapack. All fail to run the Lapack Studio>Lab>Lapack at step 6 where it attempts to compute eigenvalues/eigenvectors. It objects to the "cd" command. Any help gratefully received. -

Re: [Jprogramming] Calling R from J using Mac Jqt8.01

2014-04-19 Thread Piet de Jong
> 0 > > (And there's a delay between the two lines.) > > If you do not get similar behavior, I imagine that that indicates some > problem with your system. > > Thanks, > > -- > Raul > > On Sat, Apr 19, 2014 at 8:18 PM, Piet de Jong wrote: > > 2!

Re: [Jprogramming] Calling R from J using Mac Jqt8.01

2014-04-19 Thread Piet de Jong
/library/Rserve/libs/i386/Rserve-bin.so > --no-save' > > Thanks, > > -- > Raul > > > On Sat, Apr 19, 2014 at 7:46 PM, Piet de Jong wrote: > > But isn't pid defined in my first statement? ie. > > > > pid=.{. 2!:2 '/Library/ > >

Re: [Jprogramming] Calling R from J using Mac Jqt8.01

2014-04-19 Thread Piet de Jong
On Sat, Apr 19, 2014 at 7:31 PM, Piet de Jong > wrote: > > I call R from J and use the following setup to initiate the R interface > > > > load 'stats/r/rserve' > > > > pid=.{. 2!:2 '/Library/Frameworks/R.framework/Resources/bin/R > > > CMD

[Jprogramming] Calling R from J using Mac Jqt8.01

2014-04-19 Thread Piet de Jong
I call R from J and use the following setup to initiate the R interface load 'stats/r/rserve' pid=.{. 2!:2 '/Library/Frameworks/R.framework/Resources/bin/R CMD/Library/Frameworks/R.framework/Versions/2.12/Resources/library/Rserve/libs/i386/Rserve-bin.so --no-save' Everything works fine. Ho

Re: [Jprogramming] J on iOS

2013-11-24 Thread Piet de Jong
Ok get it. Thanks! On Mon, Nov 25, 2013 at 9:40 AM, Eric Iverson wrote: > Welcome is where plots etc show. Close it with touch of button with the > dot. Read the help. Enjoy. > On Sunday, November 24, 2013, Piet de Jong wrote: > > > Very impressed with this development. >

[Jprogramming] J on iOS

2013-11-24 Thread Piet de Jong
Very impressed with this development. Finally J on a handheld device -- after years of absence (I learned J on an HP200LX - it was very useful to have it in my pocket instantly accessible) One annoyance. Why the huge amount of space given to "Welcome to J etc" which occupies valuable real

Re: [Jprogramming] Where has "clipread" gone in J801

2013-11-19 Thread Piet de Jong
ated in j8 jqt. > In additon, new clipcopyx and clippastex commands have been > added which can handle image file. Please see jqt wd reference in > jwiki. > > Пн, 18 ноя 2013, Piet de Jong писал(а): > > I use it

Re: [Jprogramming] Where has "clipread" gone in J801

2013-11-18 Thread Piet de Jong
lease see jqt wd reference in > jwiki. > > Пн, 18 ноя 2013, Piet de Jong писал(а): > > I use it for copy/paste data from Excel. > > Works great in J7 > > -- > > For information about J foru

Re: [Jprogramming] Novice problem

2013-11-18 Thread Piet de Jong
ntire array which >> resulted from the verb on the right, regardless of the rank of the >> verb on the right. In other words, it is equivalent to (+/ % #) &. >> (*:"_) In other words: square the numbers, add them up, divide by >> their sum, then do the inverse of squa

[Jprogramming] Where has "clipread" gone in J801?

2013-11-17 Thread Piet de Jong
I use it to copy/paste data from Excel etc files. Works great in J7 -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Where has "clipread" gone in J801

2013-11-17 Thread Piet de Jong
I use it for copy/paste data from Excel. Works great in J7 -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Greek characters on plots

2013-11-04 Thread Piet de Jong
; output? > > Вт, 05 ноя 2013, Piet de Jong писал(а): > > I must be doing something wrong. > > > > On my Mac Air I get funny little arrows rather than λ. > > This happens with u: or typing the character in directly into the J verb > > Any suggestions? > &g

Re: [Jprogramming] Greek characters on plots

2013-11-04 Thread Piet de Jong
haracters on plots > > >From: Christoph von Basum > > >Date: Mon, 4 Nov 2013 14:40:36 +0100 > > > To: Programming forum > > > > > > pd 'ycaption ',":u:955 923 > > > > > > 955 is small, 923 capital lambda. >

[Jprogramming] Greek characters on plots

2013-11-04 Thread Piet de Jong
Is there a way to label axes with "Greek" (or non ascii) characters ? pd 'ycaption lambda'NB. an example I want "lambda" to be an actual Greek lambda. How to achieve this? -- For information about J forums see http://ww

Re: [Jprogramming] deoptim and lbfgs minimization

2012-09-09 Thread Piet de Jong
> If someone is interested in making this available then the following C > port of the original Fortran code looks promising and should be easier > to hook up to J. > > http://www.chokkan.org/software/liblbfgs/ > > > On Sat, Sep 8, 2012 at 8:44 PM, Piet de Jong wrote: >

Re: [Jprogramming] deoptim and lbfgs minimization

2012-09-08 Thread Piet de Jong
PM, "Piet de Jong" wrote: >> >> Thanks for all the help. This has got me going just fine (at least for > now) > Good to hear. > >> lgbfgs used to work find for me under J6. So I miss it under J7. >> Advantage was that it had derivatives and

Re: [Jprogramming] deoptim and lbfgs minimization

2012-09-07 Thread Piet de Jong
n: 100 >>> Best Value: 0. >>> Best Var set: >>> 0.0000 0.0000 >>> ++---+ >>> |1.06998e_15 _3.06813e_15|1.05583e_29|2020| >>> || || >>> ... >>> >&

[Jprogramming] deoptim and lbfgs minimization

2012-09-06 Thread Piet de Jong
I 'm trying to use the "deoptim" math addon package. However can't figure it out.Tried the following trite example to understand how things work. NB. Minimize the sum of squares within the range _3 to 3 require 'math/deoptim' ssq=:+/@*: deoptim 'ssq';_3 3 This fails for a