Determinant - Maple Help

DeepLearning,Tensor,Determinant

compute determinant of a Tensor

DeepLearning,Tensor,MatrixInverse

compute matrix inverse of a Tensor

DeepLearning,Tensor,Norm

compute norm of a Tensor

DeepLearning,Tensor,Trace

compute trace of a Tensor

DeepLearning,Tensor,Transpose

compute transpose of a Tensor

 Calling Sequence Determinant(x,opts) MatrixInverse(x,opts) Norm(x,ord,opts) Trace(x,opts) Transpose(x,opts)

Parameters

 x - Tensor ord - (optional) a positive real number, infinity, or Frobenius, the norm to use 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 Determinant(x,opts) command computes the Determinant of the Tensor x.
 • The MatrixInverse(x,opts) command computes the matrix inverse of x.
 • The Norm(x,ord,opts) command computes the norm of x using norm ord.
 • The Trace(x,opts) command computes the trace of the Tensor x.
 • The Transpose(x,opts) command computes the transpose of the Tensor x.

Examples

 > $\mathrm{with}\left(\mathrm{DeepLearning}\right):$
 > $M≔\mathrm{LinearAlgebra}:-\mathrm{VandermondeMatrix}\left(⟨3.,5.,7.⟩\right)$
 ${M}{≔}\left[\begin{array}{ccc}{1.0}& {3.}& {9.}\\ {1.0}& {5.}& {25.}\\ {1.0}& {7.}& {49.}\end{array}\right]$ (1)
 > $t≔\mathrm{Constant}\left(M\right)$
 ${t}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: undefined}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (2)
 > $\mathrm{det}≔\mathrm{Determinant}\left(t\right)$
 ${\mathrm{det}}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: \left[\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (3)
 > $\mathrm{tr}≔\mathrm{Trace}\left(t\right)$
 ${\mathrm{tr}}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: \left[\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (4)
 > $\mathrm{Norm}\left(t,2\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: \left[\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (5)
 > $\mathrm{Norm}\left(t,\mathrm{\infty }\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: \left[\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (6)

Compatibility

 • The DeepLearning,Tensor,Determinant, DeepLearning,Tensor,MatrixInverse, DeepLearning,Tensor,Norm, DeepLearning,Tensor,Trace and DeepLearning,Tensor,Transpose commands were introduced in Maple 2018.