Blender V5.3
gpu_shader_material_matrix_svd.bsl.hh File Reference

Go to the source code of this file.

Functions

float3x3 jacobi_rotate_left_3x3 (float3x3 matrix, int p, int q, float2x2 rotation)
float3x3 jacobi_rotate_right_3x3 (float3x3 matrix, int p, int q, float2x2 rotation)
float2x2 construct_jacobi_rotation (float x, float y, float z)
void jacobi_svd_2x2 (float3x3 matrix, int p, int q, float2x2 &j_left, float2x2 &j_right)
void jacobi_svd_3x3 (float3x3 A, float3x3 &U, float3 &S, float3x3 &V)
void matrix_svd (float4x4 matrix, float4x4 &U, float3 &S, float4x4 &V)

Function Documentation

◆ construct_jacobi_rotation()

float2x2 construct_jacobi_rotation ( float x,
float y,
float z )

◆ jacobi_rotate_left_3x3()

float3x3 jacobi_rotate_left_3x3 ( float3x3 matrix,
int p,
int q,
float2x2 rotation )

◆ jacobi_rotate_right_3x3()

float3x3 jacobi_rotate_right_3x3 ( float3x3 matrix,
int p,
int q,
float2x2 rotation )

◆ jacobi_svd_2x2()

void jacobi_svd_2x2 ( float3x3 matrix,
int p,
int q,
float2x2 & j_left,
float2x2 & j_right )

◆ jacobi_svd_3x3()

◆ matrix_svd()

void matrix_svd ( float4x4 matrix,
float4x4 & U,
float3 & S,
float4x4 & V )

Definition at line 186 of file gpu_shader_material_matrix_svd.bsl.hh.

References A, jacobi_svd_3x3(), matrix_svd(), U, and V.

Referenced by matrix_svd().