 DeepLearning,Tensor,argument - Maple Programming Help

Home : Support : Online Help : Programming : DeepLearning Package : Tensors : Operations on Tensors : DeepLearning/Tensor/argument

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{Name: Const:0}}\\ {\mathrm{Shape: \left[2\right]}}\\ {\mathrm{Data Type: complex\left[8\right]}}\end{array}\right]$ (2)
 > $\mathrm{value}\left(\mathrm{argument}\left(t\right)\right)$
 $\left[\begin{array}{c}{0.233743180868901}\\ {0.244978663126864}\end{array}\right]$ (3)
 > $\mathrm{value}\left(\mathrm{conjugate}\left(t\right)\right)$
 $\left[\begin{array}{c}{2.10000000000000}{-}{0.500000000000000}{}{I}\\ {3.}{-}{0.750000000000000}{}{I}\end{array}\right]$ (4)
 > $\mathrm{value}\left(\mathrm{real}\left(t\right)\right)$
 $\left[\begin{array}{c}{2.10000000000000}\\ {3.}\end{array}\right]$ (5)
 > $\mathrm{value}\left(\mathrm{imag}\left(t\right)\right)$
 $\left[\begin{array}{c}{0.500000000000000}\\ {0.750000000000000}\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.