USAGE INSTRUCTIONS¶
Usage Instructions
This document provides usage instructions for the tiny_math
module.
Import TinyMath as a Whole¶
Info
Suitable for C projects or projects with a simple structure in C++.
Import TinyMath by Module¶
Info
Suitable for projects that require precise control over module imports or complex C++ projects.
Note
-
tiny_vec.h
andtiny_mat.h
are header files for the C language version, suitable for C programming. -
tiny_matrix.hpp
is a header file for the C++ language version, suitable for C++ programming.
In simple terms, C language projects can only use tiny_vec.h
and tiny_mat.h
, while C++ projects can use tiny_vec.h
, tiny_mat.h
, and tiny_matrix.hpp
.
Tip
For specific usage methods, please refer to the test code.