Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dmitri Naumov
ogs
Commits
965c0b01
Commit
965c0b01
authored
9 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MaL] Make PiecewiseLinearInterpolation final.
parent
7661c0c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.cpp
+0
-3
0 additions, 3 deletions
.../InterpolationAlgorithms/PiecewiseLinearInterpolation.cpp
MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h
+1
-3
1 addition, 3 deletions
...ib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h
with
1 addition
and
6 deletions
MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.cpp
+
0
−
3
View file @
965c0b01
...
@@ -34,9 +34,6 @@ PiecewiseLinearInterpolation::PiecewiseLinearInterpolation(
...
@@ -34,9 +34,6 @@ PiecewiseLinearInterpolation::PiecewiseLinearInterpolation(
}
}
}
}
PiecewiseLinearInterpolation
::~
PiecewiseLinearInterpolation
()
{}
double
PiecewiseLinearInterpolation
::
getValue
(
double
pnt_to_interpolate
)
const
double
PiecewiseLinearInterpolation
::
getValue
(
double
pnt_to_interpolate
)
const
{
{
// search interval that has the point inside
// search interval that has the point inside
...
...
This diff is collapsed.
Click to expand it.
MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h
+
1
−
3
View file @
965c0b01
...
@@ -22,7 +22,7 @@ namespace MathLib
...
@@ -22,7 +22,7 @@ namespace MathLib
/**
/**
* This class implements a one dimensional piecewise linear interpolation algorithm.
* This class implements a one dimensional piecewise linear interpolation algorithm.
*/
*/
class
PiecewiseLinearInterpolation
class
PiecewiseLinearInterpolation
final
{
{
public:
public:
/**
/**
...
@@ -48,8 +48,6 @@ public:
...
@@ -48,8 +48,6 @@ public:
std
::
vector
<
double
>&&
values_at_supp_pnts
,
std
::
vector
<
double
>&&
values_at_supp_pnts
,
bool
supp_pnts_sorted
=
false
);
bool
supp_pnts_sorted
=
false
);
virtual
~
PiecewiseLinearInterpolation
();
/**
/**
* \brief Calculates the interpolation value.
* \brief Calculates the interpolation value.
* @param pnt_to_interpolate The point should be located within the range
* @param pnt_to_interpolate The point should be located within the range
...
...
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