<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><FONT face=Calibri size=3>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">I hope somebody will be able to help me here.<BR></FONT><FONT face=Calibri size=3>I am trying to solve some physical problems that will require the generation of some function in terms of some parameters. These functions are derived from matrix operation on “characters”. Are there ways numpy/scipy perform matrix operations on characters?</FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -1in"><FONT size=3><FONT face=Calibri>For example A =<SPAN style="mso-spacerun: yes">  </SPAN>matrix([[a, b,c],[d,e,f],[1,2,3]])<SPAN style="mso-spacerun: yes">   </SPAN></FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 58.5pt; TEXT-INDENT: -58.5pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count: 1">                         </SPAN>B = matrix([[g,h,4],[I,j,5],[k,l,6]])</FONT></FONT></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 58.5pt; TEXT-INDENT: -58.5pt"><FONT face=Calibri size=3>Is it possible to perform operations like A*B or A+B</FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">And most especially: linalg.solve(A,eye(3,3))</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Thanks<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"></DIV></SPAN></td></tr></table><br>