纵向尺寸n=0
solve
n*(n+1)*(2*n+1)/6=idx1
for n
k=0
solve
k*(k+1)*(2*k+1)/6=p9
for k
j=ceil(n)
...
大侠,可否以你的这个金字塔阵列,直接明了的讲讲阵列关系中以下参数的意义,先多谢了!
/* Enter relations using the following symbols:
/* memb_v - relation driven resultant dimension in this specific direction
/* memb_i - relation driven increment in this specific direction
/* lead_v - leader value (dimension selected to determine direction)
/* idx1 - pattern instance index in the first direction
/* idx2 - pattern instance index in the second direction
/* DO NOT USE memb_v AND memb_i IN THE SAME RELATION
---------------------------------------------------------------
还有大侠在这个阵列中用到的
J=ceil(N)
if I==0
memb_i=-A*J-B*J+A/2
else
if ceil(I/J)-I/J==0
memb_i=-A*(J-1)-B*(J-1)
else
memb_i=A+B
endif
endif
------------------------
以及,solve........for ; floor()等语句表示什么意思,如果想学可以去那里了解,再次多谢了!