GradientLCWP¶
About the GradientLCWP
class¶
The WaveBlocks Project
@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License
Inheritance diagram¶
![Inheritance diagram of GradientLCWP](../_images/inheritance-7329f9d30958eff0d88a81752903019a8998c7f2.png)
Class documentation¶
-
class
WaveBlocksND.
GradientLCWP
[source]¶ This class implements the computation of the action of the gradient operator
applied to a linear combination
of arbitrary wavepackets.
-
apply_gradient
(lincomb, component=None)[source]¶ Compute the effect of the gradient operator
applied to a linear combination
of arbitrary wavepackets.
Parameters: - lincomb (A
LinearCombinationOfWPs
instance.) – The lincombcontaining the wavepackets
.
- component (Integer or
None
.) – The indexof the component
of each
.
Returns: A list of linear combinations of the gradients of all packets from the given linearcombination. There are
linearcombinations
, one for each space variable component
of the gradient.
- lincomb (A
-