Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
a9eba8c4
Commit
a9eba8c4
authored
Aug 27, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made code a little clearer
parent
9e2423b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
sammon.h
dlib/statistics/sammon.h
+3
-3
sammon_abstract.h
dlib/statistics/sammon_abstract.h
+3
-3
No files found.
dlib/statistics/sammon.h
View file @
a9eba8c4
...
@@ -22,7 +22,7 @@ namespace dlib
...
@@ -22,7 +22,7 @@ namespace dlib
template
<
typename
matrix_type
>
template
<
typename
matrix_type
>
std
::
vector
<
matrix
<
double
,
0
,
1
>
>
operator
()
(
std
::
vector
<
matrix
<
double
,
0
,
1
>
>
operator
()
(
const
std
::
vector
<
matrix_type
>&
data
,
const
std
::
vector
<
matrix_type
>&
data
,
long
num_dims
const
long
num_dims
)
)
{
{
// make sure requires clause is not broken
// make sure requires clause is not broken
...
@@ -67,10 +67,10 @@ namespace dlib
...
@@ -67,10 +67,10 @@ namespace dlib
template
<
typename
matrix_type
>
template
<
typename
matrix_type
>
void
operator
()
(
void
operator
()
(
const
std
::
vector
<
matrix_type
>&
data
,
const
std
::
vector
<
matrix_type
>&
data
,
long
num_dims
,
const
long
num_dims
,
std
::
vector
<
matrix
<
double
,
0
,
1
>
>&
result
,
std
::
vector
<
matrix
<
double
,
0
,
1
>
>&
result
,
double
&
err
,
double
&
err
,
unsigned
long
num_iters
=
1000
,
const
unsigned
long
num_iters
=
1000
,
const
double
err_delta
=
1.0e-9
const
double
err_delta
=
1.0e-9
)
)
{
{
...
...
dlib/statistics/sammon_abstract.h
View file @
a9eba8c4
...
@@ -33,7 +33,7 @@ namespace dlib
...
@@ -33,7 +33,7 @@ namespace dlib
template
<
typename
matrix_type
>
template
<
typename
matrix_type
>
std
::
vector
<
matrix
<
double
,
0
,
1
>
>
operator
()
(
std
::
vector
<
matrix
<
double
,
0
,
1
>
>
operator
()
(
const
std
::
vector
<
matrix_type
>&
data
,
const
std
::
vector
<
matrix_type
>&
data
,
long
num_dims
const
long
num_dims
);
);
/*!
/*!
requires
requires
...
@@ -65,10 +65,10 @@ namespace dlib
...
@@ -65,10 +65,10 @@ namespace dlib
template
<
typename
matrix_type
>
template
<
typename
matrix_type
>
void
operator
()
(
void
operator
()
(
const
std
::
vector
<
matrix_type
>&
data
,
const
std
::
vector
<
matrix_type
>&
data
,
long
num_dims
,
const
long
num_dims
,
std
::
vector
<
matrix
<
double
,
0
,
1
>
>&
result
,
std
::
vector
<
matrix
<
double
,
0
,
1
>
>&
result
,
double
&
err
,
double
&
err
,
unsigned
long
num_iters
=
1000
,
const
unsigned
long
num_iters
=
1000
,
const
double
err_delta
=
1.0e-9
const
double
err_delta
=
1.0e-9
);
);
/*!
/*!
...
...
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