
RES - Real Equation Solver 4.0.0 Scripts 4.0 Community
Submitted by user neclor; MIT; 2025-09-01
Equation solver and generator for real-valued polynomial equations up to 4th degree.
Example:
func example() -> void:
print(Res.linear(5, -10)) # Prints 2
print(Res.quadratic(1, 1, -6)) # Prints [-3, 2]
print(Res.cubic(2, -11, 12, 9)) # Prints [-0.5, 3]
print(Res.quartic(1, -10, 35, -50, 24)) # Prints [1, 2, 3, 4]
print(Reg.quartic(1, 2, 3, 4)) # Prints [1, -10, 35, -50, 24]
View files Download Submit an issue Recent Edits