arbitrary matrix concatenation


    May 04 2007 | 10:52 pm
    I'm trying to figure out an elegant way to make matrix foo { 1 2 3} = { 1 2 3 1 2 3 1 2 3 1} or { 1 2 3 1 2} or { 1 2 3 1 2 3 1 2} ect.. basically a recursive matrix concatenation that repeats the original matrix across a specified dimension until it reaches an arbitrary size of x without having to do fancy scripting. Anybody have some useful suggestions?

    • May 05 2007 | 4:35 am
      jit.scanwrap?
      On May 4, 2007, at 6:52 PM, Tyler Nitsch wrote:
      > I'm trying to figure out an elegant way to make matrix foo { 1 2 3}
      > = { 1 2 3 1 2 3 1 2 3 1} or { 1 2 3 1 2} or { 1 2 3 1 2 3 1 2}
      > ect.. basically a recursive matrix concatenation that repeats the
      > original matrix across a specified dimension until it reaches an
      > arbitrary size of x without having to do fancy scripting. Anybody
      > have some useful suggestions?
      v a d e //
      www.vade.info
      abstrakt.vade.info