Re: New to MuPad
- From: Christopher Creutzig <christopher@xxxxxxxxxxx>
- Date: Fri, 10 Jun 2005 09:41:28 +0200
craigugoretz@xxxxxxxxx wrote:
I still need help with axioms, though. If it would be helpful, I
An axiom in MuPAD really is just a flag indicating “this domain has property XY.” So, for example, Dom::Fraction(R) carries Ax::normalRep to indicate that any element of it which looks different from zero actually is different from zero. The axiom Ax::canonicalRep to indicate that two elements looking different at first glance actually are different requires a bit more from the ring R.
Usage: Inside generic code, you can write
if x::dom::hasProp(Ax::normalRep) then
// faster code not valid in general
else
// generic code taking more care of zeroes
end_if;can post the short bit of code that I have written so far. Jerzy's
I don't think it would be the first time in this newsgroup, so it should be ok.
regards,
Christopher .
- Follow-Ups:
- Re: New to MuPad
- From: craigugoretz@xxxxxxxxx
- Re: New to MuPad
- References:
- New to MuPad
- From: craigugoretz@xxxxxxxxx
- Re: New to MuPad
- From: craigugoretz@xxxxxxxxx
- Re: New to MuPad
- From: Jerzy Karczmarczuk
- Re: New to MuPad
- From: craigugoretz@xxxxxxxxx
- New to MuPad
- Prev by Date: Re: New to MuPad
- Next by Date: Re: hypergeometric GF
- Previous by thread: Re: New to MuPad
- Next by thread: Re: New to MuPad
- Index(es):
Relevant Pages
|
Loading