RegularGridFiniteDifference
Defines a 1D finite difference over a regular grid
Properties and Methods
finite_difference_data: method
__init__(self, order, stencil=None, accuracy=4, end_point_accuracy=2, **kw):
order
:int
the order of the derivative to take
stencil
:int | None
the number of stencil points to add
accuracy
:int | None
the approximate accuracy to target with the method
end_point_accuracy
:int | None
the extra number of stencil points to add to the end points
kw
:Any
options passed through to the
FiniteDifferenceMatrix
get_weights(m, s, n):
Extracts the weights for an evenly spaced grid
m
:Any
No description…
s
:Any
No description…
n
:Any
No description…
:returns
:_
No description…
Examples
RegularGridFiniteDifference
Defines a 1D finite difference over a regular grid
Properties and Methods
finite_difference_data: method
__init__(self, order, stencil=None, accuracy=4, end_point_accuracy=2, **kw):
order
:int
the order of the derivative to take
stencil
:int | None
the number of stencil points to add
accuracy
:int | None
the approximate accuracy to target with the method
end_point_accuracy
:int | None
the extra number of stencil points to add to the end points
kw
:Any
options passed through to the
FiniteDifferenceMatrix
get_weights(m, s, n):
Extracts the weights for an evenly spaced grid
m
:Any
No description…
s
:Any
No description…
n
:Any
No description…
:returns
:_
No description…
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings