On Wed, Jul 1, 2009 at 8:52 PM, Simon King wrote:
>
> Hi Alasdair,
>
> On 1 Jul., 13:00, David Joyner wrote:
>> I think the first tries to use Sage's symbolic expression machinery
>> but the second does not.
>
> Yes, it seems so.
>
> Using Sage, one should always be aware that some very handy/fa
Hi Alasdair,
On 1 Jul., 13:00, David Joyner wrote:
> I think the first tries to use Sage's symbolic expression machinery
> but the second does not.
Yes, it seems so.
Using Sage, one should always be aware that some very handy/fancy
syntax is only available due to the Sage preparser.
E.g., so
Thanks, Marshall. I figured it out. My API is really starting to
look good. I have algebra, calculus, DE's, Laplace, and now stats.
Almost as good as WolframAlpha. Ha!
On Jul 1, 10:21 am, Marshall Hampton wrote:
> I'm not sure what you meant; are you saying that Kevin's suggestion
> does not
I'm not sure what you meant; are you saying that Kevin's suggestion
does not work? I.e. something like:
import scipy.stats as S
def Mean_(exp1):
v=[RDF(x) for x in list(exp1)]
R1=S.mean(v)
return R1
Which works for me in the following way:
sage: Mean_('1234')
2.5
Seems like you'd w
I don't what else I can say. Look at the articles about.
On Jul 1, 8:38 am, Kevin Horton wrote:
> On 1 Jul 2009, at 10:26, Mikie wrote:
>
> > Yes, I am calling one of the functions in scipy, but it will not me to
> > do it. If I use the scipy mean function it works, but not from a
> > created
On 1 Jul 2009, at 10:26, Mikie wrote:
> Yes, I am calling one of the functions in scipy, but it will not me to
> do it. If I use the scipy mean function it works, but not from a
> created function.
>
The example you showed attempted to call a module, so it was sure to
fail. We cannot guess w
Yes, I am calling one of the functions in scipy, but it will not me to
do it. If I use the scipy mean function it works, but not from a
created function.
On Jul 1, 8:21 am, Kevin Horton wrote:
> On 1 Jul 2009, at 09:56, Mikie wrote:
>
>
>
> > I have create a function using scipy. Here it is
>
On 1 Jul 2009, at 09:56, Mikie wrote:
>
> I have create a function using scipy. Here it is
> Import scipy
> def Mean_(exp1)
>v=list(exp1)
>R1=scipy.stats(v)
>return R1
>
>
> I have done all this in the notebook and get the same error. 'module'
> obj. is not callable.
My docs claim t
I have create a function using scipy. Here it is
Import scipy
def Mean_(exp1)
v=list(exp1)
R1=scipy.stats(v)
return R1
I have done all this in the notebook and get the same error. 'module'
obj. is not callable.
I am trying to add some stat functions to my API, since Sage does not
h
Thanks!
2009/7/1 William Stein :
>
> On Wed, Jul 1, 2009 at 10:58 AM, Robert
> Bradshaw wrote:
>>
>> On Jul 1, 2009, at 1:47 AM, Aleksey Gogolev wrote:
>>
>>> Hello!
>>>
>>> I need to operate on a statistical data in the sage notebook. But
>>> before I do that I need to get this data from the Ora
On Tue, Jun 30, 2009 at 11:52 PM, David Joyner wrote:
>
> On Tue, Jun 30, 2009 at 4:26 PM, Fausto Arinos
> Barbuto wrote:
>>
>>
>> Hi all,
>>
>> I'm afraid this question has already appeared in this forum, but here it
>> goes again.
>>
>> I'm curious about why the inverse_laplace() function can't
On Wed, Jul 1, 2009 at 4:43 AM, Alasdair wrote:
>
> Of these two examples:
>
> m(x)=mod(x,10)
>
> m=lambda x:mod(x,10)
>
> The first returns an error "unable to convert x (=x) to an integer".
> Can anyone explain what's going on here?
I think the first tries to use Sage's symbolic expression mach
Ok. '_populate_coercion_lists_ ' solve my problem.
Thanks, Robert!
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more o
On Wed, Jul 1, 2009 at 10:58 AM, Robert
Bradshaw wrote:
>
> On Jul 1, 2009, at 1:47 AM, Aleksey Gogolev wrote:
>
>> Hello!
>>
>> I need to operate on a statistical data in the sage notebook. But
>> before I do that I need to get this data from the Oracle DB. Is there
>> a way to get data from DB?
On Jul 1, 2009, at 1:22 AM, Kwankyu wrote:
> Hi,
>
> I am trying to understand the coercion model...
>
> In the followiing, C is a parent that I defined, in which (I think) I
> implemented a coercion map from P to C, but not from ZZ to C.
>
> sage: P
> Multivariate Polynomial Ring in x, y over Fi
On Jul 1, 2009, at 1:47 AM, Aleksey Gogolev wrote:
> Hello!
>
> I need to operate on a statistical data in the sage notebook. But
> before I do that I need to get this data from the Oracle DB. Is there
> a way to get data from DB?
> Cann't find the answer manually :( Any help would be appreciated
You should define a Python function
def m(x):
return mod(x,10)
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more o
Hello!
I need to operate on a statistical data in the sage notebook. But
before I do that I need to get this data from the Oracle DB. Is there
a way to get data from DB?
Cann't find the answer manually :( Any help would be appreciated.
--~--~-~--~~~---~--~~
To pos
Of these two examples:
m(x)=mod(x,10)
m=lambda x:mod(x,10)
The first returns an error "unable to convert x (=x) to an integer".
Can anyone explain what's going on here?
Thanks,
Alasdair
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@goog
Hi,
I am trying to understand the coercion model...
In the followiing, C is a parent that I defined, in which (I think) I
implemented a coercion map from P to C, but not from ZZ to C.
sage: P
Multivariate Polynomial Ring in x, y over Finite Field in a of size
2^4
sage: C.has_coerce_map_from(P)
20 matches
Mail list logo