OUTERPRODUCT(3G)

    .SH "NAME" outerProduct - calculate the outer product of a pair of vectors
    .SH "DECLARATION"

            .HP u mat2 outerProduct(vec2 c, vec2 r);
            .HP u mat3 outerProduct(vec3 c, vec3 r);
            .HP u mat4 outerProduct(vec4 c, vec4 r);
            .HP u mat2x3 outerProduct(vec3 c, vec2 r);
            .HP u mat3x2 outerProduct(vec2 c, vec3 r);
            .HP u mat2x4 outerProduct(vec4 c, vec2 r);
            .HP u mat4x2 outerProduct(vec2 c, vec4 r);
            .HP u mat3x4 outerProduct(vec4 c, vec3 r);
            .HP u mat4x3 outerProduct(vec3 c, vec4 r);
            .HP u dmat2 outerProduct(dvec2 c, dvec2 r);
            .HP u dmat3 outerProduct(dvec3 c, dvec3 r);
            .HP u dmat4 outerProduct(dvec4 c, dvec4 r);
            .HP u dmat2x3 outerProduct(dvec3 c, dvec2 r);
            .HP u dmat3x2 outerProduct(dvec2 c, dvec3 r);
            .HP u dmat2x4 outerProduct(dvec4 c, dvec2 r);
            .HP u dmat4x2 outerProduct(dvec2 c, dvec4 r);
            .HP u dmat3x4 outerProduct(dvec4 c, dvec3 r);
            .HP u dmat4x3 outerProduct(dvec3 c, dvec4 r);

    .SH "PARAMETERS"

        .PP c

                    Specifies the parameter to be treated as a column vector.

            .RE
            .PP r

                        Specifies the parameter to be treated as a row vector.

                .RE

            .SH "DESCRIPTION"
                .PP outerProduct treats the first parameter c as a column vector (matrix with one column) and the second parameter r as a row vector (matrix with one row) and does a linear algebraic matrix multiply c * r, yielding a matrix whose number of rows is the number of components in c and whose number of columns is the number of components in r.

            .SH "VERSION SUPPORT"
                .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Shading Language Version T} T{ Function Name T}:T{ 1.10 T}:T{ 1.20 T}:T{ 1.30 T}:T{ 1.40 T}:T{ 1.50 T}:T{ 3.30 T}:T{ 4.00 T}:T{ 4.10 T}:T{ 4.20 T}:T{ 4.30 T}:T{ 4.40 T}:T{ 4.50 T} l c c c c c c c c c c c c l c c c c c c c c c c c c. T{ outerProduct (float) T}:T{ - T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T} T{ outerProduct (double) T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

            .SH "SEE ALSO"
                .PP dot()

            .SH "COPYRIGHT"
                .PP Copyright © 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2011-2014 Khronos Group