Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
se2aa4_cs2me3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
W. Spencer Smith
se2aa4_cs2me3
Commits
c1a1943a
Commit
c1a1943a
authored
7 years ago
by
W. Spencer Smith
Browse files
Options
Downloads
Patches
Plain Diff
Added an explicit note in the Load function that it first initializes Data via Data.init()
parent
16e6c52f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assignments/A2/A2.pdf
+0
-0
0 additions, 0 deletions
Assignments/A2/A2.pdf
Assignments/A2/A2.tex
+13
-10
13 additions, 10 deletions
Assignments/A2/A2.tex
with
13 additions
and
10 deletions
Assignments/A2/A2.pdf
+
0
−
0
View file @
c1a1943a
No preview for this file type
This diff is collapsed.
Click to expand it.
Assignments/A2/A2.tex
+
13
−
10
View file @
c1a1943a
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment