Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c579904614da8011928807497babd4646fcc9e79
Ticket: 3025922fffffffffffffffffffffffffffffffff
TIP#363 - vector math, partial reference implementation
User & Date: kchansen on 2010-07-06 16:22:11
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Implements vector-vector, vector-scalar, and scalar-vector add/sub/mul/div in expr.
    
    Very minor impact on core execution.  Two files touched in generic:
    
    tclInt.h -- added a couple of macros to help processing lists of numbers
    
    tclExecute.c -- added vector-vector and vector-scalar handling per above
    
    Compiles & runs with 8.6b1.
    
    VTest.tcl exercises the mods.  Printf's show where the code is running....
    
    Handles stuff like:
    
        set V [list 5 4 3 2 1]
        set W [list 1 2 3 4 5]
    
        expr {$V + $W}
    
        set X 10
    
        expr {$V * $X}
    
        expr {$X / $V}
    
    
  4. foundin changed to: "TIP Implementation"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kchansen"
  10. subsystem changed to: "48. Number Handling"
  11. title changed to:
    TIP#363 - vector math, partial reference implementation
    
  12. type changed to: "Patch"