Skip to content

Commit 6c96028

Browse files
authored
typos (#121)
1 parent 45af4e8 commit 6c96028

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ println("x = ", root_fdfsolver_root(solver))
8686

8787
Extra functionality defined in this package:
8888

89-
* Convenice functions `hypergeom` and `hypergeom_e` for the hypergeometric functions.
89+
* Convenience functions `hypergeom` and `hypergeom_e` for the hypergeometric functions.
9090
* Function wrapping macros `@gsl_function`, `@gsl_function_fdf`, `@gsl_multiroot_function` and `@gsl_multiroot_function_fdf` that are used for packaging Julia functions so that they can be passed to GSL.
9191
* Functions `wrap_gsl_vector` and `wrap_gsl_matrix` that return a Julia array or matrix pointing to the data in a `gsl_vector` or `gsl_matrix`.
9292

gen/heuristic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# TODO: error handler on integer output
88

9-
# List of functions that herustic should ignore (original name)
9+
# List of functions that heuristic should ignore (original name)
1010
heuristic_ignore_list = ["gsl_vector_char_const_ptr", "gsl_matrix_char_const_ptr"]
1111

1212
function secondary_wrappers(functions, docs)

gen/makewrappers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ function match_enum_interior(interior)
478478
if occursin("=", l)
479479
name, val = split(l, "=")
480480
val = trim_whitespace(val)
481-
# Catch if unitialized element comes after this one
481+
# Catch if uninitialized element comes after this one
482482
count = nothing
483483
else
484484
name = l
@@ -624,7 +624,7 @@ function gen_julia(structs, typedefs, constants, functions, filename)
624624
if haskey(docs, s.name)
625625
gsldoc = "GSL documentation:\n\n### " * docs[s.name]
626626
end
627-
# Check if theres a typedef pointing to this struct,
627+
# Check if there's a typedef pointing to this struct,
628628
# then write it immediately if there is.
629629
# This helps is subsequent structs use this typedef
630630
if haskey(typedefs_lookup, jname)

src/GSL.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ end
3939
# END MODULE C
4040

4141
# BEGIN MODULE Const
42-
# Phsyical constants
42+
# Physical constants
4343
module Const
4444
using Markdown
4545
include("gen/gsl_const.jl")

src/gen/direct_wrappers/gsl_integration_h.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ GSL documentation:
10411041
10421042
### `void gsl_integration_fixed_free(gsl_integration_fixed_workspace * w)`
10431043
1044-
> This function frees the memory assocated with the workspace `w`
1044+
> This function frees the memory associated with the workspace `w`
10451045
10461046
"""
10471047
function integration_fixed_free(w)

src/gen/direct_wrappers/gsl_multifit_h.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ GSL documentation:
702702
703703
### `int gsl_multifit_linear_gcv_curve(const gsl_vector * reg_param, const gsl_vector * UTy, const double delta0, gsl_vector * G, gsl_multifit_linear_workspace * work)`
704704
705-
> This funtion calculates the GCV curve $G(\lambda)$ and stores it in
705+
> This function calculates the GCV curve $G(\lambda)$ and stores it in
706706
> `G` on output, which must be the same size as `reg_param`. The inputs
707707
> `reg_param`, `UTy` and `delta0` are computed in
708708
> `gsl_multifit_linear_gcv_init`.
@@ -1018,7 +1018,7 @@ GSL documentation:
10181018
> `double sigma`
10191019
>
10201020
> > This contains an estimate of the standard deviation of the final
1021-
> > residuals by attemping to reconcile `sigma_rob` and `sigma_ols` in a
1021+
> > residuals by attempting to reconcile `sigma_rob` and `sigma_ols` in a
10221022
> > reasonable way.
10231023
>
10241024
> `double Rsq`
@@ -1099,7 +1099,7 @@ GSL documentation:
10991099
11001100
> This function computes the best-fit parameters `c` of the model
11011101
> $y = X c$ for the observations `y` and the matrix of predictor
1102-
> variables `X`, attemping to reduce the influence of outliers using the
1102+
> variables `X`, attempting to reduce the influence of outliers using the
11031103
> algorithm outlined above. The $p$-by-$p$ variance-covariance matrix of
11041104
> the model parameters `cov` is estimated as $\sigma^2 (X^T X)^{-1}$,
11051105
> where $\sigma$ is an approximation of the residual standard deviation
@@ -1153,7 +1153,7 @@ GSL documentation:
11531153
> $r_i = {y_i - (X c)_i \over \sigma \sqrt{1 - h_i}}$ for the
11541154
> observations `y`, coefficients `c` and matrix of predictor variables
11551155
> `X`. The routine `gsl_multifit_robust` must first be called to compute
1156-
> the statisical leverages $h_i$ of the matrix `X` and residual standard
1156+
> the statistical leverages $h_i$ of the matrix `X` and residual standard
11571157
> deviation estimate $\sigma$.
11581158
11591159
"""

src/gen/direct_wrappers/gsl_poly_h.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ GSL documentation:
134134
> arrays `xa` and `ya` of length `size`. Hermite interpolation
135135
> constructs polynomials which also match first derivatives $dy/dx$
136136
> which are provided in the array `dya` also of length `size`. The first
137-
> derivatives can be incorported into the usual divided-difference
137+
> derivatives can be incorporated into the usual divided-difference
138138
> algorithm by forming a new dataset $z = \{x_0,x_0,x_1,x_1,...\}$,
139139
> which is stored in the array `za` of length 2\*`size` on output. On
140140
> output the divided-differences of the Hermite representation are

0 commit comments

Comments
 (0)