STK++ 0.9.13
STK_Law_ILawBase.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::STatistiK::Law
27 * Purpose: Interface base class for all multivariate probabilities laws.
28 * Author: Serge Iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 **/
30
36#ifndef STK_LAW_ILAWBASE_H
37#define STK_LAW_ILAWBASE_H
38
39#include "STK_Law_Util.h"
40
41namespace STK
42{
43
44namespace Law
45{
54{
55 protected:
59 inline ILawBase(String const& name) : name_(name) {}
61 inline ~ILawBase() {}
62
63 public:
65 inline String const& name() const { return name_;}
66
67 protected:
70};
71
72} // namespace Law
73
74} // namespace STK
75
76#endif /*STK_LAW_ILAWBASE_H*/
In this file we define the utilities constant and method for the Law namespace.
Interface base class for all the (univariate/multivariate) probabilities laws.
ILawBase(String const &name)
Constructor.
String name_
Name of the Law.
String const & name() const
std::basic_string< Char > String
STK fundamental type of a String.
The namespace STK is the main domain space of the Statistical ToolKit project.