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
Stack Of Tasks
eigenpy
Commits
7d79ffed
Unverified
Commit
7d79ffed
authored
Mar 24, 2021
by
Justin Carpentier
Committed by
GitHub
Mar 24, 2021
Browse files
Merge pull request #225 from jcarpent/devel
Expose boolean matrices
parents
49056d5e
0bf595ba
Pipeline
#13705
passed with stage
in 13 minutes and 39 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7d79ffed
#
# Copyright (c) 2014-2019 CNRS
# Copyright (c) 2018-202
0
INRIA
# Copyright (c) 2018-202
1
INRIA
#
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.1
)
...
...
@@ -163,6 +163,7 @@ SET(${PROJECT_NAME}_SOURCES
src/matrix-double.cpp
src/matrix-long-double.cpp
src/matrix-complex-long-double.cpp
src/matrix-bool.cpp
src/matrix-int.cpp
src/matrix-long.cpp
src/angle-axis.cpp
...
...
src/eigenpy.cpp
View file @
7d79ffed
/*
* Copyright 2014-2019, CNRS
* Copyright 2018-202
0
, INRIA
* Copyright 2018-202
1
, INRIA
*/
#include "eigenpy/eigenpy.hpp"
...
...
@@ -14,6 +14,7 @@ namespace eigenpy
srand
(
seed_value
);
}
void
exposeMatrixBool
();
void
exposeMatrixInt
();
void
exposeMatrixLong
();
void
exposeMatrixFloat
();
...
...
@@ -59,6 +60,7 @@ namespace eigenpy
bp
::
def
(
"seed"
,
&
seed
,
bp
::
arg
(
"seed_value"
),
"Initialize the pseudo-random number generator with the argument seed_value."
);
exposeMatrixBool
();
exposeMatrixInt
();
exposeMatrixLong
();
exposeMatrixFloat
();
...
...
src/matrix-bool.cpp
0 → 100644
View file @
7d79ffed
/*
* Copyright 2021 INRIA
*/
#include "eigenpy/eigenpy.hpp"
namespace
eigenpy
{
void
exposeMatrixBool
()
{
exposeType
<
bool
>
();
exposeType
<
bool
,
Eigen
::
RowMajor
>
();
}
}
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