File r37/lisp/csl/html/r37_0582.html artifact 34cc645c8f part of check-in 1a5610c3c9



<A NAME=coeff_matrix>

<TITLE>coeff_matrix</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>COEFF_MATRIX</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>coeff_matrix</em>({&lt;lineq\_list&gt;}) 
<P>
<P>
<P>
(If you are feeling lazy then the braces can be omitted.) 
<P>
<P>
&lt;lineq\_list&gt; :- linear equations. Can be of the form equation = number 
or just equation. 
<P>
<P>
<em>coeff_matrix</em>creates the coefficient matrix C of the linear 
equations. 
<P>
<P>
It returns {C,X,B} such that CX = B. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>

coeff_matrix({x+y+4*z=10,y+x-z=20,x+y+4}); 


  {
   [4   1  1]
   [        ]
   [-1  1  1]
   [        ]
   [0   1  1]
   ,
   [z]
   [ ]
   [y]
   [ ]
   [x]
   ,
   [10]
   [  ]
   [20]
   [  ]
   [-4]
  }

</TT></PRE><P>

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]