[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.math-log.html [Back]  [Original]

Unity - Scripting API: Unity.Mathematics.math.log
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    math.log

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Declaration

    public static float log(float x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    float The natural logarithm of the input.

    Description

    Returns the natural logarithm of a float value.


    Declaration

    public static float2 log(float2 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    float2 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a float2 vector.


    Declaration

    public static float3 log(float3 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    float3 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a float3 vector.


    Declaration

    public static float4 log(float4 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    float4 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a float4 vector.


    Declaration

    public static double log(double x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    double The natural logarithm of the input.

    Description

    Returns the natural logarithm of a double value.


    Declaration

    public static double2 log(double2 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    double2 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a double2 vector.


    Declaration

    public static double3 log(double3 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    double3 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a double3 vector.


    Declaration

    public static double4 log(double4 x);

    Parameters

    Parameter Description
    x Input value.

    Returns

    double4 The componentwise natural logarithm of the input.

    Description

    Returns the componentwise natural logarithm of a double4 vector.


    Declaration

    public static quaternion log(quaternion q);

    Parameters

    Parameter Description
    q The quaternion.

    Returns

    quaternion The natural logarithm of the input quaternion.

    Description

    Returns the natural logarithm of a quaternion.


    Web Proxy Viewer  |  New URL  |  Original Page