Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
code
pugs
Commits
022fae06
Commit
022fae06
authored
4 years ago
by
Emmanuel Labourasse
Browse files
Options
Downloads
Patches
Plain Diff
Add tests for polynomial basis
parent
6eedc659
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/analysis/Polynomial.hpp
+1
-0
1 addition, 0 deletions
src/analysis/Polynomial.hpp
tests/CMakeLists.txt
+1
-0
1 addition, 0 deletions
tests/CMakeLists.txt
with
2 additions
and
0 deletions
src/analysis/Polynomial.hpp
+
1
−
0
View file @
022fae06
...
@@ -199,6 +199,7 @@ class Polynomial
...
@@ -199,6 +199,7 @@ class Polynomial
}
}
return
P
;
return
P
;
}
}
template
<
size_t
M
,
size_t
I
>
template
<
size_t
M
,
size_t
I
>
PUGS_INLINE
constexpr
Polynomial
<
M
*
N
>
PUGS_INLINE
constexpr
Polynomial
<
M
*
N
>
power
(
const
Polynomial
<
M
>&
Q
)
const
power
(
const
Polynomial
<
M
>&
Q
)
const
...
...
This diff is collapsed.
Click to expand it.
tests/CMakeLists.txt
+
1
−
0
View file @
022fae06
...
@@ -69,6 +69,7 @@ add_executable (unit_tests
...
@@ -69,6 +69,7 @@ add_executable (unit_tests
test_OStreamProcessor.cpp
test_OStreamProcessor.cpp
test_PCG.cpp
test_PCG.cpp
test_Polynomial.cpp
test_Polynomial.cpp
test_PolynomialBasis.cpp
test_PugsFunctionAdapter.cpp
test_PugsFunctionAdapter.cpp
test_PugsAssert.cpp
test_PugsAssert.cpp
test_RevisionInfo.cpp
test_RevisionInfo.cpp
...
...
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