Skip to main content

Module fitters

Module fitters 

Source
Expand description

Fitters for least-squares problems with various matrix types

This module provides fitters for solving min ||A * coeffs - values||^2 where the matrix A and value types can vary:

  • [RealMatrixFitter]: Real matrix A ∈ R^{n×m}
  • [ComplexToRealFitter]: Complex matrix A ∈ C^{n×m}, real coefficients
  • [ComplexMatrixFitter]: Complex matrix A ∈ C^{n×m}, complex coefficients

Modules§

common
Shared machinery for fitters.

Traits§

FitScalar
f64 or Complex<f64>, viewable as interleaved f64 storage.
InplaceFitter
Evaluation and fitting along one axis of an N-dimensional tensor, writing into a caller-provided output view.
SvdScalar
Scalars with an SVD through tenferro-linalg.

Functions§

singular_values
Singular values of a contiguous column-major n x m matrix, descending.