|
Isis Developer Reference
|
Go to the documentation of this file.
10 #include "tnt/tnt_array2d.h"
36 Matrix(
const int n,
const int m,
const double value = 0.0);
37 Matrix(TNT::Array2D<double> matrix);
43 return p_matrix.dim1();
46 return p_matrix.dim2();
64 return p_matrix[index];
80 TNT::Array2D<double> p_matrix;
std::vector< double > Eigenvalues()
Compute the eigenvalues of the matrix.
Definition: Matrix.cpp:203
Matrix operator+(Matrix &matrix)
Definition: Matrix.h:66
int Columns()
Definition: Matrix.h:45
Matrix Eigenvectors()
Compute the eigenvectors of the matrix and return them as columns of a matrix in ascending order.
Definition: Matrix.cpp:224
Matrix Transpose()
Compute the transpose of the matrix.
Definition: Matrix.cpp:170
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition: Hillshade.cpp:314
Matrix Add(Matrix &matrix)
Add the two matrices.
Definition: Matrix.cpp:104
Matrix class.
Definition: Matrix.h:34
Matrix(const int n, const int m, const double value=0.0)
Constructs an n x m Matrix containing the specified default value.
Definition: Matrix.cpp:24
Matrix operator*(Matrix &matrix)
Definition: Matrix.h:72
Matrix Multiply(Matrix &matrix)
Multiply the two matrices.
Definition: Matrix.cpp:87
int Rows()
Definition: Matrix.h:42
Matrix Inverse()
Compute the inverse of the matrix.
Definition: Matrix.cpp:183
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
double Trace()
Compute the determinant of the matrix.
Definition: Matrix.cpp:72
double Determinant()
Compute the determinant of the matrix.
Definition: Matrix.cpp:60
double * operator[](int index)
Definition: Matrix.h:63
static Matrix Identity(const int n)
Create an n x n identity matrix.
Definition: Matrix.cpp:45
Matrix Subtract(Matrix &matrix)
Subtract the input matrix from this matrix.
Definition: Matrix.cpp:121
Isis exception class.
Definition: IException.h:91
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
~Matrix()
Destroys the Matrix object.
Definition: Matrix.cpp:40
Matrix operator-(Matrix &matrix)
Definition: Matrix.h:69
const double E
Sets some basic constants for use in ISIS programming.
Definition: Constants.h:39
Matrix MultiplyElementWise(Matrix &matrix)
Multiply the two matrices element-wise (ie compute C such that C[i][j] = A[i][j]*B[i][j])
Definition: Matrix.cpp:140
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16