Graphviz 13.0.0~dev.20241220.2304
|
#include <neatogen/matrix_ops.h>
#include <neatogen/conjgrad.h>
#include <stdbool.h>
#include <stdlib.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
int | conjugate_gradient (vtx_data *A, double *x, double *b, int n, double tol, int max_iterations) |
int | conjugate_gradient_f (float **A, double *x, double *b, int n, double tol, int max_iterations, bool ortho1) |
int | conjugate_gradient_mkernel (float *A, float *x, float *b, int n, double tol, int max_iterations) |
int conjugate_gradient | ( | vtx_data * | A, |
double * | x, | ||
double * | b, | ||
int | n, | ||
double | tol, | ||
int | max_iterations | ||
) |
Definition at line 21 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().
int conjugate_gradient_f | ( | float ** | A, |
double * | x, | ||
double * | b, | ||
int | n, | ||
double | tol, | ||
int | max_iterations, | ||
bool | ortho1 | ||
) |
Definition at line 90 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().
int conjugate_gradient_mkernel | ( | float * | A, |
float * | x, | ||
float * | b, | ||
int | n, | ||
double | tol, | ||
int | max_iterations | ||
) |
Definition at line 160 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().