-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathSymEngine.jl
More file actions
45 lines (37 loc) · 1.08 KB
/
SymEngine.jl
File metadata and controls
45 lines (37 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module SymEngine
using SymEngine_jll
import Base: show, convert, real, imag, MathConstants.γ, MathConstants.e, MathConstants.φ, MathConstants.catalan, invokelatest
import Compat: String, unsafe_string, @compat, denominator, numerator, Cvoid, Nothing, finalizer, reduce, mapreduce
import Serialization
import LinearAlgebra, Libdl
export Basic, symbols, @vars, @funs, SymFunction
export free_symbols, function_symbols, get_name, get_args
export coeff
export ascii_art
export subs, lambdify, N, cse
export series
export expand
include("utils.jl")
const have_mpfr = have_component("mpfr")
const have_mpc = have_component("mpc")
const libversion = get_libversion()
include("exceptions.jl")
include("ctypes.jl")
include("types.jl")
include("decl.jl")
include("display.jl")
include("mathops.jl")
include("mathfuns.jl")
include("simplify.jl")
include("subs.jl")
include("numerics.jl")
include("calculus.jl")
include("recipes.jl")
include("dense-matrix.jl")
function __init__()
init_constants()
global TrueFalseMap = CMapBasicBasic()
TrueFalseMap[True] = ONE
TrueFalseMap[False] = ZERO
end
end