#include <matrix.h>
Public Methods | |
MSLMatrix (int n=0, int m=0) | |
MSLMatrix (int n, int m, double *D) | |
MSLMatrix (const MSLMatrix &) | |
MSLMatrix (const MSLVector &) | |
MSLMatrix& | operator= (const MSLMatrix &) |
~MSLMatrix () | |
int | dim1 () const |
int | dim2 () const |
MSLVector& | row (int i) const |
MSLVector | col (int i) const |
MSLMatrix | trans () const |
MSLMatrix | inv () const |
double | det () const |
MSLMatrix | solve (const MSLMatrix &) const |
MSLVector | solve (const MSLVector &b) const |
operator MSLVector () const | |
MSLVector& | operator[] (int i) const |
double& | operator() (int i, int j) |
double | operator() (int, int) const |
int | operator== (const MSLMatrix &) const |
int | operator!= (const MSLMatrix &x) const |
MSLMatrix | operator+ (const MSLMatrix &M1) const |
MSLMatrix | operator- (const MSLMatrix &M1) const |
MSLMatrix | operator- () const |
MSLMatrix& | operator-= (const MSLMatrix &) |
MSLMatrix& | operator+= (const MSLMatrix &) |
MSLMatrix | operator * (const MSLMatrix &M1) const |
MSLVector | operator * (const MSLVector &vec) const |
MSLMatrix | operator * (double x) const |
void | read (istream &I) |
void | read () |
Friends | |
ostream& | operator<< (ostream &O, const MSLMatrix &M) |
istream& | operator>> (istream &I, MSLMatrix &M) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|