Search found 36 matches
- Fri Apr 20, 2018 1:28 pm
- Forum: APL Chat
- Topic: using R from APL
- Replies: 5
- Views: 15247
using R from APL??
Hello, I'm in the latest version for macOS. Dyalog APL/S-64 Version 16.0.32742 Unicode Edition Fri Apr 20 15:55:16 2018 Rebuilding user command cache... done )copy rconnect /Applications/Dyalog-16.0.app/Contents/Resources/ Dyalog/ws/rconnect.dws saved Fri Apr 6 06:06:24 2018 r←⎕new R r.init and here ...
- Tue Dec 19, 2017 11:58 pm
- Forum: macOS
- Topic: .NET with Dyalog APL on macOS?
- Replies: 3
- Views: 26034
Re: .NET with Dyalog APL on macOS?
Hi Andy, Why? There are toons of libraries, utilities and whatever over there. It have to be easy to realise, because it is .NET, very well known to Dyalog APL. thanks, sasha. Hi Sasha Currently no, it's not possible - and it's not something that we've looked at yet. However, that's not to say that ...
- Tue Dec 19, 2017 11:42 pm
- Forum: APL Chat
- Topic: Dyalog Std TT to APL385 Unicode?
- Replies: 5
- Views: 15136
Re: Dyalog Std TT to APL385 Unicode?
Dear Woody, I wanted to use my reply to you to get out doc file to test Vinset's advice. I didn't find anything attached. That stupid I am:-( Sorry. After more play with the topic, I think you were (and you ARE) right! When I open old documents 1) on windows and 2) with ms word, everything goes ...
- Tue Dec 19, 2017 11:30 pm
- Forum: APL Chat
- Topic: Dyalog Std TT to APL385 Unicode?
- Replies: 5
- Views: 15136
Re: Dyalog Std TT to APL385 Unicode?
Hi Vince, You helped me as 1,000 times before. I didn't know about this option (this font). Thanks a lot! Have you heard about automation of font conversion in doc(x) document? Thanks and regards, sasha. Hi Sasha, You could try changing the font of the Dyalog Std TT text in Word to Dyalog Symbol ...
- Tue Dec 19, 2017 10:04 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: why grey color looks violet?
- Replies: 10
- Views: 49353
Re: why grey color looks violet?
you just average of R,G and B: bits←⌊0.5+(+/[⎕IO]256 256 256⊤bits)÷3 It didn't work for me:-) Only _weighted_ mean: ⍝ Y = .2126 * R^gamma + .7152 * G^gamma + .0722 * B^gamma did the thing right. /sasha Here is the code I am using to convert a color image to grey: GrayPic picname;bits ⍝ TRANSFORM THE ...
- Tue Dec 19, 2017 10:01 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: why grey color looks violet?
- Replies: 10
- Views: 49353
Re: why grey color looks violet?
The code you posted looks correct. Unless you changed your code since you posted the question I can't explain why you got a blue on black image before. Well, the important thing is it's working now :) preparing some math on your request, I googled a bit and and found, that ⍝ Y = .2126 * R^gamma + ...
- Thu Nov 30, 2017 10:56 pm
- Forum: APL Chat
- Topic: Dyalog Std TT to APL385 Unicode?
- Replies: 5
- Views: 15136
Re: Dyalog Std TT to APL385 Unicode?
Woody, Thanks for your response and here it is (doc) Regards, Sasha Sasha, I am thinking that if you have the Dyalog Std TT font installed on your Windows PC ... then, the Word Document should reflect that font and you should see all of the symbols correctly. Can you please upload an example of the ...
- Thu Nov 30, 2017 10:13 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: why grey color looks violet?
- Replies: 10
- Views: 49353
Re: why grey color looks violet?
I sent some "code" here& what is opinion now? thanks. /sasha Hard to say without seeing your code, but my guess is that if you are creating 24-bit images but only write values in the range 0-255, then you effectively only use the blue channel. You'd need to encode it using all 3 channels to get gray ...
- Thu Nov 30, 2017 10:10 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: why grey color looks violet?
- Replies: 10
- Views: 49353
Re: why grey color looks violet?
Hi Ray, Thank you for your respond and very nice to contact you again! Your answer sounds a bit depressing... About 8x8 arrays... Do you see my post, that the problem is resolved easily? Regards, sasha "..the normal eye's colour response is not linear, the strongest response is to green (59%), then ...
- Thu Nov 30, 2017 9:52 pm
- Forum: Windows: GUI, COM/OLE/ActiveX
- Topic: why grey color looks violet?
- Replies: 10
- Views: 49353
Re: why grey color looks violet?
Phil, thanks a lot for your request. Preparing "math" to answer to you I found that everything works well:-)) ⍝ google ‘lena.bmp’ for a favorite testing image (or use any other image.bmp) ⍝ put it to your current directory and create bitmap: 'bmp'⎕wc 'bitmap' ('file' 'lena.bmp') ⍴cbits←bmp.CBits 512 ...