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
4585c516
Commit
4585c516
authored
Jun 08, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved make_sparse_vector() documentation.
parent
4a8e882f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
other.cpp
tools/python/src/other.cpp
+7
-1
No files found.
tools/python/src/other.cpp
View file @
4585c516
...
@@ -53,7 +53,13 @@ void bind_other()
...
@@ -53,7 +53,13 @@ void bind_other()
using
boost
::
python
::
arg
;
using
boost
::
python
::
arg
;
def
(
"make_sparse_vector"
,
_make_sparse_vector
,
def
(
"make_sparse_vector"
,
_make_sparse_vector
,
"This function modifies its argument so that it is a properly sorted sparse vector."
);
"This function modifies its argument so that it is a properly sorted sparse vector.
\n
\
This means that the elements of the sparse vector will be ordered so that pairs
\n
\
with smaller indices come first. Additionally, there won't be any pairs with
\n
\
identical indices. If such pairs were present in the input sparse vector then
\n
\
their values will be added together and only one pair with their index will be
\n
\
present in the output. "
);
def
(
"make_sparse_vector"
,
_make_sparse_vector2
,
def
(
"make_sparse_vector"
,
_make_sparse_vector2
,
"This function modifies a sparse_vectors object so that all elements it contains are properly sorted sparse vectors."
);
"This function modifies a sparse_vectors object so that all elements it contains are properly sorted sparse vectors."
);
...
...
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