Mercurial > forge
changeset 2598:f684d4b65a61 octave-forge
more auto build of docs
author | adb014 |
---|---|
date | Thu, 05 Oct 2006 15:01:13 +0000 |
parents | e2f775fe8bcd |
children | e795ebd07acd |
files | extra/MacOSX/Makefile extra/MacOSX/doc/Makefile extra/symband/Makefile extra/symband/doc/Makefile extra/symband/doc/SymBandDoc.bbl extra/symband/doc/SymBandDoc.tex |
diffstat | 6 files changed, 120 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/MacOSX/Makefile Thu Oct 05 15:01:13 2006 +0000 @@ -0,0 +1,18 @@ +sinclude ../../Makeconf +sinclude ../../pkg.mk + +PKG_FILES = COPYING DESCRIPTION INDEX $(wildcard src/*) \ + $(wildcard inst/*) $(wilcard bin/*) doc/*.pdf +SUBDIRS = doc/ + +.PHONY: $(SUBDIRS) + +pre-pkg/%:: + @for _dir in $(SUBDIRS); do \ + make -C $$_dir; \ + done + +clean: + @for _dir in $(SUBDIRS); do \ + make -C $$_dir $(MAKECMDGOALS); \ + done
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/MacOSX/doc/Makefile Thu Oct 05 15:01:13 2006 +0000 @@ -0,0 +1,25 @@ +sinclude ../../../Makeconf + +TEX = $(wildcard *.tex) +PDF = $(patsubst %.tex,%.pdf,$(TEX)) + +all : $(PDF) html/index.html + +%.pdf : %.tex + latex $< > /dev/null 2>&1 + latex $< > /dev/null 2>&1 + dvipdf $(@:.pdf=.dvi) + +html/index.html : $(TEX) + latex2html $< + if [ -e "html" ]; then \ + rm -fr html; \ + fi; \ + mv -f $(patsubst %.tex,%,$<) html + +clean: + rm -fr $(patsubst %.tex,%,$(TEX)) html *.log + rm -f $(PDF) *~ + rm -f $(patsubst %.tex,%.aux,$(TEX)) + rm -f $(patsubst %.tex,%.out,$(TEX)) + rm -f $(patsubst %.tex,%.dvi,$(TEX))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/symband/Makefile Thu Oct 05 15:01:13 2006 +0000 @@ -0,0 +1,18 @@ +sinclude ../../Makeconf +sinclude ../../pkg.mk + +PKG_FILES = COPYING DESCRIPTION INDEX PKG_ADD $(wildcard src/*) \ + $(wildcard inst/*) doc/*.pdf +SUBDIRS = doc/ + +.PHONY: $(SUBDIRS) + +pre-pkg/%:: + @for _dir in $(SUBDIRS); do \ + make -C $$_dir; \ + done + +clean: + @for _dir in $(SUBDIRS); do \ + make -C $$_dir $(MAKECMDGOALS); \ + done
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/symband/doc/Makefile Thu Oct 05 15:01:13 2006 +0000 @@ -0,0 +1,25 @@ +sinclude ../../../Makeconf + +TEX = $(wildcard *.tex) +PDF = $(patsubst %.tex,%.pdf,$(TEX)) + +all : $(PDF) html/index.html + +%.pdf : %.tex + latex $< > /dev/null 2>&1 + latex $< > /dev/null 2>&1 + dvipdf $(@:.pdf=.dvi) + +html/index.html : $(TEX) + latex2html $< + if [ -e "html" ]; then \ + rm -fr html; \ + fi; \ + mv -f $(patsubst %.tex,%,$<) html + +clean: + rm -fr $(patsubst %.tex,%,$(TEX)) html *.log + rm -f $(PDF) *~ + rm -f $(patsubst %.tex,%.aux,$(TEX)) + rm -f $(patsubst %.tex,%.out,$(TEX)) + rm -f $(patsubst %.tex,%.dvi,$(TEX))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extra/symband/doc/SymBandDoc.bbl Thu Oct 05 15:01:13 2006 +0000 @@ -0,0 +1,13 @@ +\begin{thebibliography}{2} + +\bibitem{GoluVanLoan96} +G. Golub and C. Van Loan, +\newblock \textit{Matrix computations}, +John Hopkins University Press, third edition, 1996 + +\bibitem{VarFem} +A. Stahel, +\newblock \textit{Calculus of Variations and Finite Elements}, +Lecture notes used at HTA Biel, 2000 + +\end{thebibliography}
--- a/extra/symband/doc/SymBandDoc.tex Thu Oct 05 12:58:15 2006 +0000 +++ b/extra/symband/doc/SymBandDoc.tex Thu Oct 05 15:01:13 2006 +0000 @@ -13,22 +13,19 @@ %\usepackage{rotating} %\usepackage{fancybox} - +\setlength{\oddsidemargin}{-5mm} +\setlength{\evensidemargin}{-5mm} +\setlength{\headheight}{2em} +\setlength{\headsep}{1cm} +\setlength{\topmargin}{-15mm} %letter +\setlength{\textheight}{235mm} +\setlength{\textwidth}{173mm} -%\input pagesizeLetter -%%%% pagesizeLetter.tex %%%%%%%%% -%\setlength{\oddsidemargin}{-5mm} -%\setlength{\evensidemargin}{-5mm} -%\setlength{\headheight}{2em} -%\setlength{\headsep}{1cm} -%\setlength{\topmargin}{-15mm} %letter -%\setlength{\textheight}{235mm} -%\setlength{\textwidth}{173mm} - - -\input pagesizeA4 - -\input macros +%%\input macros +\newcommand{\text}[1]{\ #1 \ } +\newcommand{\id}{\mathbb{I}} +\newcommand{\dfrac}{\frac} +\newcommand{\Octave}{\textit{Octave}} %\selectlanguage{english} \makeindex @@ -120,9 +117,14 @@ To take advantage of the symmetry and the band structure the matrices will be stored in a modified format, as illustrated below. -\[\Matrix{5}{10&2&3&0&0\\2&20&4&5&0\\3&4&30&6&7\\0&5&6&40&8\\0&0&7&8&50} +\[\left| + \begin{array}{ccccc} + 10&2&3&0&0\\2&20&4&5&0\\3&4&30&6&7\\0&5&6&40&8\\0&0&7&8&50 + \end{array} \right| \longrightarrow -\Matrix{3}{10&2&3\\20&4&5\\30&6&7\\40&8&0\\50&0&0}\] + \left| \begin{array}{ccc} + 10&2&3\\20&4&5\\30&6&7\\40&8&0\\50&0&0 + \end{array} \right| \] A banded version of the $LDL^T$ factorization in~\cite{GoluVanLoan96} can be implemented. If the matrix $A$ is strictly positive definite, then the algorithm is known to be stable. If $A$ is not positive definite, then @@ -404,8 +406,8 @@ %\newpage -\bibliographystyle{keysort} -%\bibliographystyle{apalike} +%\bibliographystyle{keysort} +\bibliographystyle{apalike} %\bibliographystyle{siam} \addcontentsline{toc}{section}{Bibliography} \bibliography{school,book,fem,new}