MOAB: Mesh Oriented datABase  (version 5.4.1)
MsqMatrix.hpp File Reference
#include "Mesquite.hpp"
#include <string>
#include <istream>
#include <ostream>
#include <sstream>
+ Include dependency graph for MsqMatrix.hpp:

Go to the source code of this file.

Classes

class  MBMesquite::MsqMatrix< R, C >
 Fixed-size matrix class. More...
class  MBMesquite::MsqMatrix< 1, 1 >
class  MBMesquite::MsqVector< L >
 Vector is a 1xL Matrix. More...
class  MBMesquite::MsqMatrixA< R, C >
 A subclass of MsqMatrix that behaves more like the old Matrix3D class. More...

Namespaces

namespace  MBMesquite
 

Implements the NonSmoothDescent class member functions.


Functions

template<unsigned R1, unsigned C1, unsigned R2, unsigned C2>
void MBMesquite::set_region (MsqMatrix< R1, C1 > &d, unsigned r, unsigned c, MsqMatrix< R2, C2 > &s)
 Set a subset of this matrix to some other matrix.
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator- (const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator+ (const MsqMatrix< R, C > &m, double s)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator+ (double s, const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator+ (const MsqMatrix< R, C > &A, const MsqMatrix< R, C > &B)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator- (const MsqMatrix< R, C > &m, double s)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator- (double s, const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator- (const MsqMatrix< R, C > &A, const MsqMatrix< R, C > &B)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator* (const MsqMatrix< R, C > &m, double s)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator* (double s, const MsqMatrix< R, C > &m)
template<unsigned R, unsigned RC, unsigned C>
double MBMesquite::multiply_helper_result_val (unsigned r, unsigned c, const MsqMatrix< R, RC > &A, const MsqMatrix< RC, C > &B)
template<unsigned R, unsigned RC, unsigned C>
MsqMatrix< R, CMBMesquite::operator* (const MsqMatrix< R, RC > &A, const MsqMatrix< RC, C > &B)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::operator/ (const MsqMatrix< R, C > &m, double s)
template<unsigned RC>
double MBMesquite::cofactor (const MsqMatrix< RC, RC > &m, unsigned r, unsigned c)
template<unsigned RC>
double MBMesquite::det (const MsqMatrix< RC, RC > &m)
double MBMesquite::det (const MsqMatrix< 2, 2 > &m)
double MBMesquite::det (const MsqMatrix< 3, 3 > &m)
MsqMatrix< 2, 2 > MBMesquite::adj (const MsqMatrix< 2, 2 > &m)
MsqMatrix< 2, 2 > MBMesquite::transpose_adj (const MsqMatrix< 2, 2 > &m)
MsqMatrix< 3, 3 > MBMesquite::adj (const MsqMatrix< 3, 3 > &m)
MsqMatrix< 3, 3 > MBMesquite::transpose_adj (const MsqMatrix< 3, 3 > &m)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::inverse (const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::transpose (const MsqMatrix< C, R > &m)
template<unsigned RC>
double MBMesquite::trace (const MsqMatrix< RC, RC > &m)
template<unsigned R, unsigned C>
double MBMesquite::sqr_Frobenius (const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
double MBMesquite::Frobenius (const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
bool MBMesquite::operator== (const MsqMatrix< R, C > &A, const MsqMatrix< R, C > &B)
template<unsigned R, unsigned C>
bool MBMesquite::operator!= (const MsqMatrix< R, C > &A, const MsqMatrix< R, C > &B)
template<unsigned R, unsigned C>
std::ostream & MBMesquite::operator<< (std::ostream &str, const MsqMatrix< R, C > &m)
template<unsigned R, unsigned C>
std::istream & MBMesquite::operator>> (std::istream &str, MsqMatrix< R, C > &m)
template<unsigned R>
double MBMesquite::sqr_length (const MsqMatrix< R, 1 > &v)
template<unsigned C>
double MBMesquite::sqr_length (const MsqMatrix< 1, C > &v)
template<unsigned R>
double MBMesquite::length (const MsqMatrix< R, 1 > &v)
template<unsigned C>
double MBMesquite::length (const MsqMatrix< 1, C > &v)
template<unsigned R, unsigned C>
double MBMesquite::inner_product (const MsqMatrix< R, C > &m1, const MsqMatrix< R, C > &m2)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::outer (const MsqMatrix< R, 1 > &v1, const MsqMatrix< C, 1 > &v2)
template<unsigned R, unsigned C>
MsqMatrix< R, CMBMesquite::outer (const MsqMatrix< 1, R > &v1, const MsqMatrix< 1, C > &v2)
double MBMesquite::vector_product (const MsqMatrix< 2, 1 > &v1, const MsqMatrix< 2, 1 > &v2)
double MBMesquite::vector_product (const MsqMatrix< 1, 2 > &v1, const MsqMatrix< 1, 2 > &v2)
MsqMatrix< 3, 1 > MBMesquite::vector_product (const MsqMatrix< 3, 1 > &a, const MsqMatrix< 3, 1 > &b)
MsqMatrix< 1, 3 > MBMesquite::vector_product (const MsqMatrix< 1, 3 > &a, const MsqMatrix< 1, 3 > &b)
template<unsigned R, unsigned C>
double MBMesquite::operator% (const MsqMatrix< R, C > &v1, const MsqMatrix< R, C > &v2)
double MBMesquite::operator* (const MsqMatrix< 2, 1 > &v1, const MsqMatrix< 2, 1 > &v2)
double MBMesquite::operator* (const MsqMatrix< 1, 2 > &v1, const MsqMatrix< 1, 2 > &v2)
MsqMatrix< 3, 1 > MBMesquite::operator* (const MsqMatrix< 3, 1 > &v1, const MsqMatrix< 3, 1 > &v2)
MsqMatrix< 1, 3 > MBMesquite::operator* (const MsqMatrix< 1, 3 > &v1, const MsqMatrix< 1, 3 > &v2)
void MBMesquite::QR (const MsqMatrix< 3, 3 > &A, MsqMatrix< 3, 3 > &Q, MsqMatrix< 3, 3 > &R)
void MBMesquite::QR (const MsqMatrix< 2, 2 > &A, MsqMatrix< 2, 2 > &Q, MsqMatrix< 2, 2 > &R)

Detailed Description

Author:
Jason Kraftcheck

Definition in file MsqMatrix.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines