To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Lugia319.Matrices##version=3 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Lugia319.Matrices##version=3 |
The Matrix is not only a good movie and part of a horrible trilogy, it's a mathematical tool!
This library contains the Matrix datum and host of functions for you to use in your games with matrices. Go nuts. I haven't added cross products for a few reasons. 1. They're not defined for matrices 2. Determinants are a pain 3. I'm not sure on the practical application of cross products/determinants in DM games where I expect matrices to be used to store non-numerical values. I'll probably add them for completeness at a later time. To-Do: (In no particular order or timeframe) - Determinants - Transpose (strictly speaking, matrices are "made" as transpose and converted to what you'd normally see in methods) - Matrix Copy (so you can copy matrices into bigger matrices) - Vectors and vector functions |
Please support BYOND through Membership or a donation!
|
Related Libraries
|
|||||||||||||||||||||||||||||||||||
More Libraries by Lugia319
|
Copyright © 2024 BYOND Software.
All rights reserved.