imate
C++/CUDA Reference
Loading...
Searching...
No Matches
log_gaussian_der.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_LOG_GAUSSIAN_DER_H_
13
#define FUNCTIONS_LOG_GAUSSIAN_DER_H_
14
15
// =======
16
// Headers
17
// =======
18
19
#include "
./functions.h
"
20
21
22
// ================
23
// Log Gaussian Der
24
// ================
25
51
52
class
LogGaussianDer
:
public
Function
53
{
54
public
:
55
LogGaussianDer
(
double
mu_,
double
sigma_);
56
virtual
float
function
(
const
float
lambda_)
const
;
57
virtual
double
function
(
const
double
lambda_)
const
;
58
virtual
long
double
function
(
const
long
double
lambda_)
const
;
59
double
mu
;
60
double
sigma
;
61
};
62
63
#endif
// FUNCTIONS_LOG_GAUSSIAN_DER_H_
Function
Defines the function .
Definition
functions.h:38
LogGaussianDer
Defines the derivative of the log normal probability function by.
Definition
log_gaussian_der.h:53
LogGaussianDer::function
virtual float function(const float lambda_) const
Definition
log_gaussian_der.cpp:48
LogGaussianDer::mu
double mu
Definition
log_gaussian_der.h:59
LogGaussianDer::sigma
double sigma
Definition
log_gaussian_der.h:60
functions.h
imate
functions
log_gaussian_der.h
Generated on Tue May 12 2026 22:54:38 for imate by
1.9.8