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
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
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,
*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
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*
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