Displaying 3 results from an estimated 3 matches for "copymatrix".
2010 Apr 21
2
suggestion how to use memcpy in duplicate.c
...memcpy((char *)DATAPTR(s)+i*nt*sizeof(int), (char *)DATAPTR(t),
nt*sizeof(int));
break;
and similar for the other types in copyVector. This won't help regular
vector copies, since those seem to be done by the DUPLICATE_ATOMIC_VECTOR
macro, see next suggestion below, but it should help copyMatrix which calls
copyVector, scan.c which calls copyVector on three lines, dcf.c (once) and
dounzip.c (once).
For the DUPLICATE_ATOMIC_VECTOR macro there is already a comment next to it
:
<FIXME>: surely memcpy would be faster here?
which seems to refer to the for loop :
else { \...
1998 Apr 02
1
attributes now inherited
...) {
**************************************************************************
*** Defn.h Thu Jan 8 20:42:58 1998
--- /net/aster/R/src/include/Defn.h Wed Apr 1 16:49:55 1998
***************
*** 459,464 ****
--- 459,465 ----
SEXP cons(SEXP, SEXP);
void copyListMatrix(SEXP, SEXP, int);
void copyMatrix(SEXP, SEXP, int);
+ SEXP copyMostAttrib(SEXP, SEXP);
void copyVector(SEXP, SEXP);
SEXP CreateTag(SEXP);
void CustomPrintValue(SEXP);
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Sen...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...--------------------------------------------------------------
c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c array.c -o array.o
cc-1185 c89: WARNING File = array.c, Line = 98
An enumerated type is mixed with another type.
copyMatrix(snr, vals, byrow);
^
cc-1185 c89: WARNING File = array.c, Line = 100
An enumerated type is mixed with another type.
copyListMatrix(snr, vals, byrow);
^
----------------------------------------------------------------------...