Opened 5 years ago
Closed 5 years ago
#885 closed enhancement (fixed)
reuse blas_result in assignment from Matrix Expression
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.15 |
Component: | utility | Version: | trunk |
Keywords: | Cc: |
Description
Rather than using the tmp gsl_matrix returned from MatrixExpression?, pass in the blas_result_
and assign to that, and then in end of assignment swap blas_result_
and m_
. In the case that matrix does not change dimension (relatively common case), allocations can be avoided.
Change History (2)
comment:1 Changed 5 years ago by
Owner: | changed from Jari Häkkinen to Peter |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [3653]) closes #885. Change interface of MatrixExpression? so we can assign data to a passed gsl_matrix (blas_result_) and avoid memory allocation when not needed