diff options
author | Puneeth Chaganti | 2009-10-28 17:35:41 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-10-28 17:35:41 +0530 |
commit | 746165649efe8915ca3dd17236cbd1d024c95941 (patch) | |
tree | 17f9dcdd9522013ef47f862133af7fd98077e0ae | |
parent | 8dd5c1449b88b83824e6efd7052be8aab0851a0c (diff) | |
download | workshops-more-scipy-746165649efe8915ca3dd17236cbd1d024c95941.tar.gz workshops-more-scipy-746165649efe8915ca3dd17236cbd1d024c95941.tar.bz2 workshops-more-scipy-746165649efe8915ca3dd17236cbd1d024c95941.zip |
Added pos.txt file.
-rw-r--r-- | day1/data/pos.txt | 41 | ||||
-rw-r--r-- | day1/session3.tex | 17 |
2 files changed, 50 insertions, 8 deletions
diff --git a/day1/data/pos.txt b/day1/data/pos.txt new file mode 100644 index 0000000..adf92c8 --- /dev/null +++ b/day1/data/pos.txt @@ -0,0 +1,41 @@ +0. 0. +0.25 0.47775 +0.5 0.931 +0.75 1.35975 +1. 1.764 +1.25 2.14375 +1.5 2.499 +1.75 2.82975 +2. 3.136 +2.25 3.41775 +2.5 3.675 +2.75 3.90775 +3. 4.116 +3.25 4.29975 +3.5 4.459 +3.75 4.59375 +4. 4.704 +4.25 4.78975 +4.5 4.851 +4.75 4.88775 +5. 4.9 +5.25 4.88775 +5.5 4.851 +5.75 4.78975 +6. 4.704 +6.25 4.59375 +6.5 4.459 +6.75 4.29975 +7. 4.116 +7.25 3.90775 +7.5 3.675 +7.75 3.41775 +8. 3.136 +8.25 2.82975 +8.5 2.499 +8.75 2.14375 +9. 1.764 +9.25 1.35975 +9.5 0.931 +9.75 0.47775 +10. 0. diff --git a/day1/session3.tex b/day1/session3.tex index dee2f5f..435789c 100644 --- a/day1/session3.tex +++ b/day1/session3.tex @@ -514,18 +514,19 @@ In []: TSq = T*T \item A is also called a Van der Monde matrix \item It can be generated using \typ{vander} \end{itemize} -Van der Monde matrix of order M +\begin{lstlisting} +In []: A = vander(L, 2) +\end{lstlisting} +Gives the required Van der Monde matrix \begin{equation*} \begin{bmatrix} - l_1^{M-1} & \ldots & l_1 & 1 \\ - l_2^{M-1} & \ldots &l_2 & 1 \\ - \vdots & \ldots & \vdots & \vdots\\ - l_N^{M-1} & \ldots & l_N & 1 \\ + l_1 & 1 \\ + l_2 & 1 \\ + \vdots & \vdots\\ + l_N & 1 \\ \end{bmatrix} \end{equation*} -\begin{lstlisting} -In []: A = vander(L,2) -\end{lstlisting} + \end{frame} \begin{frame}[fragile] |