|
Graphviz 14.0.3~dev.20251104.0241
|
Go to the source code of this file.
Functions | |
| PRIVATE void | scadd (double *, int, double, double *) |
| PRIVATE double | norm (double *, int) |
| PRIVATE void | orthog1 (int n, double *vec) |
| PRIVATE void | init_vec_orth1 (int n, double *vec) |
| PRIVATE void | right_mult_with_vector (vtx_data *, int, double *, double *) |
| PRIVATE void | right_mult_with_vector_f (float **, int, double *, double *) |
| PRIVATE void | vectors_subtraction (int, double *, double *, double *) |
| PRIVATE void | vectors_addition (int, double *, double *, double *) |
| PRIVATE void | vectors_scalar_mult (int, const double *, double, double *) |
| PRIVATE void | copy_vector (int n, const double *restrict source, double *restrict dest) |
| PRIVATE double | vectors_inner_product (int n, const double *vector1, const double *vector2) |
| PRIVATE double | max_abs (int n, double *vector) |
| PRIVATE void | right_mult_with_vector_transpose (double **, int, int, double *, double *) |
| PRIVATE void | right_mult_with_vector_d (double **, int, int, double *, double *) |
| PRIVATE void | mult_dense_mat (double **, float **, int, int, int, float ***C) |
| PRIVATE void | mult_dense_mat_d (double **, float **, int, int, int, double ***CC) |
| PRIVATE void | mult_sparse_dense_mat_transpose (vtx_data *, double **, int, int, float ***) |
| PRIVATE bool | power_iteration (double **, int, int, double **, double *) |
| PRIVATE void | orthog1f (int n, float *vec) |
| PRIVATE void | right_mult_with_vector_ff (float *, int, float *, float *) |
| PRIVATE void | vectors_subtractionf (int, float *, float *, float *) |
| PRIVATE void | vectors_additionf (int n, float *vector1, float *vector2, float *result) |
| PRIVATE void | vectors_mult_additionf (int n, float *vector1, float alpha, float *vector2) |
| PRIVATE void | copy_vectorf (int n, float *source, float *dest) |
| PRIVATE double | vectors_inner_productf (int n, float *vector1, float *vector2) |
| PRIVATE void | set_vector_val (int n, double val, double *result) |
| PRIVATE void | set_vector_valf (int n, float val, float *result) |
| PRIVATE double | max_absf (int n, float *vector) |
| PRIVATE void | square_vec (int n, float *vec) |
| PRIVATE void | invert_vec (int n, float *vec) |
| PRIVATE void | sqrt_vecf (int n, float *source, float *target) |
| PRIVATE void | invert_sqrt_vec (int n, float *vec) |
| PRIVATE void copy_vector | ( | int | n, |
| const double *restrict | source, | ||
| double *restrict | dest | ||
| ) |
Definition at line 320 of file matrix_ops.c.
Referenced by conjugate_gradient(), conjugate_gradient_f(), power_iteration(), rescale_layout_polar(), and rescale_layout_polarFocus().
| PRIVATE void copy_vectorf | ( | int | n, |
| float * | source, | ||
| float * | dest | ||
| ) |
Definition at line 457 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| PRIVATE void init_vec_orth1 | ( | int | n, |
| double * | vec | ||
| ) |
Definition at line 252 of file matrix_ops.c.
References orthog1(), and RANGE.
| PRIVATE void invert_sqrt_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 527 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE void invert_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 507 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE double max_abs | ( | int | n, |
| double * | vector | ||
| ) |
Definition at line 337 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| PRIVATE double max_absf | ( | int | n, |
| float * | vector | ||
| ) |
Definition at line 489 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().
| PRIVATE void mult_dense_mat | ( | double ** | A, |
| float ** | B, | ||
| int | dim1, | ||
| int | dim2, | ||
| int | dim3, | ||
| float *** | C | ||
| ) |
Definition at line 133 of file matrix_ops.c.
References A, B, C, CC, and gv_calloc().
Referenced by sparse_stress_subspace_majorization_kD().
| PRIVATE void mult_dense_mat_d | ( | double ** | A, |
| float ** | B, | ||
| int | dim1, | ||
| int | dim2, | ||
| int | dim3, | ||
| double *** | CC | ||
| ) |
Definition at line 158 of file matrix_ops.c.
References A, B, C, CC, and gv_calloc().
Referenced by iterativePCA_1D().
| PRIVATE void mult_sparse_dense_mat_transpose | ( | vtx_data * | A, |
| double ** | B, | ||
| int | dim1, | ||
| int | dim2, | ||
| float *** | CC | ||
| ) |
Definition at line 186 of file matrix_ops.c.
References A, B, C, CC, gv_calloc(), and nedges.
Referenced by iterativePCA_1D(), and sparse_stress_subspace_majorization_kD().
| PRIVATE double norm | ( | double * | vec, |
| int | end | ||
| ) |
Definition at line 227 of file matrix_ops.c.
References vectors_inner_product().
Referenced by power_iteration().
| PRIVATE void orthog1 | ( | int | n, |
| double * | vec | ||
| ) |
Definition at line 231 of file matrix_ops.c.
Referenced by conjugate_gradient(), conjugate_gradient_f(), init_vec_orth1(), initLayout(), and stress_majorization_kD_mkernel().
| PRIVATE void orthog1f | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 388 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().
| PRIVATE bool power_iteration | ( | double ** | square_mat, |
| int | n, | ||
| int | neigs, | ||
| double ** | eigs, | ||
| double * | evals | ||
| ) |
Definition at line 20 of file matrix_ops.c.
References alpha, copy_vector(), free(), gv_calloc(), len(), norm(), p_iteration_threshold, right_mult_with_vector_d(), scadd(), tol, vectors_inner_product(), and vectors_scalar_mult().
Referenced by iterativePCA_1D(), and PCA_alloc().
Definition at line 264 of file matrix_ops.c.
References vtx_data::nedges.
Referenced by conjugate_gradient().
| PRIVATE void right_mult_with_vector_d | ( | double ** | matrix, |
| int | dim1, | ||
| int | dim2, | ||
| double * | vector, | ||
| double * | result | ||
| ) |
Definition at line 366 of file matrix_ops.c.
Referenced by power_iteration(), and sparse_stress_subspace_majorization_kD().
| PRIVATE void right_mult_with_vector_f | ( | float ** | matrix, |
| int | n, | ||
| double * | vector, | ||
| double * | result | ||
| ) |
Definition at line 279 of file matrix_ops.c.
Referenced by conjugate_gradient_f().
| PRIVATE void right_mult_with_vector_ff | ( | float * | packed_matrix, |
| int | n, | ||
| float * | vector, | ||
| float * | result | ||
| ) |
Definition at line 406 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| PRIVATE void right_mult_with_vector_transpose | ( | double ** | matrix, |
| int | dim1, | ||
| int | dim2, | ||
| double * | vector, | ||
| double * | result | ||
| ) |
Definition at line 348 of file matrix_ops.c.
Referenced by sparse_stress_subspace_majorization_kD().
| PRIVATE void scadd | ( | double * | vec1, |
| int | end, | ||
| double | fac, | ||
| double * | vec2 | ||
| ) |
Definition at line 218 of file matrix_ops.c.
Referenced by power_iteration(), and rescale_layout_polar().
| PRIVATE void set_vector_val | ( | int | n, |
| double | val, | ||
| double * | result | ||
| ) |
Definition at line 475 of file matrix_ops.c.
| PRIVATE void set_vector_valf | ( | int | n, |
| float | val, | ||
| float * | result | ||
| ) |
Definition at line 482 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE void sqrt_vecf | ( | int | n, |
| float * | source, | ||
| float * | target | ||
| ) |
Definition at line 517 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE void square_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 499 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE void vectors_addition | ( | int | n, |
| double * | vector1, | ||
| double * | vector2, | ||
| double * | result | ||
| ) |
Definition at line 304 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| PRIVATE void vectors_additionf | ( | int | n, |
| float * | vector1, | ||
| float * | vector2, | ||
| float * | result | ||
| ) |
Definition at line 440 of file matrix_ops.c.
| PRIVATE double vectors_inner_product | ( | int | n, |
| const double * | vector1, | ||
| const double * | vector2 | ||
| ) |
Definition at line 326 of file matrix_ops.c.
Referenced by conjugate_gradient(), conjugate_gradient_f(), norm(), and power_iteration().
| PRIVATE double vectors_inner_productf | ( | int | n, |
| float * | vector1, | ||
| float * | vector2 | ||
| ) |
Definition at line 464 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| PRIVATE void vectors_mult_additionf | ( | int | n, |
| float * | vector1, | ||
| float | alpha, | ||
| float * | vector2 | ||
| ) |
Definition at line 449 of file matrix_ops.c.
References alpha.
Referenced by conjugate_gradient_mkernel().
| PRIVATE void vectors_scalar_mult | ( | int | n, |
| const double * | vector, | ||
| double | alpha, | ||
| double * | result | ||
| ) |
Definition at line 312 of file matrix_ops.c.
References alpha.
Referenced by conjugate_gradient(), conjugate_gradient_f(), and power_iteration().
| PRIVATE void vectors_subtraction | ( | int | n, |
| double * | vector1, | ||
| double * | vector2, | ||
| double * | result | ||
| ) |
Definition at line 294 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| PRIVATE void vectors_subtractionf | ( | int | n, |
| float * | vector1, | ||
| float * | vector2, | ||
| float * | result | ||
| ) |
Definition at line 431 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().