void dsyev_ (const char *jobz, const char *uplo, const int *n,
double *A, const int *lda, double *w,
double *work, const int *lwork, int *info);
+// General eigenvalues and eigenvectors of
+// 1: A*x = lambda*B*x; 2: A*B*x = lambda*x; 3: B*A*x = lambda*x
+// A and B are symmetric and B is definite
+void dsygv_ (const int* itype, const char* jobz, const char* uplo,
+ const int* n, double* A, const int* lda, double* B,
+ const int* ldb, double* w, double* work,
+ const int* lwork, int* info);
// Compute singular value decomposition
void dgesvd_ (int* jobu, int* jobvt,
const int* n, const int* m, double* A, const int* lda,
# $Id$
# Version: $Name$
#
-# Copyright (C) 2005, 2006, 2007, 2008, 2009 by the deal authors
+# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 by the deal authors
#
# This file is subject to QPL and may not be distributed
# without copyright and license information. Please refer
print << 'EOT'
//---------------------------------------------------------------------------
-// $Id$
-// Version: $Name$
//
// This file was automatically generated from lapack_templates.h.in
// See blastemplates in the deal.II contrib directory
#ifndef __LAPACK_TEMPLATES_H
#define __LAPACK_TEMPLATES_H
+#include <base/config.h>
#include <lac/lapack_support.h>
-using namespace dealii;
-
extern "C"
{
EOT
}
}
-print "\n}\n";
+print "\n}\n\nDEAL_II_NAMESPACE_OPEN\n";
-print "\n$templates\n\n#endif\n";
+print "$templates\n\nDEAL_II_NAMESPACE_CLOSE\n\n#endif\n";