Changeset 7656d7 in git
- Timestamp:
- Feb 16, 2002, 7:26:08 PM (21 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- ebcda0c47fce53217b409edb6303bb31e69e3ef4
- Parents:
- f7920d74712be88b8563c04fb13d4ae609e1ca9a
- Location:
- Singular
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/linalg.lib
rf7920d7 r7656d7 1 1 //GMG last modified: 04/25/2000 2 2 ////////////////////////////////////////////////////////////////////////////// 3 version="$Id: linalg.lib,v 1.2 4 2002-02-16 13:50:19mschulze Exp $";3 version="$Id: linalg.lib,v 1.25 2002-02-16 18:26:08 mschulze Exp $"; 4 4 category="Linear Algebra"; 5 5 info=" … … 1249 1249 " 1250 1250 { 1251 return(system("eigenval ues",M));1251 return(system("eigenvals",M)); 1252 1252 } 1253 1253 example -
Singular/eigenval.cc
rf7920d7 r7656d7 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: eigenval.cc,v 1. 8 2002-02-16 18:07:49mschulze Exp $ */4 /* $Id: eigenval.cc,v 1.9 2002-02-16 18:26:07 mschulze Exp $ */ 5 5 /* 6 6 * ABSTRACT: eigenvalues of constant square matrices … … 223 223 224 224 225 lists evEigenval ue(matrix M)225 lists evEigenvals(matrix M) 226 226 { 227 227 lists l=(lists)omAllocBin(slists_bin); … … 232 232 } 233 233 234 M=(matrix)idJet((ideal)M,0); 235 236 M=evHessenberg(M); 234 M=evHessenberg((matrix)idJet((ideal)M,0)); 237 235 238 236 int n=MATROWS(M); … … 366 364 367 365 368 BOOLEAN evEigenval ue(leftv res,leftv h)366 BOOLEAN evEigenvals(leftv res,leftv h) 369 367 { 370 368 if(currRingHdl) … … 374 372 matrix M=(matrix)h->Data(); 375 373 res->rtyp=LIST_CMD; 376 res->data=(void*)evEigenval ue(mpCopy(M));374 res->data=(void*)evEigenvals(mpCopy(M)); 377 375 return FALSE; 378 376 } -
Singular/eigenval.h
rf7920d7 r7656d7 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: eigenval.h,v 1. 2 2002-02-16 10:56:19mschulze Exp $ */4 /* $Id: eigenval.h,v 1.3 2002-02-16 18:26:07 mschulze Exp $ */ 5 5 /* 6 6 * ABSTRACT: eigenvalues of constant square matrices … … 18 18 matrix evHessenberg(matrix M); 19 19 BOOLEAN evHessenberg(leftv res,leftv h); 20 lists evEigenval ue(matrix M);21 BOOLEAN evEigenval ue(leftv res,leftv h);20 lists evEigenvals(matrix M); 21 BOOLEAN evEigenvals(leftv res,leftv h); 22 22 23 23 #endif /* EIGENVAL_H */ -
Singular/extra.cc
rf7920d7 r7656d7 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.17 8 2002-02-16 18:07:28mschulze Exp $ */4 /* $Id: extra.cc,v 1.179 2002-02-16 18:26:07 mschulze Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 1463 1463 /*==================== eigenvalues ==================================*/ 1464 1464 #ifdef HAVE_EIGENVAL 1465 if(strcmp(sys_cmd,"eigenval ues")==0)1466 { 1467 return evEigenval ue(res,h);1465 if(strcmp(sys_cmd,"eigenvals")==0) 1466 { 1467 return evEigenvals(res,h); 1468 1468 } 1469 1469 else
Note: See TracChangeset
for help on using the changeset viewer.