Changes between Initial Version and Version 1 of Ticket #617, comment 4


Ignore:
Timestamp:
Feb 1, 2014, 10:42:21 AM (11 years ago)
Author:
Peter Baumann

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #617, comment 4

    initial v1  
    22Isn't this already doable through something like
    33
     4{{{
    45UPDATE 3Dcube AS c
    56SET c[ 5:*, *:*, *:* ] -- assuming shift position 5 in dimension 0
    6 ASSIGN shift(c,[1,0,0])
     7ASSIGN shift( c, [1,0,0] )
     8}}}
    79
     10{{{
    811UPDATE 3Dcube AS c
    912SET c[ 5, *:*, *:* ] -- slot freed gets new values
    1013ASSIGN shift( inv_tiff( $1 ), [5,*,*] )
     14}}}
    1115
    1216or, in one query:
    1317
     18{{{
    1419UPDATE 3Dcube AS c
    1520SET c[ 5:*, *:*, *:* ]
     
    1924        shift(c,[1,0,0])
    2025    )
    21 
     26}}}