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