Displaying 3 results from an estimated 3 matches for "q_c".
Did you mean:
_c
2018 Feb 02
1
R-gui sessions end when executing C-code
...PROTECT(v); n_prot++;
PROTECT(psi); n_prot++;
double *v_c; v_c = REAL(v);
double *psi_c; psi_c = REAL(psi);
/* Initialize new vectors not given as input */
SEXP q_copy = PROTECT(duplicate(q)); n_prot++;
double *q_c; q_c = REAL(q_copy);
SEXP q_new = PROTECT(allocVector(REALSXP,length(q))); n_prot++;
double *q_new_c; q_new_c = REAL(q_new);
SEXP eta = PRO...
2010 Jul 19
3
concatenating column names in a loop
...to create a new matrix with column names based on the column names
in x. Specifically, I would like the column names in y to be "q_" plus the
corresponding column name in x. So y[,1] should be named "q_a", y[,2] should be
names "q_b", and y[,3] should be named "q_c".
Here is the code I am trying:
y <- matrix(nrow = nrow(x), ncol = ncol(x))
for (i in 1:ncol(x)){
colnames(y)[i] <- paste("q_", (colnames(x)[i]), sep = "")
}
Alas, it does not work. I get the following error (from the console window):
Error in dimnames(x) &l...
2013 Nov 02
2
[PATCH] curve25519-sha256@libssh.org key exchange proposal
Am 02.11.2013 um 11:38 schrieb Aris Adamantiadis <aris at 0xbadc0de.be>:
> RFC4251 describes mpint to be multi-size and with positive values having
> MSB clear, so it's clearly incompatible with raw string.
>
> Since you both agreed on the curve25519 implementation to use, I'll work
> today on Markus' patch to make the changes Damien wanted.
What do you want to