SingularValueSolversModule Module

A module for computing the singular values of a matrix.



Contents


Subroutines

public subroutine SingularValueDecomposition(this, left_vectors, right_vectors, singularvalues, solver_parameters_in)

Compute the singular values and singular vectors of a matrix.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: this

The matrix to decompose.

type(Matrix_ps), intent(inout) :: left_vectors

A matrix containing the left singular vectors.

type(Matrix_ps), intent(inout) :: right_vectors

A matrix containing the right singular vectors.

type(Matrix_ps), intent(inout) :: singularvalues

A diagonal matrix containing the singularvalues.

type(SolverParameters_t), intent(in), optional :: solver_parameters_in

Parameters for the solver