Changeset a82001e in git
- Timestamp:
- Oct 19, 2011, 3:07:52 PM (12 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- a5d181c44c2cbadb742ff1668fd6d2a9a2436a8c
- Parents:
- 6a9698521b129438c697145fcdef089408e4ae22
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-10-19 15:07:52+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:14:08+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/linalg.lib
r6a9698 ra82001e 125 125 matrix invA; 126 126 int db = printlevel-voice+3; //used for comments 127 def R=basering; 128 string mp = ""; 129 if (minpoly != 0) { 130 string(minpoly); 131 } 127 def R = basering; 132 128 int n = nrows(A); 133 129 module M = A; … … 157 153 } 158 154 //------------------------- change ring if necessary ------------------------- 159 if( ordstr(R) != "C,dp( nvars(R))" )155 if( ordstr(R) != "C,dp(" + string(nvars(R)) + ")" ) 160 156 { 161 157 u=1; 162 def @R=changeord("C,dp",R); 163 setring @R; 164 if (mp != "") { 165 execute(mp); 158 string mp = string(minpoly); 159 def @R=changeord("C,dp", R); setring @R; 160 if (mp != string(minpoly)) 161 { 162 execute("minpoly = " + mp + ";"); 166 163 } 167 164 module M = fetch(R,M);
Note: See TracChangeset
for help on using the changeset viewer.