# CFD-Wiki talk:Format and style guide

(Difference between revisions)
 Revision as of 00:13, 18 December 2005 (view source)Jasond (Talk | contribs) (→Vector/Matrix formating)← Older edit Revision as of 00:18, 18 December 2005 (view source)Jola (Talk | contribs) (added a bit more to the notation confusion)Newer edit → Line 22: Line 22: *$A\mathbf{x} = \mathbf{b}$
*$A\mathbf{x} = \mathbf{b}$
*$A\,\mathbf{x} = \mathbf{b}$
*$A\,\mathbf{x} = \mathbf{b}$
+ + A third variant on the matrix notation might be to use roman font for it like this: + * $\mathrm{A}\,\mathbf{x} = \mathbf{b}$  --[[User:Jola|Jola]] 17:18, 17 December 2005 (MST)

## Vector/Matrix formating

I (JasonD) propose that we edit a paragraph/blurb here on this until it comes to some steady state and then either go the forum with it or just move it to the style guide.

Here's what we seem to agree on:

• n-tuples (nx1 arrays) need to differentiated from matrices
• Elements of arrays/vectors are lower case with subscripts

Here are some open questions:

• Exact way to differentiate n-tuples:
• \vec
• \mathbf - this will avoid confusion with vectors in $R^3$
• "Best" (for sake of consistency) letter to use as solution n-tuple
• x is used in most of the linear algebra literature, so I (JasonD) think this would be best for the linear systems section.

### Samples

• $Ax = b$
• $A\,x = b$
• $A\vec{x} = \vec{b}$
• $A\,\vec{x} = \vec{b}$
• $A\mathbf{x} = \mathbf{b}$
• $A\,\mathbf{x} = \mathbf{b}$

A third variant on the matrix notation might be to use roman font for it like this:

• $\mathrm{A}\,\mathbf{x} = \mathbf{b}$ --Jola 17:18, 17 December 2005 (MST)