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

SCM Repository

[diderot] View of /tests/sqprnt/sqp2.diderot
ViewVC logotype

View of /tests/sqprnt/sqp2.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 10 months ago) by glk
File size: 351 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
input vec2 vmm = [0,0];
input vec2 voff = [0,0];
vec2 {} seeds = load("vec.nrrd");

strand sqp (int ii, vec2 vv) {
   int nn = length(seeds);
   output real err = 0;

   update {
      real ww = lerp(vmm[0], vmm[1], 0, ii, nn-1);
      err = |voff + [ww,ww] - vv|;
      stabilize;
   }
}

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