Tensor.Cos Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Cos<T>(Tensor<T>) | |
Cos<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Cos<T>(Tensor<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::ITrigonometricFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ Cos(System::Numerics::Tensors::Tensor<T> ^ input);
public static System.Numerics.Tensors.Tensor<T> Cos<T> (System.Numerics.Tensors.Tensor<T> input) where T : System.Numerics.ITrigonometricFunctions<T>;
static member Cos : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)> (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)
Public Function Cos(Of T As ITrigonometricFunctions(Of T)) (input As Tensor(Of T)) As Tensor(Of T)
Type Parameters
- T
Parameters
- input
- Tensor<T>
Returns
Applies to
Cos<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
public:
generic <typename T>
where T : System::Numerics::ITrigonometricFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ Cos(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Cos<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.ITrigonometricFunctions<T>;
static member Cos : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.ITrigonometricFunctions<'T>)
Public Function Cos(Of T As ITrigonometricFunctions(Of T)) (ByRef input As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Type Parameters
- T
Parameters
- input
- ReadOnlyTensorSpan<T>
- destination
- TensorSpan<T>
Returns
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir