QuantLib
: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
ql
math
copulas
claytoncopula.hpp
1
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3
/*
4
Copyright (C) 2008 Marek Glowacki
5
6
This file is part of QuantLib, a free-software/open-source library
7
for financial quantitative analysts and developers - http://quantlib.org/
8
9
QuantLib is free software: you can redistribute it and/or modify it
10
under the terms of the QuantLib license. You should have received a
11
copy of the license along with this program; if not, please email
12
<quantlib-dev@lists.sf.net>. The license is also available online at
13
<http://quantlib.org/license.shtml>.
14
15
This program is distributed in the hope that it will be useful, but WITHOUT
16
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
FOR A PARTICULAR PURPOSE. See the license for more details.
18
*/
19
24
#ifndef quantlib_math_Clayton_copula_h
25
#define quantlib_math_Clayton_copula_h
26
27
#include <ql/types.hpp>
28
#include <functional>
29
30
namespace
QuantLib
{
31
33
class
ClaytonCopula
{
34
public
:
38
QL_DEPRECATED
39
typedef
Real
first_argument_type
;
40
44
QL_DEPRECATED
45
typedef
Real
second_argument_type
;
46
50
QL_DEPRECATED
51
typedef
Real
result_type
;
52
53
ClaytonCopula
(
Real
theta);
54
Real
operator()
(
Real
x,
Real
y)
const
;
55
private
:
56
Real
theta_
;
57
};
58
59
}
60
61
#endif
QuantLib::ClaytonCopula
Clayton copula.
Definition:
claytoncopula.hpp:33
QuantLib::ClaytonCopula::second_argument_type
QL_DEPRECATED typedef Real second_argument_type
Definition:
claytoncopula.hpp:45
QuantLib::ClaytonCopula::operator()
Real operator()(Real x, Real y) const
Definition:
claytoncopula.cpp:37
QuantLib::ClaytonCopula::theta_
Real theta_
Definition:
claytoncopula.hpp:56
QuantLib::ClaytonCopula::first_argument_type
QL_DEPRECATED typedef Real first_argument_type
Definition:
claytoncopula.hpp:39
QuantLib::ClaytonCopula::result_type
QL_DEPRECATED typedef Real result_type
Definition:
claytoncopula.hpp:51
QuantLib::Real
QL_REAL Real
real number
Definition:
types.hpp:50
QuantLib
Definition:
any.hpp:35
Generated by
Doxygen
1.9.5