-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathvcl_manual.tex
138 lines (99 loc) · 3.01 KB
/
vcl_manual.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
\documentclass[11pt,a4paper,oneside,openright]{report}
\usepackage[bindingoffset=5mm,left=20mm,right=20mm,top=20mm,bottom=20mm,footskip=10mm]{geometry}
\usepackage[utf8x]{inputenc}
\usepackage{hyperref}
\usepackage[english]{babel}
\usepackage{listings}
\usepackage{subfiles}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{ragged2e}
\usepackage{cmap} % avoid fi ligatures in pdf file
\usepackage{amsthm} % example numbering
\usepackage{color}
\usepackage{bold-extra} % for bold tt font. Remember to include bold-extra.sty file
\usepackage{graphicx}
\usepackage[yyyymmdd]{datetime}
\usepackage{float}
% style for code listing
\renewcommand{\familydefault}{\sfdefault}
\renewcommand{\ttdefault}{pcr} % selects Courier font
\newtheorem{example}{Example}[chapter] % example numbering
\lstset{language=C} % formatting for code listing
\lstset{basicstyle=\ttfamily,breaklines=true}
\definecolor{darkGreen}{rgb}{0,0.4,0}
\definecolor{mybrown}{rgb}{0.40,0.10,0.05}
\lstset{commentstyle=\color{darkGreen}} % comments color
\lstset{keywordstyle=\color{blue}} % keyword color
\lstset{stringstyle=\color{mybrown}} % string color
\lstset{showstringspaces=false} % don't mark spaces in strings
\renewcommand{\dateseparator}{-}
% command for turning indent back on after \flushleft
\newcommand{\indenton}{\RaggedRight\parindent=15pt}
% command for vertical space
\newcommand{\vspacesmall}{\vspace{3mm}}
\newcommand{\vspacebig}{\vspace{6mm}}
% style for code inlined in text:
\newcommand{\codei}[1]{\bfseries \ttfamily{#1}\normalfont}
\begin{document}
\begin{titlepage}
\centering
\null %empty box needed for vfill to work
\vfill
{\bfseries\Huge
VCL
\vspacesmall
C++ vector class library
\vspacebig
manual
}
\vspacebig
{\Large
Agner Fog
\vspacebig
\copyright\ \today. Apache license 2.0
}
\vfill
\includegraphics[width=306pt]{freesoftwarelogo.jpg}
\vfill
\end{titlepage}
\RaggedRight
\tableofcontents
\setcounter{secnumdepth}{1}
%\indenton
\flushleft
% Introduction
% The basics
\subfile{vcl_introduction.tex}
% Operators and functions
\subfile{vcl_operators_and_functions.tex}
% Boolean operations and per-element branches
\subfile{vcl_bool.tex}
% Conversion between vector types
\subfile{vcl_conversion.tex}
% Permute, blend, lookup, gather and scatter functions
\subfile{vcl_permute_functions.tex}
% Mathematical functions
\subfile{vcl_mathematical_functions.tex}
% Performance
\subfile{vcl_performance.tex}
% Examples
\subfile{vcl_examples.tex}
% Application specific packages:
% Decimal-string conversion
% 3-dimensional vectors
% complex number vectors
% quaternions
% Decimal conversion
\subfile{vcl_packages.tex}
% Error conditions
% Implementation dependent behavior
\subfile{vcl_errors_etc.tex}
% Floating point behavior
\subfile{vcl_float_behavior.tex}
% Contributing
% Test bench
\subfile{vcl_contributing.tex}
% File list
\subfile{vcl_file_list.tex}
\end{document}