ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the base class for generating objects that contain the tabular contents of a given file. More...
Public Member Functions | |
function | FileContentsTabular (in file, in silent, in sep) |
Construct and return a scalar object of class pm.io.FileContentsTabular. More... | |
Data Fields | |
Property | sep |
Property | ncol |
Property | nrow |
Property | df |
This is the base class for generating objects that contain the tabular contents of a given file.
This class is meant to be primarily internally used by the ParaMonte library routines (e.g., samplers).
Tabular file comprises a header line followed by a table of data.
If there are more than one header line, only the last such line is considered as header and the rest are discarded as text.
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.
Definition at line 28 of file FileContentsTabular.m.
function FileContentsTabular::FileContentsTabular | ( | in | file, |
in | silent, | ||
in | sep | ||
) |
Construct and return a scalar object of class pm.io.FileContentsTabular.
This is the constructor of the class pm.io.FileContentsTabular.
[in] | file | : See the documentation of the corresponding argument of pm.io.FileContents. |
[in] | silent | : See the documentation of the corresponding argument of pm.io.FileContents. |
[in] | sep | : The input scalar MATLAB string containing the field separator used in the file. Use "\t" to represent the horizontal tab character.(optional. The default is inferred from the contents of the specified input file .) |
self
: The output scalar object of class pm.io.FileContentsTabular.
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.
Property FileContentsTabular::df |
df
The scalar MATLAB table
containing the contents of the file as a dataframe.
Definition at line 67 of file FileContentsTabular.m.
Property FileContentsTabular::ncol |
ncol
The scalar MATLAB integer representing the number of columns identified in the file.
Definition at line 51 of file FileContentsTabular.m.
Property FileContentsTabular::nrow |
nrow
The scalar MATLAB integer representing the number of rows identified in the file.
Definition at line 59 of file FileContentsTabular.m.
Property FileContentsTabular::sep |
sep
The scalar MATLAB string representing the field separator used in the file.
This property is either specified by the user or is inferred from the file to be read.
Definition at line 43 of file FileContentsTabular.m.