NFloat.SinCos(NFloat) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算值的正弦值和余弦值。
public:
static ValueTuple<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat> SinCos(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::SinCos;
public static (System.Runtime.InteropServices.NFloat Sin, System.Runtime.InteropServices.NFloat Cos) SinCos (System.Runtime.InteropServices.NFloat x);
static member SinCos : System.Runtime.InteropServices.NFloat -> ValueTuple<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>
Public Shared Function SinCos (x As NFloat) As ValueTuple(Of NFloat, NFloat)
参数
- x
- NFloat
要计算其正弦和余弦的值(以弧度为单位)。
返回
的正弦值和余弦值 x
。
实现
注解
这会计算 (sin(x), cos(x))
。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈