CourseWare Wiki
Switch Term
Winter 2024 / 2025
Winter 2023 / 2024
Winter 2022 / 2023
Winter 2021 / 2022
Winter 2020 / 2021
Winter 2019 / 2020
Winter 2018 / 2019
Older
Search
Log In
old
courses
be5b33prg
homeworks
vectorlib
Warning
This page is located in archive. Go to the latest version of this
course pages
.
Differences
This shows you the differences between two versions of the page.
View differences:
Side by Side
Inline
Go
Link to this comparison view
Both sides previous revision
Previous revision
2017/11/15 15:02 petrito1 Tests made optional.
2016/11/04 16:03 xposik
2015/11/13 12:39 svobodat
2015/11/02 13:30 xposik
2015/10/27 18:47 svobodat
2015/10/27 18:42 svobodat
2015/10/27 18:06 svobodat
2015/10/27 18:03 svobodat
2015/10/27 18:02 svobodat
2015/10/27 17:50 svobodat
2015/10/27 17:48 svobodat
2015/10/27 17:45 svobodat
2015/10/26 11:25 svobodat created
Go
Next revision
Previous revision
2017/11/15 15:02 petrito1 Tests made optional.
2016/11/04 16:03 xposik
2015/11/13 12:39 svobodat
2015/11/02 13:30 xposik
2015/10/27 18:47 svobodat
2015/10/27 18:42 svobodat
2015/10/27 18:06 svobodat
2015/10/27 18:03 svobodat
2015/10/27 18:02 svobodat
2015/10/27 17:50 svobodat
2015/10/27 17:48 svobodat
2015/10/27 17:45 svobodat
2015/10/26 11:25 svobodat created
Go
courses:be5b33prg:homeworks:vectorlib [2015/11/13 12:39]
svobodat
courses:be5b33prg:homeworks:vectorlib [2017/11/15 15:02]
petrito1
Tests made optional.
Line 1:
Line 1:
====== vectorlib - functions for working with vectors ======
====== vectorlib - functions for working with vectors ======
-
Create ''vectorlib.py'' file-library that will contain
the
functions listed below. Your library is going to be imported, it must work as as a library (pure functions)
. Concentrate your test suite into a ''main.py'' file. Zip ''vectorlib.py'' and ''main.py'' into one archive file and upload it, i.e. both the library and the test suite is expected. Quality and thorougness of you testing will be evaluated.
+
<WRAP important round>
+
See
the
general [[courses:be5b33prg:tutorials:homeworks|homework guidelines]]!
+
</WRAP>
+
+
<html><!--
+
TP: Tests made optional
.
+
Concentrate your test suite into a ''main.py'' file. Zip ''vectorlib.py'' and ''main.py'' into one archive file and upload it, i.e. both the library and the test suite is expected. Quality and thorougness of you testing will
be evaluated.
+
--></html>
+
+
Create ''vectorlib.py'' file-library that will contain the functions listed below. Your library is going to be imported, it must work as as a library (pure functions).
+
Optionally, include example usage of the functions within docstrings and test your module using ''[[https://docs.python.org/3/library/doctest.html|doctest]]''. The tests will not
be evaluated.
Vectors will be lists. You can define some auxiliary function in your library. Also think about re-using functions within other functions. If you have problems with the math backround ask your teachers or a book or wikipedia or any other math resource.
Vectors will be lists. You can define some auxiliary function in your library. Also think about re-using functions within other functions. If you have problems with the math backround ask your teachers or a book or wikipedia or any other math resource.
courses/be5b33prg/homeworks/vectorlib.txt
· Last modified: 2017/11/15 15:02 by
petrito1