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:intthe order of the derivative to take
stencil:int | Nonethe number of stencil points to add
accuracy:int | Nonethe approximate accuracy to target with the method
end_point_accuracy:int | Nonethe extra number of stencil points to add to the end points
kw:Anyoptions passed through to the
FiniteDifferenceMatrix
get_weights(m, s, n):
Extracts the weights for an evenly spaced grid
m:AnyNo description…
s:AnyNo description…
n:AnyNo 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:intthe order of the derivative to take
stencil:int | Nonethe number of stencil points to add
accuracy:int | Nonethe approximate accuracy to target with the method
end_point_accuracy:int | Nonethe extra number of stencil points to add to the end points
kw:Anyoptions passed through to the
FiniteDifferenceMatrix
get_weights(m, s, n):
Extracts the weights for an evenly spaced grid
m:AnyNo description…
s:AnyNo description…
n:AnyNo 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