fortran-lapack
Loading...
Searching...
No Matches
la_least_squares::weighted_lstsq Interface Reference

Public Member Functions

real(sp) function, dimension(:), allocatable la_sweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the real(sp) weighted least-squares solution.
 
real(dp) function, dimension(:), allocatable la_dweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the real(dp) weighted least-squares solution.
 
real(qp) function, dimension(:), allocatable la_qweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the real(qp) weighted least-squares solution.
 
complex(sp) function, dimension(:), allocatable la_cweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the complex(sp) weighted least-squares solution.
 
complex(dp) function, dimension(:), allocatable la_zweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the complex(dp) weighted least-squares solution.
 
complex(qp) function, dimension(:), allocatable la_wweighted_lstsq (w, a, b, cond, overwrite_a, rank, err)
 Compute the complex(qp) weighted least-squares solution.
 

Member Function/Subroutine Documentation

◆ la_cweighted_lstsq()

complex(sp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_cweighted_lstsq ( real(sp), dimension(:), intent(in) w,
complex(sp), dimension(:,:), intent(inout), target a,
complex(sp), dimension(:), intent(in) b,
real(sp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the complex(sp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

◆ la_dweighted_lstsq()

real(dp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_dweighted_lstsq ( real(dp), dimension(:), intent(in) w,
real(dp), dimension(:,:), intent(inout), target a,
real(dp), dimension(:), intent(in) b,
real(dp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the real(dp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

◆ la_qweighted_lstsq()

real(qp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_qweighted_lstsq ( real(qp), dimension(:), intent(in) w,
real(qp), dimension(:,:), intent(inout), target a,
real(qp), dimension(:), intent(in) b,
real(qp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the real(qp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

◆ la_sweighted_lstsq()

real(sp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_sweighted_lstsq ( real(sp), dimension(:), intent(in) w,
real(sp), dimension(:,:), intent(inout), target a,
real(sp), dimension(:), intent(in) b,
real(sp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the real(sp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

◆ la_wweighted_lstsq()

complex(qp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_wweighted_lstsq ( real(qp), dimension(:), intent(in) w,
complex(qp), dimension(:,:), intent(inout), target a,
complex(qp), dimension(:), intent(in) b,
real(qp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the complex(qp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

◆ la_zweighted_lstsq()

complex(dp) function, dimension(:), allocatable la_least_squares::weighted_lstsq::la_zweighted_lstsq ( real(dp), dimension(:), intent(in) w,
complex(dp), dimension(:,:), intent(inout), target a,
complex(dp), dimension(:), intent(in) b,
real(dp), intent(in), optional cond,
logical(lk), intent(in), optional overwrite_a,
integer(ilp), intent(out), optional rank,
type(la_state), intent(out), optional err )

Compute the complex(dp) weighted least-squares solution.

Parameters
[in]wWeight vector w[m]. It is always real, and all its entries must be positive
[in,out]aInput matrix a[m,n]
[in]bRight hand side vector b[m]
[in]cond[optional] cutoff for rank evaluation: singular values s(i)<=cond*maxval(s) are considered 0.
[in]overwrite_a[optional] Can A data be overwritten and destroyed?
[out]rank[optional] Return rank of A
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Result array x[n]

The documentation for this interface was generated from the following file: