logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

length - Vector length.

Authors

TheKhronosGroup

Description

       Returns the length of vector p, i.e., the square root of (p.x2 + p.y2 + ...)

Name

       length - Vector length.

       floatlength(floatnp);doublelength(doublenp);halflength (gentypep)      // if half extension
       enabled

Notes

        1. OpenCL Specification
           page 262, section 6.12.5 - Geometric Functions

The Khronos Group                                  11/18/2024                                       LENGTH(3clc)

See Also

geometricFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also