--- layout: stdlib-reference --- # CoopVec\\.div ## Description Performs component-wise division with another cooperative vector. ## Signature
CoopVec<T, N> CoopVec<T, int N>.div(CoopVec<T, N> other)
    where T : __BuiltinArithmeticType;

CoopVec<T, N> CoopVec<T, N>.div(CoopVec<T, N> other)
    where T : __BuiltinFloatingPointType;

## Parameters #### other : [CoopVec](index.html)\<[T](index.html#typeparam-T), [N](index.html#decl-N)\> The cooperative vector to divide this vector by. ## Return value A new cooperative vector containing the quotient of the two vectors. ## Availability and Requirements Defined for the following targets: #### hlsl Available in all stages. #### glsl Available in all stages. #### cpp Available in all stages. #### cuda Available in all stages. #### spirv Available in all stages. Requires capability: `spvCooperativeVectorNV`.