[Jprogramming] Stats package - geometric distribution

2015-11-03 Thread 'Jon Hough' via Programming
I'm reading through the stats/base addon script. (stats/base/distributions.ijs) Verb definitions here: http://www.jsoftware.com/docs/help602/user/script_statdist.htm There doesn't seem to be any definition of a geometric distribution here. Are there any geometric distribution verbs defined anywh

[Jprogramming] Dead links at jsoftware

2015-11-03 Thread 'Jon Hough' via Programming
Apologies if this is the wrong forum. I'm currently on this page http://www.jsoftware.com/primer/phrases.htm which I got to using the search function. (Query: statistics site:jsoftware.com 4th or 5th link ) Various links at the top of the screen, including "!:", "Voc", "wd", "help" give "The r

Re: [Jprogramming] derivatives of a gerund

2015-11-03 Thread David Lambert
Yes! Like that. And by gum I understand as well. kappa computes curvature of parametric curve, and its reciprocal is the radius of curvature. mp=: $:~ :(+/ .*) abs=: [: %: mp det=: -/ .* cross=: (1 |. [: , (0 1,:2) det;._3 ,:&(,{.)"1) ([: :) assert 0 _1 0 -: 1 0 0 cross 0 0 1 dgerund=: 3 :

Re: [Jprogramming] A simple bloom filter

2015-11-03 Thread 'Jon Hough' via Programming
Sorry, I'm not sure I understand the question. As far as I know, there is no way to distinguish between a real positive and a false positive. I think you would need a cache somewhere of all the entries, which would defeat the whole purpose of the bloom filter - since you may as well just use a d

Re: [Jprogramming] derivatives of a gerund

2015-11-03 Thread 'Pascal Jasmin' via Programming
cool, dgerund *:`^`(2&^) - Original Message - From: Raul Miller To: Programming forum Cc: Sent: Tuesday, November 3, 2015 5:05 PM Subject: Re: [Jprogramming] derivatives of a gerund Like this? dgerund=:3 :0"0 {.(y`:6 d.1)`'' ) r=:4 :0 dx=. dgerund x ddx=. dgerund dx NB. fi

[Jprogramming] jmf updated

2015-11-03 Thread Eric Iverson
The jmf addon (memory mapped files) has been updated to fix a bug in Mac OSX mapping of large files. An upgrade of jmf is recommended if you are using jmf on Mac OSX. -- For information about J forums see http://www.jsoftware.com/f

Re: [Jprogramming] derivatives of a gerund

2015-11-03 Thread Raul Miller
Like this? dgerund=:3 :0"0 {.(y`:6 d.1)`'' ) r=:4 :0 dx=. dgerund x ddx=. dgerund dx NB. fill in the rest... ) Note that if you have verbs which can't be handled by d. you'll have to use a cover for d.1 which does what you need for those cases. Thanks, -- Raul On Tue, Nov 3, 2015 at

[Jprogramming] derivatives of a gerund

2015-11-03 Thread David Lambert
In algebraic notation I have a parametric curve x=u(t), y=v(t), z=v(t) and need radius_of_curvature(t) Would like the verb r taking a gerund argument, u`v`w r t but requires first and second derivatives. In LaTeX linear notation, with \times representing cross product, curvature is \[\frac{\|\

Re: [Jprogramming] HTML'izing J Code

2015-11-03 Thread John Baker
Thanks I will take a look at joxygen as I use pandoc to stage materials. On Tue, Nov 3, 2015 at 10:48 AM, Alex Shroyer wrote: > Vim has :TOhtml which exports an HTML version of the current buffer and > renders any syntax highlighting with CSS. Emacs and the WebKit-based > editors (Atom, Sublime

Re: [Jprogramming] HTML'izing J Code

2015-11-03 Thread Alex Shroyer
Vim has :TOhtml which exports an HTML version of the current buffer and renders any syntax highlighting with CSS. Emacs and the WebKit-based editors (Atom, Sublime Text) probably have something similar. On Tue, Nov 3, 2015 at 10:00 AM, chris burke wrote: > The J6 export script should work fine

Re: [Jprogramming] HTML'izing J Code

2015-11-03 Thread chris burke
The J6 export script should work fine in J8, so it could be ported as an addon. I think the reason why it had not been ported is because of the complex configuration code. However, the configs should now be put in a plain text file like the rest of the J8 configs, and the remaining code would be ea

[Jprogramming] HTML'izing J Code

2015-11-03 Thread John Baker
Many years ago there was an HTML utility in J 6.x that rendered J code as HTML. As I recall this utility did not use CSS which limited its utility and it was eventually dropped. I am interested in converting J code to HTML for inclusion in blog posts. I built a special version of pandoc: https: