Skip to content
Snippets Groups Projects
Commit e228c90c authored by Simon Praetorius's avatar Simon Praetorius
Browse files

issue related to generation of gauss-lobatto quadrature rule from maxima...

issue related to generation of gauss-lobatto quadrature rule from maxima script resolved. Closes #18
parent b3262637
No related branches found
No related tags found
1 merge request!104issue related to gauss-lobatto quadrature rule generated from maxima script
......@@ -18,7 +18,7 @@ maxp: 30$
/* points are given as the roots of (x^2-1)*L_p(x) */
point(n) := (x^2-1)*diff(legendre_p(n,x),x)$
weight(n,xx) := ratsimp(2/((n*(n+1))*legendre_p(n,xx)^2))$
weight(n,xx) := at(ratsimp(2/((n*(n+1))*legendre_p(n,x)^2)), x=xx)$
/*
write files
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment