![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
A MATLAB Coder helper for performing element-wise array operations. More...


Go to the source code of this file.
Functions | |
| double | binary_expand_op (const double in1_data[], const int in1_size[2], const double in2_data[], const int *in2_size, const double in3_data[], const double in4_data[], const int *in4_size, const double in5_data[], const int *in5_size, const double in6_data[], const double in7_data[], const int *in7_size) |
| Performs a fused set of element-wise operations for 2D interpolation. | |
A MATLAB Coder helper for performing element-wise array operations.
This is an auto-generated helper file from MATLAB Coder. Its primary purpose is to provide functions that emulate MATLAB's "binary expansion" (also known as broadcasting) capabilities. This allows for element-wise operations on arrays of different but compatible dimensions without requiring explicit loops in the source code.
In this project, it is used as a low-level utility by the cdEvaluation function to execute the mathematical steps of a 2D bilinear interpolation. Developers should typically not call this function directly.
Definition in file eml_mtimes_helper.h.
| double binary_expand_op | ( | const double | in1_data[], |
| const int | in1_size[2], | ||
| const double | in2_data[], | ||
| const int * | in2_size, | ||
| const double | in3_data[], | ||
| const double | in4_data[], | ||
| const int * | in4_size, | ||
| const double | in5_data[], | ||
| const int * | in5_size, | ||
| const double | in6_data[], | ||
| const double | in7_data[], | ||
| const int * | in7_size | ||
| ) |
Performs a fused set of element-wise operations for 2D interpolation.
This function is a highly specific helper generated by MATLAB to efficiently compute a bilinear interpolation step. It combines multiple weighted sums of intermediate values using broadcasting logic.
| [in] | in1_data | Array containing the first weight factor (related to Mach distance). |
| [in] | in1_size | Dimensions of the in1_data array. |
| [in] | in2_data | Array containing the first intermediate interpolated value. |
| [in] | in2_size | Pointer to the size of the in2_data array. |
| [in] | in3_data | Array containing the second weight factor (related to Mach distance). |
| [in] | in4_data | Array containing the second intermediate interpolated value. |
| [in] | in4_size | Pointer to the size of the in4_data array. |
| [in] | in5_data | Array containing the third intermediate interpolated value. |
| [in] | in5_size | Pointer to the size of the in5_data array. |
| [in] | in6_data | Array containing the third weight factor (related to deployment distance). |
| [in] | in7_data | Array containing the fourth intermediate interpolated value. |
| [in] | in7_size | Pointer to the size of the in7_data array. |
Definition at line 31 of file eml_mtimes_helper.c.
Referenced by cdEvaluation().
