Creating a table from a matrix and two vectors
Suppose I have the following matrix (8x4) matrix
[1234100201454010102234101301−12−10000]
I want to create a table in adding the following vector above
[x1x2x3x4ϵ1ϵ2ϵ3b]
which will be invariant
and the following column vector on its right
[ϵ1ϵ2ϵ3b]
Two answers to my previous question
"Concatenation of symbolic vectors"
help me construct the line vector which is a concatenation of two vectors.
But I cannot use the answer in the table()
mechanism
simply because it doesn't work as expected that is
table(name_of_the_matrix, header_row=name_of_the_line_vector)
Is there a way to obtain what I expect? I observed that html.table()
doesn't work.
I edited the question to fix the formatting and removed your technical post-scriptum:
To answer that: it is a technical issue with escape sequences and backslash characters.
Workaround: in LaTeX code between
$ ... $
, type\\
for\
and so\\\\ for
\`.This probably has to do with the MathJax configuration of the Askbot engine powering Ask Sage.
Starting input to get anyone started on an answer:
Now all there is to do is to arrange
a
,u
,v
as in the question.For reference it seems such tables are often used when applying the "simplex algorithm" (or "simplex method") and in that context they are sometimes called simplex tables.