SingularValueDecomposition - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

DeepLearning,Tensor,SingularValueDecomposition

compute singular value decomposition of a Tensor

 Calling Sequence SingularValueDecomposition(x,opts)

Parameters

 x - Tensor opts - zero or more options as specified below

Options

 • name=string

The value of option name specifies an optional name for this Tensor, to be displayed in output and when visualizing the dataflow graph.

Description

 • The SingularValueDecomposition(x,opts) or SVD(x,opts) commands compute a singular value decomposition of one or more matrices in x

Examples

 > $\mathrm{with}\left(\mathrm{DeepLearning}\right):$
 > $t≔\mathrm{Constant}\left(\mathrm{LinearAlgebra}:-\mathrm{VandermondeMatrix}\left(⟨3.,5.,7.⟩\right)\right)$
 ${t}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[3, 3\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (1)
 > $\mathrm{SingularValueDecomposition}\left(t\right)$
 $\left[\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[3\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]{,}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[3, 3\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]{,}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[3, 3\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]\right]$ (2)

Compatibility

 • The DeepLearning,Tensor,SingularValueDecomposition command was introduced in Maple 2018.
 • For more information on Maple 2018 changes, see Updates in Maple 2018.