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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3831 - (view) (download)

1 : jhr 3831 // test various forms of the clamp operation
2 :    
3 :    
4 :     tensor[2,2] t1 = [[-1, 2], [3, 4]];
5 :     tensor[2,2] lo = [[0, 1], [0, 0]];;
6 :     tensor[2,2] hi = [[1, 1.5], [4, 3]];
7 :    
8 :     tensor[2,2] t = clamp (lo, hi, t1);
9 :    

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