earsuit / matrix Goto Github PK
View Code? Open in Web Editor NEWA free library for Arduino/STM32 matrix calculation
License: MIT License
A free library for Arduino/STM32 matrix calculation
License: MIT License
Matrix.h - A free library for matrix calculation. Invalid dimension for calculation will lead to empty matrix, therefore, one should check whether the matrix is empty after calculation. This library is easy to use, I have overloaded operators, one can use +,*,/,-, =,==,!= as they want, but there is no definition for matrix division (like A/B). One should use the inverse function inv() instead. The transpose() and inv() functions are static functions, which should use Matrix<Type>::transpose() and Matrix<Type>::inv() format to call, Type is the type you used to create the matrix. The elements of the matrix are easy to access. For example, we have a 2 by 1 vector called A, one could use A[1][0] to get the second element or A[1][0] to assign a value to it. The show(int decimal) function can be used to visulise the matrix, where decimal specifies the decimal numbers. Detailed description: https://playground.arduino.cc/Code/Matrix. Feedback and contribution is welcome! Version 1.3 * Overloading operator [], so we can access the element by using A[][]. Because the internal data structure is a two dimensional array, we have to use A[*][0] or A[0][*] to access the element in a column or row matrix. Version 1.2 * Now it can perform mixed calculation with scalars. But you need to ensure the dimension of the matrix is 1 for plus and minus. Version 1.1 * Improved the processing speed, it becomes more efficient. ---------------- Version 1.0 Created by Yudi Ren, Jan 05, 2018. [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.