Changeset 406791 in git for Singular/LIB/standard.lib
- Timestamp:
- Jun 12, 2015, 5:20:52 PM (8 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- c3864820ba9d094d8991f5f4052d1191982e4a7b
- Parents:
- 7c852247b0258944ebdc6c5e200ebd31b23ff5ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
r7c8522 r406791 954 954 955 955 //------------------ classify the possible settings --------------------- 956 string algorithm; //possibilities: std, slimgb, stdorslimgb 956 string algorithm; //possibilities: std, slimgb, stdorslimgb, mathicgb 957 957 string conversion; //possibilities: hilb, fglm, hilborfglm, no 958 958 string partovar; //possibilities: yes, no … … 961 961 962 962 //define algorithm: 963 if( (was_minpoly == 0) && (npars_P == 0) && (was_qring == 0) && (attrib (P,"global") == 1) && (char(P) > 0) && (size(BRlist)<=4) ) 964 { 965 if( defined(Singmathic) ) 966 { 967 algorithm = "mathicgb"; // make it default for any appropriate setting... if mathicgb is available... 968 } else 969 { 970 if( p_opt ) { "Sorry Singmathic::mathicgb is not available!"; } 971 } 972 } 963 973 if( find(method,"std") && !find(method,"slimgb") ) 964 974 { … … 1018 1028 (order=="simple" && (method==",par2var" && npars_P==0 )) || 1019 1029 (conversion=="no" && partovar=="no" && 1020 (algorithm=="std" || algorithm=="slimgb" || 1021 (find(method,"std") && find(method,"slimgb")) ) ) )1030 (algorithm=="std" || algorithm=="slimgb" || algorithm=="mathicgb" || 1031 (find(method,"std") || find(method,"slimgb") || find(method,"mathicgb")) ) ) ) 1022 1032 { 1023 1033 direct = "yes"; … … 1040 1050 //BRlist (=ringlist of basering) > 4 if the basering is non-commutative 1041 1051 //---------------------------- direct methods ----------------------------- 1052 if ( algorithm=="mathicgb" ) 1053 { 1054 if (p_opt) { algorithm + " in " + string(P); } 1055 return( mathicgb(i) ); 1056 } 1042 1057 if ( direct == "yes" ) 1043 1058 {
Note: See TracChangeset
for help on using the changeset viewer.