Matrix Class Reference

Inheritance diagram for Matrix:

MdiSubWindow

List of all members.

Public Types


Public Member Functions

bool calculate (int startRow=0, int endRow=-1, int startCol=0, int endCol=-1, bool muParser=true)
End double cell (int, int)
 CHECK_MATRIX_COL (a1)
 CHECK_MATRIX_COL (a1)
 CHECK_MATRIX_COL (a1)
 CHECK_MATRIX_COL (a1)
 CHECK_MATRIX_ROW (a0)
 CHECK_MATRIX_ROW (a0)
 CHECK_MATRIX_ROW (a0)
 CHECK_MATRIX_ROW (a0)
LinearColorMapcolorMapPointer ()/PyName
double determinant ()
End double dx ()
double dy ()
bool exportASCII (const QString &fileName, const QString &sep="\t", bool exportSelection=false, bool exportXYCoordinates=false)
void exportRasterImage (const QString &, int=100, int dpi=0, int compression=0)
void exportToFile (const QString &)/PyName
void exportVector (const QString &, bool=true)
void fft (bool inverse=false)
void fftFilter (int filterType, double lowFreq, double highFreq=0.0)
void flipHorizontally ()
void flipVertically ()
QString formula ()
char headerFormat () const
int headerPrecision () const
 if (yCoords)
 if (xCoords)
 if (sipIsErr==0) sipCpp->setCell(row
 if (sipIsErr==0) sipCpp->setText(row
 if (sipIsErr==0) sipRes
 if (sipIsErr==0) sipRes
QImage image ()
void importASCII (const QString &, const QString &="\t", int=0, bool=false, bool=false, const QString &="#", ImportMode=Overwrite, const QLocale &=QLocale(), int=0, int=-1)
void importImage (const QString &)
double integrate ()
void invert ()
int numCols ()
PyObject * numPyArray ()
int numRows ()
int precision ()
void resample (int rows, int cols, const ResamplingMethod &method=Matrix::Bilinear)
void resetView ()
void resetXCoordinates ()
 Removes X coordinates from table column.
void resetYCoordinates ()
 Removes Y coordinates from table column.
void rotate90 (bool=true)
End void setCell (int, int, double)
void setColorMap (const LinearColorMap &)
void setCoordinates (double xs, double xe, double ys, double ye)
void setDefaultColorMap ()
void setDimensions (int rows, int cols)
void setFormula (const QString &)
void setGrayScale ()
void setHeaderNumericFormat (char f, int prec=6)
void setHeaderViewType (HeaderViewType)
void setNumCols (int)
void setNumericFormat (char f, int prec=6)
void setNumericPrecision (int prec)
bool setNumPyArrayValues (PyObject *)
void setNumRows (int)
void setRainbowColorMap ()
End void setText (int, int, const QString &)
void setViewType (ViewType, bool renderImage=true)
void setXComment (const QString &)
bool setXCoordinates (double, double)
 Set linear X coordinates.
void setXLabel (const QString &)
void setXUnit (const QString &)
void setYComment (const QString &)
bool setYCoordinates (double, double)
 Set linear Y coordinates.
void setYLabel (const QString &)
void setYUnit (const QString &)
void setZComment (const QString &)
void setZLabel (const QString &)
void setZUnit (const QString &)
void smooth ()
SIP_PYOBJECT text (int, int, bool=false)
char textFormat ()
void transpose ()
double x (int col) const
ColumnxColumn ()
 Pointer to the column object storing the X coordinates of the matrix.
QString xColumnName ()
 The name of the table column storing the X coordinates.
QString xComment ()
SIP_PYLIST xCoordinates ()
double xEnd ()
QString xLabel ()
double xStart ()
QString xUnit ()
double y (int row) const
ColumnyColumn ()
 Pointer to the column object storing the Y coordinates of the matrix.
QString yColumnName ()
 The name of the table column storing the Y coordinates.
QString yComment ()
SIP_PYLIST yCoordinates ()
double yEnd ()
QString yLabel ()
double yStart ()
QString yUnit ()
QString zComment ()
QString zLabel ()
QString zUnit ()

Public Attributes

 a2
a2
 col
MethodCode int cols = sipCpp->numCols()
MethodCode int rows = sipCpp->numRows()
MethodCode sipIsErr = 0
 sipRes = PyList_New(cols)
double * xCoords = sipCpp->xCoordinates()
double * yCoords = sipCpp->yCoordinates()

Private Member Functions

 Matrix (const Matrix &)


Member Enumeration Documentation

Enumerator:
ColumnRow 
XY 

Enumerator:
NewColumns 
NewRows 
Overwrite 

Enumerator:
Bilinear 
Bicubic 

Enumerator:
TableView 
ImageView 


Constructor & Destructor Documentation

Matrix::Matrix ( const Matrix  )  [private]


Member Function Documentation

bool Matrix::calculate ( int  startRow = 0,
int  endRow = -1,
int  startCol = 0,
int  endCol = -1,
bool  muParser = true 
)

End double Matrix::cell ( int  ,
int   
)

Matrix::CHECK_MATRIX_COL ( a1   ) 

Matrix::CHECK_MATRIX_COL ( a1   ) 

Matrix::CHECK_MATRIX_COL ( a1   ) 

Matrix::CHECK_MATRIX_COL ( a1   ) 

Matrix::CHECK_MATRIX_ROW ( a0   ) 

Matrix::CHECK_MATRIX_ROW ( a0   ) 

Matrix::CHECK_MATRIX_ROW ( a0   ) 

Matrix::CHECK_MATRIX_ROW ( a0   ) 

LinearColorMap* Matrix::colorMapPointer (  ) 

double Matrix::determinant (  ) 

End double Matrix::dx (  ) 

double Matrix::dy (  ) 

bool Matrix::exportASCII ( const QString &  fileName,
const QString &  sep = "\t",
bool  exportSelection = false,
bool  exportXYCoordinates = false 
)

void Matrix::exportRasterImage ( const QString &  ,
int  = 100,
int  dpi = 0,
int  compression = 0 
)

void Matrix::exportToFile ( const QString &   ) 

void Matrix::exportVector ( const QString &  ,
bool  = true 
)

void Matrix::fft ( bool  inverse = false  ) 

void Matrix::fftFilter ( int  filterType,
double  lowFreq,
double  highFreq = 0.0 
)

void Matrix::flipHorizontally (  ) 

void Matrix::flipVertically (  ) 

QString Matrix::formula (  ) 

char Matrix::headerFormat (  )  const

int Matrix::headerPrecision (  )  const

Matrix::if ( yCoords   )  [inline]

References rows, sipRes, and yCoords.

Matrix::if ( xCoords   )  [inline]

References cols, sipRes, and xCoords.

Matrix::if ( sipIsErr  = = 0  ) 

Matrix::if ( sipIsErr  = = 0  ) 

Matrix::if ( sipIsErr  = =0  ) 

Matrix::if ( sipIsErr  = =0  ) 

QImage Matrix::image (  ) 

void Matrix::importASCII ( const QString &  ,
const QString &  = "\t",
int  = 0,
bool  = false,
bool  = false,
const QString &  = "#",
ImportMode  = Overwrite,
const QLocale &  = QLocale(),
int  = 0,
int  = -1 
)

void Matrix::importImage ( const QString &   ) 

double Matrix::integrate (  ) 

void Matrix::invert (  ) 

int Matrix::numCols (  ) 

PyObject* Matrix::numPyArray (  ) 

int Matrix::numRows (  ) 

int Matrix::precision (  ) 

void Matrix::resample ( int  rows,
int  cols,
const ResamplingMethod method = Matrix::Bilinear 
)

void Matrix::resetView (  ) 

void Matrix::resetXCoordinates (  ) 

Removes X coordinates from table column.

void Matrix::resetYCoordinates (  ) 

Removes Y coordinates from table column.

void Matrix::rotate90 ( bool  = true  ) 

End void Matrix::setCell ( int  ,
int  ,
double   
)

void Matrix::setColorMap ( const LinearColorMap  ) 

void Matrix::setCoordinates ( double  xs,
double  xe,
double  ys,
double  ye 
)

void Matrix::setDefaultColorMap (  ) 

void Matrix::setDimensions ( int  rows,
int  cols 
)

void Matrix::setFormula ( const QString &   ) 

void Matrix::setGrayScale (  ) 

void Matrix::setHeaderNumericFormat ( char  f,
int  prec = 6 
)

void Matrix::setHeaderViewType ( HeaderViewType   ) 

void Matrix::setNumCols ( int   ) 

void Matrix::setNumericFormat ( char  f,
int  prec = 6 
)

void Matrix::setNumericPrecision ( int  prec  ) 

bool Matrix::setNumPyArrayValues ( PyObject *   ) 

void Matrix::setNumRows ( int   ) 

void Matrix::setRainbowColorMap (  ) 

End void Matrix::setText ( int  ,
int  ,
const QString &   
)

void Matrix::setViewType ( ViewType  ,
bool  renderImage = true 
)

void Matrix::setXComment ( const QString &   ) 

bool Matrix::setXCoordinates ( double  ,
double   
)

Set linear X coordinates.

void Matrix::setXLabel ( const QString &   ) 

void Matrix::setXUnit ( const QString &   ) 

void Matrix::setYComment ( const QString &   ) 

bool Matrix::setYCoordinates ( double  ,
double   
)

Set linear Y coordinates.

void Matrix::setYLabel ( const QString &   ) 

void Matrix::setYUnit ( const QString &   ) 

void Matrix::setZComment ( const QString &   ) 

void Matrix::setZLabel ( const QString &   ) 

void Matrix::setZUnit ( const QString &   ) 

void Matrix::smooth (  ) 

SIP_PYOBJECT Matrix::text ( int  ,
int  ,
bool  = false 
)

char Matrix::textFormat (  ) 

void Matrix::transpose (  ) 

double Matrix::x ( int  col  )  const

Column* Matrix::xColumn (  ) 

Pointer to the column object storing the X coordinates of the matrix.

QString Matrix::xColumnName (  ) 

The name of the table column storing the X coordinates.

QString Matrix::xComment (  ) 

SIP_PYLIST Matrix::xCoordinates (  ) 

double Matrix::xEnd (  ) 

QString Matrix::xLabel (  ) 

double Matrix::xStart (  ) 

QString Matrix::xUnit (  ) 

double Matrix::y ( int  row  )  const

Column* Matrix::yColumn (  ) 

Pointer to the column object storing the Y coordinates of the matrix.

QString Matrix::yColumnName (  ) 

The name of the table column storing the Y coordinates.

QString Matrix::yComment (  ) 

SIP_PYLIST Matrix::yCoordinates (  ) 

double Matrix::yEnd (  ) 

QString Matrix::yLabel (  ) 

double Matrix::yStart (  ) 

QString Matrix::yUnit (  ) 

QString Matrix::zComment (  ) 

QString Matrix::zLabel (  ) 

QString Matrix::zUnit (  ) 


Member Data Documentation

MethodCode int Matrix::cols = sipCpp->numCols()

Referenced by if().

MethodCode int Matrix::rows = sipCpp->numRows()

Referenced by if().

MethodCode Matrix::sipIsErr = 0

Matrix::sipRes = PyList_New(cols)

Reimplemented from MdiSubWindow.

Referenced by if().

double* Matrix::xCoords = sipCpp->xCoordinates()

Referenced by if().

double* Matrix::yCoords = sipCpp->yCoordinates()

Referenced by if().


The documentation for this class was generated from the following file:

Generated on Thu Oct 10 18:41:31 2024 for QtiPlot/Python-API by  doxygen 1.5.8