Graphviz
2.41.20171026.1811
|
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <assert.h>
#include <cgraph.h>
#include <globals.h>
#include <logic.h>
#include <arith.h>
#include <memory.h>
Go to the source code of this file.
Macros | |
#define | real double |
#define | set_flag(a, flag) ((a)=((a)|(flag))) |
#define | test_flag(a, flag) ((a)&(flag)) |
#define | clear_flag(a, flag) ((a) &=(~(flag))) |
#define | MALLOC gmalloc |
#define | REALLOC grealloc |
#define | FREE free |
#define | MEMCPY memcpy |
#define | NDEBUG /* switch off assert*/ |
#define | MACHINEACC 1.0e-16 |
#define | SQRT_MACHINEACC 1.0e-8 |
#define | MINDIST 1.e-15 |
Enumerations | |
enum | { UNMATCHED = -1 } |
#define clear_flag | ( | a, | |
flag | |||
) | ((a) &=(~(flag))) |
Definition at line 38 of file general.h.
Referenced by SparseMatrix_remove_upper().
#define MACHINEACC 1.0e-16 |
Definition at line 120 of file general.h.
Referenced by SparseMatrix_page_rank(), and uniform_stress().
#define real double |
Definition at line 34 of file general.h.
Referenced by attached_clustering(), average_edge_length(), call_tri(), call_tri2(), cg(), check_or_realloc_arrays(), check_real_array_size(), comp_ascend(), comp_descend(), comp_real(), distance(), distance_cropped(), DistanceMatrix_restrict_cluster(), drand(), edgelist_export(), export_embedding(), get_angle(), get_distance_matrix(), get_stress(), getSizes(), hue2rgb(), hue2rgb_real(), ideal_distance_matrix(), Import_coord_clusters_from_dot(), interpolate_coord(), jacobi(), main(), makeDotGraph(), makeMatrix(), Multilevel_coarsen(), Multilevel_MQ_Clustering_establish(), Multilevel_MQ_Clustering_init(), Operator_diag_precon_apply(), Operator_diag_precon_new(), Operator_uniform_stress_diag_precon_new(), Operator_uniform_stress_matmul_apply(), pcp_rotate(), point_distance(), post_process_smoothing(), QuadTree_get_supernodes(), QuadTree_get_supernodes_internal(), QuadTree_new(), QuadTree_new_from_point_list(), scale_to_box(), SparseMatrix_add(), SparseMatrix_apply_fun(), SparseMatrix_apply_fun_general(), SparseMatrix_crop(), SparseMatrix_distance_matrix(), SparseMatrix_distance_matrix_k_centers(), SparseMatrix_distance_matrix_khops(), SparseMatrix_divide_row_by_degree(), SparseMatrix_from_dense(), SparseMatrix_get_real_adjacency_matrix_symmetrized(), SparseMatrix_get_submatrix(), SparseMatrix_import_dot(), SparseMatrix_is_symmetric(), SparseMatrix_k_centers(), SparseMatrix_k_centers_user(), SparseMatrix_multiply(), SparseMatrix_multiply3(), SparseMatrix_multiply_by_scaler(), SparseMatrix_multiply_vector(), SparseMatrix_normalize_by_row(), SparseMatrix_normalize_to_rowsum1(), SparseMatrix_page_rank(), SparseMatrix_print_coord(), SparseMatrix_print_csr(), SparseMatrix_pseudo_diameter_unweighted(), SparseMatrix_pseudo_diameter_weighted(), SparseMatrix_remove_diagonal(), SparseMatrix_remove_upper(), SparseMatrix_scaled_by_vector(), SparseMatrix_set_entries_to_real_one(), SparseMatrix_solve(), SparseMatrix_sum_repeat_entries(), SparseMatrix_to_complex(), SparseMatrix_transpose(), SparseStressMajorizationSmoother_new(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), spring_maxent_embedding(), SpringSmoother_new(), stress_model_core(), StressMajorizationSmoother2_new(), StressMajorizationSmoother_smooth(), tree_map(), TriangleSmoother_new(), uniform_stress(), UniformStressSmoother_new(), vector_median(), vector_ordering(), vector_percentile(), vector_product(), vector_sort_real(), and vector_take().
Definition at line 35 of file layout_similarity.c.
Referenced by get_stress(), ideal_distance_matrix(), main(), makeDotGraph(), SparseStressMajorizationSmoother_new(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), SpringSmoother_new(), StressMajorizationSmoother2_new(), StressMajorizationSmoother_smooth(), and TriangleSmoother_new().
Definition at line 27 of file layout_similarity.c.
real drand | ( | void | ) |
Definition at line 52 of file general.c.
References real.
Referenced by assign_random_edge_color(), SparseStressMajorizationSmoother_new(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), spring_maxent_embedding(), stress_model_core(), StressMajorizationSmoother_smooth(), and uniform_stress().
int excute_system_command3 | ( | char * | s1, |
char * | s2, | ||
char * | s3 | ||
) |
char* strip_dir | ( | char * | s | ) |
Definition at line 299 of file general.c.
Referenced by dump_coordinates(), and makeDotGraph().
Definition at line 210 of file general.c.
References comp_ascend(), comp_descend(), FREE, int, MALLOC, and real.
Referenced by vector_median(), and vector_percentile().
Definition at line 101 of file general.c.
References real.
Referenced by StressMajorizationSmoother_smooth().
Definition at line 250 of file general.c.
References comp_ascend_int(), and comp_descend_int().
Definition at line 243 of file general.c.
References comp_ascend(), comp_descend(), and real.