HydroCODE 0.1
This is a implementation of fully explict forward Euler scheme for 1-D Euler equations of motion on Lagrange coordinate
math_algo.c 文件参考

There are some mathematical algorithms. 更多...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
math_algo.c 的引用(Include)关系图:

函数

int rinv (double a[], const int n)
 A function to caculate the inverse of the input square matrix. 更多...
 

详细描述

There are some mathematical algorithms.

函数说明

◆ rinv()

int rinv ( double  a[],
const int  n 
)

A function to caculate the inverse of the input square matrix.

参数
[in,out]aThe pointer of the input/output square matrix.
[in]nThe order of the input/output square matrix.
返回
Matrix is invertible or not.
返回值
0No inverse matrix
1Invertible matrix