• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

cantor/src/lib

  • Cantor
  • LinearAlgebraExtension
Public Types | Public Slots | Public Member Functions | List of all members
Cantor::LinearAlgebraExtension Class Referenceabstract

#include <extension.h>

Inheritance diagram for Cantor::LinearAlgebraExtension:
Inheritance graph
[legend]

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 ()
 

Detailed Description

An extension for basic Linear Algebra.

Definition at line 363 of file extension.h.

Member Typedef Documentation

typedef QList<QStringList> Cantor::LinearAlgebraExtension::Matrix

Definition at line 367 of file extension.h.

Member Enumeration Documentation

enum Cantor::LinearAlgebraExtension::VectorType
Enumerator
ColumnVector 
RowVector 

Definition at line 366 of file extension.h.

Constructor & Destructor Documentation

Cantor::LinearAlgebraExtension::LinearAlgebraExtension ( QObject *  parent)
Cantor::LinearAlgebraExtension::~LinearAlgebraExtension ( )

Member Function Documentation

virtual QString Cantor::LinearAlgebraExtension::charPoly ( const QString &  matrix)
pure virtualslot

calculate the characteristic polynom of a matrix

Parameters
matrixthe name of the matrix, the charpoly should be computed of
Returns
the command
virtual QString Cantor::LinearAlgebraExtension::createMatrix ( const Matrix &  matrix)
pure virtualslot

creates a maxtrix with the given entries

Parameters
matrixthe entries of the matrix
Returns
the command to create this matrix
virtual QString Cantor::LinearAlgebraExtension::createVector ( const QStringList &  entries,
VectorType  type 
)
pure virtualslot

creates a vector with the given entries

Parameters
entriesthe entries of the new vector
typethe type of the vector (row/column)
Returns
the command for creating the vector
virtual QString Cantor::LinearAlgebraExtension::eigenValues ( const QString &  matrix)
pure virtualslot

calculate the eigen values of a matrix

Parameters
matrixthe name of the matrix, the eigenvalues should be computed of
Returns
the command
virtual QString Cantor::LinearAlgebraExtension::eigenVectors ( const QString &  matrix)
pure virtualslot

calculate the eigen vectors of a matrix

Parameters
matrixthe name of the matrix, the eigenvectors should be computed of
Returns
the command
QString LinearAlgebraExtension::identityMatrix ( int  size)
virtualslot

creates an identity matrix of the given size

Parameters
sizesize of the matrix
Returns
the command used to create the matrix

Definition at line 80 of file extension.cpp.

virtual QString Cantor::LinearAlgebraExtension::invertMatrix ( const QString &  matrix)
pure virtualslot

invert a given matrix

Parameters
matrixthe name of the matrix, that should be inverted
Returns
the command for inverting the matrix
QString LinearAlgebraExtension::nullMatrix ( int  rows,
int  columns 
)
virtualslot

creates a null matrix, of the given size

Parameters
rowsnumber of rows
columnsnumber of columns
Returns
the command to create this matrix

Definition at line 95 of file extension.cpp.

QString LinearAlgebraExtension::nullVector ( int  size,
VectorType  type 
)
virtualslot

creates a null vector, of the given size/type

Parameters
sizesize of the vector
typetype of the vector
Returns
the command used for creating a nullvector

Definition at line 72 of file extension.cpp.

virtual QString Cantor::LinearAlgebraExtension::rank ( const QString &  matrix)
pure virtualslot

compute the rank of a matrix

Parameters
matrixthe 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:
  • extension.h
  • extension.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

cantor/src/lib

Skip menu "cantor/src/lib"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal