Difference between revisions of "Error Messages/40412"

(Created page with '= Error Message Examples = In SingularValueDecomp, index Index3 must be the same length as index Index2. = Cause = The indexes passed as the third and fourth parameter to…')
 
m
Line 7: Line 7:
 
The indexes passed as the third and fourth parameter to [[SingularValueDecomp]] did not have the same length.
 
The indexes passed as the third and fourth parameter to [[SingularValueDecomp]] did not have the same length.
  
 
+
The [[SingularValueDecomp|SingularValueDecomp(a, i, j, j2)]] function decomposes the passed matrix, a, to matrices U.W.V. <br>
 
+
Where, U is indexed by i and j, W is a diagonal matrix indexed by j and j2 and V is indexed by j and j2, and
You may have switched the second and the third parameter to the function.
+
size(i) > size(j)
 +
size(j) = size(j2)
  
 
= Remedies =
 
= Remedies =
  
Correct the parameters passed to the [[SingularValueDecomp]] function so that the length of the second parameter (number of rows of the matrix) is at least as long as the length of the third parameter (number of columns of the matrix).
+
Correct the fourth parameter, j2, passed to the [[SingularValueDecomp]] function so that its length is equal to the length of the third parameter, j.
  
 
<br><comments />
 
<br><comments />

Revision as of 18:47, 26 January 2010

Error Message Examples

In SingularValueDecomp, index Index3 must be the same length as index Index2.

Cause

The indexes passed as the third and fourth parameter to SingularValueDecomp did not have the same length.

The SingularValueDecomp(a, i, j, j2) function decomposes the passed matrix, a, to matrices U.W.V.
Where, U is indexed by i and j, W is a diagonal matrix indexed by j and j2 and V is indexed by j and j2, and

size(i) > size(j)
size(j) = size(j2)

Remedies

Correct the fourth parameter, j2, passed to the SingularValueDecomp function so that its length is equal to the length of the third parameter, j.



You are not allowed to post comments.

Comments
<comments />