DeepLearning/Tensor/sin, cos, ... - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

DeepLearning/Tensor/sin, cos, ...

compute trigonometric functions over entries of a tensor

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

sin(x,opts)      cos(x,opts)      tan(x,opts)

sec(x,opts)      csc(x,opts)      cot(x,opts)

sinh(x,opts)     cosh(x,opts)     tanh(x,opts)

sech(x,opts)     csch(x,opts)     coth(x,opts)

arcsin(x,opts)   arccos(x,opts)   arctan(x,opts)

arcsec(x,opts)   arccsc(x,opts)   arccot(x,opts)

arcsinh(x,opts)  arccosh(x,opts)  arctanh(x,opts)

arcsech(x,opts)  arccsch(x,opts)  arccoth(x,opts)

arctan(y,x,opts)

Parameters

x

-

Tensor

y

-

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 sin(x,opts) command computes the sine of elements across a Tensor.

• 

The cos(x,opts) command computes the cosine of elements across a Tensor.

• 

The tan(x,opts) command computes the tangent of elements across a Tensor.

• 

The sec(x,opts) command computes the secant of elements across a Tensor.

• 

The csc(x,opts) command computes the cosecant of elements across a Tensor.

• 

The cot(x,opts) command computes the cotangent of elements across a Tensor.

• 

The sinh(x,opts) command computes the hyperbolic sine of elements across a Tensor.

• 

The cosh(x,opts) command computes the hyperbolic cosine of elements across a Tensor.

• 

The tanh(x,opts) command computes the hyperbolic tangent of elements across a Tensor.

• 

The sech(x,opts) command computes the hyperbolic secant of elements across a Tensor.

• 

The csch(x,opts) command computes the hyperbolic cosecant of elements across a Tensor.

• 

The coth(x,opts) command computes the hyperbolic cotangent of elements across a Tensor.

• 

The arcsin, arccos, arctan, arcsec, arccsc, and arccot commands compute the inverse trigonometric functions.

• 

The arcsinh, arccosh, arctanh, arcsech, arccsch, and arccoth commands compute the inverse hyperbolic trigonometric functions.

• 

The arctan(y,x) computes the inverse tangent of y/x, similar to arctan.

Examples

withDeepLearning:

xConstant0.,1.57,3.141592,5.7,datatype=float4:

sessSession

sessDeepLearning Session<tensorflow.python.client.session.Session object at 0x7f84506dae50>

(1)

sess:-Runsinx

0.0.9999997019767766.2783294652035710−7−0.550685703754425

(2)

sess:-Runsechx

1.0.3988279700279240.08626678586006160.00669185724109411

(3)

Compatibility

• 

The DeepLearning/Tensor/sin, cos, ... command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

DeepLearning Overview

invtrig

trig