Reputation: 1
I am working through this problem to broaden my knowledge on matrix manipulation in wxmaxima. So far all the computations are working fine except the last part where the OP was seeking help to rearrange the resultant of the 27 equations in an ordered form. (RE:Symbolic matrix separation with Maxima) The original answer submitted at the time and marked as correct says to use the code:
"coefmatrix (list_matrix_entries (foo),
where foo is the result of transpose( list_matrix_entries( t ) ); above."
As per OP detailed instruction of the question, given:
t: matrix( list_matrix_entries( T1 ), list_matrix_entries( T2 ), list_matrix_entries( T3 ) );
and (t) transposed function equalling to foo or
foo = transpose( list_matrix_entries( t ) );
I assigned a new variable (say a: or even foo:) to store the results of t function transpose( list_matrix_entries( t ) ),
simple substitution(S) yield(s) (say):
coefmatrix (list_matrix_entries (a) or coefmatrix (list_matrix_entries (foo)
below is the error that I am getting from Wxmaxima......... My questions: (a)Am I missing something here? or (B)Is there another way to get this resolved? Thanks in advance for all you feedback.
WXmaxima error====
coefmatrix(eql,varl): expected exactly 2 arguments but got 1errexp1
-- an error. To debug this try: debugmode(true);
The error says it expected 2 arguments instead of 1. For this I substituted another variable in tandem with (foo or a as per my example) say (a, 1) into the coefmatrix(eql,varl) function....... for this, error says the expression expected 1 arguments but instead it encountered 2 arguments. [This was even more confusing to me].
Upvotes: 0
Views: 16