Introduction
Invertor programs are written to compute the inversion of large matrices using blockwise inversion technique. The codes are available in C language for adopting with the user programs.
Publications
-
R. Thiru Senthil, Invertor - Program to compute exact inversion of large matrices
DOI: 10.22323/1.414.1129
Published in: PoS ICHEP2022 (2022), 1129
-
R. Thiru Senthil, Blockwise inversion and algorithms for inverting large partitioned matrices
e-Print: 2305.11103 [math.NA]
Submitted to Journal
Instructions
The programs written in this project are available in the 'Download page'. There are various C functions given in separate files according to the inversion scenario.
- User has to place the downloaded C file in the same directory of their programs and include it in their programs.
- The input_matrix and inverted_matrix are need to be declared (or dynamically memory allocated) in two dimensional double arrays (or pointers). The input matrix is updated with it's values.
- By calling, invertmat function with the arguments (order of input matrix, input_matrix, inverted_matrix), the matrix inversion is performed. Upon successful inversion, invertmat is updated with the values of inverted_matrix for the given input_matrix and the function returns an integer as 1.
#include "./invertor_inplace_by_a.c"
      ⋮
... < user defined function > (...)
{
int < order > ;
double **< input_matrix >, **< inverted_matrix > ;
      ⋮
invertmat( < order >, < input_matrix >, < inverted_matrix > );
      ⋮
}