You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li> For this exercise we recommend that you make your own functions for dynamic memory allocation of a vector and a matrix. You don't need to write a class for this operations. Use then the library package lib.cpp with its header file lib.hpp for obtaining LU-decomposed matrices, solve linear equations etc.</li>
148
-
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations.</li>
148
+
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations. Alternatively you can use the <ahref="http://eigen.tuxfamily.org/index.php?title=Main_Page" target="_self">Eigen</a> library, which has much of the same functionality as Armadillo.</li>
149
149
</ul>
150
150
151
151
Your program, whether it is written in C++, Python, Fortran or other languages, should include
Compare your results with those from the LU decomposition codes for the matrix of sizes \( 10\times 10 \), \( 100\times 100 \) and
361
362
\( 1000\times 1000 \). Here you should use the library functions provided on the webpage of the course. Alternatively, if you use armadillo as a library, you can use the similar function for LU decomposition. The armadillo function for the LU decomposition is called \( LU \) while the function for solving linear sets of equations is called \( solve \).
362
363
Use for example the unix function <em>time</em> when you run your codes
<spanstyle="color: #008000; font-weight: bold">END PROGRAM </span><spanstyle="color: #008000">time</span>
414
415
</pre></div>
416
+
<p>
417
+
Your results may depend on the granularity of the clock.
415
418
416
419
<h2id="___sec6" class="anchor">Introduction to numerical projects </h2>
417
420
@@ -437,11 +440,11 @@ <h2 id="___sec7" class="anchor">Format for electronic delivery of report and pro
437
440
The preferred format for the report is a PDF file. You can also use DOC or postscript formats or as an ipython notebook file. As programming language we prefer that you choose between C/C++, Fortran2008 or Python. The following prescription should be followed when preparing the report:
438
441
439
442
<ul>
440
-
<li> Use Devilry to hand in your projects, log in at <ahref="http://devilry.ifi.uio.no" target="_self"><tt>http://devilry.ifi.uio.no</tt></a> with your normal UiO username and password and choose either 'fys3150' or 'fys4150'. There you can load up the files within the deadline.</li>
441
-
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them.</li>
443
+
<li> Use <b>Canvas</b> to hand in your projects, log in at <ahref="https://www.uio.no/english/services/it/education/canvas/" target="_self"><tt>https://www.uio.no/english/services/it/education/canvas/</tt></a> with your normal UiO username and password.</li>
444
+
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them. Alternatively, you can just upload the address to your GitHub or GitLab repository.</li>
442
445
<li> In your git repository, please include a folder which contains selected results. These can be in the form of output from your code for a selected set of runs and input parameters.</li>
443
446
<li> In this and all later projects, you should include tests (for example unit tests) of your code(s).</li>
444
-
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your Devilry domain and are only visible to you and the teachers of the course.</li>
447
+
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your <b>Canvas</b> domain and are only visible to you and the teachers of the course.</li>
445
448
</ul>
446
449
447
450
Finally,
@@ -470,7 +473,7 @@ <h2 id="___sec7" class="anchor">Format for electronic delivery of report and pro
<li> For this exercise we recommend that you make your own functions for dynamic memory allocation of a vector and a matrix. You don't need to write a class for this operations. Use then the library package lib.cpp with its header file lib.hpp for obtaining LU-decomposed matrices, solve linear equations etc.</li>
148
-
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations.</li>
148
+
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations. Alternatively you can use the <ahref="http://eigen.tuxfamily.org/index.php?title=Main_Page" target="_self">Eigen</a> library, which has much of the same functionality as Armadillo.</li>
149
149
</ul>
150
150
151
151
Your program, whether it is written in C++, Python, Fortran or other languages, should include
Compare your results with those from the LU decomposition codes for the matrix of sizes \( 10\times 10 \), \( 100\times 100 \) and
361
362
\( 1000\times 1000 \). Here you should use the library functions provided on the webpage of the course. Alternatively, if you use armadillo as a library, you can use the similar function for LU decomposition. The armadillo function for the LU decomposition is called \( LU \) while the function for solving linear sets of equations is called \( solve \).
362
363
Use for example the unix function <em>time</em> when you run your codes
<spanstyle="color: #008000; font-weight: bold">END PROGRAM </span><spanstyle="color: #008000">time</span>
414
415
</pre></div>
416
+
<p>
417
+
Your results may depend on the granularity of the clock.
415
418
416
419
<h2id="___sec6" class="anchor">Introduction to numerical projects </h2>
417
420
@@ -437,11 +440,11 @@ <h2 id="___sec7" class="anchor">Format for electronic delivery of report and pro
437
440
The preferred format for the report is a PDF file. You can also use DOC or postscript formats or as an ipython notebook file. As programming language we prefer that you choose between C/C++, Fortran2008 or Python. The following prescription should be followed when preparing the report:
438
441
439
442
<ul>
440
-
<li> Use Devilry to hand in your projects, log in at <ahref="http://devilry.ifi.uio.no" target="_self"><tt>http://devilry.ifi.uio.no</tt></a> with your normal UiO username and password and choose either 'fys3150' or 'fys4150'. There you can load up the files within the deadline.</li>
441
-
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them.</li>
443
+
<li> Use <b>Canvas</b> to hand in your projects, log in at <ahref="https://www.uio.no/english/services/it/education/canvas/" target="_self"><tt>https://www.uio.no/english/services/it/education/canvas/</tt></a> with your normal UiO username and password.</li>
444
+
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them. Alternatively, you can just upload the address to your GitHub or GitLab repository.</li>
442
445
<li> In your git repository, please include a folder which contains selected results. These can be in the form of output from your code for a selected set of runs and input parameters.</li>
443
446
<li> In this and all later projects, you should include tests (for example unit tests) of your code(s).</li>
444
-
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your Devilry domain and are only visible to you and the teachers of the course.</li>
447
+
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your <b>Canvas</b> domain and are only visible to you and the teachers of the course.</li>
445
448
</ul>
446
449
447
450
Finally,
@@ -470,7 +473,7 @@ <h2 id="___sec7" class="anchor">Format for electronic delivery of report and pro
<li> For this exercise we recommend that you make your own functions for dynamic memory allocation of a vector and a matrix. You don't need to write a class for this operations. Use then the library package lib.cpp with its header file lib.hpp for obtaining LU-decomposed matrices, solve linear equations etc.</li>
107
-
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations.</li>
107
+
<li> A very good and often recommended library for C++ handling of arrays is the library Armadillo, to be found at \url{arma.sourceforge.net}. We will discuss the usage of this library during the lab sessions and lectures. Armadillo has also an interface to Lapack functions for solving systems of linear equations. Alternatively you can use the <ahref="http://eigen.tuxfamily.org/index.php?title=Main_Page" target="_blank">Eigen</a> library, which has much of the same functionality as Armadillo.</li>
108
108
</ul>
109
109
110
110
Your program, whether it is written in C++, Python, Fortran or other languages, should include
Compare your results with those from the LU decomposition codes for the matrix of sizes \( 10\times 10 \), \( 100\times 100 \) and
320
321
\( 1000\times 1000 \). Here you should use the library functions provided on the webpage of the course. Alternatively, if you use armadillo as a library, you can use the similar function for LU decomposition. The armadillo function for the LU decomposition is called \( LU \) while the function for solving linear sets of equations is called \( solve \).
321
322
Use for example the unix function <em>time</em> when you run your codes
<spanstyle="color: #008000; font-weight: bold">END PROGRAM </span><spanstyle="color: #008000">time</span>
373
374
</pre></div>
375
+
<p>
376
+
Your results may depend on the granularity of the clock.
374
377
375
378
<h2id="___sec6">Introduction to numerical projects </h2>
376
379
@@ -396,11 +399,11 @@ <h2 id="___sec7">Format for electronic delivery of report and programs </h2>
396
399
The preferred format for the report is a PDF file. You can also use DOC or postscript formats or as an ipython notebook file. As programming language we prefer that you choose between C/C++, Fortran2008 or Python. The following prescription should be followed when preparing the report:
397
400
398
401
<ul>
399
-
<li> Use Devilry to hand in your projects, log in at <ahref="http://devilry.ifi.uio.no" target="_blank"><tt>http://devilry.ifi.uio.no</tt></a> with your normal UiO username and password and choose either 'fys3150' or 'fys4150'. There you can load up the files within the deadline.</li>
400
-
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them.</li>
402
+
<li> Use <b>Canvas</b> to hand in your projects, log in at <ahref="https://www.uio.no/english/services/it/education/canvas/" target="_blank"><tt>https://www.uio.no/english/services/it/education/canvas/</tt></a> with your normal UiO username and password.</li>
403
+
<li> Upload <b>only</b> the report file! For the source code file(s) you have developed please provide us with your link to your github domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them. Alternatively, you can just upload the address to your GitHub or GitLab repository.</li>
401
404
<li> In your git repository, please include a folder which contains selected results. These can be in the form of output from your code for a selected set of runs and input parameters.</li>
402
405
<li> In this and all later projects, you should include tests (for example unit tests) of your code(s).</li>
403
-
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your Devilry domain and are only visible to you and the teachers of the course.</li>
406
+
<li> Comments from us on your projects, approval or not, corrections to be made etc can be found under your <b>Canvas</b> domain and are only visible to you and the teachers of the course.</li>
404
407
</ul>
405
408
406
409
Finally,
@@ -413,7 +416,7 @@ <h2 id="___sec7">Format for electronic delivery of report and programs </h2>
0 commit comments