# dss_solve_real, dss_solve_complex

Compute the corresponding solutions vector and place it in the output array.

## Syntax

dss_solve_real(handle, opt, rRhsValues, nRhs, rSolValues)

dss_solve_complex(handle, opt, cRhsValues, nRhs, cSolValues)

## Description

For each right hand side column vector defined in the arrays rRhsValues or cRhsValues, these routines compute the corresponding solutions vector and place it in the arrays rSolValues or cSolValues .

The lengths of the right-hand side and solution vectors, nCols and nRows respectively, are assumed to have been defined in a previous call to dss_define_structure.

## Input Parameters

handle

  Data object of the MKL_DSS_HANDLE type (see Interface Description).

opt

  INTEGER. Options passing argument.

nRhs

  INTEGER. Number of the right-hand sides in the linear equation.

rRhsValues

  DOUBLE PRECISION. Array of size nRows by nRhs. Contains real right-hand side vectors.

cRhsValues

  DOUBLE COMPLEX. Array of size nRows by nRhs. Contains complex right-hand side vectors.

## Output Parameters

rSolValues

  DOUBLE PRECISION. Array of size nCols by nRhs. Contains real solution vectors.

cSolValues

  DOUBLE COMPLEX. Array of size nCols by nRhs. Contains complex solution vectors.

## Return Values

MKL_DSS_SUCCESS

MKL_DSS_STATE_ERR

MKL_DSS_INVALID_OPTION

MKL_DSS_OUT_OF_MEMORY

Parent topic: Direct Sparse Solver (DSS) Interface Routines