Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
9c2172ee
Commit
9c2172ee
authored
May 01, 2012
by
Davis King
Browse files
Gave the sparse vector tools their own #include file.
parent
a5b2454c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
dlib/sparse_vector.h
dlib/sparse_vector.h
+10
-0
dlib/svm/sparse_vector.h
dlib/svm/sparse_vector.h
+1
-0
dlib/svm/sparse_vector_abstract.h
dlib/svm/sparse_vector_abstract.h
+1
-0
dlib/test/sparse_vector.cpp
dlib/test/sparse_vector.cpp
+1
-1
No files found.
dlib/sparse_vector.h
0 → 100644
View file @
9c2172ee
// 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__
dlib/svm/sparse_vector.h
View file @
9c2172ee
...
...
@@ -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
...
...
dlib/svm/sparse_vector_abstract.h
View file @
9c2172ee
...
...
@@ -6,6 +6,7 @@
#include <cmath>
#include "../algs.h"
#include "../serialize.h"
#include "../matrix.h"
#include <map>
#include <vector>
...
...
dlib/test/sparse_vector.cpp
View file @
9c2172ee
// 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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment