https://github.com/cran/Matrix
Raw File
Tip revision: 064f27d90fcbda7122d5b74508651e2917cc3feb authored by Doug and Martin on 17 October 2011, 00:00:00 UTC
version 1.0-1
Tip revision: 064f27d
abIndex.c
/* C-level Methods for the ``abstract Index'' class
 *
 * Note: this heavily builds on ideas and code from  Jens Oehlschlaegel,
 * ----  as implemented (in the GPL'ed part of) package 'ff'.
 */

#include "abIndex.h"

/**
 * RLE (Run Length Encoding) -- only when it's worth
 *
 * @param x  R vector   which can be coerced to "integer"
 *
 * @return NULL or a valid R object of class "rle"
 */
#define _rle_d_
#include "t_Matrix_rle.c"
#undef _rle_d_

#define _rle_i_
#include "t_Matrix_rle.c"
#undef _rle_i_
back to top