acos 函数

来源:互联网 发布:ps做gif导出设置优化 编辑:程序博客网 时间:2024/04/29 21:00

acos 函数

Inverse cosine, result in radians

反余弦,弧度中的结果

Syntax

语法

Y = acos(X)

Description

描述

Y = acos(X) returns the inverse cosine (arccosine) for each element of X. For real elements of X in the domain , acos(X) is real and in the range . For real elements of X outside the domain ,acos(X) is complex.

Y=acos(X)返回X的每个元素的反余弦(arccosine)。X的实数元素在区域,acos(X)是实际并且在区间。X的实际元素在区间之外,acos(X)是复合的。

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

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

Examples

例如:

Graph the inverse cosine function over the domain .

反余弦在区间的函数图像。

x = -1:.05:1;

plot(x,acos(x)), grid on

Definition

定义

The inverse cosine can be defined as

反余弦能够被定义为

Algorithm

算法

acos 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.

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