imate
C++/CUDA Reference
exponential.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_EXPONENTIAL_H_
13
#define FUNCTIONS_EXPONENTIAL_H_
14
15
// =======
16
// Headers
17
// =======
18
19
#include "
./functions.h
"
20
21
22
// ===========
23
// Exponential
24
// ===========
25
39
40
class
Exponential
:
public
Function
41
{
42
public
:
43
Exponential
(
double
coeff_);
44
virtual
float
function
(
const
float
lambda_)
const
;
45
virtual
double
function
(
const
double
lambda_)
const
;
46
virtual
long
double
function
(
const
long
double
lambda_)
const
;
47
double
coeff
;
48
};
49
50
#endif
// FUNCTIONS_EXPONENTIAL_H_
Exponential
Defines the function .
Definition:
exponential.h:41
Exponential::Exponential
Exponential(double coeff_)
Sets the default for the parameter coeff to 1.0.
Definition:
exponential.cpp:27
Exponential::coeff
double coeff
Definition:
exponential.h:47
Function
Defines the function .
Definition:
functions.h:38
functions.h
imate
functions
exponential.h
Generated on Mon Jan 22 2024 00:04:57 for imate by
1.9.1