Skip to content

Commit a641468

Browse files
update Padua in readme
1 parent 6c12ad5 commit a641468

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ then increment/decrement operators are used with linear complexity (and linear c
8080
The Padua transform and its inverse are implemented thanks to [Michael Clarke](https://github.com/MikeAClarke). These are optimized methods designed for computing the bivariate Chebyshev coefficients by interpolating a bivariate function at the Padua points on `[-1,1]^2`.
8181

8282
```julia
83-
julia> n=200;
83+
julia> n = 200;
8484

85-
julia> N=div((n+1)*(n+2),2)
85+
julia> N = div((n+1)*(n+2),2);
8686

87-
julia> v=rand(N); #Length of v is the no. of Padua points
87+
julia> v = rand(N); # The length of v is the number of Padua points
8888

8989
julia> @time norm(ipaduatransform(paduatransform(v))-v)
9090
0.006571 seconds (846 allocations: 1.746 MiB)

0 commit comments

Comments
 (0)