comparison liboctave/dSparse.h @ 5509:b8fc8af2d04d

[project @ 2005-10-26 15:30:11 by jwe]
author jwe
date Wed, 26 Oct 2005 15:30:11 +0000
parents b4cfbb0ec8c4
children 233d98d95659
comparison
equal deleted inserted replaced
5508:7865515fc6c2 5509:b8fc8af2d04d
392 392
393 friend std::ostream& operator << (std::ostream& os, const SparseMatrix& a); 393 friend std::ostream& operator << (std::ostream& os, const SparseMatrix& a);
394 friend std::istream& operator >> (std::istream& is, SparseMatrix& a); 394 friend std::istream& operator >> (std::istream& is, SparseMatrix& a);
395 }; 395 };
396 396
397 // Publish externally used friend functions.
398
399 extern SparseMatrix real (const SparseComplexMatrix& a);
400 extern SparseMatrix imag (const SparseComplexMatrix& a);
401
402 // Other operators.
403
397 extern SparseMatrix operator * (const SparseMatrix& a, 404 extern SparseMatrix operator * (const SparseMatrix& a,
398 const SparseMatrix& b); 405 const SparseMatrix& b);
399 extern Matrix operator * (const Matrix& a, 406 extern Matrix operator * (const Matrix& a,
400 const SparseMatrix& b); 407 const SparseMatrix& b);
401 extern Matrix operator * (const SparseMatrix& a, 408 extern Matrix operator * (const SparseMatrix& a,