imate
C++/CUDA Reference
gaussian.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu>
3
* SPDX-License-Identifier: BSD-3-Clause
4
* SPDX-FileType: SOURCE
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the license found in the LICENSE.txt file in the root
8
* directory of this source tree.
9
*/
10
11
12
#ifndef FUNCTIONS_GAUSSIAN_H_
13
#define FUNCTIONS_GAUSSIAN_H_
14
15
// =======
16
// Headers
17
// =======
18
19
#include "
./functions.h
"
20
21
22
// ========
23
// Gaussian
24
// ========
25
46
47
class
Gaussian
:
public
Function
48
{
49
public
:
50
Gaussian
(
double
mu_,
double
sigma_);
51
virtual
float
function
(
const
float
lambda_)
const
;
52
virtual
double
function
(
const
double
lambda_)
const
;
53
virtual
long
double
function
(
const
long
double
lambda_)
const
;
54
double
mu
;
55
double
sigma
;
56
};
57
58
#endif
// FUNCTIONS_GAUSSIAN_H_
Function
Defines the function .
Definition:
functions.h:38
Gaussian
Defines the function.
Definition:
gaussian.h:48
Gaussian::mu
double mu
Definition:
gaussian.h:54
Gaussian::sigma
double sigma
Definition:
gaussian.h:55
Gaussian::Gaussian
Gaussian(double mu_, double sigma_)
Sets the default for the parameter mu to 0.0 and for the parameter sigma to 1.0.
Definition:
gaussian.cpp:34
functions.h
imate
functions
gaussian.h
Generated on Mon Jan 22 2024 00:04:57 for imate by
1.9.1