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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 4640 - (download) (as text) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 9 months ago) by glk
File size: 260 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
#include <iostream>
#include "vec.h"

static float Data[] = {0.0f, 1.0f, 12.5f, -3.0f};

int main (int argc, const char **argv)
    vec2f u(&Data[0]);
    vec2f v(&Data[2]);

    vec2f w = u + v;

    std::cout << "w = " << w << std::endl;

    return 0;

ViewVC Help
Powered by ViewVC 1.0.0