Singular value decomposition: Difference between revisions

Content added Content deleted
(→‎{{header|Wren}}: Replaced existing solution with one which uses GSL.)
Line 243: Line 243:
{{libheader|GNU Scientific Library}}
{{libheader|GNU Scientific Library}}
{{libheader|Wren-fmt}}
{{libheader|Wren-fmt}}
An embedded solution so we can use GSL to perform SVD on any m x n matrix htough the example here is for a 2 x 2 matrix.
An embedded solution so we can use GSL to perform SVD on any m x n matrix though the example here is for a 2 x 2 matrix.
<syntaxhighlight lang="ecmascript">/* svd_emdedded.wren */
<syntaxhighlight lang="ecmascript">/* svd_emdedded.wren */