Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
conjgrad.h File Reference
#include <neatogen/defs.h>
#include <stdbool.h>
Include dependency graph for conjgrad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int conjugate_gradient (vtx_data *, double *, double *, int, double, int)
 
int conjugate_gradient_f (float **, double *, double *, int, double, int, bool)
 
int conjugate_gradient_mkernel (float *, float *, float *, int, double, int)
 

Function Documentation

◆ conjugate_gradient()

int conjugate_gradient ( vtx_data A,
double *  x,
double *  b,
int  n,
double  tol,
int  max_iterations 
)
extern

Definition at line 22 of file conjgrad.c.

References A, agerrorf(), alpha, copy_vector(), free(), gv_calloc(), max_abs(), orthog1(), right_mult_with_vector(), tol, vectors_addition(), vectors_inner_product(), vectors_scalar_mult(), and vectors_subtraction().

Here is the call graph for this function:

◆ conjugate_gradient_f()

int conjugate_gradient_f ( float **  A,
double *  x,
double *  b,
int  n,
double  tol,
int  max_iterations,
bool  ortho1 
)
extern

Definition at line 91 of file conjgrad.c.

References A, agerrorf(), alpha, cleanup1(), copy_vector(), free(), gv_calloc(), max_abs(), orthog1(), right_mult_with_vector_f(), tol, vectors_addition(), vectors_inner_product(), vectors_scalar_mult(), and vectors_subtraction().

Referenced by sparse_stress_subspace_majorization_kD().

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

◆ conjugate_gradient_mkernel()

int conjugate_gradient_mkernel ( float *  A,
float *  x,
float *  b,
int  n,
double  tol,
int  max_iterations 
)
extern

Definition at line 161 of file conjgrad.c.

References A, agerrorf(), alpha, cleanup2(), copy_vectorf(), free(), gv_calloc(), max_absf(), orthog1f(), right_mult_with_vector_ff(), tol, vectors_inner_productf(), vectors_mult_additionf(), and vectors_subtractionf().

Referenced by stress_majorization_kD_mkernel().

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