pub struct SpectralTripleData {
pub algebra_name: String,
pub hilbert_dim: usize,
pub dirac_eigenvalues: Vec<f64>,
pub ko_dim: u32,
}Expand description
Data for verifying whether a candidate (A, H, D) forms a valid spectral triple.
A valid spectral triple requires:
- A acts faithfully on H.
- D is self-adjoint with compact resolvent.
- [D, a] is bounded for all a ∈ A.
Fields§
§algebra_name: StringName of the algebra A.
hilbert_dim: usizeDimension of the Hilbert space (finite approximation; 0 = infinite).
dirac_eigenvalues: Vec<f64>Eigenvalues of |D| in non-decreasing order (finite sample).
ko_dim: u32KO-dimension of the triple.
Implementations§
Source§impl SpectralTripleData
impl SpectralTripleData
Sourcepub fn new(
algebra_name: impl Into<String>,
hilbert_dim: usize,
ko_dim: u32,
) -> Self
pub fn new( algebra_name: impl Into<String>, hilbert_dim: usize, ko_dim: u32, ) -> Self
Construct a SpectralTripleData record.
Sourcepub fn with_eigenvalues(self, eigenvalues: Vec<f64>) -> Self
pub fn with_eigenvalues(self, eigenvalues: Vec<f64>) -> Self
Add a sample of Dirac eigenvalues (should be given in non-decreasing order).
Sourcepub fn resolvent_is_compact(&self) -> bool
pub fn resolvent_is_compact(&self) -> bool
Check that the supplied eigenvalues are consistent with compact resolvent (eigenvalues must accumulate only at +∞).
Sourcepub fn estimate_metric_dimension(&self) -> f64
pub fn estimate_metric_dimension(&self) -> f64
Estimate the metric dimension from the growth rate λ_n ~ C · n^{1/p}.
Fits p by least-squares on log(n) vs log(λ_n).
Trait Implementations§
Source§impl Clone for SpectralTripleData
impl Clone for SpectralTripleData
Source§fn clone(&self) -> SpectralTripleData
fn clone(&self) -> SpectralTripleData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpectralTripleData
impl RefUnwindSafe for SpectralTripleData
impl Send for SpectralTripleData
impl Sync for SpectralTripleData
impl Unpin for SpectralTripleData
impl UnsafeUnpin for SpectralTripleData
impl UnwindSafe for SpectralTripleData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more