X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/c7f552fd8888da2f0d8cfb228fe0f28d3df3a12c..b4b6f2ea75b9f0f3ca918f5b84016610bf7a4d4f:/dsp_files/make_init.dsp diff --git a/dsp_files/make_init.dsp b/dsp_files/make_init.dsp deleted file mode 100644 index ee43c6c..0000000 --- a/dsp_files/make_init.dsp +++ /dev/null @@ -1,25 +0,0 @@ -rec(a, b, i) = a ~ (i : b); - -vect0 = case { - ((y, z)) => vect0(y) : vect0(z); - (y) => _ , y : vectorize; -}; - -init_value = case { - ((x,y)) => init_value(x) : vect0(y); - (0) => 0; - (x) => 0 : vect0(x); -}; - -make_init(x) = (0, 1 : prefix), init_value(x), _ : select2; - -A = +; -B = serialize, 2 : vectorize; -//B = serialize : _, 2 : vectorize; -I = make_init((2)); - -//process = _,_ : > ; - -process = (0.000001, 2 : vectorize) : rec(A,B,I); - -//process = 1, 2:+:+~((0,1:+),_ :+:_);