| 1 |
/* |
| 2 |
* This file is part of MPSolve 3.2.2 |
| 3 |
* |
| 4 |
* Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa. |
| 5 |
* License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher |
| 6 |
* |
| 7 |
* Authors: |
| 8 |
* Leonardo Robol <[email protected]> |
| 9 |
*/ |
| 10 |
|
| 11 |
/** |
| 12 |
* @file |
| 13 |
* |
| 14 |
* @brief Implementation of determinant computation for Hessenberg matrices. |
| 15 |
*/ |
| 16 |
|
| 17 |
#ifndef MPS_HESSENBERG_DETERMINANT_H_ |
| 18 |
#define MPS_HESSENBERG_DETERMINANT_H_ |
| 19 |
|
| 20 |
#include <mps/mps.h> |
| 21 |
|
| 22 |
MPS_BEGIN_DECLS |
| 23 |
|
| 24 |
void mps_fhessenberg_determinant (mps_context * ctx, cplx_t * hessenberg_matrix, size_t n, cplx_t output, |
| 25 |
long int * exponent); |
| 26 |
void mps_fhessenberg_shifted_determinant (mps_context * ctx, cplx_t * hessenberg_matrix, |
| 27 |
const cplx_t shift, size_t n, cplx_t output, |
| 28 |
long int * exponent); |
| 29 |
|
| 30 |
void mps_dhessenberg_determinant (mps_context * ctx, cdpe_t * hessenberg_matrix, size_t n, cdpe_t output); |
| 31 |
void mps_dhessenberg_shifted_determinant (mps_context * ctx, cdpe_t * hessenberg_matrix, const cdpe_t shift, |
| 32 |
size_t n, cdpe_t output); |
| 33 |
|
| 34 |
void mps_mhessenberg_determinant (mps_context * ctx, mpc_t * hessenberg_matrix, size_t n, |
| 35 |
mpc_t output, rdpe_t error); |
| 36 |
void mps_mhessenberg_shifted_determinant (mps_context * ctx, mpc_t * hessenberg_matrix, mpc_t shift, |
| 37 |
size_t n, mpc_t output, rdpe_t error); |
| 38 |
|
| 39 |
MPS_END_DECLS |
| 40 |
|
| 41 |
#endif /* endif MPS_HESSENBERG_DETERMINANT */ |
| 42 |
|