JX Application Framework
|
#include "JMatrix.h"
#include "JVector.h"
#include "jStreamUtil.h"
#include "jMath.h"
#include <string.h>
#include <stdarg.h>
#include "jAssert.h"
Functions | |
JMatrix | operator+ (const JMatrix &mx1, const JMatrix &mx2) |
JMatrix | operator- (const JMatrix &mx1, const JMatrix &mx2) |
JMatrix | operator* (const JMatrix &mx, const JFloat s) |
JMatrix | operator* (const JFloat s, const JMatrix &mx) |
JMatrix | operator/ (const JMatrix &mx, const JFloat s) |
JMatrix | operator* (const JMatrix &mx1, const JMatrix &mx2) |
JMatrix | operator* (const JMatrix &mx, const JVector &v) |
JMatrix | JIdentityMatrix (const JSize dimCount) |
bool | operator== (const JMatrix &mx1, const JMatrix &mx2) |
std::istream & | operator>> (std::istream &input, JMatrix &aMatrix) |
std::ostream & | operator<< (std::ostream &output, const JMatrix &aMatrix) |
bool | JGaussianElimination (const JMatrix &A, const JVector &b, JVector *x) |
bool | JGaussianElimination (const JMatrix &A, const JMatrix &b, JMatrix *x) |
bool | JGaussianElimination (JMatrix *A, JMatrix *x) |
Returns true if we were able to perform Gaussian elimination on A|b to reduce A to the identity. The result of b is stored in x.
A does not have to be square. A, b, x must all have the same number of rows. b and x must have the same number of columns.
Returns true if we were able to perform Gaussian elimination on A|x. A and x are both modified. If the process fails, the partial results are returned.
A does not have to be square. A and x must all have the same number of rows.
std::ostream & operator<< | ( | std::ostream & | output, |
const JMatrix & | aMatrix | ||
) |
std::istream & operator>> | ( | std::istream & | input, |
JMatrix & | aMatrix | ||
) |