Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
29bd6bd1
Commit
29bd6bd1
authored
Jun 02, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved FAQ page slightly.
parent
551a882c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
faq.xml
docs/docs/faq.xml
+22
-0
stylesheet.xsl
docs/docs/stylesheet.xsl
+10
-3
No files found.
docs/docs/faq.xml
View file @
29bd6bd1
...
...
@@ -11,7 +11,29 @@
</question>
<question
text=
"How do I set the size of a matrix at runtime?"
>
Long answer, read the
<a
href=
"matrix_ex.cpp.html"
>
matrix example program
</a>
.
<br/><br/>
Short answer, here are some examples:
<code_box>
matrix
<
double
>
mat;
mat.set_size(4,5);
matrix
<
double,0,1
>
column_vect;
col_vect.set_size(6);
matrix
<
double,0,1
>
column_vect2(6);
matrix
<
double,1
>
row_vect;
row_vect.set_size(5);
</code_box>
</question>
<question
text=
"Where is the documentation for <object/function>?"
>
If you can't find something then check the
<a
href=
"term_index.html"
>
index
</a>
.
<br/><br/>
Also, the bulk of the documentation can be found by following the
<b><font
style=
'font-size:1.3em'
color=
'#007700'
>
Specification
</font></b>
links.
</question>
</questions>
...
...
docs/docs/stylesheet.xsl
View file @
29bd6bd1
...
...
@@ -863,9 +863,16 @@
</b>
</xsl:template>
<xsl:template
match=
"font"
>
<font
color=
"{@color}"
>
<xsl:apply-templates/>
</font>
<xsl:if
test=
"@style"
>
<font
color=
"{@color}"
style=
"{@style}"
>
<xsl:apply-templates/>
</font>
</xsl:if>
<xsl:if
test=
"not(@style)"
>
<font
color=
"{@color}"
>
<xsl:apply-templates/>
</font>
</xsl:if>
</xsl:template>
<xsl:template
match=
"img"
>
<img
src=
"{@src}"
border=
"0"
height=
"{@height}"
width=
"{@width}"
alt=
"{@alt}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment