-
Notifications
You must be signed in to change notification settings - Fork 98
/
Algebra.jl
108 lines (87 loc) · 1.93 KB
/
Algebra.jl
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
"""
The exported names are
$(EXPORTS)
"""
module Algebra
using NLsolve
using DocStringExtensions
using SparseArrays
using LinearAlgebra
using Test
using SparseMatricesCSR
using BlockArrays
using Gridap.Helpers
import Base: convert, size, getindex, show, count, *
import LinearAlgebra: mul!
import SparseArrays: nnz, nonzeros, nzrange, findnz, rowvals
import BlockArrays: AbstractBlockedUnitRange
export length_to_ptrs!
export rewind_ptrs!
export allocate_vector
export allocate_matrix
export allocate_matrix_and_vector
export allocate_in_domain
export allocate_in_range
export add_entries!
export muladd!
export axpy_entries!
export nz_counter
export nz_allocation
export create_from_nz
export LoopStyle
export Loop
export DoNotLoop
export ArrayBuilder
export SparseMatrixBuilder
export MinMemory
export MinCPU
export get_array_type
export nz_index
export is_entry_stored
export finalize_coo!
export sparse_from_coo
export add_entry!
export copy_entries!
export allocate_coo_vectors
export push_coo!
export LinearSolver
export SymbolicSetup
export NumericalSetup
export solve
export solve!
export symbolic_setup
export numerical_setup
export numerical_setup!
export test_linear_solver
export LUSolver
export BackslashSolver
export NonlinearOperator
export residual!
export residual
export jacobian!
export jacobian
export hessian
export hessian!
export residual_and_jacobian!
export residual_and_jacobian
export allocate_residual
export allocate_jacobian
export allocate_residual_and_jacobian
export zero_initial_guess
export test_nonlinear_operator
export NonlinearSolver
export test_nonlinear_solver
export NewtonRaphsonSolver
export NLSolver
export AffineOperator
export get_matrix
export get_vector
include("AlgebraInterfaces.jl")
include("SparseMatrixCSC.jl")
include("SparseMatrixCSR.jl")
include("SymSparseMatrixCSR.jl")
include("NonlinearOperators.jl")
include("NonlinearSolvers.jl")
include("LinearSolvers.jl")
include("NLSolvers.jl")
end # module