VMD-L Mailing List
From: Myunggi Yi (myunggi_at_gmail.com)
Date: Tue Nov 21 2006 - 16:38:54 CST
- Next message: Adrian Koh: "Installing VMD Windows version on 64-bit Windows Environment"
- Previous message: annalisa_at_biotec.tu-dresden.de: "combine.tcl"
- Next in thread: Axel Kohlmeyer: "Re: vector summation"
- Reply: Axel Kohlmeyer: "Re: vector summation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD users,
I'd like to do something like following
in C programming
for ( i =0 ; ){
sum += sum + i
}
===========>>>
in VMD tcl script for vector summation (my script)
for { set j 0 } { $j < $num1 } { incr j } {
set sum_vec [vecadd $sum_vec [vecnorm [vecsub [lindex
$crd2 $j] [lindex $crd1 $j]]]]
}
As you know this doesn't work.
How should I fix my script?
-- Best wishes, MYUNGGI YI ================================== KLB 419 Institute of Molecular Biophysics Florida State University Tallahassee, FL 32306 Office: (850) 645-1334 http://www.scs.fsu.edu/~myunggi
- Next message: Adrian Koh: "Installing VMD Windows version on 64-bit Windows Environment"
- Previous message: annalisa_at_biotec.tu-dresden.de: "combine.tcl"
- Next in thread: Axel Kohlmeyer: "Re: vector summation"
- Reply: Axel Kohlmeyer: "Re: vector summation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]