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
ca498ac2
Commit
ca498ac2
authored
Jul 18, 2014
by
Davis King
Browse files
Just removed double __ from the inclusion guard names.
parent
7ce265f5
Changes
306
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
60 additions
and
60 deletions
+60
-60
dlib/optimization/optimization_bobyqa.h
dlib/optimization/optimization_bobyqa.h
+3
-3
dlib/optimization/optimization_bobyqa_abstract.h
dlib/optimization/optimization_bobyqa_abstract.h
+3
-3
dlib/optimization/optimization_least_squares.h
dlib/optimization/optimization_least_squares.h
+3
-3
dlib/optimization/optimization_oca.h
dlib/optimization/optimization_oca.h
+3
-3
dlib/optimization/optimization_oca_abstract.h
dlib/optimization/optimization_oca_abstract.h
+3
-3
dlib/optimization/optimization_solve_qp2_using_smo.h
dlib/optimization/optimization_solve_qp2_using_smo.h
+3
-3
dlib/optimization/optimization_solve_qp3_using_smo.h
dlib/optimization/optimization_solve_qp3_using_smo.h
+3
-3
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo.h
+3
-3
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
+3
-3
dlib/optimization/optimization_trust_region.h
dlib/optimization/optimization_trust_region.h
+3
-3
dlib/optimization/optimization_trust_region_abstract.h
dlib/optimization/optimization_trust_region_abstract.h
+3
-3
dlib/python/boost_python_utils.h
dlib/python/boost_python_utils.h
+3
-3
dlib/python/numpy.h
dlib/python/numpy.h
+3
-3
dlib/python/numpy_image.h
dlib/python/numpy_image.h
+3
-3
dlib/python/pyassert.h
dlib/python/pyassert.h
+3
-3
dlib/python/serialize_pickle.h
dlib/python/serialize_pickle.h
+3
-3
dlib/simd.h
dlib/simd.h
+3
-3
dlib/simd/simd4f.h
dlib/simd/simd4f.h
+3
-3
dlib/simd/simd4i.h
dlib/simd/simd4i.h
+3
-3
dlib/simd/simd8f.h
dlib/simd/simd8f.h
+3
-3
No files found.
dlib/optimization/optimization_bobyqa.h
View file @
ca498ac2
// Copyright (C) 2009 M.J.D. Powell, Davis E. King (davis@dlib.net)
// Copyright (C) 2009 M.J.D. Powell, Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATIOn_BOBYQA_H
_
_
#ifndef DLIB_OPTIMIZATIOn_BOBYQA_H
h
_
#define DLIB_OPTIMIZATIOn_BOBYQA_H
_
_
#define DLIB_OPTIMIZATIOn_BOBYQA_H
h
_
/*
/*
The code in this file is derived from Powell's BOBYQA Fortran code.
The code in this file is derived from Powell's BOBYQA Fortran code.
...
@@ -3418,5 +3418,5 @@ L210:
...
@@ -3418,5 +3418,5 @@ L210:
}
}
#endif // DLIB_OPTIMIZATIOn_BOBYQA_H
_
_
#endif // DLIB_OPTIMIZATIOn_BOBYQA_H
h
_
dlib/optimization/optimization_bobyqa_abstract.h
View file @
ca498ac2
// Copyright (C) 2009 Davis E. King (davis@dlib.net)
// Copyright (C) 2009 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
_
_
#undef DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
h
_
#ifdef DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
_
_
#ifdef DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
h
_
#include "../matrix.h"
#include "../matrix.h"
...
@@ -116,5 +116,5 @@ namespace dlib
...
@@ -116,5 +116,5 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
_
_
#endif // DLIB_OPTIMIZATIOn_BOBYQA_ABSTRACT_H
h
_
dlib/optimization/optimization_least_squares.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATION_LEAST_SQuARES_H_
_
_
#ifndef DLIB_OPTIMIZATION_LEAST_SQuARES_H_
h
_
#define DLIB_OPTIMIZATION_LEAST_SQuARES_H_
_
_
#define DLIB_OPTIMIZATION_LEAST_SQuARES_H_
h
_
#include "../matrix.h"
#include "../matrix.h"
#include "optimization_trust_region.h"
#include "optimization_trust_region.h"
...
@@ -340,6 +340,6 @@ namespace dlib
...
@@ -340,6 +340,6 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATION_LEAST_SQuARES_H_
_
_
#endif // DLIB_OPTIMIZATION_LEAST_SQuARES_H_
h
_
dlib/optimization/optimization_oca.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATIoN_OCA_H
_
_
#ifndef DLIB_OPTIMIZATIoN_OCA_H
h
_
#define DLIB_OPTIMIZATIoN_OCA_H
_
_
#define DLIB_OPTIMIZATIoN_OCA_H
h
_
#include "optimization_oca_abstract.h"
#include "optimization_oca_abstract.h"
...
@@ -354,5 +354,5 @@ namespace dlib
...
@@ -354,5 +354,5 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
#endif // DLIB_OPTIMIZATIoN_OCA_H
_
_
#endif // DLIB_OPTIMIZATIoN_OCA_H
h
_
dlib/optimization/optimization_oca_abstract.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_OPTIMIZATION_OCA_ABsTRACT_H
_
_
#undef DLIB_OPTIMIZATION_OCA_ABsTRACT_H
h
_
#ifdef DLIB_OPTIMIZATION_OCA_ABsTRACT_H
_
_
#ifdef DLIB_OPTIMIZATION_OCA_ABsTRACT_H
h
_
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -282,6 +282,6 @@ namespace dlib
...
@@ -282,6 +282,6 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
#endif // DLIB_OPTIMIZATION_OCA_ABsTRACT_H
_
_
#endif // DLIB_OPTIMIZATION_OCA_ABsTRACT_H
h
_
dlib/optimization/optimization_solve_qp2_using_smo.h
View file @
ca498ac2
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SOLVE_QP2_USING_SMo_H
_
_
#ifndef DLIB_SOLVE_QP2_USING_SMo_H
h
_
#define DLIB_SOLVE_QP2_USING_SMo_H
_
_
#define DLIB_SOLVE_QP2_USING_SMo_H
h
_
#include "optimization_solve_qp2_using_smo_abstract.h"
#include "optimization_solve_qp2_using_smo_abstract.h"
#include <cmath>
#include <cmath>
...
@@ -463,6 +463,6 @@ namespace dlib
...
@@ -463,6 +463,6 @@ namespace dlib
}
}
#endif // DLIB_SOLVE_QP2_USING_SMo_H
_
_
#endif // DLIB_SOLVE_QP2_USING_SMo_H
h
_
dlib/optimization/optimization_solve_qp3_using_smo.h
View file @
ca498ac2
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SOLVE_QP3_USING_SMo_H
_
_
#ifndef DLIB_SOLVE_QP3_USING_SMo_H
h
_
#define DLIB_SOLVE_QP3_USING_SMo_H
_
_
#define DLIB_SOLVE_QP3_USING_SMo_H
h
_
#include "optimization_solve_qp3_using_smo_abstract.h"
#include "optimization_solve_qp3_using_smo_abstract.h"
#include <cmath>
#include <cmath>
...
@@ -450,6 +450,6 @@ namespace dlib
...
@@ -450,6 +450,6 @@ namespace dlib
}
}
#endif // DLIB_SOLVE_QP3_USING_SMo_H
_
_
#endif // DLIB_SOLVE_QP3_USING_SMo_H
h
_
dlib/optimization/optimization_solve_qp_using_smo.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
_
_
#ifndef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
h
_
#define DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
_
_
#define DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
h
_
#include "optimization_solve_qp_using_smo_abstract.h"
#include "optimization_solve_qp_using_smo_abstract.h"
#include "../matrix.h"
#include "../matrix.h"
...
@@ -383,5 +383,5 @@ namespace dlib
...
@@ -383,5 +383,5 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
_
_
#endif // DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_H
h
_
dlib/optimization/optimization_solve_qp_using_smo_abstract.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
_
_
#undef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
h
_
#ifdef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
_
_
#ifdef DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
h
_
#include "../matrix.h"
#include "../matrix.h"
...
@@ -107,6 +107,6 @@ namespace dlib
...
@@ -107,6 +107,6 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
_
_
#endif // DLIB_OPTIMIZATION_SOLVE_QP_UsING_SMO_ABSTRACT_H
h
_
dlib/optimization/optimization_trust_region.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_OPTIMIZATION_TRUST_REGIoN_H
_
_
#ifndef DLIB_OPTIMIZATION_TRUST_REGIoN_H
h
_
#define DLIB_OPTIMIZATION_TRUST_REGIoN_H
_
_
#define DLIB_OPTIMIZATION_TRUST_REGIoN_H
h
_
#include "../matrix.h"
#include "../matrix.h"
#include "optimization_trust_region_abstract.h"
#include "optimization_trust_region_abstract.h"
...
@@ -396,5 +396,5 @@ namespace dlib
...
@@ -396,5 +396,5 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATION_TRUST_REGIoN_H
_
_
#endif // DLIB_OPTIMIZATION_TRUST_REGIoN_H
h
_
dlib/optimization/optimization_trust_region_abstract.h
View file @
ca498ac2
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
_
_
#undef DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
h
_
#ifdef DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
_
_
#ifdef DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
h
_
#include "../matrix/matrix_abstract.h"
#include "../matrix/matrix_abstract.h"
...
@@ -176,6 +176,6 @@ namespace dlib
...
@@ -176,6 +176,6 @@ namespace dlib
}
}
#endif // DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
_
_
#endif // DLIB_OPTIMIZATION_TRUST_REGIoN_H_ABSTRACT
h
_
dlib/python/boost_python_utils.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_BOOST_PYTHON_UtILS_H
_
_
#ifndef DLIB_BOOST_PYTHON_UtILS_H
h
_
#define DLIB_BOOST_PYTHON_UtILS_H
_
_
#define DLIB_BOOST_PYTHON_UtILS_H
h
_
#include <boost/python.hpp>
#include <boost/python.hpp>
#include <vector>
#include <vector>
...
@@ -79,5 +79,5 @@ boost::shared_ptr<T> load_object_from_file (
...
@@ -79,5 +79,5 @@ boost::shared_ptr<T> load_object_from_file (
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
#endif // DLIB_BOOST_PYTHON_UtILS_H
_
_
#endif // DLIB_BOOST_PYTHON_UtILS_H
h
_
dlib/python/numpy.h
View file @
ca498ac2
// Copyright (C) 2014 Davis E. King (davis@dlib.net)
// Copyright (C) 2014 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYTHON_NuMPY_H
_
_
#ifndef DLIB_PYTHON_NuMPY_H
h
_
#define DLIB_PYTHON_NuMPY_H
_
_
#define DLIB_PYTHON_NuMPY_H
h
_
#include <boost/python.hpp>
#include <boost/python.hpp>
#include <dlib/error.h>
#include <dlib/error.h>
...
@@ -114,5 +114,5 @@ void get_numpy_ndarray_parts (
...
@@ -114,5 +114,5 @@ void get_numpy_ndarray_parts (
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
#endif // DLIB_PYTHON_NuMPY_H
_
_
#endif // DLIB_PYTHON_NuMPY_H
h
_
dlib/python/numpy_image.h
View file @
ca498ac2
// Copyright (C) 2014 Davis E. King (davis@dlib.net)
// Copyright (C) 2014 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYTHON_NuMPY_IMAGE_H
_
_
#ifndef DLIB_PYTHON_NuMPY_IMAGE_H
h
_
#define DLIB_PYTHON_NuMPY_IMAGE_H
_
_
#define DLIB_PYTHON_NuMPY_IMAGE_H
h
_
#include "numpy.h"
#include "numpy.h"
#include <dlib/pixel.h>
#include <dlib/pixel.h>
...
@@ -118,5 +118,5 @@ inline bool is_rgb_python_image (boost::python::object& img)
...
@@ -118,5 +118,5 @@ inline bool is_rgb_python_image (boost::python::object& img)
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
#endif // DLIB_PYTHON_NuMPY_IMAGE_H
_
_
#endif // DLIB_PYTHON_NuMPY_IMAGE_H
h
_
dlib/python/pyassert.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYaSSERT_H
_
_
#ifndef DLIB_PYaSSERT_H
h
_
#define DLIB_PYaSSERT_H
_
_
#define DLIB_PYaSSERT_H
h
_
#include <boost/python.hpp>
#include <boost/python.hpp>
...
@@ -12,5 +12,5 @@
...
@@ -12,5 +12,5 @@
boost::python::throw_error_already_set(); \
boost::python::throw_error_already_set(); \
}}
}}
#endif // DLIB_PYaSSERT_H
_
_
#endif // DLIB_PYaSSERT_H
h
_
dlib/python/serialize_pickle.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SERIALIZE_PiCKLE_H
_
_
#ifndef DLIB_SERIALIZE_PiCKLE_H
h
_
#define DLIB_SERIALIZE_PiCKLE_H
_
_
#define DLIB_SERIALIZE_PiCKLE_H
h
_
#include <dlib/serialize.h>
#include <dlib/serialize.h>
#include <boost/python.hpp>
#include <boost/python.hpp>
...
@@ -43,5 +43,5 @@ struct serialize_pickle : boost::python::pickle_suite
...
@@ -43,5 +43,5 @@ struct serialize_pickle : boost::python::pickle_suite
}
}
};
};
#endif // DLIB_SERIALIZE_PiCKLE_H
_
_
#endif // DLIB_SERIALIZE_PiCKLE_H
h
_
dlib/simd.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SIMd_H
_
_
#ifndef DLIB_SIMd_H
h
_
#define DLIB_SIMd_H
_
_
#define DLIB_SIMd_H
h
_
#include "simd/simd4f.h"
#include "simd/simd4f.h"
#include "simd/simd4i.h"
#include "simd/simd4i.h"
#include "simd/simd8f.h"
#include "simd/simd8f.h"
#include "simd/simd8i.h"
#include "simd/simd8i.h"
#endif // DLIB_SIMd_H
_
_
#endif // DLIB_SIMd_H
h
_
dlib/simd/simd4f.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_sIMD4F_H
_
_
#ifndef DLIB_sIMD4F_H
h
_
#define DLIB_sIMD4F_H
_
_
#define DLIB_sIMD4F_H
h
_
#include "simd_check.h"
#include "simd_check.h"
#include "simd4i.h"
#include "simd4i.h"
...
@@ -475,5 +475,5 @@ namespace dlib
...
@@ -475,5 +475,5 @@ namespace dlib
}
}
#endif // DLIB_sIMD4F_H
_
_
#endif // DLIB_sIMD4F_H
h
_
dlib/simd/simd4i.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_sIMD4I_H
_
_
#ifndef DLIB_sIMD4I_H
h
_
#define DLIB_sIMD4I_H
_
_
#define DLIB_sIMD4I_H
h
_
#include "simd_check.h"
#include "simd_check.h"
#include "../uintn.h"
#include "../uintn.h"
...
@@ -407,5 +407,5 @@ namespace dlib
...
@@ -407,5 +407,5 @@ namespace dlib
}
}
#endif // DLIB_sIMD4I_H
_
_
#endif // DLIB_sIMD4I_H
h
_
dlib/simd/simd8f.h
View file @
ca498ac2
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_sIMD8F_H
_
_
#ifndef DLIB_sIMD8F_H
h
_
#define DLIB_sIMD8F_H
_
_
#define DLIB_sIMD8F_H
h
_
#include "simd_check.h"
#include "simd_check.h"
#include "simd4f.h"
#include "simd4f.h"
...
@@ -392,5 +392,5 @@ namespace dlib
...
@@ -392,5 +392,5 @@ namespace dlib
}
}
#endif // DLIB_sIMD8F_H
_
_
#endif // DLIB_sIMD8F_H
h
_
Prev
1
…
5
6
7
8
9
10
11
12
13
…
16
Next
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