Changeset 1437 for trunk


Ignore:
Timestamp:
Aug 25, 2008, 7:55:00 PM (13 years ago)
Author:
Peter
Message:

merge patch release 0.4.2 to trunk. Delta 0.4.2-0.4.1

Location:
trunk
Files:
255 edited

Legend:

Unmodified
Added
Removed
  • trunk/.svndigest/config

    r1000 r1437  
    1717# If trac-root is set, svndigest will create anchors to the Trac page.
    1818# trac-root = http://lev.thep.lu.se/svndigest/
    19 trac-root = http://trac.thep.lu.se/yat/
     19trac-root = http://dev.thep.lu.se/yat/
    2020
  • trunk/AUTHORS

    r1275 r1437  
    1212source code revision system.
    1313
    14 This file is part of yat library, http://trac.thep.lu.se/yat
     14This file is part of yat library, http://dev.thep.lu.se/yat
    1515
    1616The yat library is free software; you can redistribute it and/or
  • trunk/ChangeLog

    r1303 r1437  
    77Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    88
    9 This file is part of yat library, http://trac.thep.lu.se/yat
     9This file is part of yat library, http://dev.thep.lu.se/yat
    1010
    1111The yat library is free software; you can redistribute it and/or
     
    2525======================================================================
    2626
     27
    2728version 0.5:
    28   - http://trac.thep.lu.se/yat/log/trunk?rev=HEAD&stop_rev=1277
    29   - http://trac.thep.lu.se/yat/query?milestone=0.5&order=id
     29  - http://dev.thep.lu.se/yat/log/trunk?rev=HEAD&stop_rev=1277
     30  - http://dev.thep.lu.se/yat/query?milestone=0.5&order=id
     31
     32version 0.4.2:
     33  - http://dev.thep.lu.se/yat/log/branches/0.4-stable?rev=1435&stop_rev=1302
     34  - http://dev.thep.lu.se/yat/query?milestone=yat+0.4.1&order=id
    3035
    3136version 0.4.1:
    32   - http://trac.thep.lu.se/yat/log/branches/0.4-stable?rev=1300&stop_rev=1280
    33   - http://trac.thep.lu.se/yat/query?milestone=yat+0.4.1&order=id
     37  - http://dev.thep.lu.se/yat/log/branches/0.4-stable?rev=1300&stop_rev=1280
     38  - http://dev.thep.lu.se/yat/query?milestone=yat+0.4.1&order=id
    3439
    3540version 0.4:
    36   - http://trac.thep.lu.se/yat/log/trunk?rev=1276&stop_rev=835
    37   - http://trac.thep.lu.se/yat/query?milestone=yat+0.4&order=id
     41  - http://dev.thep.lu.se/yat/log/trunk?rev=1278&stop_rev=835
     42  - http://dev.thep.lu.se/yat/query?milestone=yat+0.4&order=id
     43
  • trunk/Makefile.am

    r1413 r1437  
    99# Copyright (C) 2008 Peter Johansson
    1010#
    11 # This file is part of the yat library, http://trac.thep.lu.se/yat
     11# This file is part of the yat library, http://dev.thep.lu.se/yat
    1212#
    1313# The yat library is free software; you can redistribute it and/or
  • trunk/NEWS

    r1325 r1437  
    1111  - config.h is no longer installed
    1212
     13Version 0.4.2 (released 25 August 2008)
     14
     15  - FileUtil can now handle large files (#378)
     16  - x variable is trained in regression::Local::fit() (#423)
     17
     18  A complete list of closed tickets can be found here [[br]]
     19  http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.4.2
     20
    1321Version 0.4.1 (released 14 May 2008)
    1422
     
    1624
    1725  A complete list of closed tickets can be found here [[br]]
    18   http://trac.thep.lu.se/yat/query?status=closed&milestone=yat+0.4.1
     26  http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.4.1
    1927
    2028Version 0.4 (released 11 April 2008)
     
    3543
    3644  A complete list of closed tickets can be found here [[br]]
    37   http://trac.thep.lu.se/yat/query?status=closed&milestone=yat+0.4
     45  http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.4
    3846
    3947Version 0.3.1 (released 28 April 2007)
     
    4250
    4351  A complete list of closed tickets can be found here [[br]]
    44   http://trac.thep.lu.se/yat/query?status=closed&milestone=yat+0.3.1
     52  http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.3.1
    4553
    4654Version 0.3 (released 9 April 2007)
     
    4957
    5058  A complete list of closed tickets can be found here [[br]]
    51   http://trac.thep.lu.se/yat/query?status=closed&milestone=0.3+%28Public+release%29
     59  http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.3+%28Public+release%29
    5260
    5361
     
    5967Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    6068
    61 This file is part of yat library, http://trac.thep.lu.se/yat
     69This file is part of yat library, http://dev.thep.lu.se/yat
    6270
    6371The yat library is free software; you can redistribute it and/or
  • trunk/README

    r1424 r1437  
    8888
    8989The API documentation for the latest release is availabe in PDF and
    90 HTML and can be found through http://trac.thep.lu.se/yat. If you wish
     90HTML and can be found through http://dev.thep.lu.se/yat. If you wish
    9191to build a local copy, issue `make doc` and you will find the
    9292documents in directory `doc/`.
     
    102102Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    103103
    104 This file is part of yat library, http://trac.thep.lu.se/yat
     104This file is part of yat library, http://dev.thep.lu.se/yat
    105105
    106106The yat library is free software; you can redistribute it and/or
  • trunk/TODO

    r1275 r1437  
    44Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
    55
    6 This file is part of yat library, http://trac.thep.lu.se/yat
     6This file is part of yat library, http://dev.thep.lu.se/yat
    77
    88The yat library is free software; you can redistribute it and/or
     
    2525
    2626General information:
    27 http://trac.thep.lu.se/yat/
     27http://dev.thep.lu.se/yat/
    2828
    2929The road map for the project:
    30 http://trac.thep.lu.se/yat/roadmap
     30http://dev.thep.lu.se/yat/roadmap
    3131
    3232Itemized list of issues:
    33 http://trac.thep.lu.se/yat/query
     33http://dev.thep.lu.se/yat/query
  • trunk/bootstrap

    r1283 r1437  
    99# Copyright (C) 2008 Peter Johansson
    1010#
    11 # This file is part of the yat library, http://trac.thep.lu.se/yat
     11# This file is part of the yat library, http://dev.thep.lu.se/yat
    1212#
    1313# The yat library is free software; you can redistribute it and/or
  • trunk/build_support/version.m4

    r1321 r1437  
    5353# yat-0.4    1:0:0
    5454# yat-0.4.1  1:0:0
     55# yat-0.4.2  1:1:0
    5556#
    56 m4_define([LT_VERSION], [1:0:0])
     57m4_define([LT_VERSION], [1:1:0])
    5758
    5859
  • trunk/configure.ac

    r1429 r1437  
    88# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    99#
    10 # This file is part of the yat library, http://trac.thep.lu.se/yat
     10# This file is part of the yat library, http://dev.thep.lu.se/yat
    1111#
    1212# The yat library is free software; you can redistribute it
  • trunk/doc/Makefile.am

    r1414 r1437  
    88# Copyright (C) 2008 Peter Johansson
    99#
    10 # This file is part of the yat library, http://trac.thep.lu.se/yat
     10# This file is part of the yat library, http://dev.thep.lu.se/yat
    1111#
    1212# The yat library is free software; you can redistribute it and/or
  • trunk/doc/Statistics.doxygen

    r1275 r1437  
    66// Copyright (C) 2008 Peter Johansson
    77//
    8 // This file is part of the yat library, http://trac.thep.lu.se/yat
     8// This file is part of the yat library, http://dev.thep.lu.se/yat
    99//
    1010// The yat library is free software; you can redistribute it and/or
  • trunk/doc/concepts.doxygen

    r1275 r1437  
    33// Copyright (C) 2008 Peter Johansson, Markus Ringnér
    44//
    5 // This file is part of the yat library, http://trac.thep.lu.se/yat
     5// This file is part of the yat library, http://dev.thep.lu.se/yat
    66//
    77// The yat library is free software; you can redistribute it and/or
  • trunk/doc/doxygen.config.in

    r1414 r1437  
    66# Copyright (C) 2008 Peter Johansson, Markus Ringnér
    77#
    8 # This file is part of the yat library, http://trac.thep.lu.se/yat
     8# This file is part of the yat library, http://dev.thep.lu.se/yat
    99#
    1010# The yat library is free software; you can redistribute it
  • trunk/doc/first_page.doxygen

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
     
    3838   <b>Future development</b><br>
    3939   We use trac as issue tracking system. Through the <a
    40    href="http://trac.thep.lu.se/yat/">trac environment</a> you can
     40   href="http://dev.thep.lu.se/yat/">trac environment</a> you can
    4141   report bugs and suggest enhancements. Forthcoming releases are
    4242   scheduled in the <a
    43    href="http://trac.thep.lu.se/yat/roadmap">roadmap</a> of the
     43   href="http://dev.thep.lu.se/yat/roadmap">roadmap</a> of the
    4444   project. Future development can be monitored through the list of <a
    45    href="http://trac.thep.lu.se/yat/query">known issues</a>.
     45   href="http://dev.thep.lu.se/yat/query">known issues</a>.
    4646
    4747
  • trunk/doc/namespaces.doxygen

    r1430 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/Makefile.am

    r1432 r1437  
    99# Copyright (C) 2008 Peter Johansson, Markus Ringnér
    1010#
    11 # This file is part of the yat library, http://trac.thep.lu.se/yat
     11# This file is part of the yat library, http://dev.thep.lu.se/yat
    1212#
    1313# The yat library is free software; you can redistribute it
  • trunk/test/README

    r1275 r1437  
    66Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77
    8 This file is part of yat library, http://trac.thep.lu.se/yat
     8This file is part of yat library, http://dev.thep.lu.se/yat
    99
    1010The yat library is free software; you can redistribute it and/or
  • trunk/test/Suite.cc

    r1304 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/Suite.h

    r1432 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/test/alignment_test.cc

    r1275 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/averager_test.cc

    r1297 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/commandline_test.cc

    r1427 r1437  
    44  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
     
    155155  OptionArg<std::string> input(cmd, "i,input", "input file");
    156156  OptionArg<unsigned int> n(cmd, "n", "number of lines");
     157  OptionArg<double> x(cmd, "x", "a float number");
    157158
    158159  suite.err() << "Testing OptionArg existence -i file...";
     
    248249      ok =false;
    249250    }
     251  }
     252
     253  suite.err() << "Testing OptionArg double value -x -6...";
     254  try {
     255    int ac = 3;
     256    char* av[] = { "test_prog", "-x", "-6" };
     257    cmd.parse(ac,av);
     258    if (x.value()==-6)
     259      suite.err() << "ok\n";
     260    else {
     261      suite.err() << "failed\n";
     262      ok =false;
     263    }
     264  }
     265  catch (std::runtime_error& e) {
     266    suite.err() << "failed\nexception thrown with what(): " << e.what() << "\n";
     267    suite.err() << "Error: this is an expected error; see ticket:418\n";
    250268  }
    251269
  • trunk/test/consensus_inputranker_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/crossvalidation_test.cc

    r1275 r1437  
    66  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/data/Makefile.am

    r1218 r1437  
    55# Copyright (C) 2007, 2008 Jari Häkkinen
    66#
    7 # This file is part of the yat library, http://trac.thep.lu.se/yat
     7# This file is part of the yat library, http://dev.thep.lu.se/yat
    88#
    99# The yat library is free software; you can redistribute it and/or
  • trunk/test/data_lookup_1d_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/distance_test.cc

    r1275 r1437  
    44  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/ensemble_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/environment.h.in

    r1357 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/test/feature_selection_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/fileutil_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/index_test.cc

    r1237 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/inputranker_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/iterator_test.cc

    r1404 r1437  
    44  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/kernel_lookup_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/kernel_test.cc

    r1275 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/knn_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/matrix_lookup_test.cc

    r1361 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/matrix_test.cc

    r1360 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/nbc_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/ncc_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/nni_test.cc

    r1275 r1437  
    77  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/test/pca_test.cc

    r1275 r1437  
    88  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/test/regression_test.cc

    r1252 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
     
    487487
    488488  rl.fit(10, 100);
     489  if (rl.x().size()!=1000/10)
     490    return false;
     491  for (size_t i=0; i+1<rl.x().size(); ++i)
     492    if (!suite.equal(rl.x()(i+1)-rl.x()(i),10.0))
     493      return false;
    489494
    490495  utility::Vector y(rl.y_predicted());
     
    493498      return false;
    494499    }
     500
    495501  return true;
    496502}
  • trunk/test/rnd_test.cc

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/test/roc_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/score_test.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/smart_ptr_test.cc

    r1248 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/statistics_test.cc

    r1420 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/test/subset_generator_test.cc

    r1275 r1437  
    44  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/test/svd_test.cc

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/test/svm_test.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/test/target_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/ttest_test.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/test/utility_test.cc

    r1432 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/test/vector_test.cc

    r1360 r1437  
    88  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/test/view_test.cc

    r1275 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/Makefile.am

    r1429 r1437  
    77# Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    88#
    9 # This file is part of the yat library, http://trac.thep.lu.se/yat
     9# This file is part of the yat library, http://dev.thep.lu.se/yat
    1010#
    1111# The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/BootstrapSampler.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/BootstrapSampler.h

    r1275 r1437  
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/ConsensusInputRanker.cc

    r1275 r1437  
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/ConsensusInputRanker.h

    r1275 r1437  
    99  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/CrossValidationSampler.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/CrossValidationSampler.h

    r1275 r1437  
    88  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/DataLookup1D.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/DataLookup1D.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/DataLookupWeighted1D.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/DataLookupWeighted1D.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/EnsembleBuilder.h

    r1275 r1437  
    1010  Copyright (C) 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelector.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelector.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelectorIR.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelectorIR.h

    r1275 r1437  
    77  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelectorRandom.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/FeatureSelectorRandom.h

    r1275 r1437  
    77  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/GaussianKernelFunction.cc

    r1275 r1437  
    66  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/GaussianKernelFunction.h

    r1275 r1437  
    77  Copyright (C) 2004, 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/IGP.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/IRRank.h

    r1275 r1437  
    77  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/IRRetrieve.h

    r1275 r1437  
    77  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/InputRanker.cc

    r1275 r1437  
    66  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson, Markus Ringnér
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/InputRanker.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KNN.h

    r1275 r1437  
    77  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KNN_ReciprocalDistance.cc

    r1251 r1437  
    11// $Id$
     2
     3// $Id$
     4
     5/*
     6  Copyright (C) 2008 Markus Ringnér
     7
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
     9
     10  The yat library is free software; you can redistribute it and/or
     11  modify it under the terms of the GNU General Public License as
     12  published by the Free Software Foundation; either version 2 of the
     13  License, or (at your option) any later version.
     14
     15  The yat library is distributed in the hope that it will be useful,
     16  but WITHOUT ANY WARRANTY; without even the implied warranty of
     17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     18  General Public License for more details.
     19
     20  You should have received a copy of the GNU General Public License
     21  along with this program; if not, write to the Free Software
     22  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     23  02111-1307, USA.
     24*/
    225
    326#include "KNN_ReciprocalDistance.h"
     
    831
    932#include <vector>
    10 
    11 #include <iostream>
    1233
    1334namespace theplu {
  • trunk/yat/classifier/KNN_ReciprocalDistance.h

    r1142 r1437  
    77  Copyright (C) 2008 Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KNN_ReciprocalRank.cc

    r1156 r1437  
    11// $Id$
     2
     3/*
     4  Copyright (C) 2008 Markus Ringnér
     5
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
     7
     8  The yat library is free software; you can redistribute it and/or
     9  modify it under the terms of the GNU General Public License as
     10  published by the Free Software Foundation; either version 2 of the
     11  License, or (at your option) any later version.
     12
     13  The yat library is distributed in the hope that it will be useful,
     14  but WITHOUT ANY WARRANTY; without even the implied warranty of
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     16  General Public License for more details.
     17
     18  You should have received a copy of the GNU General Public License
     19  along with this program; if not, write to the Free Software
     20  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     21  02111-1307, USA.
     22*/
    223
    324#include "KNN_ReciprocalRank.h"
  • trunk/yat/classifier/KNN_ReciprocalRank.h

    r1142 r1437  
    77  Copyright (C) 2008 Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KNN_Uniform.cc

    r1156 r1437  
    11// $Id$
     2
     3/*
     4  Copyright (C) 2008 Markus Ringnér
     5
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
     7
     8  The yat library is free software; you can redistribute it and/or
     9  modify it under the terms of the GNU General Public License as
     10  published by the Free Software Foundation; either version 2 of the
     11  License, or (at your option) any later version.
     12
     13  The yat library is distributed in the hope that it will be useful,
     14  but WITHOUT ANY WARRANTY; without even the implied warranty of
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     16  General Public License for more details.
     17
     18  You should have received a copy of the GNU General Public License
     19  along with this program; if not, write to the Free Software
     20  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     21  02111-1307, USA.
     22*/
    223
    324#include "KNN_Uniform.h"
  • trunk/yat/classifier/KNN_Uniform.h

    r1142 r1437  
    77  Copyright (C) 2008 Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel.h

    r1275 r1437  
    1010  Copyright (C) 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KernelFunction.h

    r1275 r1437  
    1010  Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KernelLookup.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/KernelLookup.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel_MEV.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel_MEV.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel_SEV.cc

    r1275 r1437  
    44  Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Kernel_SEV.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Makefile.am

    r1324 r1437  
    55# Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    66#
    7 # This file is part of the yat library, http://trac.thep.lu.se/yat
     7# This file is part of the yat library, http://dev.thep.lu.se/yat
    88#
    99# The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/MatrixLookup.cc

    r1361 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/MatrixLookup.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/MatrixLookupWeighted.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/MatrixLookupWeighted.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/NBC.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
     
    3333#include <cassert>
    3434#include <cmath>
     35#include <limits>
    3536#include <stdexcept>
    3637#include <vector>
  • trunk/yat/classifier/NBC.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/NCC.h

    r1275 r1437  
    88  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/PolynomialKernelFunction.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/PolynomialKernelFunction.h

    r1275 r1437  
    88  Copyright (C) 2004, 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SVM.cc

    r1275 r1437  
    77  Copyright (C) 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SVM.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SVindex.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SVindex.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Sampler.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Sampler.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SubsetGenerator.h

    r1275 r1437  
    88  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SupervisedClassifier.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/SupervisedClassifier.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Target.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/Target.h

    r1343 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/utility.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/classifier/utility.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/random/Makefile.am

    r1324 r1437  
    66# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77#
    8 # This file is part of the yat library, http://trac.thep.lu.se/yat
     8# This file is part of the yat library, http://dev.thep.lu.se/yat
    99#
    1010# The yat library is free software; you can redistribute it
  • trunk/yat/random/random.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/random/random.h

    r1342 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Kernel.h

    r1310 r1437  
    1010  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/KernelBox.cc

    r1275 r1437  
    66  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/KernelBox.h

    r1275 r1437  
    1010  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/KernelTriCube.cc

    r1275 r1437  
    66  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/KernelTriCube.h

    r1275 r1437  
    99  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Linear.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Linear.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/LinearWeighted.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/LinearWeighted.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Local.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
     
    6969
    7070    size_t nof_fits=data_.size()/step_size;
    71     x_ = utility::Vector(nof_fits);
    72     y_predicted_ = utility::Vector(x_.size());
    73     y_err_ = utility::Vector(x_.size());
     71    x_.resize(nof_fits);
     72    y_predicted_.resize(x_.size());
     73    y_err_.resize(x_.size());
    7474    sort(data_.begin(), data_.end());
    7575
    76     // coying data to 2 utility vectors ONCE to use views from
     76    // copying data to 2 utility vectors ONCE to use views from
    7777    utility::Vector x(data_.size());
    7878    utility::Vector y(data_.size());
     
    124124      assert(i<y_predicted_.size());
    125125      assert(i<y_err_.size());
     126      x_(i) = x(i*step_size);
    126127      y_predicted_(i) = regressor_->predict(x(i*step_size));
    127128      y_err_(i) = sqrt(regressor_->standard_error2(x(i*step_size)));
  • trunk/yat/regression/Local.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
     
    7070
    7171    ///
     72    /// @param step_size Size of step between each fit
    7273    /// @param nof_points Number of points used in each fit
    73     /// @param step_size Size of step between each fit
    7474    ///
    7575    void fit(const size_t step_size, const size_t nof_points);
  • trunk/yat/regression/Makefile.am

    r1324 r1437  
    66# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77#
    8 # This file is part of the yat library, http://trac.thep.lu.se/yat
     8# This file is part of the yat library, http://dev.thep.lu.se/yat
    99#
    1010# The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/MultiDimensional.cc

    r1275 r1437  
    55  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/MultiDimensional.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/MultiDimensionalWeighted.cc

    r1275 r1437  
    44  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/MultiDimensionalWeighted.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Naive.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Naive.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/NaiveWeighted.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/NaiveWeighted.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/OneDimensional.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/OneDimensional.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/OneDimensionalWeighted.cc

    r1275 r1437  
    44  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/OneDimensionalWeighted.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Polynomial.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/Polynomial.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/PolynomialWeighted.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/regression/PolynomialWeighted.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AUC.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AUC.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Averager.cc

    r1297 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Averager.h

    r1295 r1437  
    99  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerPair.cc

    r1295 r1437  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerPair.h

    r1295 r1437  
    99  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerPairWeighted.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerPairWeighted.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerWeighted.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/AveragerWeighted.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/EuclideanDistance.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Fisher.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Fisher.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/FoldChange.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/FoldChange.h

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Histogram.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Histogram.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/KolmogorovSmirnov.cc

    r1199 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/KolmogorovSmirnov.h

    r1202 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Makefile.am

    r1324 r1437  
    77# Copyright (C) 2008 Peter Johansson, Markus Ringnér
    88#
    9 # This file is part of the yat library, http://trac.thep.lu.se/yat
     9# This file is part of the yat library, http://dev.thep.lu.se/yat
    1010#
    1111# The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Pearson.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Pearson.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/PearsonCorrelation.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/PearsonCorrelation.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/PearsonDistance.h

    r1306 r1437  
    88  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/ROC.cc

    r1275 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/ROC.h

    r1271 r1437  
    88  Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
     
    6060    /**
    6161       Adding a data value to ROC.
     62
     63       \see add(T &o, ForwardIterator first, ForwardIterator last,
     64       const classifier::Target &target)
    6265    */
    6366    void add(double value, bool target, double weight=1.0);
  • trunk/yat/statistics/SAMScore.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/SAMScore.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/SNRScore.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/SNRScore.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Score.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/Score.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/VectorFunction.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/VectorFunction.h

    r1275 r1437  
    77  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/WilcoxonFoldChange.cc

    r1315 r1437  
    66  Copyright (C) 2008 Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/WilcoxonFoldChange.h

    r1315 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/tScore.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/tScore.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/tTest.cc

    r1275 r1437  
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/tTest.h

    r1275 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/utility.cc

    r1287 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/statistics/utility.h

    r1404 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Alignment.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Alignment.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/ColumnStream.cc

    r1275 r1437  
    44  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svndigest, http://trac.thep.lu.se/svndigest
     6  This file is part of svndigest, http://dev.thep.lu.se/svndigest
    77
    88  svndigest is free software; you can redistribute it and/or modify it
  • trunk/yat/utility/ColumnStream.h

    r1275 r1437  
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of svndigest, http://trac.thep.lu.se/svndigest
     9  This file is part of svndigest, http://dev.thep.lu.se/svndigest
    1010
    1111  svndigest is free software; you can redistribute it and/or modify it
  • trunk/yat/utility/CommandLine.cc

    r1426 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/CommandLine.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
     
    6262     }
    6363     catch (cmd_error& e){
     64       if (version.present()){
     65         std::cout << cmd.program_name() << " 1.0\n"
     66                   << "Copyright (C) 2007 Peter Johansson\n\n"
     67                   << "This is free software see the source for copying "
     68                   << "conditions. There is NO\nwarranty; not even for "
     69                   << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
     70         exit(0);
     71       }
    6472       std::cout << e.what() << std::endl;
    6573       return 1;
    6674     } 
    67      if (version.present()){
    68        std::cout << cmd.program_name() << " 1.0\n"
    69                  << "Copyright (C) 2007 Peter Johansson\n\n"
    70                  << "This is free software see the source for copying "
    71                  << "conditions. There is NO\nwarranty; not even for "
    72                  << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
    73        exit(0);
    74      }
    7575     ...
    7676     \endcode
     
    141141  /**
    142142     \brief CommandLine output operator
     143
     144     A typical output may look like this
     145     \verbatim
     146     Available options are:
     147     -h, --help      display this help and exit
     148     -v, --verbose   explain what is being done
     149     \endverbatim
     150     The output starts with a descriptive line such as "Available
     151     options are:" (default) that can be set in constructor. Then follows the
     152     options described in the order they were added to
     153     Commandline. Each Option is described according to
     154     Option::print(void) function.
     155     \see OptionHelp
    143156  */
    144157  std::ostream& operator<<(std::ostream&, const CommandLine&);
  • trunk/yat/utility/Container2DIterator.h

    r1374 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Exception.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/FileUtil.cc

    r1261 r1437  
    77  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
     
    3131#include <iostream>
    3232#include <stdexcept>
     33#include <sstream>
    3334#include <string>
    3435
     
    7071            break;
    7172          case 'd':
    72             struct stat nodestat;
    73             stat(tryme.c_str(),&nodestat);
     73            struct stat64 nodestat;
     74            stat64(tryme.c_str(),&nodestat);
    7475            if (!S_ISDIR(nodestat.st_mode))
    7576              ok = false;
     
    8687  bool FileUtil::exists(void) const
    8788  {
    88     struct stat statt;
    89     if ( stat(path_.c_str(),&statt) && (errno!=ENOENT) )
    90       throw IO_error(std::string("stat(2) call failed with errno: "+errno));
     89    struct stat64 statt;
     90    if ( stat64(path_.c_str(),&statt) && (errno!=ENOENT) ) {
     91      std::stringstream ss;
     92      ss << "stat64(2) call failed with errno: " << errno;
     93      throw IO_error(ss.str());
     94    }
    9195    if (errno) {
    9296      errno = 0; // don't leave errno in state of failure
  • trunk/yat/utility/FileUtil.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Index.cc

    r1361 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Index.h

    r1134 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/IteratorPolicy.h

    r1145 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Makefile.am

    r1410 r1437  
    66# Copyright (C) 2008 Peter Johansson
    77#
    8 # This file is part of the yat library, http://trac.thep.lu.se/yat
     8# This file is part of the yat library, http://dev.thep.lu.se/yat
    99#
    1010# The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Matrix.cc

    r1313 r1437  
    77  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Matrix.h

    r1320 r1437  
    1010  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
     
    531531     The two matrices must have the same size.
    532532
    533      \throw GSL_error if either index is out of bounds.
     533     \throw GSL_error if sizes are not equal.
    534534  */
    535535  void swap(Matrix&, Matrix&);
  • trunk/yat/utility/NNI.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/NNI.h

    r1275 r1437  
    88  Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Option.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Option.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
     
    8181    /**
    8282       \brief print help output
     83
     84       This function calls the four virtual private functions print1,
     85       print2, print3, and print4. This allows an inherited class to
     86       implement one (or several) of these functions and keep the
     87       default output of the others. The default behavior is that:
     88
     89       - print1 prints the short name, '-h', as short_name(void) const
     90       - print2 prints the long name, '--help', as long_name(void) const
     91       - print3 is empty
     92       - print4 prints the description as description(void) const.
    8393     */
    8494    std::string print(void);
  • trunk/yat/utility/OptionArg.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionFile.cc

    r1275 r1437  
    55  Copyright (C) 2008 Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionFile.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionHelp.cc

    r1275 r1437  
    44  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionHelp.h

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
     
    3939
    4040     When this option is found in parsing of commandline, it displays
    41      a help output exits.
     41     a help output and exits. A typical output looks like:
     42
     43     \verbatim
     44     Usage: foo [OPTION]...
     45
     46     SYNOPSIS
     47
     48     Available options are:
     49     -h, --help      display this help and exit
     50     -v, --verbose   explain what is being done
     51
     52     Some extra information explaining something.
     53     \endverbatim
     54
     55     The output consist of four blocks. The first block can be
     56     modified with usage(void) function. The second is block is
     57     typically a one-liner explaining the application and can be
     58     modified with the synopsis(void) function. The third block
     59     contain the description of the different options, see
     60     operator<<(std::ostream&, const CommandLine&) for further
     61     details. The last block can be modified with post_arguments(void)
     62     function.
    4263   */
    4364  class OptionHelp : public OptionSwitch
  • trunk/yat/utility/OptionInFile.cc

    r1014 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionInFile.h

    r1014 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionOutFile.cc

    r1014 r1437  
    44  Copyright (C) 2008 Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionOutFile.h

    r1014 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionSwitch.cc

    r1275 r1437  
    44  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/OptionSwitch.h

    r1275 r1437  
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/PCA.cc

    r1275 r1437  
    88  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/PCA.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/SVD.cc

    r1275 r1437  
    99  Copyright (C) 2008 Peter Johansson
    1010
    11   This file is part of the yat library, http://trac.thep.lu.se/yat
     11  This file is part of the yat library, http://dev.thep.lu.se/yat
    1212
    1313  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/SVD.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/SmartPtr.h

    r1275 r1437  
    77  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/StrideIterator.h

    r1390 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/TypeInfo.cc

    r1275 r1437  
    44  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of the yat library, http://trac.thep.lu.se/yat
     6  This file is part of the yat library, http://dev.thep.lu.se/yat
    77
    88  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/TypeInfo.h

    r1275 r1437  
    66/*
    77  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
     8  Copyright (C) 2008 Peter Johansson
    89
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1011
    1112  The yat library is free software; you can redistribute it and/or
     
    9899
    99100  /**
    100      \brief Based on operators == and <
     101     \brief Based on operator <
    101102   */ 
    102103  bool operator>(const TypeInfo&, const TypeInfo&);
    103104
    104105  /**
    105      \brief Based on operators == and <
     106     \brief Based on operator <=
    106107   */ 
    107108  bool operator>=(const TypeInfo&, const TypeInfo&);
  • trunk/yat/utility/Vector.cc

    r1314 r1437  
    77  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/Vector.h

    r1275 r1437  
    1212  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorBase.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorBase.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
     
    249249  /**
    250250     \brief The output operator for the VectorBase class.
    251   */
    252   std::ostream& operator<<(std::ostream&, const VectorBase&);
     251
     252     Elements in VectorBase \a v are sent to ostream \a s and
     253     separated with the fill character of stream \a s, s.fill(). If
     254     you, for example, want to print the VectorBase \a v with the
     255     elements separated by a ':', you do so by:
     256     \verbatim
     257     s << setfill(':') << v;
     258     \endverbatim
     259  */
     260  std::ostream& operator<<(std::ostream& s, const VectorBase& v);
    253261
    254262}}} // of namespace utility, yat, and theplu
  • trunk/yat/utility/VectorConstView.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorConstView.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorMutable.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorMutable.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorView.cc

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/VectorView.h

    r1275 r1437  
    1212  Copyright (C) 2008 Peter Johansson
    1313
    14   This file is part of the yat library, http://trac.thep.lu.se/trac/yat
     14  This file is part of the yat library, http://dev.thep.lu.se/trac/yat
    1515
    1616  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/WeNNI.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/WeNNI.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it
  • trunk/yat/utility/iterator_traits.h

    r1382 r1437  
    88  Copyright (C) 2008 Peter Johansson, Markus Ringnér
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/kNNI.cc

    r1275 r1437  
    88  Copyright (C) 2008 Peter Johansson
    99
    10   This file is part of the yat library, http://trac.thep.lu.se/yat
     10  This file is part of the yat library, http://dev.thep.lu.se/yat
    1111
    1212  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/kNNI.h

    r1275 r1437  
    1111  Copyright (C) 2008 Peter Johansson
    1212
    13   This file is part of the yat library, http://trac.thep.lu.se/yat
     13  This file is part of the yat library, http://dev.thep.lu.se/yat
    1414
    1515  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/stl_utility.cc

    r1275 r1437  
    66  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    77
    8   This file is part of the yat library, http://trac.thep.lu.se/yat
     8  This file is part of the yat library, http://dev.thep.lu.se/yat
    99
    1010  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/stl_utility.h

    r1403 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/utility.cc

    r1432 r1437  
    55  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    66
    7   This file is part of the yat library, http://trac.thep.lu.se/yat
     7  This file is part of the yat library, http://dev.thep.lu.se/yat
    88
    99  The yat library is free software; you can redistribute it and/or
  • trunk/yat/utility/utility.h

    r1432 r1437  
    1010  Copyright (C) 2008 Peter Johansson
    1111
    12   This file is part of the yat library, http://trac.thep.lu.se/yat
     12  This file is part of the yat library, http://dev.thep.lu.se/yat
    1313
    1414  The yat library is free software; you can redistribute it and/or
     
    3434///
    3535
     36#include <limits>
    3637#include <string>
    3738#include <stdexcept>
  • trunk/yat/utility/yat_assert.h

    r1275 r1437  
    77  Copyright (C) 2008 Peter Johansson
    88
    9   This file is part of the yat library, http://trac.thep.lu.se/yat
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    1111  The yat library is free software; you can redistribute it and/or
Note: See TracChangeset for help on using the changeset viewer.