|
Graphviz
2.41.20171026.1811
|
#include "sparsegraph.h"

Go to the source code of this file.
Macros | |
| #define | _MATRIX_OPS_H_ |
Functions | |
| void | cpvec (double *, int, int, double *) |
| double | dot (double *, int, int, double *) |
| void | scadd (double *, int, int, double, double *) |
| void | vecscale (double *, int, int, double, double *) |
| double | norm (double *, int, int) |
| void | orthog1 (int n, double *vec) |
| void | init_vec_orth1 (int n, double *vec) |
| void | right_mult_with_vector (vtx_data *, int, double *, double *) |
| void | right_mult_with_vector_f (float **, int, double *, double *) |
| void | vectors_subtraction (int, double *, double *, double *) |
| void | vectors_addition (int, double *, double *, double *) |
| void | vectors_scalar_mult (int, double *, double, double *) |
| void | copy_vector (int n, double *source, double *dest) |
| double | vectors_inner_product (int n, double *vector1, double *vector2) |
| double | max_abs (int n, double *vector) |
| void | right_mult_with_vector_transpose (double **, int, int, double *, double *) |
| void | right_mult_with_vector_d (double **, int, int, double *, double *) |
| void | mult_dense_mat (double **, float **, int, int, int, float ***C) |
| void | mult_dense_mat_d (double **, float **, int, int, int, double ***CC) |
| void | mult_sparse_dense_mat_transpose (vtx_data *, double **, int, int, float ***) |
| int | power_iteration (double **, int, int, double **, double *, int) |
| void | orthog1f (int n, float *vec) |
| void | right_mult_with_vector_ff (float *, int, float *, float *) |
| void | vectors_substractionf (int, float *, float *, float *) |
| void | vectors_additionf (int n, float *vector1, float *vector2, float *result) |
| void | vectors_mult_additionf (int n, float *vector1, float alpha, float *vector2) |
| void | vectors_scalar_multf (int n, float *vector, float alpha, float *result) |
| void | copy_vectorf (int n, float *source, float *dest) |
| double | vectors_inner_productf (int n, float *vector1, float *vector2) |
| void | set_vector_val (int n, double val, double *result) |
| void | set_vector_valf (int n, float val, float *result) |
| double | max_absf (int n, float *vector) |
| void | square_vec (int n, float *vec) |
| void | invert_vec (int n, float *vec) |
| void | sqrt_vec (int n, float *vec) |
| void | sqrt_vecf (int n, float *source, float *target) |
| void | invert_sqrt_vec (int n, float *vec) |
| #define _MATRIX_OPS_H_ |
Definition at line 21 of file matrix_ops.h.
| void copy_vector | ( | int | n, |
| double * | source, | ||
| double * | dest | ||
| ) |
Definition at line 431 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| void copy_vectorf | ( | int | n, |
| float * | source, | ||
| float * | dest | ||
| ) |
Definition at line 657 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
Definition at line 258 of file matrix_ops.c.
Referenced by power_iteration().
Definition at line 270 of file matrix_ops.c.
| void init_vec_orth1 | ( | int | n, |
| double * | vec | ||
| ) |
Definition at line 341 of file matrix_ops.c.
| void invert_sqrt_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 752 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| void invert_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 714 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| double max_abs | ( | int | n, |
| double * | vector | ||
| ) |
Definition at line 451 of file matrix_ops.c.
| double max_absf | ( | int | n, |
| float * | vector | ||
| ) |
Definition at line 693 of file matrix_ops.c.
Definition at line 142 of file matrix_ops.c.
Definition at line 178 of file matrix_ops.c.
Referenced by iterativePCA_1D().
Definition at line 214 of file matrix_ops.c.
References C, vtx_data::edges, vtx_data::ewgts, vtx_data::nedges, and NULL.
Referenced by iterativePCA_1D().
| void orthog1 | ( | int | n, |
| double * | vec | ||
| ) |
Definition at line 319 of file matrix_ops.c.
Referenced by conjugate_gradient(), conjugate_gradient_f(), init_vec_orth1(), initLayout(), and stress_majorization_kD_mkernel().
| void orthog1f | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 544 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().
Definition at line 24 of file matrix_ops.c.
References alpha, cpvec(), dot, N_GNEW, norm(), right_mult_with_vector_d(), scadd(), and vecscale().
Referenced by iterativePCA_1D(), and PCA_alloc().
Definition at line 354 of file matrix_ops.c.
References vtx_data::nedges.
Referenced by conjugate_gradient().
Definition at line 521 of file matrix_ops.c.
Referenced by power_iteration().
| void right_mult_with_vector_f | ( | float ** | , |
| int | , | ||
| double * | , | ||
| double * | |||
| ) |
Definition at line 371 of file matrix_ops.c.
Referenced by conjugate_gradient_f().
| void right_mult_with_vector_ff | ( | float * | , |
| int | , | ||
| float * | , | ||
| float * | |||
| ) |
Definition at line 594 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
Definition at line 503 of file matrix_ops.c.
Definition at line 286 of file matrix_ops.c.
Referenced by power_iteration().
| void set_vector_val | ( | int | n, |
| double | val, | ||
| double * | result | ||
| ) |
Definition at line 677 of file matrix_ops.c.
| void set_vector_valf | ( | int | n, |
| float | val, | ||
| float * | result | ||
| ) |
Definition at line 685 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| void sqrt_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 725 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| void sqrt_vecf | ( | int | n, |
| float * | source, | ||
| float * | target | ||
| ) |
Definition at line 737 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
| void square_vec | ( | int | n, |
| float * | vec | ||
| ) |
Definition at line 705 of file matrix_ops.c.
Referenced by stress_majorization_kD_mkernel().
Definition at line 298 of file matrix_ops.c.
Referenced by power_iteration().
| void vectors_addition | ( | int | , |
| double * | , | ||
| double * | , | ||
| double * | |||
| ) |
Definition at line 399 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| void vectors_additionf | ( | int | n, |
| float * | vector1, | ||
| float * | vector2, | ||
| float * | result | ||
| ) |
Definition at line 629 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| double vectors_inner_product | ( | int | n, |
| double * | vector1, | ||
| double * | vector2 | ||
| ) |
Definition at line 439 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| double vectors_inner_productf | ( | int | n, |
| float * | vector1, | ||
| float * | vector2 | ||
| ) |
Definition at line 665 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| void vectors_mult_additionf | ( | int | n, |
| float * | vector1, | ||
| float | alpha, | ||
| float * | vector2 | ||
| ) |
Definition at line 639 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel(), and stress_majorization_kD_mkernel().
| void vectors_scalar_mult | ( | int | , |
| double * | , | ||
| double | , | ||
| double * | |||
| ) |
Definition at line 422 of file matrix_ops.c.
References alpha.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
| void vectors_scalar_multf | ( | int | n, |
| float * | vector, | ||
| float | alpha, | ||
| float * | result | ||
| ) |
Definition at line 648 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().
| void vectors_substractionf | ( | int | , |
| float * | , | ||
| float * | , | ||
| float * | |||
| ) |
Definition at line 619 of file matrix_ops.c.
Referenced by conjugate_gradient_mkernel().
| void vectors_subtraction | ( | int | , |
| double * | , | ||
| double * | , | ||
| double * | |||
| ) |
Definition at line 388 of file matrix_ops.c.
Referenced by conjugate_gradient(), and conjugate_gradient_f().
1.8.5