Show / Hide Table of Contents

    Method Acos

    static member Acos: Tensor<'T> -> Tensor<'T>

    Element-wise arccosine (inverse cosine).

    Declaration
    static member Acos: a:Tensor<'T> -> Tensor<'T>
    Parameters
    Type Name Description
    Tensor<'T> a

    The tensor to apply this operation to.

    Returns
    Type Description
    Tensor<'T>

    A new tensor containing the result of this operation.

    Remarks

    Computes the arccosine (inverse cosine) of each element of the specified tensor and returns them as a new tensor. Do not call this function directly; instead use the F# acos function.

    Examples
     let a = HostTensor.ofList [-1.0; 0.0; 1.0]
     let b = acos a // b = [3.15159; 1.57079; 0.0]
    See Also
    member FillAcos: Tensor<'T> -> unit
    static member Cos: Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX