CHROMA
gramschm_array.h
Go to the documentation of this file.
1 /*! \file
2  * \brief Gramm-Schmidt orthogonolization
3  */
4 #ifndef __gramschm_array_w__
5 #define __gramschm_array_w__
6 
7 #include "chromabase.h"
8 
9 namespace Chroma {
10 
11 //! Gram Schmidt rothogonalisation
12 /*!
13  * \ingroup eig
14  * Orthogonalise the first Npsi vectors from psi, against the first
15  * Nvec vectors from vec
16  *
17  * Arguments:
18  * \param psi 5D Pseudofermion field (Modify)
19  * \param vec 5D subspace wrt orthog (Read)
20  * \param Nvec Number of vectors (Read)
21  * \param Npsi Number of source vectors (Read)
22  * \param s Subset to use (Read)
23  */
24 void GramSchmArray(multi2d<LatticeFermion>& psi,
25  const int Npsi,
26  const multi2d<LatticeFermion>& vec,
27  const int Nvec,
28  const Subset& s);
29 
30 
31 //! Gram Schmidt rothogonalisation
32 /*!
33  * \ingroup eig
34  *
35  * Convenience function: Orthogonalise all vectors of psi against
36  * the first Nvec vectors of vec
37  *
38  * Arguments:
39  * \param psi Pseudofermion field (Modify)
40  * \param vec subspace wrt orthog (Read)
41  * \param Nvec Number of vectors (Read)
42  * \param s Subset to use (Read)
43  */
44 void GramSchmArray(multi2d<LatticeFermion>& psi,
45  const multi2d<LatticeFermion>& vec,
46  const int Nvec,
47  const Subset& s);
48 
49 
50 //! Gram Schmidt rothogonalisation
51 /*!
52  * \ingroup eig
53  *
54  * Convenience function: Orthogonalise all vectors of psi against
55  * the all the vectors of vec
56  *
57  * Arguments:
58  * \param psi 5D Pseudofermion field (Modify)
59  * \param vec 5D subspace wrt orthog (Read)
60  * \param s Subset to use (Read)
61  */
62 void GramSchmArray(multi2d<LatticeFermion>& psi,
63  const multi2d<LatticeFermion>& vec,
64  const Subset& s);
65 
66 
67 //! Gram Schmidt rothogonalisation
68 /*!
69  * \ingroup eig
70  *
71  * Convenience function: Orthogonalise single std::vector psi against
72  * the first Nvec vectors of vec
73  *
74  * Arguments:
75  * \param psi 5D Pseudofermion field (Modify)
76  * \param vec 5D subspace wrt orthog (Read)
77  * \param Nvec no of vectors to orthog against (Read)
78  * \param s Subset to use (Read)
79  */
80 void GramSchmArray(multi1d<LatticeFermion>& psi,
81  const multi2d<LatticeFermion>& vec,
82  const int Nvec,
83  const Subset& s);
84 
85 
86 //! Gram Schmidt rothogonalisation
87 /*!
88  * \ingroup eig
89  *
90  * Convenience function: Orthogonalise single std::vector psi against
91  * all the vectors of vec
92  *
93  * Arguments:
94  * \param psi 5D Pseudofermion field (Modify)
95  * \param vec 5D subspace wrt orthog (Read)
96  * \param s Subset to use (Read)
97  */
98 void GramSchmArray(multi1d<LatticeFermion>& psi,
99  const multi2d<LatticeFermion>& vec,
100  const Subset& s);
101 
102 //! Gram Schmidt rothogonalisation
103 /*!
104  * \ingroup eig
105  *
106  * Convenience function: Orthogonalise single std::vector psi against
107  * a single std::vector vec
108  *
109  * Arguments:
110  * \param psi 5D Pseudofermion field (Modify)
111  * \param vec 5D std::vector wrt orthog (Read)
112  * \param s Subset to use (Read)
113  */
114 void GramSchmArray(multi1d<LatticeFermion>& psi,
115  const multi1d<LatticeFermion>& vec,
116  const Subset& s);
117 
118 } // end namespace Chroma
119 
120 #endif
Primary include file for CHROMA library code.
void GramSchmArray(multi2d< LatticeFermion > &psi, const int Npsi, const multi2d< LatticeFermion > &vec, const int Nvec, const Subset &sub)
Gramm-Schmidt orthogonolization.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LatticeFermion psi
Definition: mespbg5p_w.cc:35
multi1d< LatticeFermion > s(Ncb)