Gave the sparse vector tools their own #include file.

This commit is contained in:
Davis King 2012-05-01 19:46:29 -04:00
parent a5b2454cc6
commit 9c2172ee56
4 changed files with 13 additions and 1 deletions

10
dlib/sparse_vector.h Normal file
View File

@ -0,0 +1,10 @@
// Copyright (C) 2012 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SPaRSE_VECTOR_H__
#define DLIB_SPaRSE_VECTOR_H__
#include "svm/sparse_vector.h"
#endif // DLIB_SPaRSE_VECTOR_H__

View File

@ -11,6 +11,7 @@
#include <map>
// This is included just so we can do some disable_if stuff on it in the max_index_plus_one routine().
#include "../manifold_regularization/sample_pair.h"
#include "../matrix.h"
namespace dlib

View File

@ -6,6 +6,7 @@
#include <cmath>
#include "../algs.h"
#include "../serialize.h"
#include "../matrix.h"
#include <map>
#include <vector>

View File

@ -1,8 +1,8 @@
// Copyright (C) 2012 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <dlib/sparse_vector.h>
#include "tester.h"
#include <dlib/svm.h>
#include <dlib/rand.h>
#include <dlib/string.h>
#include <vector>