Changeset 526157 in git


Ignore:
Timestamp:
Aug 2, 2017, 5:55:10 PM (7 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
77c350666f82be7beff121c9c2e02094e0dd4e84
Parents:
9c8c05991ae275df479287d61b5f9afae8b8fe5c
Message:
how to register and createnew coeffs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/README.coeffs

    r9c8c05 r526157  
    115115-cfPower only small exponents (machine int) supported right now.
    116116
     117----------------------------------------------------------------------------
     118Howto define a new coeff type:
     119// register the new class of coeffs:
     120 n_coeffType type=nRegister(n_unknown,<your InitChar procedure>);
     121// create the new coeff type:
     122 coeffs cf=nInitChar(type,<your paramater for the InitChar procedure>);
     123// cf may now be used for (polynomial) ring definitions etc.
     124
Note: See TracChangeset for help on using the changeset viewer.