GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Macros | |
#define | FULL_SPARSE_MUL(RET_TYPE, EL_TYPE, ZERO) |
#define | FULL_SPARSE_MUL_TRANS(RET_TYPE, EL_TYPE, ZERO, CONJ_OP) |
#define | SPARSE_ALL_OP(DIM) |
#define | SPARSE_ANY_ALL_OP(DIM, INIT_VAL, MT_RESULT, TEST_OP, TEST_TRUE_VAL) |
#define | SPARSE_ANY_ALL_OP_COL_CODE(TEST_OP, TEST_TRUE_VAL) |
#define | SPARSE_ANY_ALL_OP_ROW_CODE(TEST_OP, TEST_TRUE_VAL) |
#define | SPARSE_ANY_OP(DIM) SPARSE_ANY_ALL_OP (DIM, false, false, !=, true) |
#define | SPARSE_BASE_REDUCTION_OP(RET_TYPE, EL_TYPE, ROW_EXPR, COL_EXPR, INIT_VAL, MT_RESULT) |
#define | SPARSE_CUMPROD(RET_TYPE, ELT_TYPE, FCN) |
#define | SPARSE_CUMSUM(RET_TYPE, ELT_TYPE, FCN) |
#define | SPARSE_FULL_MUL(RET_TYPE, EL_TYPE, ZERO) |
#define | SPARSE_FULL_TRANS_MUL(RET_TYPE, EL_TYPE, ZERO, CONJ_OP) |
#define | SPARSE_MSM_BIN_OP_1(R, F, OP, M1, M2) |
#define | SPARSE_MSM_BIN_OP_2(R, F, OP, M1, M2) |
#define | SPARSE_MSM_BIN_OPS(R1, R2, M1, M2) |
#define | SPARSE_MSM_BOOL_OP(F, OP, M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_MSM_BOOL_OPS(M1, M2, ZERO) SPARSE_MSM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
#define | SPARSE_MSM_BOOL_OPS2(M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_MSM_CMP_OP(F, OP, M1, C1, M2, C2) |
#define | SPARSE_MSM_CMP_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_MSM_EQNE_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_REDUCTION_OP(RET_TYPE, EL_TYPE, OP, INIT_VAL, MT_RESULT) |
#define | SPARSE_REDUCTION_OP_COL_EXPR(OP) tmp[j] OP data (i) |
#define | SPARSE_REDUCTION_OP_ROW_EXPR(OP) tmp[ridx (i)] OP data (i) |
#define | SPARSE_SMM_BIN_OP_1(R, F, OP, M1, M2) |
#define | SPARSE_SMM_BIN_OP_2(R, F, OP, M1, M2) |
#define | SPARSE_SMM_BIN_OP_2_CHECK_product(ET) do_mx_check (m2, mx_inline_all_finite<ET>) |
#define | SPARSE_SMM_BIN_OP_2_CHECK_quotient(ET) ! do_mx_check (m2, mx_inline_any_nan<ET>) && m2.nnz () == m2.numel () |
#define | SPARSE_SMM_BIN_OPS(R1, R2, M1, M2) |
#define | SPARSE_SMM_BOOL_OP(F, OP, M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMM_BOOL_OPS(M1, M2, ZERO) SPARSE_SMM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
#define | SPARSE_SMM_BOOL_OPS2(M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMM_CMP_OP(F, OP, M1, C1, M2, C2) |
#define | SPARSE_SMM_CMP_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_SMM_EQNE_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_SMS_BIN_OP_1(R, F, OP, M, S) |
#define | SPARSE_SMS_BIN_OP_2(R, F, OP, M, S) |
#define | SPARSE_SMS_BIN_OPS(R1, R2, M, S) |
#define | SPARSE_SMS_BOOL_OP(F, OP, M, S, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMS_BOOL_OPS(M, S, ZERO) SPARSE_SMS_BOOL_OPS2(M, S, ZERO, ZERO) |
#define | SPARSE_SMS_BOOL_OPS2(M, S, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMS_CMP_OP(F, OP, M, MZ, MC, S, SZ, SC) |
#define | SPARSE_SMS_CMP_OPS(M, MZ, CM, S, SZ, CS) |
#define | SPARSE_SMS_EQNE_OPS(M, MZ, CM, S, SZ, CS) |
#define | SPARSE_SMSM_BIN_OP_1(R, F, OP, M1, M2) |
#define | SPARSE_SMSM_BIN_OP_2(R, F, OP, M1, M2) |
#define | SPARSE_SMSM_BIN_OP_3(R, F, OP, M1, M2) |
#define | SPARSE_SMSM_BIN_OPS(R1, R2, M1, M2) |
#define | SPARSE_SMSM_BOOL_OP(F, OP, M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMSM_BOOL_OPS(M1, M2, ZERO) SPARSE_SMSM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
#define | SPARSE_SMSM_BOOL_OPS2(M1, M2, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SMSM_CMP_OP(F, OP, M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_SMSM_CMP_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_SMSM_EQNE_OPS(M1, Z1, C1, M2, Z2, C2) |
#define | SPARSE_SPARSE_MUL(RET_TYPE, RET_EL_TYPE, EL_TYPE) |
#define | SPARSE_SSM_BIN_OP_1(R, F, OP, S, M) |
#define | SPARSE_SSM_BIN_OP_2(R, F, OP, S, M) |
#define | SPARSE_SSM_BIN_OPS(R1, R2, S, M) |
#define | SPARSE_SSM_BOOL_OP(F, OP, S, M, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SSM_BOOL_OPS(S, M, ZERO) SPARSE_SSM_BOOL_OPS2(S, M, ZERO, ZERO) |
#define | SPARSE_SSM_BOOL_OPS2(S, M, LHS_ZERO, RHS_ZERO) |
#define | SPARSE_SSM_CMP_OP(F, OP, S, SZ, SC, M, MZ, MC) |
#define | SPARSE_SSM_CMP_OPS(S, SZ, SC, M, MZ, MC) |
#define | SPARSE_SSM_EQNE_OPS(S, SZ, SC, M, MZ, MC) |
#define FULL_SPARSE_MUL | ( | RET_TYPE, | |
EL_TYPE, | |||
ZERO | |||
) |
Definition at line 1934 of file Sparse-op-defs.h.
Referenced by operator*().
#define FULL_SPARSE_MUL_TRANS | ( | RET_TYPE, | |
EL_TYPE, | |||
ZERO, | |||
CONJ_OP | |||
) |
Definition at line 1970 of file Sparse-op-defs.h.
Referenced by mul_herm(), and mul_trans().
#define SPARSE_ALL_OP | ( | DIM | ) |
Definition at line 1683 of file Sparse-op-defs.h.
Referenced by SparseBoolMatrix::all(), SparseMatrix::all(), and SparseComplexMatrix::all().
#define SPARSE_ANY_ALL_OP | ( | DIM, | |
INIT_VAL, | |||
MT_RESULT, | |||
TEST_OP, | |||
TEST_TRUE_VAL | |||
) |
Definition at line 1677 of file Sparse-op-defs.h.
#define SPARSE_ANY_ALL_OP_COL_CODE | ( | TEST_OP, | |
TEST_TRUE_VAL | |||
) |
Definition at line 1670 of file Sparse-op-defs.h.
#define SPARSE_ANY_ALL_OP_ROW_CODE | ( | TEST_OP, | |
TEST_TRUE_VAL | |||
) |
Definition at line 1666 of file Sparse-op-defs.h.
#define SPARSE_ANY_OP | ( | DIM | ) | SPARSE_ANY_ALL_OP (DIM, false, false, !=, true) |
Definition at line 1692 of file Sparse-op-defs.h.
Referenced by SparseMatrix::any(), and SparseComplexMatrix::any().
Definition at line 1525 of file Sparse-op-defs.h.
Referenced by SparseMatrix::sumsq(), and SparseComplexMatrix::sumsq().
#define SPARSE_CUMPROD | ( | RET_TYPE, | |
ELT_TYPE, | |||
FCN | |||
) |
Definition at line 1469 of file Sparse-op-defs.h.
Referenced by SparseMatrix::cumprod(), and SparseComplexMatrix::cumprod().
#define SPARSE_CUMSUM | ( | RET_TYPE, | |
ELT_TYPE, | |||
FCN | |||
) |
Definition at line 1400 of file Sparse-op-defs.h.
Referenced by SparseMatrix::cumsum(), and SparseComplexMatrix::cumsum().
#define SPARSE_FULL_MUL | ( | RET_TYPE, | |
EL_TYPE, | |||
ZERO | |||
) |
Definition at line 1863 of file Sparse-op-defs.h.
Referenced by operator*().
#define SPARSE_FULL_TRANS_MUL | ( | RET_TYPE, | |
EL_TYPE, | |||
ZERO, | |||
CONJ_OP | |||
) |
Definition at line 1898 of file Sparse-op-defs.h.
Referenced by herm_mul(), and trans_mul().
#define SPARSE_MSM_BIN_OP_1 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 981 of file Sparse-op-defs.h.
#define SPARSE_MSM_BIN_OP_2 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 1004 of file Sparse-op-defs.h.
#define SPARSE_MSM_BIN_OPS | ( | R1, | |
R2, | |||
M1, | |||
M2 | |||
) |
Definition at line 1054 of file Sparse-op-defs.h.
#define SPARSE_MSM_BOOL_OP | ( | F, | |
OP, | |||
M1, | |||
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 1124 of file Sparse-op-defs.h.
#define SPARSE_MSM_BOOL_OPS | ( | M1, | |
M2, | |||
ZERO | |||
) | SPARSE_MSM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
Definition at line 1182 of file Sparse-op-defs.h.
#define SPARSE_MSM_BOOL_OPS2 | ( | M1, | |
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 1178 of file Sparse-op-defs.h.
Definition at line 1060 of file Sparse-op-defs.h.
#define SPARSE_MSM_CMP_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 1112 of file Sparse-op-defs.h.
#define SPARSE_MSM_EQNE_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 1120 of file Sparse-op-defs.h.
#define SPARSE_REDUCTION_OP | ( | RET_TYPE, | |
EL_TYPE, | |||
OP, | |||
INIT_VAL, | |||
MT_RESULT | |||
) |
Definition at line 1657 of file Sparse-op-defs.h.
Referenced by SparseMatrix::prod(), SparseComplexMatrix::prod(), SparseMatrix::sum(), and SparseComplexMatrix::sum().
#define SPARSE_REDUCTION_OP_COL_EXPR | ( | OP | ) | tmp[j] OP data (i) |
Definition at line 1654 of file Sparse-op-defs.h.
#define SPARSE_REDUCTION_OP_ROW_EXPR | ( | OP | ) | tmp[ridx (i)] OP data (i) |
Definition at line 1651 of file Sparse-op-defs.h.
#define SPARSE_SMM_BIN_OP_1 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 1187 of file Sparse-op-defs.h.
#define SPARSE_SMM_BIN_OP_2 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 1218 of file Sparse-op-defs.h.
#define SPARSE_SMM_BIN_OP_2_CHECK_product | ( | ET | ) | do_mx_check (m2, mx_inline_all_finite<ET>) |
Definition at line 1211 of file Sparse-op-defs.h.
#define SPARSE_SMM_BIN_OP_2_CHECK_quotient | ( | ET | ) | ! do_mx_check (m2, mx_inline_any_nan<ET>) && m2.nnz () == m2.numel () |
Definition at line 1215 of file Sparse-op-defs.h.
#define SPARSE_SMM_BIN_OPS | ( | R1, | |
R2, | |||
M1, | |||
M2 | |||
) |
Definition at line 1267 of file Sparse-op-defs.h.
#define SPARSE_SMM_BOOL_OP | ( | F, | |
OP, | |||
M1, | |||
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 1337 of file Sparse-op-defs.h.
#define SPARSE_SMM_BOOL_OPS | ( | M1, | |
M2, | |||
ZERO | |||
) | SPARSE_SMM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
Definition at line 1395 of file Sparse-op-defs.h.
#define SPARSE_SMM_BOOL_OPS2 | ( | M1, | |
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 1391 of file Sparse-op-defs.h.
Definition at line 1273 of file Sparse-op-defs.h.
#define SPARSE_SMM_CMP_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 1325 of file Sparse-op-defs.h.
#define SPARSE_SMM_EQNE_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 1333 of file Sparse-op-defs.h.
Definition at line 34 of file Sparse-op-defs.h.
Definition at line 49 of file Sparse-op-defs.h.
#define SPARSE_SMS_BIN_OPS | ( | R1, | |
R2, | |||
M, | |||
S | |||
) |
Definition at line 71 of file Sparse-op-defs.h.
Definition at line 126 of file Sparse-op-defs.h.
#define SPARSE_SMS_BOOL_OPS | ( | M, | |
S, | |||
ZERO | |||
) | SPARSE_SMS_BOOL_OPS2(M, S, ZERO, ZERO) |
Definition at line 170 of file Sparse-op-defs.h.
#define SPARSE_SMS_BOOL_OPS2 | ( | M, | |
S, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 166 of file Sparse-op-defs.h.
Definition at line 77 of file Sparse-op-defs.h.
#define SPARSE_SMS_CMP_OPS | ( | M, | |
MZ, | |||
CM, | |||
S, | |||
SZ, | |||
CS | |||
) |
Definition at line 114 of file Sparse-op-defs.h.
#define SPARSE_SMS_EQNE_OPS | ( | M, | |
MZ, | |||
CM, | |||
S, | |||
SZ, | |||
CS | |||
) |
Definition at line 122 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BIN_OP_1 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 317 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BIN_OP_2 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 433 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BIN_OP_3 | ( | R, | |
F, | |||
OP, | |||
M1, | |||
M2 | |||
) |
Definition at line 531 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BIN_OPS | ( | R1, | |
R2, | |||
M1, | |||
M2 | |||
) |
Definition at line 651 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BOOL_OP | ( | F, | |
OP, | |||
M1, | |||
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 839 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BOOL_OPS | ( | M1, | |
M2, | |||
ZERO | |||
) | SPARSE_SMSM_BOOL_OPS2(M1, M2, ZERO, ZERO) |
Definition at line 976 of file Sparse-op-defs.h.
#define SPARSE_SMSM_BOOL_OPS2 | ( | M1, | |
M2, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 972 of file Sparse-op-defs.h.
Definition at line 660 of file Sparse-op-defs.h.
#define SPARSE_SMSM_CMP_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 824 of file Sparse-op-defs.h.
#define SPARSE_SMSM_EQNE_OPS | ( | M1, | |
Z1, | |||
C1, | |||
M2, | |||
Z2, | |||
C2 | |||
) |
Definition at line 832 of file Sparse-op-defs.h.
#define SPARSE_SPARSE_MUL | ( | RET_TYPE, | |
RET_EL_TYPE, | |||
EL_TYPE | |||
) |
Definition at line 1694 of file Sparse-op-defs.h.
Referenced by operator*().
Definition at line 175 of file Sparse-op-defs.h.
Definition at line 191 of file Sparse-op-defs.h.
#define SPARSE_SSM_BIN_OPS | ( | R1, | |
R2, | |||
S, | |||
M | |||
) |
Definition at line 213 of file Sparse-op-defs.h.
Definition at line 268 of file Sparse-op-defs.h.
#define SPARSE_SSM_BOOL_OPS | ( | S, | |
M, | |||
ZERO | |||
) | SPARSE_SSM_BOOL_OPS2(S, M, ZERO, ZERO) |
Definition at line 312 of file Sparse-op-defs.h.
#define SPARSE_SSM_BOOL_OPS2 | ( | S, | |
M, | |||
LHS_ZERO, | |||
RHS_ZERO | |||
) |
Definition at line 308 of file Sparse-op-defs.h.
Definition at line 219 of file Sparse-op-defs.h.
#define SPARSE_SSM_CMP_OPS | ( | S, | |
SZ, | |||
SC, | |||
M, | |||
MZ, | |||
MC | |||
) |
Definition at line 256 of file Sparse-op-defs.h.
#define SPARSE_SSM_EQNE_OPS | ( | S, | |
SZ, | |||
SC, | |||
M, | |||
MZ, | |||
MC | |||
) |
Definition at line 264 of file Sparse-op-defs.h.