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

SCM Repository

[diderot] View of /branches/vis15/src/tests/new-tests/clamp-test.diderot
ViewVC logotype

View of /branches/vis15/src/tests/new-tests/clamp-test.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3831 - (download) (annotate)
Thu May 5 22:17:06 2016 UTC (3 years, 1 month ago) by jhr
File size: 194 byte(s)
  working on test case
// test various forms of the clamp operation


tensor[2,2] t1 = [[-1, 2], [3, 4]];
tensor[2,2] lo = [[0, 1], [0, 0]];;
tensor[2,2] hi = [[1, 1.5], [4, 3]];

tensor[2,2] t = clamp (lo, hi, t1);


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