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

SCM Repository

[diderot] Annotation of /tests/sqprnt/sqp1.diderot
ViewVC logotype

Annotation of /tests/sqprnt/sqp1.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (view) (download)

1 : glk 4640 input vec2 vmm = [0,0];
2 :     input real voff = 0;
3 :     real {} seeds = load("vec.nrrd");
4 :    
5 :     strand sqp (int ii, real vv) {
6 :     int nn = length(seeds);
7 :     output real err = 0;
8 :    
9 :     update {
10 :     real ww = lerp(vmm[0], vmm[1], 0, ii, nn-1);
11 :     err = |voff + ww - vv|;
12 :     stabilize;
13 :     }
14 :     }
15 :    
16 :     initially [ sqp(ii, seeds{ii}) | ii in 0..length(seeds)-1 ];

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