tan 函数

tan 函数

Tangent of an argument in radians

正切,一个弧度的自变量。

Syntax

语法

Y = tan(X)

Description

描述

The tan function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.

tan函数在阵列上的操作元素方法。函数的区域和区间包括复数。所有的弧度中的方面。

Y = tan(X) returns the circular tangent of each element of X.

Y=tan(X)返回X的每个元素的正切。

Examples

例如:

Graph the tangent function over the domain  .

正切在区间上的函数图像。

x = (-pi/2)+0.01:0.01:(pi/2)-0.01;

plot(x,tan(x)), grid on

The expression tan(pi/2) does not evaluate as infinite but as the reciprocal of the floating point accuracy eps since pi is only a floating-point approximation to the exact value of .

表达式tan(pi/2)没有认定为无穷大但是作为浮点精度的对等eps 正弦pi仅仅是一个浮点逼近的强制值。

Definition

定义

The tangent can be defined as

正切能够被定义为

Algorithm

算法

tan uses FDLIBM, which was developed at SunSoft, a Sun Microsystems, Inc. business, by Kwok C. Ng, and others. For information about FDLIBM, see http://www.netlib.org.

tan使用FDLIBM,其是在sunsoft发展,一个sun microsystemsinc。公司,通过KwokC.Ng,和其他人。关于FDLIBM的信息,查阅http://www.netlib.org.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值