Community Profile # Cem Gormezano

Last seen: mehr als 2 Jahre vor Aktiv seit 2020

#### Statistiken

• • • Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

Sparse matrix multiplication complexity and CPU time
I am multiplying two sparse matrices \$A\$ and \$A^T\$ such that I have \$A^T*A\$. From what I know the complexity of this operation d...

mehr als 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Given a vector, I would like to sample without replacement elements from it repeatedly.
Given a (m x 1) vector v , I would like to ,randomly without replacement, sample s elements from it. I know I can use randsample...

fast 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Given that A is a sparse matrix, norm(A(i,:)) takes a very long time. Why and can one do better ?
I am computing norm(A(i,:)) within a loop, where A is a sparse matrix. This seems to be a bottleneck, is there anyway to perfor...

fast 3 Jahre vor | 3 Antworten | 0

### 3

Antworten

Frage

C = union( A,B ) is too slow. Is there any faster way given that A and B are ordered.
I have two sorted arrays A and B. I want to find the elements that are both in A and B. I am using union function, yet this seem...

fast 3 Jahre vor | 4 Antworten | 0

### 4

Antworten

Frage

Preallocating a sparse matrix, then entering values column by column takes too much time. Is there a more efficient way ?
At the beginning of the loop, I preallocate the sparse matrix (Q) with a number of non zero values that I do not exceed within t...

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Which is more efficient when applied to a sparse matrix, find or logical indexing ?
Given a sparse matrix, I would like to get its non-zero entries. I would like to know if using find function is an efficient way...

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

MEX/Lapack/Blas problem
I don't have technical background, I am just trying to configure a solver called Blendenpik (https://uk.mathworks.com/matlabcent...

fast 3 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

What is the convergence criteria used in MATLAB lsqr function ?
I am using LSQR to solve Ax = b, where A is not consistent. I know that lsqr will give me the minimum residual solution. I am wo...

fast 3 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Does MATLAB qr function employ the SuiteSparseQR (multifrontal multithreaded sparse QR factorization) in SuiteSparse ?
I am using the function [Q,R,P] = qr(A,0) to have a rank-revealing qr factorization of sparse matrix A. I am wondering if MATLAB...

fast 3 Jahre vor | 0 Antworten | 0

Antworten