source: trunk/c++_tools/classifier/utility.cc @ 608

Last change on this file since 608 was 608, checked in by Peter, 15 years ago

set properties

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date ID
File size: 410 bytes
RevLine 
[581]1// $Id$
2
3#include <c++_tools/classifier/utility.h>
4
5
6#include <c++_tools/classifier/DataLookup1D.h>
7#include <c++_tools/gslapi/vector.h>
8
9
10namespace theplu {
11namespace classifier {
12
13  void convert(const DataLookup1D& lookup, gslapi::vector& vector) 
14  {
15    vector=gslapi::vector(lookup.size());
16    for(u_int i=0; i<lookup.size(); i++)
17      vector(i)=lookup(i);
18  }
19
20}} // of namespace classifier and namespace theplu
Note: See TracBrowser for help on using the repository browser.