labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Backend
Collaboration diagram for Backend:

Modules

 Analysis
 
 Core
 
 Data source
 
 Libraries
 
 Matrix
 
 Spreadsheet
 
 Worksheet
 

Classes

class  Workbook
 Top-level container for Spreadsheet and Matrix. More...
 
class  Datapicker
 Top-level container for DatapickerCurve and DatapickerImage. More...
 
class  DatapickerCurve
 Top-level container for Curve-Point and Datasheet/Spreadsheet of datapicker. More...
 
class  MatrixModel
 Model for the access to data of a Matrix-object. More...
 
class  Spreadsheet
 Aspect providing a spreadsheet table with column logic. More...
 
class  SpreadsheetModel
 Model for the access to a Spreadsheet. More...
 
class  AbstractCoordinateSystem
 Base class of all worksheet coordinate systems. More...
 
class  TreeViewComboBox
 Provides a QTreeView in a QComboBox. More...
 
class  ThemesComboBox
 Preview of all themes in a QComboBox. More...
 

Functions

 Matrix::Matrix (int rows, int cols, const QString &name, const AbstractColumn::ColumnMode=AbstractColumn::ColumnMode::Numeric)
 

Detailed Description

This group contains backend classes.

Function Documentation

◆ Matrix()

Matrix::Matrix ( int  rows,
int  cols,
const QString &  name,
const AbstractColumn::ColumnMode  mode = AbstractColumn::ColumnMode::Numeric 
)

File : Matrix.cpp Project : Matrix

Description : Spreadsheet with a MxN matrix data model

Copyright : (C) 2008-2009 Tilman Benkert (thzs@.nosp@m.gmx..nosp@m.net) Copyright : (C) 2015-2017 Alexander Semke (alexa.nosp@m.nder.nosp@m..semk.nosp@m.e@we.nosp@m.b.de) Copyright : (C) 2017-2020 Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m..kn)

  • 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 *

This class manages matrix based data (i.e., mathematically a MxN matrix with M rows, N columns). This data is typically used to for 3D plots.

The values of the matrix are stored as generic values. Each column of the matrix is stored in a QVector<T> objects.

Definition at line 60 of file Matrix.cpp.

References Matrix::appendColumns(), Matrix::appendRows(), and Matrix::init().