Difference between revisions of "Error Messages/41042"

(Created page with '= Error Message Examples = The third and fourth parameters of SingularValueDecomp specify the same index. They must specify two different indexes of the same length. = Ca…')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Error Message Examples =
+
[[Category: Error messages]]
  
  The third and fourth parameters of [[SingularValueDecomp]] specify the same index.
+
== Error message examples ==
 +
 
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 +
  The third and fourth parameters of SingularValueDecomp specify the same index.
 
  They must specify two different indexes of the same length.
 
  They must specify two different indexes of the same length.
 +
</pre>
  
= Cause =
+
== Cause ==
  
The [[SingularValueDecomp|SingularValueDecomp(a, i, j, j2)]] function decomposes the passed matrix, a, to matrices U.W.V. <br>
+
The [[SingularValueDecomp|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)'' and ''size(j) = size(j2)''.
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)
 
  
You have passed the same index to the third and the fourth parameter. The third and fourth parameter must be of the same length, but cannot be the same index as the resulting matrices W and U cannot be indexed by the same index twice.
+
You have passed the same index to the third and the fourth parameter. The third and fourth parameter must be of the same length, but cannot be the same index as the resulting matrices ''W'' and ''U'' cannot be indexed by the same index twice.
  
= Remedies =
+
== Remedies ==
  
 
Define a new index using the function [[CopyIndex]] on the index passed as the third parameter, and pass this new matrix as the fourth parameter.
 
Define a new index using the function [[CopyIndex]] on the index passed as the third parameter, and pass this new matrix as the fourth parameter.
  
<br><comments />
+
==See Also==
 +
* [[Function calls and parameters]]
 +
* [[Matrix functions]]
 +
* [[SingularValueDecomp]]
 +
* [[Arrays and Indexes]]
 +
* [[CopyIndex]]

Latest revision as of 21:49, 6 April 2016


Error message examples

 The third and fourth parameters of SingularValueDecomp specify the same index.
 They must specify two different indexes of the same length.

Cause

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) and size(j) = size(j2).

You have passed the same index to the third and the fourth parameter. The third and fourth parameter must be of the same length, but cannot be the same index as the resulting matrices W and U cannot be indexed by the same index twice.

Remedies

Define a new index using the function CopyIndex on the index passed as the third parameter, and pass this new matrix as the fourth parameter.

See Also

Comments


You are not allowed to post comments.