Displaying 12 results from an estimated 12 matches for "tsparse".
Did you mean:
sparse
2016 Apr 20
0
Matrix: How create a _row-oriented_ sparse Matrix (=dgRMatrix)?
.... . . .
> [3,] . . . . .
> [4,] . . . . .
> [5,] . . . . .
The reason for the above behavior has been
a) efficiency. All the subassignment ( `[<-` ) methods for
"RsparseMatrix" objects (of which "dsRMatrix" is a special case)
are implemented via TsparseMatrix.
b) because of the general attitude that Csparse (and Tsparse to
some extent) are well supported in Matrix,
and e.g. further operations on Rsparse matrices would *again*
go via T* or C* sparse ones, I had decided to keep things Tsparse.
[...]
> Trying with explicit coercion...
2016 Apr 19
2
Matrix: How create a _row-oriented_ sparse Matrix (=dgRMatrix)?
Using the Matrix package, how can I create a row-oriented sparse
Matrix from scratch populated with some data? By default a
column-oriented one is created and I'm aware of the note that the
package is optimized for column-oriented ones, but I'm only interested
in using it for holding my sparse row-oriented data and doing basic
subsetting by rows (even using drop=FALSE).
Here is what I
2020 Jul 21
2
trivial typo in ?Matrix::sparse.model.matrix.Rd
? "form" -> "from". Diff against latest SVN:
Index: sparse.model.matrix.Rd
===================================================================
--- sparse.model.matrix.Rd??? (revision 3336)
+++ sparse.model.matrix.Rd??? (working copy)
@@ -4,7 +4,7 @@
?\alias{fac2sparse}
?\alias{fac2Sparse}
?\description{Construct a sparse model or \dQuote{design} matrix,
-? form a formula
2007 May 03
1
Issue with the Matrix package
Hi all,
I am wondering if this is a bug in the Matrix package or if it something
that I am just getting wrong...here is an example:
> m = matrix(0,4,4)
> dimnames(m) = list(letters[1:4], letters[5:8])
> r = c("a","b","a","d")
> m[r,2] = 1
> m
e f g h
a 0 1 0 0
b 0 1 0 0
c 0 0 0 0
d 0 1 0 0
> M = Matrix(0,4,4)
> dimnames(M) =
2009 Feb 11
1
Problem with R using pgi compiler on x86_64
...iler (8.0.2) for
AMD64 on a SLES9 system.
When I try to install "Matrix" everything is fine until the last step.
make[1]: Leaving directory `/tmp/R.INSTALL.TW3399/Matrix/src/AMD'
pgCC -L/usr/lib64 -L/usr/X11R6/lib64 -pgf90libs -o Matrix.so
CHMfactor.o Csparse.o TMatrix_as.o Tsparse.o init.o Mutils.o
chm_common.o cs.o cs_utils.o dense.o dgCMatrix.o dgTMatrix.o dgeMatrix.o
dpoMatrix.o dppMatrix.o dsCMatrix.o dsyMatrix.o dspMatrix.o dtCMatrix.o
dtTMatrix.o dtrMatrix.o dtpMatrix.o factorizations.o ldense.o
lgCMatrix.o sparseQR.o SPQR.a CHOLMOD.a COLAMD.a AMD.a
-L/usr/local/a...
2010 Dec 01
1
Install package 'Matrix' problem
...s solstudio12.2. Attached is the configure script.
I then tried to install a recommended package called Matrix. The compilation failed with the following messages,
.......
CC -library=stlport4 -G -L/opt/csw/lib/sparcv9 -L/opt/solstudio12.2/prod/lib/v9 -o Matrix.so CHMfactor.o Csparse.o TMatrix_as.o Tsparse.o init.o Mutils.o chm_common.o cs.o cs_utils.o dense.o dgCMatrix.o dgTMatrix.o dgeMatrix.o dpoMatrix.o dppMatrix.o dsCMatrix.o dsyMatrix.o dspMatrix.o dtCMatrix.o dtTMatrix.o dtrMatrix.o dtpMatrix.o factorizations.o ldense.o lgCMatrix.o sparseQR.o abIndex.o CHOLMOD.a COLAMD.a AMD.a -L/apps/sparcv9/...
2009 Oct 24
1
operations on sparse matrices, and dense intermediary steps
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm doing some basic operations on large sparse matrices, for example
getting a row.
it takes close to 30 seconds on a 3Ghz machine, and shots the memory
usage up to the sky.
I suspect there are dense intermediary steps (which, if true would
defeat the purpose of trying to use sparse representaitons).
As much as I try understanding the
2009 Feb 21
1
R-devel/Linux x64/Sun Studio 12: Problem with Matrix
...s, with the exception of package
Matrix where compilation crashes with the following message. The error
occurs during building of the recommended packages and also if Matrix is
compiled separately:
[...]
CC -G -lCstd -L/opt/sun/sunstudio12/lib/amd64 -o Matrix.so CHMfactor.o
Csparse.o TMatrix_as.o Tsparse.o init.o Mutils.o chm_common.o cs.o
cs_utils.o dense.o dgCMatrix.o dgTMatrix.o dgeMatrix.o dpoMatrix.o
dppMatrix.o dsCMatrix.o dsyMatrix.o dspMatrix.o dtCMatrix.o dtTMatrix.o
dtrMatrix.o dtpMatrix.o factorizations.o ldense.o lgCMatrix.o sparseQR.o
CHOLMOD.a COLAMD.a AMD.a -L/home/user/R/R-devel/lib...
2009 Feb 11
1
Compiling Matrix on Solaris 10 x86-64 Sun Studio 12
...lude -I/usr/include -I/usr/sfw/include -KPIC -O -I/opt/SUNWspro/prod/include -c TMatrix_as.c -o TMatrix_as.o
cc -m64 -I/home/choid/bin/R281/lib/R/include -I./UFconfig -I/usr/local/include -I/opt/SUNWspro/prod/include -I/usr/include -I/usr/sfw/include -KPIC -O -I/opt/SUNWspro/prod/include -c Tsparse.c -o Tsparse.o
cc -m64 -I/home/choid/bin/R281/lib/R/include -I./UFconfig -I/usr/local/include -I/opt/SUNWspro/prod/include -I/usr/include -I/usr/sfw/include -KPIC -O -I/opt/SUNWspro/prod/include -c init.c -o init.o
cc -m64 -I/home/choid/bin/R281/lib/R/include -I./UFconfig -I/usr/local/include -...
2020 Jul 21
3
trivial typo in ?Matrix::sparse.model.matrix.Rd
..., there will be another improvement there,
> deprecating 'giveCsparse = TRUE'
> and replacing it by 'repr = "C"'
>
> the latter allowing all three kind of sparseMatrix formats
> ("C", "R", "T") instead of just Csparse* and Tsparse*.
????? How I can learn more about this, including (a) 'repr = ("C", "R",
"T")', (b) how it creeps into my code, and (c) when I can expect to see it?
????? I'm running R 4.0.2, and "?sparse.model.matrix" on a fresh
session generates "...
2009 Jan 20
1
Creating a Sparse Matrix from a Sparse Vector
Hello,
I am working with a sparse matrix that is approx. 13,900 by 14,100. My
goal is to select a row out of the matrix and create a new matrix with that
row repeated 13,900 times without having to do any looping. Example:
Starting Matrix:
exampleMatrix
3 x 4 sparse Matrix of class "dgCMatrix"
[1,] 1 . . .
[2,] . 1 . 0.5
[3,] . . 1 ..
New Matrix:..
newExampleMatrix
3 x 4 sparse
2016 Jan 04
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
The bulk is on my forums - the final post for today is:
Results to date:
A. It looks like I am going to need a newer compiler for C - xlc/xlC V11
apparently does not understand this code:
"/data/prj/cran/R-3.2.3/src/main/memory.c", line 2149.31: 1506-046 (S)
Syntax error.
I will have to check if R-devel has different code before asking for
assistence.
+2139 #ifdef