Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
29bd6bd1
Commit
29bd6bd1
authored
Jun 01, 2011
by
Davis King
Browse files
Improved FAQ page slightly.
parent
551a882c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
docs/docs/faq.xml
docs/docs/faq.xml
+22
-0
docs/docs/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