Search found 4 matches

by stignielsen
Thu Feb 05, 2015 10:15 am
Forum: Language
Topic: Wohoo 14
Replies: 13
Views: 48083

Re: Wohoo 14

Thomas, sorry for the comment alignment ;-! I forgot to mention that xFindn is a matrix lookup that is used to find occurences of rows from matrix into another, both of same shape and datatypes column wise. It was introduced when we had an example where we had to find unique rows in a matrix (i.e ...
by stignielsen
Tue Feb 03, 2015 9:45 am
Forum: Language
Topic: Wohoo 14
Replies: 13
Views: 48083

Re: Wohoo 14

The new matrix iota was one of the first thing I tried out, to see if it is faster than {(↓⍺)⍳↓⍵}. I couldn't see any difference, but still both methods have a problem with floats. So we stick to our good old cover function to take any type of matrix and look up rows. If floats exists, they are conve ...
by stignielsen
Mon Apr 14, 2014 1:22 pm
Forum: Windows: GUI, COM/OLE/ActiveX
Topic: Multi-threading For Responsiveness
Replies: 3
Views: 14566

Re: Multi-threading For Responsiveness

I have just implemented a solution very similar to your second suggestion. Our case is that we want to be able to cancel a database query (which is performed through a []NA’ed function in a separate thread). The solution was to make a form without borders containing the cancel button only. The form i ...
by stignielsen
Tue Sep 21, 2010 8:31 am
Forum: Microsoft.NET
Topic: Question About System.IO.FileInfo
Replies: 2
Views: 9090

Re: Question About System.IO.FileInfo

I have made a function to do various conversions of .Net types that will cast it to best suitable APL type. Maybe that can be used for inspiration? r←dotnetConvNum dotnetnum; ⍝ Convert dotnet numeric value to the best corresponding representation in APL. :Select dotnetnum.GetType :Case System.Int64 : ...