Displaying 2 results from an estimated 2 matches for "tripletmatrix".
2004 Aug 31
2
Sparse Matrices in R
I have data in i,j,r format,
where r is the value in location A[i,j] for some imaginary matrix A.
I need to build this matrix A, but given the sizes of i and j, I believe that using a sparse format would be most adequate.
Hopefully this will allow me to perform some basic matrix manipulation such as multiplication, addition, rowsums, transpositions, subsetting etc etc.
Is there any way
2004 Jun 25
2
Matrix: Help with syntax and comparison with SparseM
Hi,
I am writing some basic smoothers in R for cleaning some spectral data.
I wanted to see if I could get close to matlab for speed, so I was
trying to compare SparseM
with Matrix to see which could do the choleski decomposition the
fastest.
Here is the function using SparseM
difsm <- function(y, lambda, d){
# Smoothing with a finite difference penalty
# y: signal to be smoothed
#