Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
norm.h
Go to the documentation of this file.
1
21#ifndef NORM_H
22#define NORM_H
23
24/* Include Files */
25#include "rtwtypes.h"
26#include <stddef.h>
27#include <stdlib.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/* Function Declarations */
40double b_norm(const double x[3]);
41
48double c_norm(const double x[4]);
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif
55/*
56 * File trailer for norm.h
57 *
58 * [EOF]
59 */
double b_norm(const double x[3])
Calculates the Euclidean norm (magnitude) of a 3-element vector.
Definition norm.c:21
double c_norm(const double x[4])
Calculates the Euclidean norm (magnitude) of a 4-element vector.
Definition norm.c:61
Defines standard data types for code generated by MATLAB Coder.