WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
mathmacros.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX LLC 2024. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, LLC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, LLC.
15******************************************************************************/
16/*
17File containing useful macros for math utilities
18
19Author: Alex Reynolds
20*/
21
22#ifndef CORE_MATHMACROS_H
23#define CORE_MATHMACROS_H
24
25// --------------------------------------------------------------------------
26// Matrix definitions for easy use in C++ and SWIG Implementations
27// --------------------------------------------------------------------------
28#define Matrix2 clockwerk::Matrix<2, 2>
29#define Matrix3 clockwerk::Matrix<3, 3>
30#define Matrix4 clockwerk::Matrix<4, 4>
31#define Matrix6 clockwerk::Matrix<6, 6>
32#define Matrix16 clockwerk::Matrix<16, 16>
33#define Matrix21 clockwerk::Matrix<2, 1>
34#define Matrix31 clockwerk::Matrix<3, 1>
35#define Matrix41 clockwerk::Matrix<4, 1>
36#define Matrix61 clockwerk::Matrix<6, 1>
37#define Matrix63 clockwerk::Matrix<6, 3>
38
39// --------------------------------------------------------------------------
40// Vector definitions for easy use in C++ and SWIG Implementations
41// --------------------------------------------------------------------------
42#define CartesianVector2 clockwerk::CartesianVector<2>
43#define CartesianVector3 clockwerk::CartesianVector<3>
44#define CartesianVector4 clockwerk::CartesianVector<4>
45#define CartesianVector6 clockwerk::CartesianVector<6>
46
47#endif