Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/ein16/synth/vis/t__t_20__21_20_/t__t_20__21_20_.diderot
ViewVC logotype

View of /branches/ein16/synth/vis/t__t_20__21_20_/t__t_20__21_20_.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4283 - (download) (annotate)
Tue Jul 26 20:15:10 2016 UTC (3 years ago) by cchiw
File size: 705 byte(s)
add fail examples
field#2(3)[2]F0 = c4hexic⊛  image("data/inputfile_0.nrrd");
field#2(3)[2]F1 = c4hexic⊛  image("data/inputfile_1.nrrd");
field#2(3)[2]F2 = c4hexic⊛  image("data/inputfile_2.nrrd");
input real scale = 1;
field#2(3)[2]G = (F0⊗F1)•F2;
int length =5;
strand f(int i) {

	output tensor [2] out = [0.0, 0.0];
    update {

		if(i==0){
			out = G([0.2, 0.12, -0.27]);
		}
		else if(i==1){
			out = G([0.2, 0.12, -0.27]);
		}
		else if(i==2){
			out = G([0.19, 0.36, 0.32]);
		}
		else if(i==3){
			out = G([0.2, -0.1, -0.39]);
		}
		else if(i==4){
			out = G([-0.28, 0.01, -0.11]);
		}
		else if(i==5){
			out = G([0.05, 0.04, 0.13]);
		}

        stabilize;
    }
}
initially [ f(i) | i in 0..length];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0