Groups
Groups
Sign in
Groups
Groups
CVXOPT
Conversations
About
Send feedback
Help
In-place diagonal matrix multiplication
73 views
Skip to first unread message
JTK
unread,
Feb 2, 2021, 9:22:05 AM
2/2/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CVXOPT
Hi - If d is an mx1 matrix, and B is an mxn dense matrix, is there an efficient way to leverage BLAS to update B in place to diag(d)*B?
Thanks,
--Jeff
Martin
unread,
Feb 8, 2021, 8:06:43 AM
2/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CVXOPT
You can use cvxopt.blas.tbmv() to scale each column of B in place. AFAIK there is no matrix-matrix variant of this function in BLAS.
Martin
Jeffery Kline
unread,
Feb 9, 2021, 8:45:54 AM
2/9/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cvx...@googlegroups.com
Ok, thank you. I found a satisfactory solution. Perhaps there is a
good solution often enough that such functionality isn't needed.
Thanks,
--Jeff
> --
> You received this message because you are subscribed to the Google Groups "CVXOPT" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
cvxopt+un...@googlegroups.com
.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/cvxopt/38ea65c4-1ab0-47e4-9399-31590c77ab25n%40googlegroups.com
.
Reply all
Reply to author
Forward
0 new messages