//    Copyright (C) 2002  Otto Skrove Bagge
//
//    This program is free software; you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation; either version 2 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program; if not, write to the Free Software
//    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

#include <iostream.h>
#include <time.h>
#ifndef VSIZE
#define VSIZE 10000
#endif
const int N=10000;

#include "Vector-boost.h"

int main(int argc, char ** argv)
{
   // Create vectors, and initialise elements with 1, 2 and 3
   Vector<int> A(1), B(2), C(3);

   clock_t t = clock();
   for(int i = 0; i < N; i++)
   {
      A =  A + A * (C + B / C) + 2 - B * C - C;
   }
   t = clock() - t;

   cout << ((double)t) / CLOCKS_PER_SEC << "\n";
}
