HC_Compute_Matrix_Product

void HC_Compute_Matrix_Product(float const matrix1[], float const matrix2[], float out_matrix[])
void HC_Compute_Matrix_Product(float const matrix1, float const matrix2, float out_matrix)

Given:

Compute_Matrix_Product(A, B, C);

C = AB

The result is that the following are equivalent:

  1. Append_Modelling_Matrix(A);

followed by

Append_Modelling_Matrix(B);

  1. Append_Modelling_Matrix(C);

    HC_Compute_Coordinates, HC_Compute_Transform, HC_Set_Modelling_Matrix, HC_Show_Device_Info

Parameters

matrix1: First input transformation matrix.

matrix2: Second input transformation matrix.

out_matrix: Output transformation matrix, returned to the caller. Can point to the same place as matrix1 or matrix2