argument - Maple Help

DeepLearning,Tensor,argument

compute the argument of entries in a Tensor

DeepLearning,Tensor,conjugate

compute the complex conjugate of entries in a Tensor

DeepLearning,Tensor,real

compute the real part of entries in a Tensor

DeepLearning,Tensor,imag

compute the imaginary part of entries in a Tensor

 Calling Sequence argument(t,opts) conjugate(t,opts) real(t,opts) imag(t,opts)

Parameters

 t - 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 argument(t,opts) command computes the argument of entries in a Tensor.
 • The conjugate(t,opts) command computes the complex conjugate of entries in a Tensor.
 • The real(t,opts) command computes the real part of entries in a Tensor.
 • The imag(t,opts) command computes the imaginary part of entries in a Tensor.

Examples

 > $\mathrm{with}\left(\mathrm{DeepLearning}\right):$
 > $V≔⟨2.1+0.5I,3.0+0.75I⟩$
 ${V}{≔}\left[\begin{array}{c}{2.1}{+}{0.5}{}{I}\\ {3.0}{+}{0.75}{}{I}\end{array}\right]$ (1)
 > $t≔\mathrm{Constant}\left(V\right)$
 ${t}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: complex\left[8\right]}}\end{array}\right]$ (2)
 > $\mathrm{argument}\left(t\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (3)
 > $\stackrel{&conjugate0;}{t}$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: complex\left[8\right]}}\end{array}\right]$ (4)
 > $\mathrm{real}\left(t\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (5)
 > $\mathrm{imag}\left(t\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (6)

Compatibility

 • The DeepLearning,Tensor,argument, DeepLearning,Tensor,conjugate, DeepLearning,Tensor,real and DeepLearning,Tensor,imag commands were introduced in Maple 2018.