search for: apl

Displaying 20 results from an estimated 125 matches for "apl".

Did you mean: all
2008 Aug 20
1
FYI: APL in R
http://idisk.mac.com/jdeleeuw-Public/utilities/apl/apl.R Dedicated to the IBM 2741. Implemented for general multidimensional arrays: drop, take, reshape, shape, rank, select, generalized inner product, generalized outer product, representation, base value, join, expand, reduce, scan, member of, ravel, compress, tranpose, rotate Basically, the...
2002 Dec 09
2
APL?
Hi, is anybody out there who knows APL and would help me to translate 52 lines of APL code into propper R? best, Torsten
2000 Jan 13
0
The Array Programming Languages Conference APL-Berlin-2000
Hello! The Array Programming Languages Conference will be from 24th - 27th July 2000 Please look at: http://stat.cs.tu-berlin.de/APL-Berlin-2000/ Chairman's Address APL Berlin 2000 will take place in a city which is worth a visit even without array processing languages. There is a fortunate coincidence: Much activity in scientific and commercial institutions is based on such languages. Considering this and the ongoing con...
2004 Mar 31
11
Zero Index Origin?
I'm very new to R and utterly blown away by not only the language but the unbelievable set of packages and the documentation and the documentation standards and... I was an early APL user and never lost my love for it and in R I find most of the essential things I loved about APL except for one thing. At this early stage of my learning I can't yet determine if there is a way to effect what in APL was zero index origin, the ordinality of indexes starts with 0 instead o...
2015 Apr 28
5
CENTOS not DoD approved
nowhere does it say that centos is approved for use in DoD. it is not on the APL, only RedHat and SuSE
2005 Sep 28
4
A document about implementing dtrace probes in SAX
Hi, I have mentioned before that we have added some sdt dtrace probes in SAX, our APL interpreter. Encouraged by Angelo and Jignesh, I have created a small document (5 pages) describing our experience with it, together with some problems we have encountered and some scripts we use for pretty-printing dtrace outputs. The said document can be found at ftp://ftp.tor.soliton.com/pu...
2012 Feb 21
2
Dataframes in PLS package
...69 1 1 94 44300 6 1 221 61 0 1 72 79800 6 0 110 40 1 1 48 17600 5 1 194 41 0 0 85 58100 4 0 120 76 1 1 19 76700 3 0 210 61 0 0 41 37600 1 0 243 101 1 1 57 40800 5 1 163 62 0 1 64 400 3 0 So the h. and the c. columns should be matrices that I can regress in plsr function: apls <- plsr(h ~ c, data = C) summary(apls) But this gives me: [34] ERROR: invalid type (list) for variable 'h' I can get the plsr function to work with scalars for both predictor and response. Can anyone tell me where I have gone wrong on the pls input? apls <- plsr(w ~ h, data...
2003 Oct 21
5
do.call() and aperm()
Hi everyone I've been playing with do.call() but I'm having problems understanding it. I have a list of "n" elements, each one of which is "d" dimensional [actually an n-by-n-by ... by-n array]. Neither n nor d is known in advance. I want to bind the elements together in a higher-dimensional array. Toy example follows with d=n=3. f <-
2003 May 26
4
spinning and flipping arrays
Hello people, Is there some simple way of spinning and/or flipping arrays in R? Here's what I mean. Suppose that foo is a 2x3x4 array with the following contents: (I know this is different than typing 'foo' at and R prompt, but I'm so used to row major order from using APL, I have a hard time with R's output) > foo[1,,] [,1] [,2] [,3] [,4] [1,] 1 2 3 4 [2,] 5 6 7 8 [3,] 9 10 11 12 > foo[2,,] [,1] [,2] [,3] [,4] [1,] 13 14 15 16 [2,] 17 18 19 20 [3,] 21 22 23 24 flipping foo around its las...
2006 Jul 17
1
Patch to allow negative argument in head() and tail()
...s (and other abuseRs ;-), I would like to contribute a patch against functions head() and tail() of package utils to allow for a negative 'n' argument. This allows to extract all but the first/last 'n' elements/rows/lines of an object, similar to the "drop" operator of APL. [1] I put the patched head.R and head.Rd files, along with diff files in http://vgoulet.act.ulaval.ca/pub/R/ The differences were obtained against today's version of r-devel (more specifically revision 30277 of head.R and revision 30915 of head.Rd). Some comments: - The current version...
2010 Sep 02
3
[LLVMdev] Line number information (and other metadata)
...e correct way of doing this? In addition, can anyone point me at an example of how to emit a comment attached to an instruction (or function)? -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ } │ --- Conway's Game Of Life, in one line of APL -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100902/2057fb84/attachment.sig>
2006 Apr 20
2
R-Help
...-3,2005 -110 300 Jan-4,2005 114 -21 Jan-5,2005 11 299 Jan-6,2005 -23 12 Mar-5,2005 200 311 Dataset-3: Date x y Jan-3,2005 -110 300 Jan-4,2005 114 -21 Jan-5,2005 11 299 Mar-5,2005 200 311 Apl-23,2005 123 200 Now I want to get the common dates along with x and y from this above three datasets keeping the same order in date-variable as it is. For ex. I want to get: Date x y x y x y (from...
2010 Aug 23
2
[LLVMdev] Indexing backwards through a structure
...one of the vtables, I need to get the pointer to the actual object instance. Does LLVM has any built-in support for doing this sort of thing?) -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ } │ --- Conway's Game Of Life, in one line of APL -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100823/51ed2d67/attachment.sig>
2001 Jul 29
4
style question: returning multiple arguments - structure orlist
...tudents how to use the system (S-PLUS, but it could equally well have been R) I can say the most difficult people to teach it to are those you have to "convert" from a long history of expertise in another system. Trying to make R behave like the previous system (SAS, Stata, SPSS, Matlab, APL, ....), as they are invariably determined to do, is ultimately futile, but you, the teacher, find yourself doing all sorts of hand-stands and cartwheels to meet these people half-way. It doesn't work. Trust me. In the end it *really* *doesn't* *work*. Seriously. I'm not sure how we...
2001 May 19
2
calculations on diagonals of a matrix
Given an nxm matrix A I want to compute the nxm matrix B whose ij-th element is the sum of the elements of A lying on the diagonal that ends with element ij, i.e., b_ij = a_ij + a_(i-1)(j-1) + a_(i-2)(j-2) + ... In APL (which I no longer use), I would use the 'rotate' operator to derive an array whose columns are diagonals of the given array and then cumulate down columns. Is there a similar operator in R, or is there another/better way? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2008 Jun 20
2
The Green Book and its relevance to R
...o S. And, incidentally, in the opinion of those who have read all three, which of the books, blue, green, or white (or maybe V & R "S programming"?), would be most recommended as the next book for one who would move beyond advanced beginner status? (Programming experience in Fortran, APL, Python, small-system assembly language, but not C). Ben Fairbank San Antonio, Texas baf@texas.net [[alternative HTML version deleted]]
2001 Mar 21
1
Disconnecting: Bad packet length 2056273721.
OpenSSH-2.5.2.p1 won't connect to OpenSSH-2.5.1p2 using version 2 protocol, quitting with the error message: [dunlap at tesla dunlap]$ ssh -2 kraken 7a 90 3f 39 37 67 0d 9e ac 43 74 c3 83 83 f5 a2 Disconnecting: Bad packet length 2056273721. tesla is Linux tesla.apl.washington.edu 2.2.16-3 #1 Mon Jun 19 19:11:44 EDT 2000 i686 unknown Intel RHL6.2 with OpenSSH-2.5.2.p1 compiled from sources on machine with all RHL6.2 patches. kraken is SunOS kraken 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-5_10 with OpenSSH-2.5.1p2. This problem does not exsist when an Ope...
2001 Mar 30
4
linux tcsetattr failed
does anyone else see this on linux: localhost sshd[14418]: Accepted password for stevesk from 15.126.45.158 port 49594 localhost sshd[14418]: Setting tty modes failed: Invalid argument redhat with kernel 2.2.17. ttymodes.c: /* Set the new modes for the terminal. */ if (tcsetattr(fd, TCSANOW, &tio) < 0) log("Setting tty modes failed: %.100s", strerror(errno)); return;
2010 Aug 24
0
[LLVMdev] Indexing backwards through a structure
Hi David, On 23 August 2010 15:02, David Given <dg at cowlark.com> wrote: > Given a structure like this (using C syntax rather than LLVM because I'm > still not fluent with LLVM assembly): > > struct Object > { >  int i1; >  int i2; >  int i3; > }; > > Then, if I have an int* pointer which I know is pointing to the i3 > element, what's the best
2017 May 31
0
[ANNOUNCE] xkeyboard-config 2.21
...1): Fixed RALT config of de(T3) Nik Kopylov (1): Descriptions formatting, typos and mistakes v2 NikoKrause (1): two new layouts "Russian (Germany, recommended)" and "Russian (Germany, transliteration)" for german keyboards Sergey Udaltsov (14): Updated apl stuff Updated apl version Added it(fur) Updated translations (broken with prev commit) Add missing letter I̵ to French (Togo) keyboard and update language list Duplicate "Malay (Jawi)" entry Update to lk(us) Missing closing bracket on keyboard lay...