Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
mrdivide_helper.h
Go to the documentation of this file.
1
19#ifndef MRDIVIDE_HELPER_H
20#define MRDIVIDE_HELPER_H
21
22/* Include Files */
23#include "rtwtypes.h"
24#include <stddef.h>
25#include <stdlib.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/* Function Declarations */
47void mrdiv(const double A[4], const double B[4], double Y[4]);
48
64void mrdiv_2(const double B_data[], int B_size, double Y_data[], int Y_size[2]);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
71/*
72 * File trailer for mrdivide_helper.h
73 *
74 * [EOF]
75 */
void mrdiv_2(const double B_data[], int B_size, double Y_data[], int Y_size[2])
Performs element-wise division of a scalar by each element of a matrix.
void mrdiv(const double A[4], const double B[4], double Y[4])
Calculates the right matrix division for two 2x2 matrices (Y = A * inv(B)).
Defines standard data types for code generated by MATLAB Coder.