#include <R_ext/Error.h>
Go to the source code of this file.
|
#define | nTYPE int |
|
#define | lTYPE int |
|
#define | iTYPE int |
|
#define | dTYPE double |
|
#define | zTYPE Rcomplex |
|
#define | nTYPESXP LGLSXP |
|
#define | lTYPESXP LGLSXP |
|
#define | iTYPESXP INTSXP |
|
#define | dTYPESXP REALSXP |
|
#define | zTYPESXP CPLXSXP |
|
#define | nPTR LOGICAL |
|
#define | lPTR LOGICAL |
|
#define | iPTR INTEGER |
|
#define | dPTR REAL |
|
#define | zPTR COMPLEX |
|
#define | nZERO 0 |
|
#define | lZERO 0 |
|
#define | iZERO 0 |
|
#define | dZERO 0.0 |
|
#define | zZERO Matrix_zzero |
|
#define | nUNIT 1 |
|
#define | lUNIT 1 |
|
#define | iUNIT 1 |
|
#define | dUNIT 1.0 |
|
#define | zUNIT Matrix_zunit |
|
#define | nNA 1 |
|
#define | lNA NA_LOGICAL |
|
#define | iNA NA_INTEGER |
|
#define | dNA NA_REAL |
|
#define | zNA Matrix_zna |
|
#define | nNAME(s) |
|
#define | lNAME(s) |
|
#define | iNAME(s) |
|
#define | dNAME(s) |
|
#define | zNAME(s) |
|
#define | nIF_NPATTERN(...) |
|
#define | lIF_NPATTERN(...) |
|
#define | iIF_NPATTERN(...) |
|
#define | dIF_NPATTERN(...) |
|
#define | zIF_NPATTERN(...) |
|
#define | nIFELSE_NPATTERN(x, y) |
|
#define | lIFELSE_NPATTERN(x, y) |
|
#define | iIFELSE_NPATTERN(x, y) |
|
#define | dIFELSE_NPATTERN(x, y) |
|
#define | zIFELSE_NPATTERN(x, y) |
|
#define | nNOT_ZERO(x) |
|
#define | lNOT_ZERO(x) |
|
#define | iNOT_ZERO(x) |
|
#define | dNOT_ZERO(x) |
|
#define | zNOT_ZERO(x) |
|
#define | nNOT_ZERO_REAL(x) |
|
#define | lNOT_ZERO_REAL(x) |
|
#define | iNOT_ZERO_REAL(x) |
|
#define | dNOT_ZERO_REAL(x) |
|
#define | zNOT_ZERO_REAL(x) |
|
#define | nNOT_ZERO_IMAG(x) |
|
#define | lNOT_ZERO_IMAG(x) |
|
#define | iNOT_ZERO_IMAG(x) |
|
#define | dNOT_ZERO_IMAG(x) |
|
#define | zNOT_ZERO_IMAG(x) |
|
#define | nNOT_ZERO_TOL(x, tol) |
|
#define | lNOT_ZERO_TOL(x, tol) |
|
#define | iNOT_ZERO_TOL(x, tol) |
|
#define | dNOT_ZERO_TOL(x, tol) |
|
#define | zNOT_ZERO_TOL(x, tol) |
|
#define | nNOT_UNIT(x) |
|
#define | lNOT_UNIT(x) |
|
#define | iNOT_UNIT(x) |
|
#define | dNOT_UNIT(x) |
|
#define | zNOT_UNIT(x) |
|
#define | nNOT_NA(x) |
|
#define | lNOT_NA(x) |
|
#define | iNOT_NA(x) |
|
#define | dNOT_NA(x) |
|
#define | zNOT_NA(x) |
|
#define | nNOT_IDEN(x, y) |
|
#define | lNOT_IDEN(x, y) |
|
#define | iNOT_IDEN(x, y) |
|
#define | dNOT_IDEN(x, y) |
|
#define | zNOT_IDEN(x, y) |
|
#define | nNOT_CONJ(x, y) |
|
#define | lNOT_CONJ(x, y) |
|
#define | iNOT_CONJ(x, y) |
|
#define | dNOT_CONJ(x, y) |
|
#define | zNOT_CONJ(x, y) |
|
#define | nSET_ZERO(x) |
|
#define | lSET_ZERO(x) |
|
#define | iSET_ZERO(x) |
|
#define | dSET_ZERO(x) |
|
#define | zSET_ZERO(x) |
|
#define | nSET_UNIT(x) |
|
#define | lSET_UNIT(x) |
|
#define | iSET_UNIT(x) |
|
#define | dSET_UNIT(x) |
|
#define | zSET_UNIT(x) |
|
#define | nSET_NA(x) |
|
#define | lSET_NA(x) |
|
#define | iSET_NA(x) |
|
#define | dSET_NA(x) |
|
#define | zSET_NA(x) |
|
#define | nSET_IDEN(x) |
|
#define | lSET_IDEN(x) |
|
#define | iSET_IDEN(x) |
|
#define | dSET_IDEN(x) |
|
#define | zSET_IDEN(x) |
|
#define | nSET_CONJ(x) |
|
#define | lSET_CONJ(x) |
|
#define | iSET_CONJ(x) |
|
#define | dSET_CONJ(x) |
|
#define | zSET_CONJ(x) |
|
#define | nSET_PROJ_REAL(x) |
|
#define | lSET_PROJ_REAL(x) |
|
#define | iSET_PROJ_REAL(x) |
|
#define | dSET_PROJ_REAL(x) |
|
#define | zSET_PROJ_REAL(x) |
|
#define | nSET_PROJ_IMAG(x) |
|
#define | lSET_PROJ_IMAG(x) |
|
#define | iSET_PROJ_IMAG(x) |
|
#define | dSET_PROJ_IMAG(x) |
|
#define | zSET_PROJ_IMAG(x) |
|
#define | nASSIGN_IDEN(x, y) |
|
#define | lASSIGN_IDEN(x, y) |
|
#define | iASSIGN_IDEN(x, y) |
|
#define | dASSIGN_IDEN(x, y) |
|
#define | zASSIGN_IDEN(x, y) |
|
#define | nASSIGN_CONJ(x, y) |
|
#define | lASSIGN_CONJ(x, y) |
|
#define | iASSIGN_CONJ(x, y) |
|
#define | dASSIGN_CONJ(x, y) |
|
#define | zASSIGN_CONJ(x, y) |
|
#define | nASSIGN_PROJ_REAL(x, y) |
|
#define | lASSIGN_PROJ_REAL(x, y) |
|
#define | iASSIGN_PROJ_REAL(x, y) |
|
#define | dASSIGN_PROJ_REAL(x, y) |
|
#define | zASSIGN_PROJ_REAL(x, y) |
|
#define | nASSIGN_PROJ_IMAG(x, y) |
|
#define | lASSIGN_PROJ_IMAG(x, y) |
|
#define | iASSIGN_PROJ_IMAG(x, y) |
|
#define | dASSIGN_PROJ_IMAG(x, y) |
|
#define | zASSIGN_PROJ_IMAG(x, y) |
|
#define | nINCREMENT_IDEN(x, y) |
|
#define | lINCREMENT_IDEN(x, y) |
|
#define | iINCREMENT_IDEN(x, y) |
|
#define | dINCREMENT_IDEN(x, y) |
|
#define | zINCREMENT_IDEN(x, y) |
|
#define | nINCREMENT_CONJ(x, y) |
|
#define | lINCREMENT_CONJ(x, y) |
|
#define | iINCREMENT_CONJ(x, y) |
|
#define | dINCREMENT_CONJ(x, y) |
|
#define | zINCREMENT_CONJ(x, y) |
|
#define | nDECREMENT_IDEN(x, y) |
|
#define | lDECREMENT_IDEN(x, y) |
|
#define | iDECREMENT_IDEN(x, y) |
|
#define | dDECREMENT_IDEN(x, y) |
|
#define | zDECREMENT_IDEN(x, y) |
|
#define | nDECREMENT_CONJ(x, y) |
|
#define | lDECREMENT_CONJ(x, y) |
|
#define | iDECREMENT_CONJ(x, y) |
|
#define | dDECREMENT_CONJ(x, y) |
|
#define | zDECREMENT_CONJ(x, y) |
|
#define | nMULTIPLY(x, a) |
|
#define | lMULTIPLY(x, a) |
|
#define | iMULTIPLY(x, a) |
|
#define | dMULTIPLY(x, a) |
|
#define | zMULTIPLY(x, a) |
|
#define | nDIVIDE(x, a) |
|
#define | lDIVIDE(x, a) |
|
#define | iDIVIDE(x, a) |
|
#define | dDIVIDE(x, a) |
|
#define | zDIVIDE(x, a) |
|
#define | SWITCH2(c, template) |
|
#define | SWITCH3(c, template) |
|
#define | SWITCH4(c, template) |
|
#define | SWITCH5(c, template) |
|
◆ dASSIGN_CONJ
#define dASSIGN_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 171 of file M5.h.
◆ dASSIGN_IDEN
#define dASSIGN_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 165 of file M5.h.
◆ dASSIGN_PROJ_IMAG
#define dASSIGN_PROJ_IMAG |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 183 of file M5.h.
◆ dASSIGN_PROJ_REAL
#define dASSIGN_PROJ_REAL |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 177 of file M5.h.
◆ dDECREMENT_CONJ
#define dDECREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define dDECREMENT_IDEN(x, y)
Definition at line 272 of file M5.h.
◆ dDECREMENT_IDEN
#define dDECREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
(x) -= (y); \
} while (0)
Definition at line 259 of file M5.h.
◆ dDIVIDE
Value: do { (x) /= a; } while (0)
Definition at line 286 of file M5.h.
◆ dIF_NPATTERN
#define dIF_NPATTERN |
( |
| ... | ) |
|
Value:
Definition at line 51 of file M5.h.
◆ dIFELSE_NPATTERN
#define dIFELSE_NPATTERN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 57 of file M5.h.
◆ dINCREMENT_CONJ
#define dINCREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define dINCREMENT_IDEN(x, y)
Definition at line 229 of file M5.h.
◆ dINCREMENT_IDEN
#define dINCREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
(x) += (y); \
} while (0)
Definition at line 216 of file M5.h.
◆ dMULTIPLY
#define dMULTIPLY |
( |
| x, |
|
|
| a ) |
Value: do { (x) *= a; } while (0)
Definition at line 278 of file M5.h.
◆ dNA
Definition at line 39 of file M5.h.
◆ dNAME
Value:
Definition at line 45 of file M5.h.
◆ dNOT_CONJ
#define dNOT_CONJ |
( |
| x, |
|
|
| y ) |
Value: ((ISNAN(x)) ? !ISNAN(y) : ISNAN(y) || x != y)
Definition at line 114 of file M5.h.
◆ dNOT_IDEN
#define dNOT_IDEN |
( |
| x, |
|
|
| y ) |
Value: ((ISNAN(x)) ? !ISNAN(y) : ISNAN(y) || (x) != (y))
Definition at line 102 of file M5.h.
◆ dNOT_NA
Value:
Definition at line 93 of file M5.h.
◆ dNOT_UNIT
Value:
Definition at line 87 of file M5.h.
◆ dNOT_ZERO
Value:
Definition at line 63 of file M5.h.
◆ dNOT_ZERO_IMAG
#define dNOT_ZERO_IMAG |
( |
| x | ) |
|
Value:
Definition at line 75 of file M5.h.
◆ dNOT_ZERO_REAL
#define dNOT_ZERO_REAL |
( |
| x | ) |
|
Value:
Definition at line 69 of file M5.h.
◆ dNOT_ZERO_TOL
#define dNOT_ZERO_TOL |
( |
| x, |
|
|
| tol ) |
Value:(ISNAN(x) || fabs(x) > tol)
Definition at line 81 of file M5.h.
◆ dPTR
Definition at line 21 of file M5.h.
◆ dSET_CONJ
Definition at line 147 of file M5.h.
◆ dSET_IDEN
Definition at line 141 of file M5.h.
◆ dSET_NA
Value:
Definition at line 135 of file M5.h.
◆ dSET_PROJ_IMAG
#define dSET_PROJ_IMAG |
( |
| x | ) |
|
Value:
Definition at line 159 of file M5.h.
◆ dSET_PROJ_REAL
#define dSET_PROJ_REAL |
( |
| x | ) |
|
Definition at line 153 of file M5.h.
◆ dSET_UNIT
Value:
Definition at line 129 of file M5.h.
◆ dSET_ZERO
Value:
Definition at line 123 of file M5.h.
◆ dTYPE
Definition at line 9 of file M5.h.
◆ dTYPESXP
Definition at line 15 of file M5.h.
◆ dUNIT
Definition at line 33 of file M5.h.
◆ dZERO
Definition at line 27 of file M5.h.
◆ iASSIGN_CONJ
#define iASSIGN_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 170 of file M5.h.
◆ iASSIGN_IDEN
#define iASSIGN_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 164 of file M5.h.
◆ iASSIGN_PROJ_IMAG
#define iASSIGN_PROJ_IMAG |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 182 of file M5.h.
◆ iASSIGN_PROJ_REAL
#define iASSIGN_PROJ_REAL |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 176 of file M5.h.
◆ iDECREMENT_CONJ
#define iDECREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define iDECREMENT_IDEN(x, y)
Definition at line 271 of file M5.h.
◆ iDECREMENT_IDEN
#define iDECREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
if ((x) != NA_INTEGER) { \
if ((y) == NA_INTEGER) \
(x) = NA_INTEGER; \
else if ((y) != 0) { \
if (((y) < 0) \
? ((x) > INT_MAX + (y)) \
: ((x) <= INT_MIN + (y))) { \
Rf_warning(
_(
"NAs produced by integer overflow")); \
(x) = NA_INTEGER; \
} \
else \
(x) -= (y); \
} \
} \
} while (0)
Definition at line 242 of file M5.h.
◆ iDIVIDE
Value:
Definition at line 285 of file M5.h.
◆ iIF_NPATTERN
#define iIF_NPATTERN |
( |
| ... | ) |
|
Value:
Definition at line 50 of file M5.h.
◆ iIFELSE_NPATTERN
#define iIFELSE_NPATTERN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 56 of file M5.h.
◆ iINCREMENT_CONJ
#define iINCREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define iINCREMENT_IDEN(x, y)
Definition at line 228 of file M5.h.
◆ iINCREMENT_IDEN
#define iINCREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
if ((x) != NA_INTEGER) { \
if ((y) == NA_INTEGER) \
(x) = NA_INTEGER; \
else if ((y) != 0) { \
if (((y) > 0) \
? ((x) > INT_MAX - (y)) \
: ((x) <= INT_MIN - (y))) { \
Rf_warning(
_(
"NAs produced by integer overflow")); \
(x) = NA_INTEGER; \
} \
else \
(x) += (y); \
} \
} \
} while (0)
Definition at line 199 of file M5.h.
◆ iMULTIPLY
#define iMULTIPLY |
( |
| x, |
|
|
| a ) |
Value:
Definition at line 277 of file M5.h.
◆ iNA
Definition at line 38 of file M5.h.
◆ iNAME
Value:
Definition at line 44 of file M5.h.
◆ iNOT_CONJ
#define iNOT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 112 of file M5.h.
◆ iNOT_IDEN
#define iNOT_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 100 of file M5.h.
◆ iNOT_NA
Value:
Definition at line 92 of file M5.h.
◆ iNOT_UNIT
Value:
Definition at line 86 of file M5.h.
◆ iNOT_ZERO
Value:
Definition at line 62 of file M5.h.
◆ iNOT_ZERO_IMAG
#define iNOT_ZERO_IMAG |
( |
| x | ) |
|
Value:
Definition at line 74 of file M5.h.
◆ iNOT_ZERO_REAL
#define iNOT_ZERO_REAL |
( |
| x | ) |
|
Value:
Definition at line 68 of file M5.h.
◆ iNOT_ZERO_TOL
#define iNOT_ZERO_TOL |
( |
| x, |
|
|
| tol ) |
Value:
Definition at line 80 of file M5.h.
◆ iPTR
Definition at line 20 of file M5.h.
◆ iSET_CONJ
Definition at line 146 of file M5.h.
◆ iSET_IDEN
Definition at line 140 of file M5.h.
◆ iSET_NA
Value:
Definition at line 134 of file M5.h.
◆ iSET_PROJ_IMAG
#define iSET_PROJ_IMAG |
( |
| x | ) |
|
Value:
Definition at line 158 of file M5.h.
◆ iSET_PROJ_REAL
#define iSET_PROJ_REAL |
( |
| x | ) |
|
Definition at line 152 of file M5.h.
◆ iSET_UNIT
Value:
Definition at line 128 of file M5.h.
◆ iSET_ZERO
Value:
Definition at line 122 of file M5.h.
◆ iTYPE
Definition at line 8 of file M5.h.
◆ iTYPESXP
Definition at line 14 of file M5.h.
◆ iUNIT
Definition at line 32 of file M5.h.
◆ iZERO
Definition at line 26 of file M5.h.
◆ lASSIGN_CONJ
#define lASSIGN_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 169 of file M5.h.
◆ lASSIGN_IDEN
#define lASSIGN_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 163 of file M5.h.
◆ lASSIGN_PROJ_IMAG
#define lASSIGN_PROJ_IMAG |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 181 of file M5.h.
◆ lASSIGN_PROJ_REAL
#define lASSIGN_PROJ_REAL |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 175 of file M5.h.
◆ lDECREMENT_CONJ
#define lDECREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define lDECREMENT_IDEN(x, y)
Definition at line 270 of file M5.h.
◆ lDECREMENT_IDEN
#define lDECREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
if ((y) == NA_LOGICAL) { \
if ((x) == 0) \
(x) = NA_LOGICAL; \
} \
else if ((y) == 0) \
(x) = 1; \
} while (0)
Definition at line 233 of file M5.h.
◆ lDIVIDE
Value:
Definition at line 284 of file M5.h.
◆ lIF_NPATTERN
#define lIF_NPATTERN |
( |
| ... | ) |
|
Value:
Definition at line 49 of file M5.h.
◆ lIFELSE_NPATTERN
#define lIFELSE_NPATTERN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 55 of file M5.h.
◆ lINCREMENT_CONJ
#define lINCREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define lINCREMENT_IDEN(x, y)
Definition at line 227 of file M5.h.
◆ lINCREMENT_IDEN
#define lINCREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
if ((y) == NA_LOGICAL) { \
if ((x) == 0) \
(x) = NA_LOGICAL; \
} \
else if ((y) != 0) \
(x) = 1; \
} while (0)
Definition at line 190 of file M5.h.
◆ lMULTIPLY
#define lMULTIPLY |
( |
| x, |
|
|
| a ) |
Value:
Definition at line 276 of file M5.h.
◆ lNA
Definition at line 37 of file M5.h.
◆ lNAME
Value:
Definition at line 43 of file M5.h.
◆ lNOT_CONJ
#define lNOT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 110 of file M5.h.
◆ lNOT_IDEN
#define lNOT_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 98 of file M5.h.
◆ lNOT_NA
Value:
Definition at line 91 of file M5.h.
◆ lNOT_UNIT
Value:((x) == 0 || (x) == NA_LOGICAL)
Definition at line 85 of file M5.h.
◆ lNOT_ZERO
Value:
Definition at line 61 of file M5.h.
◆ lNOT_ZERO_IMAG
#define lNOT_ZERO_IMAG |
( |
| x | ) |
|
Value:
Definition at line 73 of file M5.h.
◆ lNOT_ZERO_REAL
#define lNOT_ZERO_REAL |
( |
| x | ) |
|
Value:
Definition at line 67 of file M5.h.
◆ lNOT_ZERO_TOL
#define lNOT_ZERO_TOL |
( |
| x, |
|
|
| tol ) |
Value:
Definition at line 79 of file M5.h.
◆ lPTR
Definition at line 19 of file M5.h.
◆ lSET_CONJ
Definition at line 145 of file M5.h.
◆ lSET_IDEN
Definition at line 139 of file M5.h.
◆ lSET_NA
Value:
Definition at line 133 of file M5.h.
◆ lSET_PROJ_IMAG
#define lSET_PROJ_IMAG |
( |
| x | ) |
|
Value:
Definition at line 157 of file M5.h.
◆ lSET_PROJ_REAL
#define lSET_PROJ_REAL |
( |
| x | ) |
|
Definition at line 151 of file M5.h.
◆ lSET_UNIT
Value:
Definition at line 127 of file M5.h.
◆ lSET_ZERO
Value:
Definition at line 121 of file M5.h.
◆ lTYPE
Definition at line 7 of file M5.h.
◆ lTYPESXP
Definition at line 13 of file M5.h.
◆ lUNIT
Definition at line 31 of file M5.h.
◆ lZERO
Definition at line 25 of file M5.h.
◆ nASSIGN_CONJ
#define nASSIGN_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 168 of file M5.h.
◆ nASSIGN_IDEN
#define nASSIGN_IDEN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 162 of file M5.h.
◆ nASSIGN_PROJ_IMAG
#define nASSIGN_PROJ_IMAG |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 180 of file M5.h.
◆ nASSIGN_PROJ_REAL
#define nASSIGN_PROJ_REAL |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 174 of file M5.h.
◆ nDECREMENT_CONJ
#define nDECREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define nDECREMENT_IDEN(x, y)
Definition at line 269 of file M5.h.
◆ nDECREMENT_IDEN
#define nDECREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Definition at line 232 of file M5.h.
◆ nDIVIDE
Value:
Definition at line 283 of file M5.h.
◆ nIF_NPATTERN
#define nIF_NPATTERN |
( |
| ... | ) |
|
Definition at line 48 of file M5.h.
◆ nIFELSE_NPATTERN
#define nIFELSE_NPATTERN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 54 of file M5.h.
◆ nINCREMENT_CONJ
#define nINCREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
#define nINCREMENT_IDEN(x, y)
Definition at line 226 of file M5.h.
◆ nINCREMENT_IDEN
#define nINCREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
(x) = 1; \
} while (0)
Definition at line 186 of file M5.h.
◆ nMULTIPLY
#define nMULTIPLY |
( |
| x, |
|
|
| a ) |
Value:
Definition at line 275 of file M5.h.
◆ nNA
Definition at line 36 of file M5.h.
◆ nNAME
Value:
Definition at line 42 of file M5.h.
◆ nNOT_CONJ
#define nNOT_CONJ |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 108 of file M5.h.
◆ nNOT_IDEN
#define nNOT_IDEN |
( |
| x, |
|
|
| y ) |
Value: (((x) != 0) != ((y) != 0))
Definition at line 96 of file M5.h.
◆ nNOT_NA
Value:
Definition at line 90 of file M5.h.
◆ nNOT_UNIT
Value:
Definition at line 84 of file M5.h.
◆ nNOT_ZERO
Value:
Definition at line 60 of file M5.h.
◆ nNOT_ZERO_IMAG
#define nNOT_ZERO_IMAG |
( |
| x | ) |
|
Value:
Definition at line 72 of file M5.h.
◆ nNOT_ZERO_REAL
#define nNOT_ZERO_REAL |
( |
| x | ) |
|
Value:
Definition at line 66 of file M5.h.
◆ nNOT_ZERO_TOL
#define nNOT_ZERO_TOL |
( |
| x, |
|
|
| tol ) |
Value:
Definition at line 78 of file M5.h.
◆ nPTR
Definition at line 18 of file M5.h.
◆ nSET_CONJ
Definition at line 144 of file M5.h.
◆ nSET_IDEN
Definition at line 138 of file M5.h.
◆ nSET_NA
Value:
Definition at line 132 of file M5.h.
◆ nSET_PROJ_IMAG
#define nSET_PROJ_IMAG |
( |
| x | ) |
|
Value:
Definition at line 156 of file M5.h.
◆ nSET_PROJ_REAL
#define nSET_PROJ_REAL |
( |
| x | ) |
|
Definition at line 150 of file M5.h.
◆ nSET_UNIT
Value:
Definition at line 126 of file M5.h.
◆ nSET_ZERO
Value:
Definition at line 120 of file M5.h.
◆ nTYPE
Definition at line 6 of file M5.h.
◆ nTYPESXP
Definition at line 12 of file M5.h.
◆ nUNIT
Definition at line 30 of file M5.h.
◆ nZERO
Definition at line 24 of file M5.h.
◆ SWITCH2
#define SWITCH2 |
( |
| c, |
|
|
| template ) |
◆ SWITCH3
#define SWITCH3 |
( |
| c, |
|
|
| template ) |
Value:do { \
case 'n': \
case 'l': \
case 'i': template(i); break; \
case 'd': template(d); break; \
case 'z': template(z); break; \
default: break; \
} \
} while (0)
Definition at line 303 of file M5.h.
◆ SWITCH4
#define SWITCH4 |
( |
| c, |
|
|
| template ) |
Value:do { \
case 'n': \
case 'l': template(l); break; \
case 'i': template(i); break; \
case 'd': template(d); break; \
case 'z': template(z); break; \
default: break; \
} \
} while (0)
Definition at line 315 of file M5.h.
Referenced by dense_as_general(), dense_as_packed(), dense_as_unpacked(), dense_band(), dense_diag_get(), dense_diag_set(), dense_force_canonical(), dense_force_symmetric(), dense_is_diagonal(), dense_is_triangular(), dense_subscript_2ary(), dense_transpose(), diagonal_as_dense(), diagonal_as_sparse(), diagonal_as_Vector(), diagonal_subscript_2ary(), index_as_dense(), matrix_as_dense(), R_nnz(), sparse_as_Tsparse(), sparse_diag_set(), sparse_dropzero(), sparse_force_canonical(), vector_as_dense(), and vector_as_Vector().
◆ SWITCH5
#define SWITCH5 |
( |
| c, |
|
|
| template ) |
Value:do { \
case 'n': template(n); break; \
case 'l': template(l); break; \
case 'i': template(i); break; \
case 'd': template(d); break; \
case 'z': template(z); break; \
default: break; \
} \
} while (0)
Definition at line 327 of file M5.h.
Referenced by bindArgs(), dense_as_sparse(), dense_force_canonical(), dense_is_canonical(), dense_is_symmetric(), dense_subscript_1ary(), dense_subscript_1ary_2col(), diagonal_as_sparse(), diagonal_as_Vector(), diagonal_subscript_1ary(), diagonal_subscript_1ary_2col(), sparse_aggregate(), sparse_as_Csparse(), sparse_as_dense(), sparse_as_general(), sparse_as_Rsparse(), sparse_as_Vector(), sparse_band(), sparse_diag_get(), sparse_diag_set(), sparse_force_symmetric(), sparse_is_symmetric(), sparse_subscript_1ary(), sparse_subscript_1ary_2col(), sparse_subscript_2ary(), sparse_transpose(), Vector_as_sparse(), and vector_as_Vector().
◆ zASSIGN_CONJ
#define zASSIGN_CONJ |
( |
| x, |
|
|
| y ) |
◆ zASSIGN_IDEN
#define zASSIGN_IDEN |
( |
| x, |
|
|
| y ) |
◆ zASSIGN_PROJ_IMAG
#define zASSIGN_PROJ_IMAG |
( |
| x, |
|
|
| y ) |
Value:((x).r = 0.0, (x).i = (y).i)
Definition at line 184 of file M5.h.
◆ zASSIGN_PROJ_REAL
#define zASSIGN_PROJ_REAL |
( |
| x, |
|
|
| y ) |
◆ zDECREMENT_CONJ
#define zDECREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:do { (x).r -= (y).r; (x).i += (y).i; } while (0)
Definition at line 273 of file M5.h.
◆ zDECREMENT_IDEN
#define zDECREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
(x).r -= (y).r; \
(x).i -= (y).i; \
} while (0)
Definition at line 263 of file M5.h.
◆ zDIVIDE
Value: do { (x).r /= a; (x).i /= a; } while (0)
Definition at line 288 of file M5.h.
◆ zIF_NPATTERN
#define zIF_NPATTERN |
( |
| ... | ) |
|
Value:
Definition at line 52 of file M5.h.
◆ zIFELSE_NPATTERN
#define zIFELSE_NPATTERN |
( |
| x, |
|
|
| y ) |
Value:
Definition at line 58 of file M5.h.
◆ zINCREMENT_CONJ
#define zINCREMENT_CONJ |
( |
| x, |
|
|
| y ) |
Value:do { (x).r += (y).r; (x).i -= (y).i; } while (0)
Definition at line 230 of file M5.h.
◆ zINCREMENT_IDEN
#define zINCREMENT_IDEN |
( |
| x, |
|
|
| y ) |
Value: do { \
(x).r += (y).r; \
(x).i += (y).i; \
} while (0)
Definition at line 220 of file M5.h.
◆ zMULTIPLY
#define zMULTIPLY |
( |
| x, |
|
|
| a ) |
Value: do { (x).r *= a; (x).i *= a; } while (0)
Definition at line 280 of file M5.h.
◆ zNA
Definition at line 40 of file M5.h.
◆ zNAME
Value:
Definition at line 46 of file M5.h.
◆ zNOT_CONJ
#define zNOT_CONJ |
( |
| x, |
|
|
| y ) |
Value: (((ISNAN((x).r)) ? !ISNAN((y).r) : ISNAN((y).r) || (x).r != (y).r) || \
((ISNAN((x).i)) ? !ISNAN((y).i) : ISNAN((y).i) || (x).i != -(y).i))
Definition at line 116 of file M5.h.
Referenced by sparse_is_symmetric().
◆ zNOT_IDEN
#define zNOT_IDEN |
( |
| x, |
|
|
| y ) |
Value: (((ISNAN((x).r)) ? !ISNAN((y).r) : ISNAN((y).r) || (x).r != (y).r) || \
((ISNAN((x).i)) ? !ISNAN((y).i) : ISNAN((y).i) || (x).i != (y).i))
Definition at line 104 of file M5.h.
◆ zNOT_NA
Value:(!ISNAN((x).r) && !ISNAN((x).i))
Definition at line 94 of file M5.h.
◆ zNOT_UNIT
Value:((x).r != 1.0 || (x).i != 0.0)
Definition at line 88 of file M5.h.
◆ zNOT_ZERO
◆ zNOT_ZERO_IMAG
#define zNOT_ZERO_IMAG |
( |
| x | ) |
|
◆ zNOT_ZERO_REAL
#define zNOT_ZERO_REAL |
( |
| x | ) |
|
Value:
Definition at line 70 of file M5.h.
◆ zNOT_ZERO_TOL
#define zNOT_ZERO_TOL |
( |
| x, |
|
|
| tol ) |
Value:(ISNAN((x).r) || ISNAN((x).i) || hypot((x).r, (x).i) > tol)
Definition at line 82 of file M5.h.
◆ zPTR
Definition at line 22 of file M5.h.
◆ zSET_CONJ
Value:
Definition at line 148 of file M5.h.
◆ zSET_IDEN
Definition at line 142 of file M5.h.
◆ zSET_NA
Value:
Definition at line 136 of file M5.h.
◆ zSET_PROJ_IMAG
#define zSET_PROJ_IMAG |
( |
| x | ) |
|
Value:
Definition at line 160 of file M5.h.
◆ zSET_PROJ_REAL
#define zSET_PROJ_REAL |
( |
| x | ) |
|
Value:
Definition at line 154 of file M5.h.
◆ zSET_UNIT
Value:
Definition at line 130 of file M5.h.
◆ zSET_ZERO
Value:
Definition at line 124 of file M5.h.
◆ zTYPE
Definition at line 10 of file M5.h.
◆ zTYPESXP
Definition at line 16 of file M5.h.
◆ zUNIT
Definition at line 34 of file M5.h.
◆ zZERO
Definition at line 28 of file M5.h.