[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] indefinites
From: |
Bill Page |
Subject: |
RE: [Axiom-developer] indefinites |
Date: |
Sat, 26 Jun 2004 22:22:22 -0400 |
I wrote:
> ...
> If [x:Integer with no assigned value] was coercible to type
> Variable then it would simply be of type Polynomial Integer as
> before. But if the domains such as Polynomial and Expression
> could know that x was declared as say PostiveInteger then it
> could do things like evaluate
>
> 0^x
>
> as
>
> 1
> Type: PositiveInteger
>
> even though x has no assigned value.
> ...
Ah, of course what I should have written was:
> could do things like evaluate
>
> 0^x
>
> as
>
> 0
> Type: Expression Integer
>
> even though x has no assigned value.
>
> To do this, I think we need to extend the Variable domain to
> allow, for example, the following domain constructor
>
> Variable(PositiveInteger,x)
>
> Then the declaration
>
> x:PositiveInteger
>
> should default to
>
> x
> Type: Variable(PositiveInteger,x)
> ...
- [Axiom-developer] symbolic matrix multiply, Tim Daly, 2004/06/22
- Re: [Axiom-developer] symbolic matrix multiply, Mike Dewar, 2004/06/22
- [Axiom-developer] indefinites, Bill Page, 2004/06/24
- Re: [Axiom-developer] indefinites, root, 2004/06/24
- RE: [Axiom-developer] indefinites, Bill Page, 2004/06/26
- RE: [Axiom-developer] indefinites,
Bill Page <=
- Re: [Axiom-developer] indefinites, William Sit, 2004/06/26
- Re: [Axiom-developer] indefinites, Martin Rubey, 2004/06/28
- RE: [Axiom-developer] indefinites, Bill Page, 2004/06/28
- Re: [Axiom-developer] indefinites, root, 2004/06/28