ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the abstract class for generating instances of objects that can contain basic attributes required for storing reference to a given data.
More...
Public Member Functions | |
function | DataRef (in dfref) |
Generate an return an object of class DataRef from the input dataframe or its specified input reference. More... | |
function | copy (in self) |
Generate and return a copy of the data (or what is returned by the function handle) given the constructor of the parent object or the data return by the input. More... | |
Protected Attributes | |
Property | dfref |
This is the abstract class for generating instances of objects that can contain basic attributes required for storing reference to a given data.
This class is merely a convenience read-only wrapper to reference external data.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function DataRef::DataRef | ( | in | dfref | ) |
Generate an return an object of class DataRef from the input dataframe or its specified input reference.
[in] | dfref | : The input object containing the target dataset or function handle that takes no arguments and returns the dataset. Specifying a function handle is superior to specifying the dataset directly, because the function handle will always allow the use of the most updated version of the user table or matrix. (optional. default = [] ) |
self
: The output scalar object of class pm.container.DataRef.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function DataRef::copy | ( | in | self | ) |
Generate and return a copy of the data (or what is returned by the function handle) given the constructor of the parent object or the data return by the input.
This class method offer the only way to access the user-specified data (reference).
The underlying logic behind the use of function to access the data (reference) originates from the lack of the concept of references (pointers) in the MATLAB computing language.
[in,out] | self | : The implicitly-passed input argument representing the parent object of the method. |
df
: The output scalar MATLAB table
a full copy of the data (reference) contained in the user-specified input dfref
passed to the constructor of the parent object.
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
|
protected |
dfref
A protected
and Hidden
copy of the user-specified input data (or its handle) dfref
to the class constructor.
This is an exact copy of the user-specified function handle or data.
Users are supposed to access this component only via the class method pm.container.DataRef.copy().