Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sdk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Openvibe Group
sdk
Commits
9f6eb3e5
Commit
9f6eb3e5
authored
5 years ago
by
MONSEIGNE Thibaut
Browse files
Options
Downloads
Patches
Plain Diff
use reset for matrix
parent
526d5234
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
toolkit/include/toolkit/tools/ovtkMatrix.h
+0
-2
0 additions, 2 deletions
toolkit/include/toolkit/tools/ovtkMatrix.h
toolkit/src/tools/ovtkMatrix.cpp
+0
-6
0 additions, 6 deletions
toolkit/src/tools/ovtkMatrix.cpp
with
0 additions
and
8 deletions
toolkit/include/toolkit/tools/ovtkMatrix.h
+
0
−
2
View file @
9f6eb3e5
...
...
@@ -8,7 +8,6 @@ namespace Matrix {
OVTK_API
bool
copy
(
CMatrix
&
dst
,
const
CMatrix
&
src
);
OVTK_API
bool
copyDescription
(
CMatrix
&
dst
,
const
CMatrix
&
src
);
OVTK_API
bool
copyContent
(
CMatrix
&
dst
,
const
CMatrix
&
src
);
OVTK_API
bool
clearContent
(
CMatrix
&
matrix
);
OVTK_API
bool
isDescriptionSimilar
(
const
CMatrix
&
src1
,
const
CMatrix
&
src2
,
bool
checkLabels
=
true
);
OVTK_API
bool
isContentSimilar
(
const
CMatrix
&
src1
,
const
CMatrix
&
src2
);
OVTK_API
bool
isContentValid
(
const
CMatrix
&
src
,
const
bool
checkNotANumber
=
true
,
const
bool
checkInfinity
=
true
);
...
...
@@ -24,7 +23,6 @@ namespace MatrixManipulation {
inline
bool
copy
(
CMatrix
&
dst
,
const
CMatrix
&
src
)
{
return
Matrix
::
copy
(
dst
,
src
);
}
inline
bool
copyDescription
(
CMatrix
&
dst
,
const
CMatrix
&
src
)
{
return
Matrix
::
copyDescription
(
dst
,
src
);
}
inline
bool
copyContent
(
CMatrix
&
dst
,
const
CMatrix
&
src
)
{
return
Matrix
::
copyContent
(
dst
,
src
);
}
inline
bool
clearContent
(
CMatrix
&
rMatrix
)
{
return
Matrix
::
clearContent
(
rMatrix
);
}
}
// namespace MatrixManipulation
}
// namespace Toolkit
}
// namespace OpenViBE
This diff is collapsed.
Click to expand it.
toolkit/src/tools/ovtkMatrix.cpp
+
0
−
6
View file @
9f6eb3e5
...
...
@@ -54,12 +54,6 @@ bool Matrix::copyContent(CMatrix& dst, const CMatrix& src)
return
true
;
}
bool
Matrix
::
clearContent
(
CMatrix
&
matrix
)
{
memset
(
matrix
.
getBuffer
(),
0
,
matrix
.
getSize
()
*
sizeof
(
double
));
return
true
;
}
bool
Matrix
::
isDescriptionSimilar
(
const
CMatrix
&
src1
,
const
CMatrix
&
src2
,
const
bool
checkLabels
)
{
if
(
&
src1
==
&
src2
)
{
return
true
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment