- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I'm trying to solve a large scale sparse least square problem by using normal equations A'Ax=A'b
And i am stuck with constructing the matrix A'A .
I'm using sparse blas function mkl_dcsrmultcsr for A'A(is this the right choice ?)
the problem is that i have to pre-allocate the resulting matrix in memory but this is too large.
what are the solutions in this situation ?
i remember there is a techinque for not constructing the A'A explicitely. but i can't find it anymore.
otherwise is there a mkl sparse function that multiplies two sparse matrix and return another sparse matrix ?
thanks in advance
I'm trying to solve a large scale sparse least square problem by using normal equations A'Ax=A'b
And i am stuck with constructing the matrix A'A .
I'm using sparse blas function mkl_dcsrmultcsr for A'A(is this the right choice ?)
the problem is that i have to pre-allocate the resulting matrix in memory but this is too large.
what are the solutions in this situation ?
i remember there is a techinque for not constructing the A'A explicitely. but i can't find it anymore.
otherwise is there a mkl sparse function that multiplies two sparse matrix and return another sparse matrix ?
thanks in advance
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - jaewonj
-The mkl_dcsrmultcsr takes two sparse matrces as input and returns a sparse matrix.
See this thread and scroll down to Sergey's response for useful details.
A.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - liunsteingmail.com
Hi all
I'm trying to solve a large scale sparse least square problem by using normal equations A'Ax=A'b
And i am stuck with constructing the matrix A'A .
I'm using sparse blas function mkl_dcsrmultcsr for A'A(is this the right choice ?)
the problem is that i have to pre-allocate the resulting matrix in memory but this is too large.
what are the solutions in this situation ?
i remember there is a techinque for not constructing the A'A explicitely. but i can't find it anymore.
otherwise is there a mkl sparse function that multiplies two sparse matrix and return another sparse matrix ?
thanks in advance
I'm trying to solve a large scale sparse least square problem by using normal equations A'Ax=A'b
And i am stuck with constructing the matrix A'A .
I'm using sparse blas function mkl_dcsrmultcsr for A'A(is this the right choice ?)
the problem is that i have to pre-allocate the resulting matrix in memory but this is too large.
what are the solutions in this situation ?
i remember there is a techinque for not constructing the A'A explicitely. but i can't find it anymore.
otherwise is there a mkl sparse function that multiplies two sparse matrix and return another sparse matrix ?
thanks in advance
Q. otherwise is there a mkl sparse function that multiplies two sparse matrix and return another sparse matrix ?
-The mkl_dcsrmultcsr takes two sparse matrces as input and returns a sparse matrix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - jaewonj
-The mkl_dcsrmultcsr takes two sparse matrces as input and returns a sparse matrix.
See this thread and scroll down to Sergey's response for useful details.
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page