General function to test basis functions
Examples
start = 0
end = 10
basis = create_bspline_basis(start, end, nbasis=10, norder=4)
test_basis_properties(basis, "cubic splines", tol = 1e-3)
#> === Tests for cubic splines ===
#> Orthogonal: FALSE
#> Orthonormal: FALSE
#>
basis_f = fda::create.fourier.basis(rangeval=c(start, end), nbasis=5)
test_basis_properties(basis_f, "Fourier", tol = 1e-3)
#> === Tests for Fourier ===
#> Orthogonal: TRUE
#> Orthonormal: TRUE
#>
