mirror of https://github.com/CGAL/cgal
- Added a cgal.bib file for the URL.
- Rewrote the documentation.
This commit is contained in:
parent
f78acd11b1
commit
25876ea2d9
|
|
@ -1,30 +1,28 @@
|
|||
% CLN documentation.
|
||||
% $Revision$
|
||||
% $Date$
|
||||
\section{Number Types Provided by {\sc Cln}}
|
||||
\label{CLN}
|
||||
|
||||
\begin{ccClass} {CLN} % Should not be a class, but a section ?
|
||||
\ccSubsection{Number Types Provided by CLN}
|
||||
\label{cln}
|
||||
\ccChapterAuthor{Sylvain Pion}
|
||||
% \ccChapterAuthor{Sylvain Pion}
|
||||
|
||||
{\cgal} provides the necessary functions so that the user can directly use
|
||||
all the ordinary number types provided by the CLN library (Class Library for
|
||||
Numbers) which is available together with documentation at
|
||||
http://clisp.cons.org/\~haible/packages-cln.html. % put a \ref{} instead ?
|
||||
\cgal\ defines the functions needed to use the number types provided by
|
||||
{\sc Cln}, the Class Library for Numbers~\cite{cln}.
|
||||
To use {\sc Cln} with \cgal, just~:
|
||||
|
||||
To use it with {\cgal}, just add the desired include directive to your code
|
||||
(see below), and add the compilation options corresponding to CLN (-I...,
|
||||
-L..., -lcln).
|
||||
\begin{itemize}
|
||||
\item add the desired compilation options, e.g.
|
||||
\mbox{\ccc{-I/usr/local/CLN/include -L/usr/local/CLN/lib -lcln}}.
|
||||
\item include the corresponding {\sc Cln} file but with the prefix
|
||||
\ccc{CGAL/}.
|
||||
\end{itemize}
|
||||
|
||||
\ccInclude{CGAL/cl_integer.h}
|
||||
|
||||
The \ccc{cl_I} class: exact (multiprecision) integers.
|
||||
The class \ccc{cl_I}~: exact multiprecision integers.
|
||||
|
||||
\ccInclude{CGAL/cl_rational.h}
|
||||
|
||||
The \ccc{cl_RA} class: exact rationals.
|
||||
The class \ccc{cl_RA}~: exact multiprecision rationals.
|
||||
|
||||
And similarly for the 10 ordinary number types classes defined by CLN:
|
||||
And similarly for the 10 ordinary number type classes provided by {\sc Cln}~:
|
||||
\ccc{cl_SF, cl_FF, cl_DF, cl_LF, cl_I, cl_RA, cl_F, cl_R, cl_N, cl_number}.
|
||||
|
||||
\end{ccClass}
|
||||
See the {\sc Cln} documentation for additionnal details.
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@ dvi: wrapper.dvi
|
|||
CLN.ps: dvi
|
||||
dvips -o CLN.ps wrapper.dvi
|
||||
|
||||
wrapper.dvi: main.tex wrapper.tex
|
||||
wrapper.dvi: CLN.tex wrapper.tex cgal.bib
|
||||
latex wrapper.tex
|
||||
bibtex wrapper
|
||||
latex wrapper.tex
|
||||
latex wrapper.tex
|
||||
#bibtex wrapper
|
||||
#latex wrapper.tex
|
||||
|
||||
clean:
|
||||
rm -f *.aux *.log *.dvi *.ps *.blg *.bbl
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
@manual{ cln
|
||||
,title = {{CLN}, The Class Library for Numbers}
|
||||
,author = {Haible, B.}
|
||||
,edition = {1.0.1}
|
||||
,month = {June}
|
||||
,year = {1999}
|
||||
,note = {\path|http://clisp.cons.org/~haible/packages-cln.html|}
|
||||
,update = "99.06 pion"
|
||||
}
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
\ccSetThreeColumns{CGAL_Oriented_side}{}{\hspace*{10cm}}
|
||||
\ccPropagateThreeToTwoColumns
|
||||
|
||||
\include{main}
|
||||
\include{CLN}
|
||||
|
||||
\bibliographystyle{alpha}
|
||||
% \bibliography{geom,cgal}
|
||||
\bibliography{geom}
|
||||
\bibliography{geom,cgal}
|
||||
% \bibliography{geom}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue