eigencommands.h 2.11 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*************************************************************************************
 *  Copyright (C) 2014 by Percy Camilo T. Aucahuasi <percy.camilo.ta@gmail.com>      *
 *                                                                                   *
 *  This program is free software; you can redistribute it and/or                    *
 *  modify it under the terms of the GNU General Public License                      *
 *  as published by the Free Software Foundation; either version 2                   *
 *  of the License, or (at your option) any later version.                           *
 *                                                                                   *
 *  This program is distributed in the hope that it will be useful,                  *
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of                   *
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                    *
 *  GNU General Public License for more details.                                     *
 *                                                                                   *
 *  You should have received a copy of the GNU General Public License                *
 *  along with this program; if not, write to the Free Software                      *
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA   *
 *************************************************************************************/

#ifndef EIGENCOMMANDS_H
#define EIGENCOMMANDS_H

#include "builtinmethods.h"
23
#include "config-analitza.h"
24
25
26

namespace Analitza {
class Expression;
Heiko Becker's avatar
Heiko Becker committed
27
}
28

29
30
31
class EigenvaluesCommand: public Analitza::FunctionDefinition
{
public:
32
    virtual Analitza::Expression operator()(const QList< Analitza::Expression >& args) override;
33

34
35
    static const QString id;
    static const Analitza::ExpressionType type;
36
37
38
39
};


class EigenvectorsCommand: public Analitza::FunctionDefinition
40
41
{
public:
42
    virtual Analitza::Expression operator()(const QList< Analitza::Expression >& args) override;
43

44
45
    static const QString id;
    static const Analitza::ExpressionType type;
46
};
47
48

#endif // EIGENCOMMANDS_H