diff options
author | Nishanth Amuluru | 2010-10-07 14:33:45 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2010-10-07 14:33:45 +0530 |
commit | 91b012bda26c3982983b0daa182ca226d8edab99 (patch) | |
tree | 8eee3940206c7a527fad8cc139530d118ee07e42 /lstsq/quickref.tex | |
parent | d97c22af85adaa1306a2c6e7b0f4c9355253722e (diff) | |
download | st-scripts-91b012bda26c3982983b0daa182ca226d8edab99.tar.gz st-scripts-91b012bda26c3982983b0daa182ca226d8edab99.tar.bz2 st-scripts-91b012bda26c3982983b0daa182ca226d8edab99.zip |
Converted lstsq to new template form
Diffstat (limited to 'lstsq/quickref.tex')
-rw-r--r-- | lstsq/quickref.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lstsq/quickref.tex b/lstsq/quickref.tex new file mode 100644 index 0000000..a0212b3 --- /dev/null +++ b/lstsq/quickref.tex @@ -0,0 +1,11 @@ +Creating a tuple:\\ +{\ex \lstinline| t = (1, "hello", 2.5)|} + +Accessing elements of tuples:\\ +{\ex \lstinline| t[index] Ex: t[2]|} + +Accessing slices of tuples:\\ +{\ex \lstinline| t[start:stop:step]|} + +Swapping values:\\ +{\ex \lstinline| a, b = b, a|} |