Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed May 4, 2020
1 parent 0ca5f1e commit 12e7a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# NumericallyIntegrateArrays.jl
[![Build Status](https://travis-ci.com/jishnub/NumericallyIntegrateArrays.jl.svg?branch=master)](https://travis-ci.com/jishnub/NumericallyIntegrateArrays.jl)

Julia functions for Simpson's rule and trapezoidal rule analogous to scipy.integrate

# Installation
Expand Down Expand Up @@ -31,7 +33,7 @@ Multidimensional arrays work as well, where the integration is over the first ax
```julia
julia> f2 = sin.(x) * cos.(x)';

julia> hcat(simps(f2,x,axis=1),2cos.(x)) # the second column is the expected result
julia> hcat( simps(f2,x), 2cos.(x) ) # the second column is the expected result
10×2 Array{Float64,2}:
1.99955 2.0
1.87896 1.87939
Expand Down

0 comments on commit 12e7a46

Please sign in to comment.