Changeset f115489 in git for dyn_modules/syzextra/mod_main.cc
- Timestamp:
- Apr 4, 2011, 5:33:01 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 411e00284c145360dd10ef3b78b69b0e3f3d5e0f
- Parents:
- 8047af8c8db1aff17222fa052c81d384e6e62769
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dyn_modules/syzextra/mod_main.cc
r8047af8 rf115489 8 8 #include <kernel/longrat.h> 9 9 #include <kernel/kstd1.h> 10 11 #include <kernel/polys.h> 10 12 11 13 #include <Singular/tok.h> … … 760 762 return FALSE; 761 763 } 762 764 765 /// Get raw syzygies (idPrepare) 766 static BOOLEAN _p_Content(leftv res, leftv h) 767 { 768 if ( !( (h!=NULL) && (h->Typ()==POLY_CMD) && (h->Data() != NULL) ) ) 769 { 770 WerrorS("`system(\"p_Content\",<poly-var>)` expected"); 771 return TRUE; 772 } 773 774 775 const poly p = reinterpret_cast<poly>(h->Data()); 776 777 778 pTest(p); pWrite(p); PrintLn(); 779 780 781 p_Content( p, currRing); 782 783 pTest(p); 784 pWrite(p); PrintLn(); 785 786 NoReturn(res); 787 } 788 763 789 END_NAMESPACE 764 790 … … 787 813 psModulFunctions->iiAddCproc(currPack->libname,(char*)"reduce_syz",FALSE, reduce_syz); 788 814 789 // psModulFunctions->iiAddCproc(currPack->libname,(char*)"",FALSE, ); 815 psModulFunctions->iiAddCproc(currPack->libname,(char*)"p_Content",FALSE, _p_Content); 816 817 // psModulFunctions->iiAddCproc(currPack->libname,(char*)"",FALSE, ); 790 818 791 819 return 0;
Note: See TracChangeset
for help on using the changeset viewer.