least_squares Derived Type

type, public :: least_squares


Inherited by

type~~least_squares~~InheritedByGraph type~least_squares least_squares type~mesh mesh type~mesh->type~least_squares lsr type~pde pde type~pde->type~mesh msh type~field field type~field->type~mesh msh type~scalar_field scalar_field type~scalar_field->type~field type~vector_field vector_field type~vector_field->type~field type~scalar_pde scalar_pde type~scalar_pde->type~pde type~vector_pde vector_pde type~vector_pde->type~pde

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
real(kind=psb_dpk_), public, allocatable:: a(:)

Type-Bound Procedures

generic, public :: nemo_sizeof => nemo_least_squares_sizeof

procedure, public :: solve_least_squares

Math Operations

  • interface

    private module subroutine solve_least_squares(lsr, rhs)

    Arguments

    Type IntentOptional AttributesName
    class(least_squares), intent(in) :: lsr
    real(kind=psb_dpk_), intent(inout) :: rhs(:)

procedure, private :: nemo_least_squares_sizeof

  • interface

    private elemental module function nemo_least_squares_sizeof(lsq)

    Arguments

    Type IntentOptional AttributesName
    class(least_squares), intent(in) :: lsq

    Return Value integer(kind=nemo_int_long_)

Source Code

    TYPE least_squares
        REAL(psb_dpk_), ALLOCATABLE :: A(:)
    CONTAINS
        PROCEDURE, PRIVATE :: nemo_least_squares_sizeof
        GENERIC,   PUBLIC  :: nemo_sizeof => nemo_least_squares_sizeof
        PROCEDURE, PUBLIC  :: solve_least_squares         !! Math Operations
    END TYPE least_squares