Motr  M0
ls_solve.c File Reference
#include "lib/assert.h"
#include "lib/types.h"
#include "lib/errno.h"
#include "lib/misc.h"
#include "sns/parity_ops.h"
#include "sns/ls_solve.h"
#include "lib/trace.h"
Include dependency graph for ls_solve.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SNS
 

Functions

M0_INTERNAL void m0_linsys_init (struct m0_linsys *lynsys, struct m0_matrix *m, struct m0_matvec *v, struct m0_matvec *r)
 
M0_INTERNAL void m0_linsys_fini (struct m0_linsys *lynsys)
 
static uint32_t find_max_row_index_for_col (struct m0_matrix *m, uint32_t column)
 
static void triangularize (struct m0_matrix *m, struct m0_matvec *v)
 
static void substitute (struct m0_matrix *m, struct m0_matvec *v, struct m0_matvec *r)
 
M0_INTERNAL void m0_linsys_solve (struct m0_linsys *lynsys)
 
M0_INTERNAL int m0_matrix_invert (const struct m0_matrix *in_mat, struct m0_matrix *mat_inverse)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SNS

Definition at line 30 of file ls_solve.c.

Function Documentation

◆ find_max_row_index_for_col()

static uint32_t find_max_row_index_for_col ( struct m0_matrix m,
uint32_t  column 
)
static

Definition at line 55 of file ls_solve.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ substitute()

static void substitute ( struct m0_matrix m,
struct m0_matvec v,
struct m0_matvec r 
)
static

Definition at line 104 of file ls_solve.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ triangularize()

static void triangularize ( struct m0_matrix m,
struct m0_matvec v 
)
static

Definition at line 74 of file ls_solve.c.

Here is the call graph for this function:
Here is the caller graph for this function: