Mercurial > hg > octave-nkf
comparison liboctave/CMatrix.cc @ 3585:d9803711e047
[project @ 2000-02-08 04:35:39 by jwe]
author | jwe |
---|---|
date | Tue, 08 Feb 2000 04:35:47 +0000 |
parents | 2923f52d8fda |
children | 4c3774db5b3c |
comparison
equal
deleted
inserted
replaced
3584:aa31644d9779 | 3585:d9803711e047 |
---|---|
1348 | 1348 |
1349 return retval; | 1349 return retval; |
1350 } | 1350 } |
1351 | 1351 |
1352 ComplexColumnVector | 1352 ComplexColumnVector |
1353 ComplexMatrix::solve (const ColumnVector& b) const | |
1354 { | |
1355 int info; | |
1356 double rcond; | |
1357 return solve (ComplexColumnVector (b), info, rcond, 0); | |
1358 } | |
1359 | |
1360 ComplexColumnVector | |
1361 ComplexMatrix::solve (const ColumnVector& b, int& info) const | |
1362 { | |
1363 double rcond; | |
1364 return solve (ComplexColumnVector (b), info, rcond, 0); | |
1365 } | |
1366 | |
1367 ComplexColumnVector | |
1368 ComplexMatrix::solve (const ColumnVector& b, int& info, double& rcond) const | |
1369 { | |
1370 return solve (ComplexColumnVector (b), info, rcond, 0); | |
1371 } | |
1372 | |
1373 ComplexColumnVector | |
1374 ComplexMatrix::solve (const ColumnVector& b, int& info, double& rcond, | |
1375 solve_singularity_handler sing_handler) const | |
1376 { | |
1377 return solve (ComplexColumnVector (b), info, rcond, sing_handler); | |
1378 } | |
1379 | |
1380 ComplexColumnVector | |
1353 ComplexMatrix::solve (const ComplexColumnVector& b) const | 1381 ComplexMatrix::solve (const ComplexColumnVector& b) const |
1354 { | 1382 { |
1355 int info; | 1383 int info; |
1356 double rcond; | 1384 double rcond; |
1357 return solve (b, info, rcond, 0); | 1385 return solve (b, info, rcond, 0); |
1433 | 1461 |
1434 return retval; | 1462 return retval; |
1435 } | 1463 } |
1436 | 1464 |
1437 ComplexMatrix | 1465 ComplexMatrix |
1466 ComplexMatrix::lssolve (const Matrix& b) const | |
1467 { | |
1468 int info; | |
1469 int rank; | |
1470 return lssolve (ComplexMatrix (b), info, rank); | |
1471 } | |
1472 | |
1473 ComplexMatrix | |
1474 ComplexMatrix::lssolve (const Matrix& b, int& info) const | |
1475 { | |
1476 int rank; | |
1477 return lssolve (ComplexMatrix (b), info, rank); | |
1478 } | |
1479 | |
1480 ComplexMatrix | |
1481 ComplexMatrix::lssolve (const Matrix& b, int& info, int& rank) const | |
1482 { | |
1483 return lssolve (ComplexMatrix (b), info, rank); | |
1484 } | |
1485 | |
1486 ComplexMatrix | |
1438 ComplexMatrix::lssolve (const ComplexMatrix& b) const | 1487 ComplexMatrix::lssolve (const ComplexMatrix& b) const |
1439 { | 1488 { |
1440 int info; | 1489 int info; |
1441 int rank; | 1490 int rank; |
1442 return lssolve (b, info, rank); | 1491 return lssolve (b, info, rank); |
1512 retval.elem (i, j) = result.elem (i, j); | 1561 retval.elem (i, j) = result.elem (i, j); |
1513 } | 1562 } |
1514 } | 1563 } |
1515 | 1564 |
1516 return retval; | 1565 return retval; |
1566 } | |
1567 | |
1568 ComplexColumnVector | |
1569 ComplexMatrix::lssolve (const ColumnVector& b) const | |
1570 { | |
1571 int info; | |
1572 int rank; | |
1573 return lssolve (ComplexColumnVector (b), info, rank); | |
1574 } | |
1575 | |
1576 ComplexColumnVector | |
1577 ComplexMatrix::lssolve (const ColumnVector& b, int& info) const | |
1578 { | |
1579 int rank; | |
1580 return lssolve (ComplexColumnVector (b), info, rank); | |
1581 } | |
1582 | |
1583 ComplexColumnVector | |
1584 ComplexMatrix::lssolve (const ColumnVector& b, int& info, int& rank) const | |
1585 { | |
1586 return lssolve (ComplexColumnVector (b), info, rank); | |
1517 } | 1587 } |
1518 | 1588 |
1519 ComplexColumnVector | 1589 ComplexColumnVector |
1520 ComplexMatrix::lssolve (const ComplexColumnVector& b) const | 1590 ComplexMatrix::lssolve (const ComplexColumnVector& b) const |
1521 { | 1591 { |