Blender V4.3
linear_solver.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Typedefs

typedef struct LinearSolver LinearSolver
 

Functions

LinearSolverEIG_linear_solver_new (int num_rows, int num_columns, int num_right_hand_sides)
 
LinearSolverEIG_linear_least_squares_solver_new (int num_rows, int num_columns, int num_right_hand_sides)
 
void EIG_linear_solver_delete (LinearSolver *solver)
 
void EIG_linear_solver_variable_set (LinearSolver *solver, int rhs, int index, double value)
 
double EIG_linear_solver_variable_get (LinearSolver *solver, int rhs, int index)
 
void EIG_linear_solver_variable_lock (LinearSolver *solver, int index)
 
void EIG_linear_solver_variable_unlock (LinearSolver *solver, int index)
 
void EIG_linear_solver_matrix_add (LinearSolver *solver, int row, int col, double value)
 
void EIG_linear_solver_right_hand_side_add (LinearSolver *solver, int rhs, int index, double value)
 
bool EIG_linear_solver_solve (LinearSolver *solver)
 
void EIG_linear_solver_print_matrix (LinearSolver *solver)
 

Detailed Description

Sparse linear solver.

Definition in file linear_solver.h.

Typedef Documentation

◆ LinearSolver

typedef struct LinearSolver LinearSolver

Definition at line 21 of file linear_solver.h.

Function Documentation

◆ EIG_linear_least_squares_solver_new()

LinearSolver * EIG_linear_least_squares_solver_new ( int num_rows,
int num_columns,
int num_right_hand_sides )

◆ EIG_linear_solver_delete()

◆ EIG_linear_solver_matrix_add()

◆ EIG_linear_solver_new()

LinearSolver * EIG_linear_solver_new ( int num_rows,
int num_columns,
int num_right_hand_sides )

◆ EIG_linear_solver_print_matrix()

void EIG_linear_solver_print_matrix ( LinearSolver * solver)

◆ EIG_linear_solver_right_hand_side_add()

◆ EIG_linear_solver_solve()

◆ EIG_linear_solver_variable_get()

◆ EIG_linear_solver_variable_lock()

◆ EIG_linear_solver_variable_set()

void EIG_linear_solver_variable_set ( LinearSolver * solver,
int rhs,
int index,
double value )

◆ EIG_linear_solver_variable_unlock()

void EIG_linear_solver_variable_unlock ( LinearSolver * solver,
int index )