Matrix r5059
|
Go to the source code of this file.
Macros | |
#define | MATRIX_SUBASSIGN_VERBOSE |
Functions | |
SEXP | Csparse_subassign (SEXP x, SEXP i_, SEXP j_, SEXP value) |
Subassignment: x[i,j] <- value. | |
#define MATRIX_SUBASSIGN_VERBOSE |
SEXP Csparse_subassign | ( | SEXP | x, |
SEXP | i_, | ||
SEXP | j_, | ||
SEXP | value ) |
Subassignment: x[i,j] <- value.
x | |
i_ | integer row index 0-origin vector (as returned from R .ind.prep2()) |
j_ | integer column index 0-origin vector |
value | must be a [dln]sparseVector {which is recycled if needed} |
but — in the case of x slot put a 0 zero there, and only at the very end drop them,
Definition at line 122 of file t_subassign.c.
References _, GET_SLOT, Matrix_diagSym, Matrix_DimNamesSym, Matrix_DimSym, Matrix_iSym, Matrix_lengthSym, Matrix_pSym, Matrix_uploSym, Matrix_xSym, newObject(), SET_SLOT, x_complex, x_double, x_integer, x_logical, and x_pattern.