Skip to content

Commit 1bbaaad

Browse files
committed
Minor fixes
1 parent f7ae085 commit 1bbaaad

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ If you want to visualize your data using Julia, small support is provided using
2424

2525
If you want to use [jFriCAS](https://jfricas.readthedocs.io/en/latest/) i.e. Jupyter support for FriCAS built with SBCL, make sure [hunchentoot](https://edicl.github.io/hunchentoot/) is installed. On a Debian like system you can add `hunchentoot` with <code>sudo apt install cl-hunchentoot</code> and issue, for example, <code>./configure --enable-gmp --enable-julia --enable-hunchentoot</code>.
2626

27-
To know which categories/domains/packages are added to FriCAS issue in the
28-
FriCAS interpreter <code>)what things julia</code> and/or <code>)what things nemo</code> or use HyperDoc. Another source of information can be found in HTML format [here](https://gvanuxem.github.io/jlfricas.documentation/).
27+
A source of information can be found in HTML format [here](https://gvanuxem.github.io/jlfricas.documentation/).
2928
Take into account that this is absolutely not the official documentation even though it is highly based on the official FriCAS web site which can be built from the FriCAS source code (thanks to Ralf Hemmecke and Kurt Pagani for their amazing work).
3029

3130
If you want to build and install the HTML documentation,

Diff for: src/algebra/jnpadic.spad

+4-3
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ ExtendedNMPadicInteger(p : NMInteger, prec : NMInteger) : Exports == Implementat
110110
++ 0() creates the default Big-oh from domain parameters.
111111
O : () -> %
112112
++ 0() returns the default Big-oh from domain parameters.
113-
prime : () -> NMInteger
114-
++
113+
prime : % -> NMInteger
114+
++ prime(x) returns the modulus used for x.
115+
++ Convenience function.
115116
precision : % -> NMInteger
116117
++
117118
Implementation ==> add
@@ -149,7 +150,7 @@ ExtendedNMPadicInteger(p : NMInteger, prec : NMInteger) : Exports == Implementat
149150

150151
--euclideanSize(x) == order(retract x)
151152

152-
prime() == p
153+
prime(x) == p
153154
precision(x) == prec
154155
sqrt(x) == junfunc("sqrt",x)
155156
valuation(x) == junfunc("valuation",x)

Diff for: src/algebra/jwsexpr.spad

+6-2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ JLWSExpression() : Exports == Implementation where
126126
sphericalHankelH2 : (% , %)-> %
127127
++ sphericalHankelH2(n,z) computes the spherical Hankel
128128
++ of the second kind of z.
129+
weberE : (%, %, %) -> %
130+
++ weberE(v,n,z) is the associated Weber E function.
129131
dirichletL : (%, %, %) -> %
130132
++ dirichletL(k,j,s) returns Dirichlet L-function of s, modulus k,
131133
++ index j.
@@ -1264,6 +1266,8 @@ JLWSExpression() : Exports == Implementation where
12641266
sphericalHankelH2(n,z) == jbinfunc("W_"SphericalHankelH2_"(", n,z)
12651267
struveH(n,z) == jbinfunc("W_"StruveH_"(", n,z)
12661268
struveL(n,z) == jbinfunc("W_"StruveL_"(", n,z)
1269+
weberE(n,z) == jbinfunc("W_"WeberE_"(", n,z)
1270+
weberE(v,n,z) == jterfunc("W_"WeberE_"(", v,n,z)
12671271

12681272
-- Check k > s ?
12691273
dirichletL(k,j,s) == jterfunc("W_"DirichletL_"(", k,j,s)
@@ -1831,7 +1835,7 @@ JLWSExpression() : Exports == Implementation where
18311835
sexpr := toString(expr, jWSExpr concat("PageWidth -> ", pagew))
18321836
str : String := jlEvalString(concat(["replace(_"", sexpr,
18331837
"_", '[' => '(', ']' => ')', _"ArcS_" => _"as_", _"ArcC_" => _"ac_",",
1834-
" _"ArcT_" => _"at_" , r_"\b[A-Z][a-z]{3}_" => x -> lowercase(x))"]))
1835-
l := split(sexpr, newline())
1838+
" _"ArcT_" => _"at_" , r_"\b[A-Z][a-z]{2}_" => x -> lowercase(x))"]))
1839+
l := split(str, newline())
18361840
#l > 1 => pile(append([""],l) pretend List(OutputForm))
18371841
str pretend OutputForm

Diff for: src/algebra/jwsnsf.spad

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ JLWSNumericalSpecialFunctions(R : JLWSNumber) : Exports ==Implementation where
6969
++ angerJ(v, z) is the Anger J function.
7070
weberE : (R, R) -> R
7171
++ weberE(v, z) is the Weber E function.
72+
weberE : (R, R, R) -> R
73+
++ weberE(v, n, z) is the associated Weber E function.
7274
struveH : (R, R) -> R
7375
++ struveH(v, z) is the Struve H function.
7476
struveL : (R, R) -> R
@@ -745,6 +747,10 @@ JLWSNumericalSpecialFunctions(R : JLWSNumber) : Exports ==Implementation where
745747
ret : R := jterfunc("W_"WhittakerW_"(", k,m,z)
746748
jtypeassert(z,ret)
747749
ret
750+
weberE(v,n,z) ==
751+
ret : R := jterfunc("W_"WeberE_"(",v,n,z)
752+
jtypeassert(z,ret)
753+
ret
748754
parabolicCylinderD(v,z) ==
749755
ret : R := jbinfunc("W_"ParabolicCylinderD_"(", v, z)
750756
jtypeassert(z,ret)

0 commit comments

Comments
 (0)