numerical-collection-cpp
0.10.0
A collection of algorithms in numerical analysis implemented in C++
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Variables
a
b
c
d
f
g
h
i
m
n
o
p
r
s
t
w
z
Typedefs
a
c
d
e
g
i
l
n
r
s
t
v
Enumerations
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Enumerations
Enumerator
Files
File List
File Members
All
Macros
▼
numerical-collection-cpp
Documentation
Repositories
Installation
►
How to Build in the Repository
Profiling
License
Todo List
Bibliography
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
doc
▼
include
▼
num_collect
►
auto_diff
►
base
►
constants
►
functions
►
integration
►
linear
►
logging
►
multi_double
►
numbers
►
ode
►
opt
▼
rbf
►
concepts
►
distance_functions
►
impl
►
length_parameter_calculators
▼
rbfs
►
gaussian_rbf.h
►
inverse_multi_quadric_rbf.h
►
inverse_quadratic_rbf.h
►
multi_quadric_rbf.h
►
sech_rbf.h
►
wendland_csrbf.h
►
compute_kernel_matrix.h
►
compute_polynomial_term_matrix.h
►
gaussian_process_interpolator.h
►
generate_halton_nodes.h
►
kernel_matrix_type.h
►
polynomial_calculator.h
►
rbf_interpolator.h
►
rbf_polynomial_interpolator.h
►
regularization
►
roots
►
util
►
version.h
►
problems
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Concepts
Loading...
Searching...
No Matches
multi_quadric_rbf.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 MusicScience37 (Kenta Kabashima)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
20
#pragma once
21
22
#include <cmath>
23
24
#include "
num_collect/base/concepts/real_scalar.h
"
25
26
namespace
num_collect::rbf::rbfs
{
27
36
template
<base::concepts::real_scalar Scalar>
37
class
multi_quadric_rbf
{
38
public
:
40
using
scalar_type
= Scalar;
41
48
[[nodiscard]]
auto
operator()
(
49
const
scalar_type
& distance_rate)
const
noexcept
->
scalar_type
{
50
using
std::sqrt;
51
return
sqrt(
52
static_cast<
scalar_type
>
(1) + distance_rate * distance_rate);
53
}
48
[[nodiscard]]
auto
operator()
( {
…
}
54
};
37
class
multi_quadric_rbf
{
…
};
55
56
}
// namespace num_collect::rbf::rbfs
num_collect::rbf::rbfs::multi_quadric_rbf
Class of Multi-quadric RBF fornberg2015.
Definition
multi_quadric_rbf.h:37
num_collect::rbf::rbfs::multi_quadric_rbf::scalar_type
Scalar scalar_type
Type of scalars.
Definition
multi_quadric_rbf.h:40
num_collect::rbf::rbfs::multi_quadric_rbf::operator()
auto operator()(const scalar_type &distance_rate) const noexcept -> scalar_type
Calculate a function value of RBF.
Definition
multi_quadric_rbf.h:48
num_collect::rbf::rbfs
Namespace of RBFs.
Definition
gaussian_rbf.h:26
real_scalar.h
Definition of real_scalar concept.
include
num_collect
rbf
rbfs
multi_quadric_rbf.h
Generated on Fri Apr 25 2025 06:23:00 for numerical-collection-cpp by
1.13.2