Skip to content
Snippets Groups Projects
Commit c1a1943a authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Added an explicit note in the Load function that it first initializes Data via Data.init()

parent 16e6c52f
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -695,16 +695,19 @@ The input file will match the given specification.
\noindent Load($s$)
\begin{itemize}
\item transition: read data from the file infile associated with the string s.
Use this data to update the state of the Data module. The text file consists
of a text file with the following format, where $z_i$ is the value for the
$i$th curve, $o_i$ is the order of the $i$th curve, $x_j^i$ is the $x$ value
for the $j$th point of the $i$th curve, $y_j^i$ is the $y$ value for the $j$th
point of the $i$th curve, $m$ is the number of curves and $n_i$ is the number
of data points in the $i$th curve. All data values in a row are separated by
commas. Rows are separated by a new line. Please note, there is no
requirement that there is an equal number of data points for each of the
curves. If there is no data past a certain row, the data entry should be
empty, but there will still need to be a comma to mark the empty spot.
Use this data to update the state of the Data module. Load will first
initialize Data (Data.init()) before populating Data with curves. \\
The text file consists of a text file with the following format, where $z_i$
is the value for the $i$th curve, $o_i$ is the order of the $i$th curve,
$x_j^i$ is the $x$ value for the $j$th point of the $i$th curve, $y_j^i$ is
the $y$ value for the $j$th point of the $i$th curve, $m$ is the number of
curves and $n_i$ is the number of data points in the $i$th curve. All data
values in a row are separated by commas. Rows are separated by a new line.
Please note, there is no requirement that there is an equal number of data
points for each of the curves. If there is no data past a certain row, the
data entry should be empty, but there will still need to be a comma to mark
the empty spot.
\begin{equation}
\begin{array}{ccccc}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment