Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - How opposite function works
Author Message
  Post subject:  Re: How opposite function works  Reply with quote
Dear Javier,

thank you for the suggestion. Yes, it's a nice idea to
return a different ring and make synchronization with
the way how "oppose" works. We'll keep it in mind.

With best regards,
Viktor
Post Posted: Wed Feb 03, 2010 2:47 pm
  Post subject:  How opposite function works  Reply with quote
Dear friends,

I'm writting a library about Hopf algebras such that the underlying algebras structure fits the algebras managed by Singular, commutative and non-commutative ones. Since the antipode map in an antialgebra morphism I have decided to define it over the opposite algebra. The problem is that opposite([ring]) returns the same ring if it is commutative. However oppose() always returns the opposite element.

So I think that it would be better than the opposite() function always returns the same construction as in the non-commutative setting, i.e. changing lowercase to uppercase and changing the order of variables. This allows a more compact definition of new code.

Best,

Javier Lobillo
Post Posted: Thu Jan 07, 2010 1:01 pm


It is currently Fri May 13, 2022 11:06 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group