Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Declare variable as function output

hello guys, i wrote a new function, lets call it "func", that has some matrix as input and also some matrix as output. the thing is, i want to declare the last output of the function as a new variable x ( x=func(A) for a given A) the problem is: if i say

x = func(A)
print x

i get :


I guess the problem is, that i calculate more than one thing while the function is running, but at the end i just want to able to use that one single output of the function for further use...