ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
FileContentsChain.m
Go to the documentation of this file.
1%> \brief
2%> This is the base class for generating objects
3%> that contain the contents of a chain file
4%> generated by a ParaMonte sampler.<br>
5%>
6%> \details
7%> This class is meant to be primarily internally
8%> used by the ParaMonte MATLAB library samplers.<br>
9%> See the documentation of the class constructor.<br>
10%>
11%> \note
12%> See below for information on the attributes (properties).
13%>
14%> \note
15%> See below for information on the methods.<br>
16%>
17%> \final{FileContentsChain}
18%>
19%> \author
20%> \JoshuaOsborne, May 21 2024, 1:05 AM, University of Texas at Arlington<br>
21%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
22%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
23classdef FileContentsChain < pm.sampling.FileContentsSample
24 properties(Access = public)
25 end
26
27 properties(Hidden)
28 end
29
30 methods(Access = public)
31
32 %> \brief
33 %> Return a scalar object of class [pm.sampling.FileContentsChain](@ref FileContentsChain).<br>
34 %>
35 %> \details
36 %> This is the constructor of the class [pm.sampling.FileContentsChain](@ref FileContentsChain).<br>
37 %>
38 %> \param[in] file : The input scalar MATLAB string containing the path or web address to an external file.<br>
39 %> \param[in] silent : See the corresponding argument of [pm.sampling.FileContentsSample](@ref FileContentsSample) class.<br>
40 %> (**optional**. The default is set by [pm.sampling.FileContentsSample](@ref FileContentsSample).)
41 %> \param[in] sep : See the corresponding argument of [pm.sampling.FileContentsSample](@ref FileContentsSample) class.<br>
42 %> (**optional**. The default is set by [pm.sampling.FileContentsSample](@ref FileContentsSample).)
43 %>
44 %> \return
45 %> ``self`` : The output scalar object of class [pm.sampling.FileContentsChain](@ref FileContentsChain).<br>
46 %>
47 %> \interface{FileContentsChain}
48 %> \code{.m}
49 %>
50 %> contents = pm.sampling.FileContentsChain(file)
51 %> contents = pm.sampling.FileContentsChain(file, [])
52 %> contents = pm.sampling.FileContentsChain(file, silent)
53 %> contents = pm.sampling.FileContentsChain(file, [], sep)
54 %> contents = pm.sampling.FileContentsChain(file, silent, sep)
55 %>
56 %> \endcode
57 %>
58 %> \final{FileContentsChain}
59 %>
60 %> \author
61 %> \JoshuaOsborne, May 21 2024, 1:07 AM, University of Texas at Arlington<br>
62 %> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
63 %> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
64 function self = FileContentsChain(file, silent, sep)
65 if nargin < 3
66 sep = [];
67 end
68 if nargin < 2
69 silent = [];
70 end
71 self = self@pm.sampling.FileContentsSample(file, silent, sep);
72 end
73
74 end
75
76end
This is the base class for generating objects that contain the contents of a chain file generated by ...
function FileContentsChain(in file, in silent, in sep)
Return a scalar object of class pm.sampling.FileContentsChain.
This is the base class for generating objects that contain the contents of a sample/chain file genera...