On Tue, Jun 18, 2013 at 9:07 AM, greg heil <[email protected]> wrote: > 1)Is there a citation for the meaning of x vs i?
http://www.jsoftware.com/help/user/call_procedure.htm > 2)Is there a formula for header size depending on rank? https://github.com/openj/core/blob/master/jtype.h#L41 says: typedef struct {I k,flag,m,t,c,n,r,s[1];}* A; and +/','='k,flag,m,t,c,n,r,s' 7 So, expressed in C, it's (7+rank)*sizeof I (Because counting commas ignores the s, which is the shape of the array. The number of elements in the shape is the rank of the array.) And, of course, sizeof I is 4 on a 32 bit machine and 8 on a 64 bit machine. FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
