Matrix r5059
Loading...
Searching...
No Matches
utils.c File Reference
#include "Mdefines.h"

Go to the source code of this file.

Functions

char * Matrix_sprintf (const char *format,...)
 
int equalString (SEXP s1, SEXP s2, R_xlen_t n)
 
SEXP duplicateVector (SEXP x)
 
SEXP allocZero (SEXPTYPE type, R_xlen_t length)
 
SEXP allocUnit (SEXPTYPE type, R_xlen_t length)
 
SEXP allocSeqInt (int from, R_xlen_t length)
 
void naToUnit (SEXP x)
 

Function Documentation

◆ allocSeqInt()

SEXP allocSeqInt ( int from,
R_xlen_t length )

Definition at line 141 of file utils.c.

Referenced by diagonal_as_sparse().

◆ allocUnit()

SEXP allocUnit ( SEXPTYPE type,
R_xlen_t length )

◆ allocZero()

SEXP allocZero ( SEXPTYPE type,
R_xlen_t length )

Definition at line 69 of file utils.c.

Referenced by dense_skewpart(), diagonal_as_sparse(), and sparse_skewpart().

◆ duplicateVector()

◆ equalString()

int equalString ( SEXP s1,
SEXP s2,
R_xlen_t n )

◆ Matrix_sprintf()

char * Matrix_sprintf ( const char * format,
... )

Definition at line 18 of file utils.c.

References Matrix_ErrorBufferSize.

◆ naToUnit()

void naToUnit ( SEXP x)