Class SimpleWaveFunction1D
- Namespace
- QuantumWaves
- Assembly
- QuantumLibrary.dll
Represents a general one dimensional wave function defined by a delegate.
public class SimpleWaveFunction1D : WaveFunction1D
- Inheritance
-
SimpleWaveFunction1D
- Inherited Members
Constructors
SimpleWaveFunction1D(Func<float, float, ComplexF>, FloatRange)
Initializes a wave function from a given function and automatically normalizes its amplitude.
public SimpleWaveFunction1D(Func<float, float, ComplexF> wave, FloatRange domain)
Parameters
waveFunc<float, float, ComplexF>Function defining ψ(x, t).
domainFloatRangeThe spatial domain of the wave function.
SimpleWaveFunction1D(Func<float, float, ComplexF>, FloatRange, ComplexF)
Initializes a wave function from a given function.
public SimpleWaveFunction1D(Func<float, float, ComplexF> wave, FloatRange domain, ComplexF amplitude)
Parameters
waveFunc<float, float, ComplexF>Function defining ψ(x, t).
domainFloatRangeThe spatial domain of the wave function.
amplitudeComplexFThe amplitude of the wave function.
Methods
EvaluateRaw(float, float)
Evaluates the unscaled wave function at (x, t).
protected override ComplexF EvaluateRaw(float x, float t)
Parameters
xfloatThe position at which to evaluate the unscaled wave function.
tfloatThe time at which to evaluate the unscaled wave function.
Returns
- ComplexF
The unscaled value of the wave function at
xandt.