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

SCM Repository

[diderot] Annotation of /tests/vec-tests/benchmark.cxx
ViewVC logotype

Annotation of /tests/vec-tests/benchmark.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (view) (download) (as text)

1 : glk 4640 #include <iostream>
2 :     #include "vec.h"
3 :    
4 :     static float Data[] = {0.0f, 1.0f, 12.5f, -3.0f};
5 :    
6 :     int main (int argc, const char **argv)
7 :     {
8 :     vec2f u(&Data[0]);
9 :     vec2f v(&Data[2]);
10 :    
11 :     vec2f w = u + v;
12 :    
13 :     std::cout << "w = " << w << std::endl;
14 :    
15 :     return 0;
16 :     }
17 :    

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