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

SCM Repository

[diderot] View of /tests/rtest/tests/tenseq1/tenseq1.diderot
ViewVC logotype

View of /tests/rtest/tests/tenseq1/tenseq1.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: 281 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
#version 2

/* test subscripting of sequences of tensors */

tensor[3][3] seq = { [0, 0, 1], [0, 1, 0], [1, 0, 0] };

strand S (int i, int j) {
    output real out = nan;

    update {
	out = seq[i] • seq[j];
	stabilize;
    }

}

create_array { S(i, j) | i in 0..2, j in 0..2 }

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