Changeset 95a6f3 in git for Singular/extra.cc
- Timestamp:
- Oct 9, 2009, 3:46:30 PM (15 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 60e4be265398f8004f3b093179a74b59f4fdcb74
- Parents:
- 70f63ab39d1a6a435e42e041336a21e13c1269d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r70f63a r95a6f3 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.32 4 2009-10-09 09:05:18seelisch Exp $ */4 /* $Id: extra.cc,v 1.325 2009-10-09 13:46:30 seelisch Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 2147 2147 // starts the computation of all k x k minors in the 2148 2148 // provided matrix m (which is assumed to have polynomial 2149 // entries) using a cache with 200 entries and a maximum total 2150 // number of 10000 cached monomials; 2149 // entries); 2151 2150 // when calling this method, a ring must be declared before; 2152 // there will be a run without using a cache; afterwards all 5 2153 // caching strategies will be run 2151 // there will be one run using a cache with specified properties 2152 res->rtyp = IDEAL_CMD; 2153 res->data = iii; 2154 } 2155 else if ((h->Typ() == MATRIX_CMD) && 2156 (h->next->Typ() == INT_CMD) && 2157 (h->next->next->Typ() == INT_CMD) && 2158 (h->next->next->next->Typ() == INT_CMD) && 2159 (h->next->next->next->next->Typ() == INT_CMD) && 2160 (h->next->next->next->next->next->Typ() == INT_CMD) && 2161 (h->next->next->next->next->next->next == NULL)) 2162 { 2163 const matrix m = (const matrix)h->Data(); 2164 const int k = (const int)(long)h->next->Data(); 2165 const int strategy = (const int)(long)h->next->next->Data(); 2166 const int cacheEntries = (const int)(long)h->next->next->next->Data(); 2167 const int cacheWeight = (const int)(long)h->next->next->next->next->Data(); 2168 const int characteristic = (const int)(long)h->next->next->next->next->next->Data(); 2169 ideal iii = testAllIntMinorsAsIdeal(m, k, strategy, cacheEntries, cacheWeight, characteristic); 2170 // starts the computation of all k x k minors in the 2171 // provided matrix m (which is assumed to have integer 2172 // entries); 2173 // when calling this method, a ring must be declared before; 2174 // there will be one run using a cache with specified properties; 2175 // the resulting minors will be computed modulo the given characteristic 2154 2176 res->rtyp = IDEAL_CMD; 2155 2177 res->data = iii; … … 2162 2184 (h->next->next->next->next->next->Typ() == INT_CMD) && 2163 2185 (h->next->next->next->next->next->next->Typ() == INT_CMD) && 2164 (h->next->next->next->next->next->next->next->Typ() == INT_CMD)) 2186 (h->next->next->next->next->next->next->next->Typ() == INT_CMD) && 2187 (h->next->next->next->next->next->next->next->next == NULL)) 2165 2188 { 2166 2189 const matrix m = (const matrix)h->Data();
Note: See TracChangeset
for help on using the changeset viewer.