shz_vec4_dot2
SHZ_INLINE shz_vec2_t shz_vec4_dot2(shz_vec4_t l, shz_vec4_t r1, shz_vec4_t r2) SHZ_NOEXCEPT;Returns the two dot products taken between the 4D vector l and 4D vectors r1 and r2.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
l | shz_vec4_t | |
r1 | shz_vec4_t | |
r2 | shz_vec4_t |
Returns
Section titled “Returns”shz_vec2_t
Naming and requirements
Section titled “Naming and requirements”dot2/dot3: Computes 2 or 3 dot products of one left-hand side against several right-hand sides in one pipelinedFIPRsequence. (Naming and Suffixes)
Availability
Section titled “Availability”- C++ equivalent: none (call the C function from C++)
- Type-generic form:
shz_vec_dot2() - Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:487 - Module: Vector, section "Binary Operations"