Some fractal examples of u . v with u not an insert: load '~addons/graphics/fvj4/raster.ijs'
M (#.@|:) . *: |: M=:#:i.2^3 view_image P256;M (#.@|:) . *: |: M=:#:i.2^8 M i.&0"1@|: . *: |: M=:#:i.2^3 view_image (Hue (i.%])9);M i.&0"1@|: . *: |: M=:#:i.2^8 M i.&1"1@|: . *. |: M=:(n#3)#:i.3^n=:3 view_image (Hue (i.%])n+1);M i.&1"1@|: . *. |: M=:(n#3)#:i.3^n=:6 Basically they are from textbook FVJ4 (and papers that preceded) and a very out of date set of examples appears at https://webbox.lafayette.edu/~reiterc/mvp/ipf/index.html and the script it links to and some references. I concur that < . v is useful in seeing a partial construction. Best, Cliff On Tue, Jan 10, 2023 at 4:40 AM Jan-Pieter Jacobs < janpieter.jac...@gmail.com> wrote: > Although I never used it, I can imagine using a Fold (F.. or F:.) instead > of u/ in a dot product could be handy in some cases. This would allow early > exit using Z: . > > Jan-Pieter. > > On Tue, 10 Jan 2023, 05:12 Devon McCormick, <devon...@gmail.com> wrote: > > > Looking at about 300 examples of using dot in my own code, it looks like > > every one has a reduction on the left. > > > > On Mon, Jan 9, 2023 at 10:51 PM Omar Antolín Camarena < > o...@matem.unam.mx> > > wrote: > > > > > > I sometimes use "(<x)+./ . E &> y" to look up any occurrences of > > string x > > > > in vector of strings y > > > > > > Sorry, my complaint was a silly typo mistake, your expression is fine: > > > > > > (<'ab') +./ .E.&> 'ac';'cab';'bca';'bab' > > > 0 1 0 1 > > > > > > (I had written +./. E.&> with the dot and space swapped.) > > > > > > -- > > > Omar > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > 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