Commit 29bd6bd1 authored by Davis King's avatar Davis King

Improved FAQ page slightly.

parent 551a882c
......@@ -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&lt;double&gt; mat;
mat.set_size(4,5);
matrix&lt;double,0,1&gt; column_vect;
col_vect.set_size(6);
matrix&lt;double,0,1&gt; column_vect2(6);
matrix&lt;double,1&gt; row_vect;
row_vect.set_size(5);
</code_box>
</question>
<question text="Where is the documentation for &lt;object/function&gt;?">
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>
......
......@@ -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}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment