[ matlisp-Bugs-3527162 ] SVD gives an error: The function (COMMON-LISP:SETF MATLISP:D
SourceForge.net <[email protected]> Tue, 29 May 2012 11:12:46 -0700
| Newsgroups | gmane.lisp.matlisp.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3527162, was opened at 2012-05-15 23:15 Message generated for change (Comment added) made by akssri You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104511&aid=3527162&group_id=4511 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Tzaddi (tzaddi) >Assigned to: Akshay Srinivasan (akssri) Summary: SVD gives an error: The function (COMMON-LISP:SETF MATLISP:D Initial Comment: It looks like setf (diag ...) is not defined properly or is not in the correct package. When I run svd with job :a I get: The function (COMMON-LISP:SETF MATLISP:DIAG) is undefined. ---------------------------------------------------------------------- >Comment By: Akshay Srinivasan (akssri) Date: 2012-05-29 11:12 Message: Fixed in the matlisp-cffi branch. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2012-05-29 10:59 Message: You should be doing: (copy! s (diag~ s1 0)) I'll add a setf-able method to the branch. We decided to use "~" (like the "!") to refer to functions which give out matrix-slices. ---------------------------------------------------------------------- Comment By: Tzaddi (tzaddi) Date: 2012-05-15 23:28 Message: I found the definition in tensor.lisp, but am not sure why it can't be used in svd.lisp. So, I substituted the expansion in place in the svd method definition and now I get a new error when running svd with job :a Arguments X,Y to COPY! are of different dimensions. Where I substutite I found the definition in tensor.lisp, but am not sure why it can't be used in svd.lisp. So, I substituted the expansion in place in the svd method definition and now I get a new error when running svd with job :a Arguments X,Y to COPY! are of different dimensions. Where I substutite (copy! s (diag s1 0)) for (setf (diag s1) s). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104511&aid=3527162&group_id=4511 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/