Here's the patch:
--- newmat.h~ 2006-05-18 15:25:23.000000000 +0000
+++ newmat.h 2006-05-18 15:38:49.000000000 +0000
@@ -560,6 +560,8 @@
+class Matrix;
+Real DotProduct(const Matrix& A, const Matrix& B);
class Matrix : public GeneralMatrix // usual rectangular matrix
{
GeneralMatrix* Image() const; // copy of matrix
@@ -1207,6 +1209,12 @@
NEW_DELETE(AddedMatrix)
};
+class SPMatrix;
+#ifndef TEMPS_DESTROYED_QUICKLY
+ SPMatrix SP(const BaseMatrix&, const BaseMatrix&);
+#else
+ SPMatrix& SP(const BaseMatrix&, const BaseMatrix&);
+#endif
class SPMatrix : public AddedMatrix
{
protected:
@@ -1230,6 +1238,12 @@
NEW_DELETE(SPMatrix)
};
+class KPMatrix;
+#ifndef TEMPS_DESTROYED_QUICKLY
+ KPMatrix KP(const BaseMatrix&, const BaseMatrix&);
+#else
+ KPMatrix& KP(const BaseMatrix&, const BaseMatrix&);
+#endif
class KPMatrix : public MultipliedMatrix
{
protected:
@@ -1328,6 +1342,12 @@
NEW_DELETE(ShiftedMatrix)
};
+class NegShiftedMatrix;
+#ifndef TEMPS_DESTROYED_QUICKLY
+ NegShiftedMatrix operator-(Real, const BaseMatrix&);
+#else
+ NegShiftedMatrix& operator-(Real, const BaseMatrix&);
+#endif
class NegShiftedMatrix : public ShiftedMatrix
{
protected:
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]