Skip to content

Commit

Permalink
I used time on that damn 2d multiplication - so its going in
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmikkel committed Jun 15, 2009
1 parent b78e211 commit 3713dff
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions info/realMult
@@ -0,0 +1,47 @@
,.........|............................................................................................................,
:mult | :
: | +------+ :
: v | v :
: *==============* *==================* *==============* *==================================* | *============* :
: !case N of E, S!->!send [(W,S),(W,E)]!->!case W of E, S!->!send [(Inl Inl W,S),(Inl Inl W,E)]!--#->!send [(W,E)]!--
: *==============* *==================* *==============* *==================================* | *============* :
: | | | | | :
: | +-#----------------------+ +-----+ | *==================* | :
: | | | | | +->!send [(W,S),(W,E)]!---+ | :
: v | | v | *==================* | | :
: *======================* | | *============* | | | | :
: !send [(N,S),(Inr N,E)]!-+ | +-------------->!send [(N,E)]!-#---------------#-------------#------#------------------
: *======================* | | *============* | | | | :
: | | | | | | | :
: | | | +--------------------------+ | +-------------#-------------#------+ :
: | | | | | | | | | :
: | +----------#-#-+ +--------+ +-#-#-------------#-------------#-------------------------
: | | | | | | | | | | :
: v | +--------+ | v +----+ | v v :
: *============* | | | *==================* | *========* *========* :
: +->!send [(W,E)]!-+ | +--------+ !send [(N,E),(N,S)]!----------#-+ +-->!use mult!->!use plus!---------------------
: | *============* | | *==================* | | | *========* *========* :
: | | | | | | | :
: | | | | | | +-------------------------------+ :
: | | +---------------------+ | | | | :
: | | | +--------------#-#------------------------------------#----+ :
: | +---------------------+ | | | | | :
: | | | | | | | :
: | *==============* *==================* | | *==============* | | *==============================* | | :
--#->!case W of E, S!->!send [(W,E),(W,S)]!-#-#->!case W of E, S!-#-#-->!send [(Inl Inl W,S),(Inl W,E)]!-+ | :
: | *==============* *==================* | | *==============* | | *==============================* | :
: | | | | | | | | | | :
: | | +------------+ | +---+ | | +----+ v :
: | | | | | | | *====================* :
: | v v | | | | +->!send [(Inl Inr N,E)]!--------
: | *==========================* *============* | | | | | *====================* :
: | !send [(Inr N,S),(Inr N,E)]!------------>!send [(W,E)]!-#-----#-#-----------#------#--------------------------------
: | *==========================* *============* | | | | | :
: | | +--------------------------+ | | v | :
: +-------+ v | | *============* | :
: *==================* | +-->!send [(N,E)]!-#--------------------------------
: !send [(N,E),(N,S)]!-----------------------+ *============* | :
: *==================* | :
: | | :
: +-----------------------------------------------------+ :
,......................................................................................................................,

0 comments on commit 3713dff

Please sign in to comment.