e3x.nn.functions.gaussian.exponential_gaussian
- e3x.nn.functions.gaussian.exponential_gaussian(x, num, gamma=1.0, cuspless=False, use_exponential_weighting=False)[source]
Exponential Gaussian basis functions.
Computes the basis functions (see
basic_gaussianandexponential_mapping)\[\mathrm{exponential\_gaussian}_k(x) = \mathrm{gaussian}_k(1-\mathrm{exponential\_mapping}(x))\]or (if
use_exponential_weighting = True)\[\mathrm{exponential\_gaussian}_k(x) = \mathrm{exponential\_mapping}(x) \cdot \mathrm{gaussian}_k(1-\mathrm{exponential\_mapping}(x))\]where \(k=0 \dots K-1\) with \(K\) =
num.Plot for \(K = 5\) and \(\gamma = 1\) (
cuspless = False,use_exponential_weighting = False):Plot for \(K = 5\) and \(\gamma = 1\) (
cuspless = False,use_exponential_weighting = True):Plot for \(K = 5\) and \(\gamma = 1\) (
cuspless = True,use_exponential_weighting = False):Plot for \(K = 5\) and \(\gamma = 1\) (
cuspless = True,use_exponential_weighting = True):- Parameters:
x (
<class 'Float[Array, '...']'>) – Input array.num (
int) – Number of basis functions \(K\).gamma (
Union[Float[Array, ''], float], default:1.0) – Exponential decay constant for the exponential mapping.cuspless (
bool, default:False) – IfTrue, the returned functions are cuspless.use_exponential_weighting (
bool, default:False) – IfTrue, the functions are weighted by the value of the exponential mapping.
- Return type:
- Returns:
Value of all basis functions for all values in
x. The output shape follows the input, with an additional dimension of sizenumappended.