The closest that I could find was something in FastTransform, where from the chebysheb mesh you generate (fast), the legendre coefficient. But that’s not quite what I need.
Ok so I had read about the existence of an algorithm NlogN for the Legendre Transform, however it seems that it only is worth using for N > 1000 or something like (in comparison to just use the Matrix multiplication strategy) and most likely if you need that many points, then the legendre polynomials where not a good basis to start from.