NFloat.CosPi(NFloat) Methode

Definition

Berechnet den Kosinus eines Werts, der mit pimultimultiziert wurde.

public:
 static System::Runtime::InteropServices::NFloat CosPi(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::CosPi;
public static System.Runtime.InteropServices.NFloat CosPi (System.Runtime.InteropServices.NFloat x);
static member CosPi : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function CosPi (x As NFloat) As NFloat

Parameter

x
NFloat

Der Wert in Halbdrehungen, dessen Kosinuswert berechnet werden soll.

Gibt zurück

Der Kosinus von x multipliziert mit pi.

Implementiert

Hinweise

Dadurch wird berechnet cos(x * π).

Gilt für: