https://mooseframework.inl.gov
Loading...
Searching...
No Matches
JohnsonSB.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "Normal.h"
13
17class JohnsonSB : public Normal
18{
19public:
21
23
24 virtual Real pdf(const Real & x) const override;
25 virtual Real cdf(const Real & x) const override;
26 virtual Real quantile(const Real & p) const override;
27
28 static Real
29 pdf(const Real & x, const Real & a, const Real & b, const Real & alpha_1, const Real & alpha_2);
30 static Real
31 cdf(const Real & x, const Real & a, const Real & b, const Real & alpha_1, const Real & alpha_2);
32 static Real quantile(
33 const Real & p, const Real & a, const Real & b, const Real & alpha_1, const Real & alpha_2);
34
35protected:
37 const Real & _lower;
38
40 const Real & _upper;
41
43 const Real & _alpha_1;
44
46 const Real & _alpha_2;
47};
const std::vector< double > x
const Real p
A class used to generate a Johnson SB distribution.
Definition JohnsonSB.h:18
virtual Real pdf(const Real &x) const override
Definition JohnsonSB.C:82
const Real & _upper
The upper location parameter, b.
Definition JohnsonSB.h:40
const Real & _alpha_2
The second shape parameter, alpha_2.
Definition JohnsonSB.h:46
static InputParameters validParams()
Definition JohnsonSB.C:17
const Real & _lower
The lower location parameter, a.
Definition JohnsonSB.h:37
virtual Real quantile(const Real &p) const override
Definition JohnsonSB.C:94
const Real & _alpha_1
The first shape parameter, alpha_1.
Definition JohnsonSB.h:43
virtual Real cdf(const Real &x) const override
Definition JohnsonSB.C:88
const InputParameters & parameters() const
A class used to generate a normal distribution.
Definition Normal.h:18