X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/e77e9feca3956347ffeb6d58e97ec3b423ec99aa..4ecbf362e0d1d0abb9a7f0e9af8322472f28f7d1:/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:+),_ :+:_);