Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

23
LINES

< > BotCompany Repo | #1000561 // Make structure

Document

make structure(complicatedness)
test structure
repeat


structure elements:
x
y
const
switch(., ., .)
sin(.)
cos(.)
*
/
+
-

switch(x, a, b) = x < 0 ? a : b

complicatedness = number of elements
c(sin(x)) = 2
c(sin(const)) = 2
c(x+y) = 3

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
710 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
make structure(complicatedness)
test structure
repeat


structure elements:
x
y
const
switch(., ., .)
sin(.)
cos(.)
*
/
+
-

switch(x, a, b) = x < 0 ? a : b

complicatedness = number of elements
c(sin(x)) = 2
c(sin(const)) = 2
c(x+y) = 3

}}
2015-08-19 10:45:12  delete 
708 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Snippet ID: #1000561
Snippet name: Make structure
Eternal ID of this version: #1000561/1
Text MD5: aa7b7ec4290fc34b0591c94bd07e120a
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-14 16:48:43
Source code size: 261 bytes / 23 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 668 / 126
Referenced in: [show references]