Table of Contents

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

wave Func<float, float, ComplexF>

Function defining ψ(x, t).

domain FloatRange

The 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

wave Func<float, float, ComplexF>

Function defining ψ(x, t).

domain FloatRange

The spatial domain of the wave function.

amplitude ComplexF

The 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

x float

The position at which to evaluate the unscaled wave function.

t float

The time at which to evaluate the unscaled wave function.

Returns

ComplexF

The unscaled value of the wave function at x and t.