Redigera

Dela via


ITrigonometricFunctions<TSelf>.CosPi(TSelf) Method

Definition

Computes the cosine of a value that has been multipled by pi.

public:
 static TSelf CosPi(TSelf x);
public static abstract TSelf CosPi (TSelf x);
static member CosPi : 'Self -> 'Self
Public Shared Function CosPi (x As TSelf) As TSelf

Parameters

x
TSelf

The value, in half-revolutions, whose cosine is to be computed.

Returns

TSelf

The cosine of x multiplied-by pi.

Remarks

This computes cos(x * π).

Applies to