I am new to SAS. I am trying to write a simple function using proc fcmp to return the scalar product of two matrices proc fcmp; function ReturnTheta(a{*},b{*}); ScalarProductOfAandB=a`*b; return ScalarProductOfAandB; endsub; I am unable to perform transpose of matrix 'a' because ` is not a recognized operator. I realize i need to be inside proc iml or use built in matrix functions to do matrix operation, but is there a way to create a simple function which accept matrix arguments , perform some matrix operation and return result ? Is it possible to open the built in programs and view its source code? If so , where do i find them? Thanks, Praveen
... View more