search for: _fully

Displaying 2 results from an estimated 2 matches for "_fully".

Did you mean: fully
2008 Jan 08
1
storing matrices in a list or vector and preserve dimensions
...their structure. I should be able to retrieve the matrix from the list later on. If I just append() the matrices to a list() object, they automatically lose their dimensions, whereas I would like to preserve the dimensions of the matrices. Is there any function in R which allows me to store a _fully preserved_ object inside a list() or vector() structure? thanks in advance, Bram Kuijper PS: this is what I do: # two matrices, which are my objects to be put in the list my_matrix_object1 <- matrix(data=rep(1,times=9),nrow=3,ncol=3); my_matrix_object2 <- matrix(data=rep(0,times=9),nr...
2016 Jan 10
3
coerce SEXP type to C++ matrix class and back
Dear all, I am testing a simple C++ function that takes a double matrix as argument and which uses routines provided by the C++ Armadillo package. I am aware of the nice capabilities of Rcpp and RcppArmadillo which helps simplifying a lot and that I have already successfully tested. However, I had a hard time trying to figure out how the coercion from a REALSPX matrix to an arma::mat =