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
Guilhem Saurel
ndcurves
Commits
dbde17d3
Commit
dbde17d3
authored
Sep 26, 2020
by
Steve T
Browse files
added operator bindings for polynomials
parent
54c51f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/curves/curves_python.cpp
View file @
dbde17d3
...
...
@@ -790,6 +790,14 @@ BOOST_PYTHON_MODULE(curves) {
"Loads *this from a binary file."
)
.
def
(
bp
::
self
==
bp
::
self
)
.
def
(
bp
::
self
!=
bp
::
self
)
.
def
(
self
+=
polynomial_t
())
.
def
(
self
-=
polynomial_t
())
.
def
(
self
*=
double
())
.
def
(
self
/=
double
())
.
def
(
self
+
polynomial_t
())
.
def
(
self
-
polynomial_t
())
.
def
(
self
*
double
())
.
def
(
self
/
double
())
.
def_pickle
(
curve_pickle_suite
<
polynomial_t
>
());
/** END polynomial function**/
...
...
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