Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
6cef5f93
Commit
6cef5f93
authored
Feb 10, 2022
by
Tiago Peixoto
Browse files
graph_inference.cc: expose lbinom()/lbinom_fast()
parent
7470ea4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/inference/graph_inference.cc
View file @
6cef5f93
...
...
@@ -21,6 +21,8 @@
#include
"numpy_bind.hh"
#include
"hash_map_wrap.hh"
#include
"support/util.hh"
using
namespace
std
;
using
namespace
boost
;
using
namespace
graph_tool
;
...
...
@@ -273,4 +275,7 @@ BOOST_PYTHON_MODULE(libgraph_tool_inference)
def
(
"vector_rmapdouble"
,
vector_rmap
<
double
>
);
def
(
"vector_contiguous_map"
,
vector_contiguous_map
<
int32_t
>
);
def
(
"vector_contiguous_map64"
,
vector_contiguous_map
<
int64_t
>
);
def
(
"lbinom"
,
lbinom
<
size_t
,
size_t
>
);
def
(
"lbinom_fast"
,
lbinom_fast
<
true
,
size_t
,
size_t
>
);
}
Write
Preview
Supports
Markdown
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