Changeset 121d2ae in git for Singular/extra.cc
- Timestamp:
- Apr 30, 2013, 3:28:20 PM (10 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- ed95e6148ac6926aac6e83629cf4545c5c95a7a7
- Parents:
- 770da2d46f8a15e6de2ab495b0bf7d7d276d98c4
- git-author:
- Martin Lee <martinlee84@web.de>2013-04-30 15:28:20+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-05-02 11:42:48+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r770da2 r121d2ae 3683 3683 } 3684 3684 else 3685 /*================= absBiFact ======================*/ 3686 if (strcmp(sys_cmd, "absBiFact") == 0) 3687 { 3688 if (h!=NULL) 3689 { 3690 res->rtyp=LIST_CMD; 3691 if (h->Typ()==POLY_CMD) 3692 { 3693 intvec *v=NULL; 3694 ideal mipos= NULL; 3695 int n= 0; 3696 ideal f=singclap_absBiFactorize((poly)(h->Data()), mipos, &v, n, currRing); 3697 if (f==NULL) return TRUE; 3698 ivTest(v); 3699 lists l=(lists)omAllocBin(slists_bin); 3700 l->Init(4); 3701 l->m[0].rtyp=IDEAL_CMD; 3702 l->m[0].data=(void *)f; 3703 l->m[1].rtyp=INTVEC_CMD; 3704 l->m[1].data=(void *)v; 3705 l->m[2].rtyp=IDEAL_CMD; 3706 l->m[2].data=(void*) mipos; 3707 l->m[3].rtyp=INT_CMD; 3708 l->m[3].data=(void*) (long) n; 3709 res->data=(void *)l; 3710 return FALSE; 3711 } 3712 else return TRUE; 3713 } 3714 else return TRUE; 3715 } 3716 else 3685 3717 #endif 3686 3718 /*================= probIrredTest ======================*/
Note: See TracChangeset
for help on using the changeset viewer.