PPCKO: Principal Predictive Components for Estimating an Autoregressive Operator
Loading...
Searching...
No Matches
domain.hpp
Go to the documentation of this file.
1
// Copyright (c) 2024 Andrea Enrico Franzoni (andreaenrico.franzoni@gmail.com)
2
//
3
// This file is part of PPCKO
4
//
5
// Permission is hereby granted, free of charge, to any person obtaining a copy
6
// of PPCKO and associated documentation files (the PPCKO software), to deal
7
// PPCKO without restriction, including without limitation the rights
8
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
// copies of PPCKO, and to permit persons to whom PPCKO is
10
// furnished to do so, subject to the following conditions:
11
//
12
// PPCKO IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
// OUT OF OR IN CONNECTION WITH PPCKO OR THE USE OR OTHER DEALINGS IN
18
// PPCKO.
19
20
#ifndef HH_DOMAIN_HH
21
#define HH_DOMAIN_HH
22
29
30
34
namespace
Geometry
35
{
36
class
Domain1D
37
{
38
public
:
40
explicit
Domain1D
(
double
const
&a = 0.,
double
const
&b = 1.);
43
double
44
left()
const
45
{
46
return
M_a;
47
}
48
double
49
right()
const
50
{
51
return
M_b;
52
}
53
double
&
54
left()
55
{
56
return
M_a;
57
}
58
double
&
59
right()
60
{
61
return
M_b;
62
}
63
double
length()
const
;
65
private
:
66
double
M_a;
67
double
M_b;
68
};
69
}
// namespace Geometry
70
#endif
Geometry::Domain1D::Domain1D
Domain1D(double const &a=0., double const &b=1.)
Constructor. Default creates (0,1)
Definition
domain.cpp:33
Geometry
Definition
domain.cpp:32
src
domain.hpp
Generated by
1.13.1