[sage-support] Re: simple 'solve' error, possibly related to ecl and maxima installation

2014-11-22 Thread kcrisman
On Saturday, November 22, 2014 7:09:21 PM UTC-5, moroplogo wrote: > > > > *This example is edited with linux mint 17.I tested this example with > linux ubuntu 14.10 and sagemath runs correctly !* > See http://trac.sagemath.org/ticket/17375 for some possible details on why if this thread has

Re: [sage-support] Re: Define vector valued function of a vector of symbolic variables?

2014-11-22 Thread Nils Bruin
yes On Saturday, November 22, 2014 4:19:03 PM UTC-8, Stephen Kauffman wrote: > > > PS Is top posting frowned on here? > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [sage-support] Re: Define vector valued function of a vector of symbolic variables?

2014-11-22 Thread Stephen Kauffman
Your suggestion worked like a charm: gradL2 = [] for ii in range(len(x)): gradL2.append((gradL[ii]).function(*x)) # x is list of symbolic vars def F(s): tmp=[] for ii in range(len(gradL2)): tmp.append((gradL2[ii])(*s)) return tmp ssoln = scipy.optimize.broyden1(F, [.5,.5,

[sage-support] Re: simple 'solve' error, possibly related to ecl and maxima installation

2014-11-22 Thread moroplogo mrplgo
*This example is edited with linux mint 17.I tested this example with linux ubuntu 14.10 and sagemath runs correctly !* -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send

[sage-support] Re: Define vector valued function of a vector of symbolic variables?

2014-11-22 Thread Nils Bruin
On Saturday, November 22, 2014 8:06:23 AM UTC-8, Stephen Kauffman wrote: > > gradL > (gradL[0]).arguments() > (gradL[1]).arguments() > (gradL[2]).arguments() > s=[3,.5,.3] > (gradL[0])(*s) > (gradL[1])(*s) > (gradL[2])(*s) > > (lam0*(x1 - 1.00) - log(x0) + log(-x0 + 1), lam0*

[sage-support] Define vector valued function of a vector of symbolic variables?

2014-11-22 Thread Stephen Kauffman
I have a gradient where each component may have a different number of symbolic arguments and get the following error when I run: gradL (gradL[0]).arguments() (gradL[1]).arguments() (gradL[2]).arguments() s=[3,.5,.3] (gradL[0])(*s) (gradL[1])(*s) (gradL[2])(*s) (lam0*(x1 - 1.00) - log