Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Matrix Class Reference

List of all members.

Public Methods

 Matrix ()
 Matrix (std::string input)
 Matrix (std::vector< std::vector< float > > input)
 ~Matrix ()
double ** parseInput (std::string input)
void printMatrix ()
std::vector< std::vector<
float > > 
toVector ()

Static Public Methods

double stringToDouble (std::string &s)
void printMatrix (Matrix *matrix)
std::vector< double > * rowAtIndex (Matrix *input, unsigned int index)
std::vector< double > * columnAtIndex (Matrix *input, unsigned int index)
double dotProduct (std::vector< double > *firstVector, std::vector< double > *secondVector)
Matrix * multiply (Matrix *firstMatrix, Matrix *secondMatrix)

Public Attributes

double ** value
int columns
int rows

Constructor & Destructor Documentation

Matrix::Matrix   [inline]
 

Definition at line 41 of file orcaplugin.C.

References columns, rows, and value.

Referenced by multiply.

Matrix::Matrix std::string    input [inline]
 

Definition at line 47 of file orcaplugin.C.

References parseInput, and value.

Matrix::Matrix std::vector< std::vector< float > >    input [inline]
 

Definition at line 52 of file orcaplugin.C.

References columns, rows, and value.

Matrix::~Matrix   [inline]
 

Definition at line 79 of file orcaplugin.C.

References rows, and value.


Member Function Documentation

std::vector<double>* Matrix::columnAtIndex Matrix *    input,
unsigned int    index
[inline, static]
 

Definition at line 218 of file orcaplugin.C.

References rows, and value.

Referenced by multiply.

double Matrix::dotProduct std::vector< double > *    firstVector,
std::vector< double > *    secondVector
[inline, static]
 

Definition at line 227 of file orcaplugin.C.

Referenced by multiply.

Matrix* Matrix::multiply Matrix *    firstMatrix,
Matrix *    secondMatrix
[inline, static]
 

Definition at line 240 of file orcaplugin.C.

References columnAtIndex, columns, dotProduct, Matrix, rowAtIndex, rows, and value.

Referenced by convertPure.

double** Matrix::parseInput std::string    input [inline]
 

Definition at line 87 of file orcaplugin.C.

References columns, rows, and stringToDouble.

Referenced by Matrix.

void Matrix::printMatrix   [inline]
 

Definition at line 178 of file orcaplugin.C.

References columns, rows, and value.

void Matrix::printMatrix Matrix *    matrix [inline, static]
 

Definition at line 160 of file orcaplugin.C.

References columns, rows, and value.

std::vector<double>* Matrix::rowAtIndex Matrix *    input,
unsigned int    index
[inline, static]
 

Definition at line 209 of file orcaplugin.C.

References columns, and value.

Referenced by multiply.

double Matrix::stringToDouble std::string &    s [inline, static]
 

Definition at line 147 of file orcaplugin.C.

Referenced by parseInput.

std::vector< std::vector<float> > Matrix::toVector   [inline]
 

Definition at line 196 of file orcaplugin.C.

References columns, rows, and value.

Referenced by convertPure.


Member Data Documentation

int Matrix::columns
 

Definition at line 39 of file orcaplugin.C.

Referenced by Matrix, multiply, parseInput, printMatrix, rowAtIndex, and toVector.

int Matrix::rows
 

Definition at line 39 of file orcaplugin.C.

Referenced by columnAtIndex, Matrix, multiply, parseInput, printMatrix, toVector, and ~Matrix.

double** Matrix::value
 

Definition at line 38 of file orcaplugin.C.

Referenced by columnAtIndex, Matrix, multiply, printMatrix, rowAtIndex, toVector, and ~Matrix.


The documentation for this class was generated from the following file:
Generated on Tue Oct 15 03:09:27 2024 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002