#include "LAStreams.h"
#include <math.h>
#include "iostream.h"
Include dependency graph for matrix1.cpp:
Go to the source code of this file.
Namespaces | |
namespace | linalg |
Classes | |
struct | linalg::MaxDev |
Defines | |
#define | COMPUTED_VAL_ASSIGNMENT(OP, VALTYPE) |
#define | COMPARISON_WITH_SCALAR(OP) |
#define | TWO_GROUP_COMP(OP) |
#define | TWO_GROUP_OP(OP) |
#define | REDUCE_SUM(X, VAL) X += (VAL) |
#define | REDUCE_SUMSQ(X, VAL) X += sqr(VAL) |
#define | REDUCE_SUMABS(X, VAL) X += fabs(VAL) |
#define | REDUCE_MAXABS(X, VAL) X = max((REAL)X,fabs(VAL)) |
#define | REDUCE_ONE(NAME, OP) |
#define | REDUCE_DIFF_OF_TWO(NAME, OP) |
Functions | |
double | e2_norm (const Matrix &m1, const Matrix &m2) |
ostream & | operator<< (ostream &os, const DimSpec &dimspec) |
ostream & | operator<< (ostream &os, const AREALMark &mark) |
ostream & | operator<< (ostream &os, const rowcol &rc) |
ostream & | operator<< (ostream &os, const IRange range) |
ostream & | operator<< (ostream &os, const RWWatchDog &wd) |
|
Value: \ bool ElementWiseConst::operator OP (const REAL val) const \ { \ register const REAL * ep = start_ptr; \ while( ep < end_ptr ) \ if( !(*ep++ OP val) ) \ return false; \ \ return true; \ } \ Definition at line 270 of file matrix1.cpp. |
|
Value: \ void ElementWise::operator OP (const VALTYPE val) \ { \ register REAL * ep = start_ptr; \ while( ep < end_ptr ) \ *ep++ OP val; \ } \ Definition at line 250 of file matrix1.cpp. |
|
Value: \ double ElementWiseConst::NAME (const ElementWiseConst& another) const \ { \ sure_compatible_with(another); \ register double norm = 0; \ register const REAL * sp = another.start_ptr; \ register const REAL * tp = start_ptr; \ while( tp < end_ptr ) \ OP(norm,*tp++ - *sp++); \ return norm; \ } \ Definition at line 453 of file matrix1.cpp. |
|
Definition at line 431 of file matrix1.cpp. |
|
Value: \ double ElementWiseConst::NAME (void) const \ { \ register double norm = 0; \ register const REAL * ep = start_ptr; \ while( ep < end_ptr ) \ OP(norm,*ep++); \ return norm; \ } \ Definition at line 433 of file matrix1.cpp. |
|
Definition at line 428 of file matrix1.cpp. |
|
Definition at line 430 of file matrix1.cpp. |
|
Definition at line 429 of file matrix1.cpp. |
|
Value: \ bool ElementWiseConst::operator OP (const ElementWiseConst& another) const \ { \ sure_compatible_with(another); \ register const REAL * sp = another.start_ptr; \ register const REAL * tp = start_ptr; \ while( tp < end_ptr ) \ if( !(*tp++ OP *sp++) ) \ return false; \ \ return true; \ } \ Definition at line 363 of file matrix1.cpp. |
|
Value: \ void ElementWise::operator OP (const ElementWiseConst& another) \ { \ sure_compatible_with(another); \ register const REAL * sp = another.start_ptr; \ register REAL * tp = start_ptr; \ while( tp < end_ptr ) \ *tp++ OP *sp++; \ } \ Definition at line 387 of file matrix1.cpp. |
|
Definition at line 540 of file matrix1.cpp. References linalg::of_every(), and linalg::ElementWiseStrideConst::sum_squares(). |
Here is the call graph for this function:
|
Definition at line 587 of file matrix1.cpp. References linalg::RWWatchDog::q_engaged(), linalg::RWWatchDog::q_exclusive(), and linalg::RWWatchDog::ref_count. |
Here is the call graph for this function:
|
Definition at line 568 of file matrix1.cpp. References linalg::IRange::lwb, and linalg::IRange::upb. |
|
Definition at line 563 of file matrix1.cpp. References linalg::rowcol::col, and linalg::rowcol::row. |
|
Definition at line 556 of file matrix1.cpp. References linalg::AREALMark::offset. |
|
Definition at line 550 of file matrix1.cpp. References linalg::DimSpec::col_lwb, linalg::DimSpec::ncols, linalg::DimSpec::nrows, and linalg::DimSpec::row_lwb. |