Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
miscmaths
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
miscmaths
Commits
5f1495dc
Commit
5f1495dc
authored
3 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
RF: Move "using namespace" statements to source files
parent
bc791e27
No related branches found
No related tags found
1 merge request
!8
Mnt/conda
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
histogram.cc
+1
-7
1 addition, 7 deletions
histogram.cc
kernel.cc
+2
-0
2 additions, 0 deletions
kernel.cc
minimize.cc
+0
-3
0 additions, 3 deletions
minimize.cc
miscmaths.cc
+3
-0
3 additions, 0 deletions
miscmaths.cc
optimise.cc
+3
-0
3 additions, 0 deletions
optimise.cc
rungekutta.cc
+1
-0
1 addition, 0 deletions
rungekutta.cc
with
10 additions
and
10 deletions
histogram.cc
+
1
−
7
View file @
5f1495dc
...
@@ -10,10 +10,9 @@
...
@@ -10,10 +10,9 @@
#include
"histogram.h"
#include
"histogram.h"
using
namespace
std
;
using
namespace
std
;
using
namespace
NEWMAT
;
#ifndef NO_NAMESPACE
namespace
MISCMATHS
{
namespace
MISCMATHS
{
#endif
float
Histogram
::
getPercentile
(
float
perc
)
float
Histogram
::
getPercentile
(
float
perc
)
{
{
...
@@ -267,11 +266,6 @@ namespace MISCMATHS {
...
@@ -267,11 +266,6 @@ namespace MISCMATHS {
}
}
}
}
}
}
#ifndef NO_NAMESPACE
}
#endif
...
...
This diff is collapsed.
Click to expand it.
kernel.cc
+
2
−
0
View file @
5f1495dc
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
#include
"kernel.h"
#include
"kernel.h"
#include
"miscmaths.h"
#include
"miscmaths.h"
using
namespace
NEWMAT
;
namespace
MISCMATHS
{
namespace
MISCMATHS
{
set
<
kernelstorage
*
,
kernelstorage
::
comparer
>
kernel
::
existingkernels
;
set
<
kernelstorage
*
,
kernelstorage
::
comparer
>
kernel
::
existingkernels
;
...
...
This diff is collapsed.
Click to expand it.
minimize.cc
+
0
−
3
View file @
5f1495dc
...
@@ -17,9 +17,6 @@
...
@@ -17,9 +17,6 @@
#include
"miscmaths.h"
#include
"miscmaths.h"
#include
"minimize.h"
#include
"minimize.h"
#define WANT_STREAM
#define WANT_MATH
using
namespace
NEWMAT
;
using
namespace
NEWMAT
;
using
namespace
std
;
using
namespace
std
;
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
miscmaths.cc
+
3
−
0
View file @
5f1495dc
...
@@ -15,8 +15,11 @@
...
@@ -15,8 +15,11 @@
#include
"miscprob.h"
#include
"miscprob.h"
#include
"stdlib.h"
#include
"stdlib.h"
#include
"armawrap/newmatio.h"
#include
"armawrap/newmatio.h"
#include
"NewNifti/NewNifti.h"
using
namespace
std
;
using
namespace
std
;
using
namespace
NEWMAT
;
using
namespace
NiftiIO
;
namespace
MISCMATHS
{
namespace
MISCMATHS
{
...
...
This diff is collapsed.
Click to expand it.
optimise.cc
+
3
−
0
View file @
5f1495dc
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
#include
"optimise.h"
#include
"optimise.h"
#include
"miscmaths.h"
#include
"miscmaths.h"
using
namespace
NEWMAT
;
using
namespace
std
;
namespace
MISCMATHS
{
namespace
MISCMATHS
{
// The following lines are ignored by the current SGI compiler
// The following lines are ignored by the current SGI compiler
...
...
This diff is collapsed.
Click to expand it.
rungekutta.cc
+
1
−
0
View file @
5f1495dc
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include
"rungekutta.h"
#include
"rungekutta.h"
using
namespace
std
;
using
namespace
std
;
using
namespace
NEWMAT
;
namespace
MISCMATHS
{
namespace
MISCMATHS
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment