2023-04-25 13:37:03 +00:00
|
|
|
# Python file for testing various approximation algorithms
|
|
|
|
# _ _ _ _
|
|
|
|
# __ ___ __(_) |_| |_ ___ _ __ | |__ _ _
|
|
|
|
# \ \ /\ / / '__| | __| __/ _ \ '_ \ | '_ \| | | |
|
|
|
|
# \ V V /| | | | |_| || __/ | | | | |_) | |_| |
|
|
|
|
# \_/\_/ |_| |_|\__|\__\___|_| |_| |_.__/ \__, |
|
|
|
|
# |___/
|
|
|
|
# ____ __ __ _
|
|
|
|
# / ___|_ _____ _ __ \ \ / /__ __ _ ___| |
|
|
|
|
# \___ \ \ / / _ \ '_ \ \ \ / / _ \ / _` |/ _ \ |
|
|
|
|
# ___) \ V / __/ | | | \ V / (_) | (_| | __/ |
|
|
|
|
# |____/ \_/ \___|_| |_| \_/ \___/ \__, |\___|_|
|
|
|
|
# |___/
|
|
|
|
# Licensed under the GPLv2 License, Version 2.0 (the "License");
|
|
|
|
# Copyright (c) Sven Vogel
|
|
|
|
|
|
|
|
import fixpoint_approximation
|
|
|
|
import linear_approximation
|
2023-04-27 12:25:57 +00:00
|
|
|
import matrix
|
2023-04-25 13:37:03 +00:00
|
|
|
import newton_polynom
|
2023-04-25 17:18:06 +00:00
|
|
|
import zero_point_approximation
|
2023-04-25 13:37:03 +00:00
|
|
|
|
2023-04-25 17:18:06 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
linear_approximation.test()
|
|
|
|
fixpoint_approximation.test()
|
|
|
|
newton_polynom.test()
|
|
|
|
zero_point_approximation.test()
|
2023-04-27 12:25:57 +00:00
|
|
|
matrix.test()
|