|
muMECH
1.0
|
#include <arrays.h>
Public Member Functions | |
| Dmtrx (void) | |
| CONSTRUCTOR. More... | |
| Dmtrx (long r, long c) | |
| Dmtrx (const Dmtrx *src) | |
| virtual | ~Dmtrx () |
| DESTRUCTOR. More... | |
| arrayTypedef | give_arrayTypedef (void) const |
| void | resize_ignore_vals (long r, long c) |
| print yourself More... | |
| double & | operator() (long r, long c) |
| const double & | operator() (long r, long c) const |
| double * | give_ptr2val (long r=0, long c=0) |
| const double * | give_ptr2val (long r=0, long c=0) const |
| void | zero (void) |
| void | copy_row (long r, const Dvctr &v) |
| void | copy_row (long r, const Elem3D *v) |
| void | beCopyOf (const double *src) |
| void | beCopyOf (const Dmtrx &src) |
| void | beCopyOf (const Dmtrx *src) |
| void | be_tnsr (const Dvctr &src) |
| void | be_transposition (const Dmtrx &src) |
| void | be_mtrxMmtrx (const Dmtrx &A, const Dmtrx &B) |
| void | tmsLeftBy (const Dmtrx &src) |
| void | tmsRightBy (const Dmtrx &src) |
| double | give_determinant (void) const |
| bool | GaussSolve (Dvctr &x, const Dvctr &rhs) |
| gaussian eliminatio More... | |
| bool | GaussSolve (Dvctr *x, const Dvctr *rhs, long nrhs) |
| Solve a system of n equations in n unknowns using Gaussian Elimination with multiple rhs. More... | |
| void | print_tensor (FILE *stream, int precision, double absZero, bool zerorest) const |
| print yourself More... | |
Public Member Functions inherited from gelibspace::Xmtrx | |
| Xmtrx (void) | |
| CONSTRUCTOR. More... | |
| Xmtrx (long r, long c) | |
| virtual | ~Xmtrx () |
| DESTRUCTOR. More... | |
| long | give_crows (void) const |
| long | give_ccols (void) const |
Public Member Functions inherited from gelibspace::Array | |
| Array () | |
| CONSTRUCTOR. More... | |
| virtual | ~Array () |
| DESTRUCTOR. More... | |
Protected Attributes | |
| double * | a |
Protected Attributes inherited from gelibspace::Xmtrx | |
| long | crow |
| long | ccol |
| long | asize |
|
inline |
|
inlinevirtual |
Definition at line 788 of file arrays.cpp.
References _errorr, gelibspace::MatriX::a, gelibspace::Xmtrx::give_ccols(), gelibspace::Xmtrx::give_crows(), and give_ptr2val().
Referenced by tmsLeftBy(), and tmsRightBy().
| void gelibspace::Dmtrx::be_tnsr | ( | const Dvctr & | src | ) |
Definition at line 760 of file arrays.cpp.
References _errorr, gelibspace::MatriX::a, gelibspace::Dvctr::give_ptr2val(), and gelibspace::Xvctr::give_size().
| void gelibspace::Dmtrx::be_transposition | ( | const Dmtrx & | src | ) |
Definition at line 776 of file arrays.cpp.
References gelibspace::MatriX::a, gelibspace::Xmtrx::give_ccols(), gelibspace::Xmtrx::give_crows(), and give_ptr2val().
|
inline |
|
inline |
|
inline |
Definition at line 839 of file arrays.h.
References beCopyOf(), give_ptr2val(), and gelibspace::Elem3D::x.
Referenced by beCopyOf().
|
inline |
Definition at line 831 of file arrays.h.
References _errorr, gelibspace::Dvctr::give_ptr2val(), and gelibspace::Xvctr::give_size().
|
inline |
Definition at line 835 of file arrays.h.
References gelibspace::Elem3D::x, gelibspace::Elem3D::y, and gelibspace::Elem3D::z.
gaussian eliminatio
Solve a system of n equations in n unknowns using Gaussian Elimination.
Solve an equation in matrix form this * x = rhs. The result is returned in x, rhs is kept untouched. Return value is false if the system of equations is singular.
Definition at line 842 of file arrays.cpp.
References _errorr3, gelibspace::MatriX::a, and gelibspace::Xvctr::give_size().
Solve a system of n equations in n unknowns using Gaussian Elimination with multiple rhs.
Solve an equation in matrix form this * x = rhs. The result is returned in x, rhs is kept untouched. Return value is false if the system of equations is singular.
Definition at line 911 of file arrays.cpp.
References _errorr, _errorr3, gelibspace::MatriX::a, mumech::e(), and PYP.
|
inlinevirtual |
Implements gelibspace::Array.
Definition at line 813 of file arrays.h.
References gelibspace::ATdouble.
| double gelibspace::Dmtrx::give_determinant | ( | void | ) | const |
Definition at line 828 of file arrays.cpp.
References _errorr3, and gelibspace::MatriX::a.
|
inline |
Definition at line 822 of file arrays.h.
Referenced by gelibspace::Dvctr::be_mean_of(), be_mtrxMmtrx(), gelibspace::Dvctr::be_tnsr(), be_transposition(), beCopyOf(), and gelibspace::PoinT::beRotatedPoint().
|
inline |
|
inline |
|
inline |
| void gelibspace::Dmtrx::print_tensor | ( | FILE * | stream, |
| int | precision, | ||
| double | absZero, | ||
| bool | zerorest | ||
| ) | const |
print yourself
Definition at line 1012 of file arrays.cpp.
References gelibspace::MatriX::a, errol, gelibspace::give_copy_r2z(), gelibspace::pprint_tensor(), and gelibspace::pprint_tensor_zero().
| void gelibspace::Dmtrx::resize_ignore_vals | ( | long | r, |
| long | c | ||
| ) |
| void gelibspace::Dmtrx::tmsLeftBy | ( | const Dmtrx & | src | ) |
Definition at line 807 of file arrays.cpp.
References be_mtrxMmtrx().
| void gelibspace::Dmtrx::tmsRightBy | ( | const Dmtrx & | src | ) |
Definition at line 815 of file arrays.cpp.
References be_mtrxMmtrx().
|
protected |