31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
# 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
|
|
import matrix
|
|
import newton_polynom
|
|
import zero_point_approximation
|
|
import taylor_sine_approx
|
|
|
|
if __name__ == '__main__':
|
|
linear_approximation.test()
|
|
fixpoint_approximation.test()
|
|
newton_polynom.test()
|
|
zero_point_approximation.test()
|
|
matrix.test()
|
|
taylor_sine_approx.test()
|