cantor/src/lib
#include <extension.h>
Public Types | |
typedef QList< QStringList > | Matrix |
enum | VectorType { ColumnVector, RowVector } |
Public Slots | |
virtual QString | charPoly (const QString &matrix)=0 |
virtual QString | createMatrix (const Matrix &matrix)=0 |
virtual QString | createVector (const QStringList &entries, VectorType type)=0 |
virtual QString | eigenValues (const QString &matrix)=0 |
virtual QString | eigenVectors (const QString &matrix)=0 |
virtual QString | identityMatrix (int size) |
virtual QString | invertMatrix (const QString &matrix)=0 |
virtual QString | nullMatrix (int rows, int columns) |
virtual QString | nullVector (int size, VectorType type) |
virtual QString | rank (const QString &matrix)=0 |
Public Member Functions | |
LinearAlgebraExtension (QObject *parent) | |
~LinearAlgebraExtension () | |
Public Member Functions inherited from Cantor::Extension | |
Extension (const QString &name, QObject *parent) | |
~Extension () | |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Detailed Description
An extension for basic Linear Algebra.
Definition at line 369 of file extension.h.
Member Typedef Documentation
Definition at line 373 of file extension.h.
Member Enumeration Documentation
Enumerator | |
---|---|
ColumnVector | |
RowVector |
Definition at line 372 of file extension.h.
Constructor & Destructor Documentation
Cantor::LinearAlgebraExtension::LinearAlgebraExtension | ( | QObject * | parent | ) |
Cantor::LinearAlgebraExtension::~LinearAlgebraExtension | ( | ) |
Member Function Documentation
calculate the characteristic polynom of a matrix
- Parameters
-
matrix the name of the matrix, the charpoly should be computed of
- Returns
- the command
|
pure virtualslot |
creates a maxtrix with the given entries
- Parameters
-
matrix the entries of the matrix
- Returns
- the command to create this matrix
|
pure virtualslot |
creates a vector with the given entries
- Parameters
-
entries the entries of the new vector type the type of the vector (row/column)
- Returns
- the command for creating the vector
|
pure virtualslot |
calculate the eigen values of a matrix
- Parameters
-
matrix the name of the matrix, the eigenvalues should be computed of
- Returns
- the command
|
pure virtualslot |
calculate the eigen vectors of a matrix
- Parameters
-
matrix the name of the matrix, the eigenvectors should be computed of
- Returns
- the command
|
virtualslot |
creates an identity matrix of the given size
- Parameters
-
size size of the matrix
- Returns
- the command used to create the matrix
Definition at line 80 of file extension.cpp.
|
pure virtualslot |
invert a given matrix
- Parameters
-
matrix the name of the matrix, that should be inverted
- Returns
- the command for inverting the matrix
|
virtualslot |
creates a null matrix, of the given size
- Parameters
-
rows number of rows columns number of columns
- Returns
- the command to create this matrix
Definition at line 95 of file extension.cpp.
|
virtualslot |
creates a null vector, of the given size/type
- Parameters
-
size size of the vector type type of the vector
- Returns
- the command used for creating a nullvector
Definition at line 72 of file extension.cpp.
compute the rank of a matrix
- Parameters
-
matrix the name of the matrix, the rank should be computed of
- Returns
- the command for calculating the rank
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.