request for member ... which is of non-class type : <p>I get the error </p>

<pre><code>main.cpp: In function 'int main()':
main.cpp:43:16: error: request for member 'getF' in 'cor', which is of non-class type 'corMatrixFermion(MatrixV)'
  myfile &lt;&lt; cor.getF;
                ^
</code></pre>

<p>Here is the Header of my class:</p>

<pre><code>class MatrixV{
  public:
    MatrixV(std::string file);
    MatrixV(Eigen::MatrixXd matrix);
    MatrixV(double arr[], int arrsize);

    Eigen::MatrixXd getV();
    Eigen::VectorXd getSigma();
    int getr(); 
    Eigen::MatrixXd getO1();
    Eigen::MatrixXd getO2();
    Eigen::MatrixXd getE(); 
    Eigen::MatrixXd getVStrich();

private:
    int size;
    Eigen::MatrixXd V;
    Eigen::VectorXd Sigma;
    int r;
    Eigen::JacobiSVD&lt;Eigen::MatrixXd, Eigen::NoQRPreconditioner&gt; svd;
};
</code></pre>

<p>And here the main.cpp</p>

<pre><code>int main(){
std::srand(time(0));

DataFromFile StartValues("StartValues");

double arr[4];
arr[0]  = StartValues.get(1);
arr[1]  = StartValues.get(2);
arr[2]  = StartValues.get(3);
arr[3]  = StartValues.get(4);

MatrixV V(arr, 4);
corMatrixFermion cor(MatrixV V);

std::ofstream myfile;
myfile.open ("corfunction.txt");
myfile &lt;&lt; cor.getF();
myfile.close();
}
</code></pre>

<p>There are other classes involved, but I dont think, that they cause the problem. Do you see, what I'm doing wrong? If you need more information please tell me. It seems to me, that it is not the usual "request for member"-constructor-problem. But maybe I'm wrong...</p>
