A type allowing for the construction of chain of values.
Gets a copy of the stored Markov chain.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(chain_builder), | intent(in) | :: | this |
The chain_builder object. |
||
real(kind=real64), | intent(in), | optional | :: | bin |
An optional input allowing for a burn-in region. The parameter represents the amount (percentage-based) of the overall chain to disregard as "burn-in" values. The value shoud exist on [0, 1). The default value is 0 such that no values are disregarded. |
|
class(errors), | intent(inout), | optional, | target | :: | err |
The error handling object. |
The resulting chain with each parameter represented by a column.
Gets the length of the chain (number of stored state variables).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(chain_builder), | intent(in) | :: | this |
The chain_builder object. |
The chain length.
Gets the number of state variables.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(chain_builder), | intent(in) | :: | this |
The chain_builder object. |
The number of state variables.
Pushes a new set of state variables onto the buffer.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(chain_builder), | intent(inout) | :: | this |
The chain_builder object. |
||
real(kind=real64), | intent(in), | dimension(:) | :: | x |
The new N-element state array. |
|
class(errors), | intent(inout), | optional, | target | :: | err |
The error handling object. |
Resets the object and clears out the buffer storing the chain values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(chain_builder), | intent(inout) | :: | this |
The chain_builder object. |