GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72251
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ccmath.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
Include dependency graph for ccmath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  complex
 

Macros

#define XMATH   1
 
#define NULL   ((void *)0
 
#define CPX   1
 

Typedefs

typedef struct complex Cpx
 

Functions

int minv (double *a, int n)
 
int psinv (double *v, int n)
 
int ruinv (double *a, int n)
 
int solv (double *a, double *b, int n)
 
int solvps (double *s, double *x, int n)
 
int solvru (double *a, double *b, int n)
 
void solvtd (double *a, double *b, double *c, double *x, int m)
 
void eigen (double *a, double *eval, int n)
 
void eigval (double *a, double *eval, int n)
 
double evmax (double *a, double *u, int n)
 
int svdval (double *d, double *a, int m, int n)
 
int sv2val (double *d, double *a, int m, int n)
 
int svduv (double *d, double *a, double *u, int m, double *v, int n)
 
int sv2uv (double *d, double *a, double *u, int m, double *v, int n)
 
int svdu1v (double *d, double *a, int m, double *v, int n)
 
int sv2u1v (double *d, double *a, int m, double *v, int n)
 
void mmul (double *mat, double *a, double *b, int n)
 
void rmmult (double *mat, double *a, double *b, int m, int k, int n)
 
void vmul (double *vp, double *mat, double *v, int n)
 
double vnrm (double *u, double *v, int n)
 
void matprt (double *a, int n, int m, char *fmt)
 
void fmatprt (FILE *fp, double *a, int n, int m, char *fmt)
 
void trnm (double *a, int n)
 
void mattr (double *a, double *b, int m, int n)
 
void otrma (double *at, double *u, double *a, int n)
 
void otrsm (double *st, double *u, double *s0, int n)
 
void mcopy (double *a, double *b, int m)
 
void ortho (double *evc, int n)
 
void smgen (double *a, double *eval, double *evec, int n)
 
void house (double *a, double *d, double *ud, int n)
 
void housev (double *a, double *d, double *ud, int n)
 
int qreval (double *eval, double *ud, int n)
 
int qrevec (double *eval, double *evec, double *dp, int n)
 
int qrbdi (double *d, double *e, int n)
 
int qrbdv (double *d, double *e, double *u, int m, double *v, int n)
 
int qrbdu1 (double *d, double *e, double *u, int m, double *v, int n)
 
void ldumat (double *a, double *u, int m, int n)
 
void ldvmat (double *a, double *v, int n)
 
void atou1 (double *a, int m, int n)
 
void atovm (double *v, int n)
 
int cminv (Cpx *a, int n)
 
int csolv (Cpx *a, Cpx *b, int n)
 
void heigvec (Cpx *a, double *eval, int n)
 
void heigval (Cpx *a, double *eval, int n)
 
double hevmax (Cpx *a, Cpx *u, int n)
 
void cmmul (Cpx *c, Cpx *a, Cpx *b, int n)
 
void cmmult (Cpx *c, Cpx *a, Cpx *b, int m, int k, int n)
 
void cvmul (Cpx *vp, Cpx *mat, Cpx *v, int n)
 
Cpx cvnrm (Cpx *u, Cpx *v, int n)
 
void cmprt (Cpx *a, int n, int m, char *fmt)
 
void trncm (Cpx *a, int n)
 
void hconj (Cpx *u, int n)
 
void cmattr (Cpx *a, Cpx *b, int m, int n)
 
void utrncm (Cpx *at, Cpx *u, Cpx *a, int n)
 
void utrnhm (Cpx *ht, Cpx *u, Cpx *h0, int n)
 
void cmcpy (Cpx *a, Cpx *b, int n)
 
void unitary (Cpx *u, int n)
 
void hmgen (Cpx *h, double *eval, Cpx *u, int n)
 
void chouse (Cpx *a, double *d, double *ud, int n)
 
void chousv (Cpx *a, double *d, double *ud, int n)
 
void qrecvc (double *eval, Cpx *evec, double *ud, int n)
 

Macro Definition Documentation

#define CPX   1

Definition at line 40 of file ccmath.h.

#define NULL   ((void *)0

Definition at line 32 of file ccmath.h.

Referenced by alloc_slice_buff(), alloc_vol_buff(), AMI_sort(), AMI_STREAM< T >::AMI_STREAM(), avl_assert_delete(), avl_assert_insert(), avl_copy(), avl_create(), avl_delete(), avl_destroy(), avl_find(), avl_free(), avl_insert(), avl_malloc(), avl_probe(), avl_replace(), avl_t_copy(), avl_t_cur(), avl_t_find(), avl_t_first(), avl_t_init(), avl_t_insert(), avl_t_last(), avl_t_next(), avl_t_prev(), avl_t_replace(), BM_create(), BM_create_sparse(), BM_destroy_sparse(), BM_dump_map_row_sparse(), BM_dump_map_sparse(), BM_file_read(), BM_file_write_sparse(), BM_get_map_size_sparse(), BM_get_sparse(), BM_set_sparse(), btree_create(), btree_update(), Cairo_Graph_close(), Cdhc_anderson_darling(), Cdhc_anderson_darling_exp(), Cdhc_chi_square(), Cdhc_chi_square_exp(), Cdhc_cramer_von_mises(), Cdhc_cramer_von_mises_exp(), Cdhc_dagostino_d(), Cdhc_dmax(), Cdhc_dmax_exp(), Cdhc_durbins_exact(), Cdhc_royston(), Cdhc_shapiro_francia(), Cdhc_shapiro_wilk(), Cdhc_watson_u2(), Cdhc_watson_u2_exp(), Cdhc_weisberg_bingham(), clean_dir(), em_buffer< T, Key >::cleanup(), em_pqueue< T, Key >::clear(), COM_Graph_get_file(), COM_Set_font(), correct_twist(), create_si_struct(), D_draw_raster_RGB(), D_open_driver(), db__add_cursor_to_driver_state(), db__close_all_cursors(), db__drop_cursor_from_driver_state(), db__recv_double_array(), db__recv_float_array(), db__recv_index_array(), db__recv_int_array(), db__recv_short_array(), db__recv_string_array(), db__recv_table_definition(), db_alloc_cursor_column_flags(), db_alloc_cursor_table(), db_alloc_dirent_array(), db_alloc_index_columns(), db_alloc_table(), db_append_table_column(), db_calloc(), db_CatValArray_get_value(), db_CatValArray_get_value_double(), db_CatValArray_get_value_int(), db_CatValArray_init(), db_clone_table(), db_copy_column(), db_copy_table(), db_copy_table_by_ints(), db_copy_table_select(), db_copy_table_where(), db_create_index2(), db_d_append_error(), db_d_bind_update(), db_d_close_cursor(), db_d_delete(), db_d_insert(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_d_update(), db_delete_table(), db_dirent(), db_double_quote_string(), db_driver(), db_enlarge_string(), db_error(), db_free_cursor_column_flags(), db_get_column(), db_get_connection(), db_get_default_database_name(), db_get_default_driver_name(), db_get_default_group_name(), db_get_default_schema_name(), db_get_error_msg(), db_get_index_column_name(), db_get_login(), db_get_table_column(), db_get_table_column_by_name(), db_has_dbms(), db_init_index(), db_list_drivers(), db_malloc(), db_new_token(), db_read_dbmscap(), db_realloc(), db_select_CatValArray(), db_select_int(), db_select_value(), db_set_login(), db_shutdown_driver(), db_start_driver(), db_start_driver_open_database(), db_table_exists(), DBFClose(), DBFCreateLL(), DBFGetCodePage(), DBFGetFieldIndex(), DBFGetFieldInfo(), DBFIsAttributeNULL(), DBFOpenLL(), DBFReadDoubleAttribute(), DBFReadIntegerAttribute(), DBFWriteNULLAttribute(), DGL_ADD_EDGE_FUNC(), DGL_ADD_NODE_FUNC(), DGL_DEL_EDGE_FUNC(), DGL_DEL_NODE_FUNC(), DGL_DEL_NODE_INEDGE_FUNC(), DGL_DEL_NODE_OUTEDGE_FUNC(), dgl_edge_prioritizer_add(), dgl_edge_prioritizer_del(), DGL_EDGE_T_FIRST_FUNC(), DGL_EDGE_T_INITIALIZE_FUNC(), DGL_EDGE_T_NEXT_FUNC(), DGL_EDGE_T_RELEASE_FUNC(), DGL_EDGESET_T_FIRST_FUNC(), DGL_EDGESET_T_NEXT_FUNC(), DGL_FLATTEN_FUNC(), DGL_GET_EDGE_FUNC(), DGL_GET_NODE_FUNC(), DGL_GET_NODE_INEDGESET_FUNC(), DGL_GET_NODE_OUTEDGESET_FUNC(), dgl_initialize_V1(), dgl_initialize_V2(), dgl_mempop(), dgl_mempush(), DGL_NODE_T_FIND_FUNC(), DGL_NODE_T_FIRST_FUNC(), DGL_NODE_T_INITIALIZE_FUNC(), DGL_NODE_T_NEXT_FUNC(), DGL_NODE_T_RELEASE_FUNC(), dgl_read_V1(), dgl_read_V2(), DGL_SP_CACHE_INITIALIZE_FUNC(), DGL_SP_CACHE_RELEASE_FUNC(), DGL_SPAN_DEPTHFIRST_SPANNING_FUNC(), DGL_SPAN_MINIMUM_SPANNING_FUNC(), DGL_UNFLATTEN_FUNC(), dglAddEdge(), dglDepthComponents(), dglDepthSpanning(), dglEdge_T_First(), dglEdge_T_Next(), dglEdgeGet_Attr(), dglEdgeGet_Head(), dglEdgeGet_Tail(), dglEdgeset_T_First(), dglEdgeset_T_Next(), dglGetEdge(), dglGetNode(), dglHeapFree(), dglHeapInit(), dglHeapInsertMax(), dglHeapInsertMin(), dglInitialize(), dglIOContextInitialize(), dglNode_T_Find(), dglNode_T_First(), dglNode_T_Next(), dglNodeGet_Attr(), dglNodeGet_InEdgeset(), dglNodeGet_OutEdgeset(), dglReadChunk(), dglShortestDistance(), dglShortestPath(), dglTreeEdgeAdd(), dglTreeEdgePri32Add(), dglTreeNode2Add(), dglTreeNodeAdd(), dglTreeNodePri32Add(), dglTreePredistAdd(), dglTreeTouchI32Add(), dglWriteChunk(), dig_add_area(), dig_add_isle(), dig_alloc_area(), dig_alloc_areas(), dig_alloc_isle(), dig_alloc_isles(), dig_alloc_line(), dig_alloc_lines(), dig_alloc_node(), dig_alloc_nodes(), dig_alloc_space(), dig_alloc_topo(), dig_angle_next_line(), dig_area_add_isle(), dig_area_alloc_isle(), dig_area_alloc_line(), dig_area_del_isle(), dig_boxlist_add(), dig_build_area_with_line(), dig_cidx_add_cat(), dig_cidx_add_cat_sorted(), dig_cidx_del_cat(), dig_cidx_free(), dig_del_area(), dig_del_isle(), dig_del_line(), dig_falloc(), dig_file_load(), dig_find_line_box(), dig_frealloc(), dig_free_plus_areas(), dig_free_plus_isles(), dig_free_plus_lines(), dig_free_plus_nodes(), dig_init_boxlist(), dig_isle_alloc_line(), dig_node_alloc_line(), dig_Rd_P_area(), dig_Rd_P_isle(), dig_Rd_P_line(), dig_Rd_P_node(), dig_read_cidx_head(), dig_spidx_del_area(), dig_spidx_init(), dig_which_node(), dig_Wr_P_area(), dig_Wr_P_isle(), dig_Wr_P_line(), dig_Wr_P_node(), em_buffer< T, Key >::em_buffer(), em_pqueue< T, Key >::em_pqueue(), err(), f_atan(), f_exp(), em_pqueue< T, Key >::fillpq(), free_data_buffs(), free_datum_list(), free_ellps_list(), free_fontcap(), free_volfile_buffs(), G__get_list_of_mapsets(), G__matrix_add(), G__temp_element(), G__usage_html(), G__usage_rest(), G__usage_xml(), G__wps_print_process_description(), G_bz2_compress(), G_bz2_expand(), G_check_input_output_name(), G_color_name(), G_color_rules_descriptions(), G_color_rules_options(), G_compare_projections(), G_compressor_name(), G_copy_file(), G_create_alt_env(), G_database_datum_name(), G_database_units_to_meters_factor(), G_datum_description(), G_datum_ellipsoid(), G_datum_name(), G_debug(), G_define_flag(), G_ellipsoid_description(), G_ellipsoid_name(), G_file_name(), G_file_name_misc(), G_file_name_tmp(), G_find_file(), G_find_file2(), G_find_key_value(), G_fopen_old(), G_fread_key_value(), G_free_fmatrix(), G_free_fvector(), G_free_imatrix(), G_free_ivector(), G_free_matrix(), G_free_tokens(), G_free_vector(), G_get_3dview(), G_get_available_mapsets(), G_get_basename_separator(), G_get_datumparams_from_projinfo(), G_get_ellipsoid_parameters(), G_get_env_name(), G_get_mapset_name(), G_get_num_decimals(), G_get_projepsg(), G_get_projinfo(), G_get_projunits(), G_get_units_name(), G_getenv(), G_getenv2(), G_has_vector_timestamp(), G_home(), G_init_debug(), G_init_ilist(), G_list(), G_ls2(), G_lz4_compress(), G_lz4_expand(), G_make_location(), G_make_location_epsg(), G_make_mapset(), G_make_mapset_element(), G_make_mapset_element_tmp(), G_math_A_to_Asp(), G_math_add_spvector(), G_math_Asp_to_A(), G_math_Asp_to_sband_matrix(), G_math_cholesky_sband_invert(), G_math_d_aA_B(), G_math_f_aA_B(), G_math_free_spmatrix(), G_math_free_spvector(), G_math_sband_matrix_to_Asp(), G_math_solver_bicgstab(), G_math_solver_cg(), G_math_solver_cg_sband(), G_math_solver_cholesky_sband_invert(), G_math_solver_pcg(), G_math_solver_pcg_sband(), G_math_solver_sparse_bicgstab(), G_math_solver_sparse_cg(), G_math_solver_sparse_pcg(), G_matrix_copy(), G_matrix_init(), G_matrix_inverse(), G_matrix_LU_solve(), G_matrix_product(), G_matrix_scalar_mul(), G_matrix_scale(), G_matvect_get_column(), G_matvect_get_row(), G_matvect_product(), G_mkstemp_fp(), G_mktemp(), G_new_ilist(), G_no_compress(), G_no_expand(), G_number_of_tokens(), G_open_mail(), G_open_option_file(), G_open_pager(), G_option_to_separator(), G_owner(), G_parser(), G_plot_area(), G_popen_clear(), G_projection_name(), G_put_3dview(), G_putenv(), G_rc_path(), G_read_compressed(), G_read_ellipsoid_table(), G_read_vector_timestamp(), G_recursive_remove(), G_remove(), G_remove_error_handler(), G_rle_compress(), G_rle_expand(), G_set_key_value(), G_spawn(), G_srand48_auto(), G_store(), G_str_replace(), G_strcasestr(), G_tokenize(), G_units(), G_unset_percent_routine(), G_vector_copy(), G_vector_init(), G_vector_product(), G_vector_sub(), G_write_compressed(), G_write_uncompressed(), G_write_vector_timestamp(), G_zstd_compress(), G_zstd_expand(), get_2key_neighbors(), get_key_data(), get_key_neighbors(), em_buffer< T, Key >::get_stream(), GK_add_key(), GK_clear_keys(), gk_copy_key(), gk_draw_path(), gk_make_framesfromkeys(), gk_make_linear_framesfromkeys(), GK_print_keys(), GK_update_frames(), gp_free_site(), gp_free_sitemem(), GP_Get_ClientData(), gp_get_last_site(), gp_get_new_site(), gp_get_prev_site(), gp_get_site(), GP_get_site_list(), GP_get_sitename(), GP_get_style(), GP_get_zmode(), GP_load_site(), Gp_load_sites(), gp_set_defaults(), GP_set_style(), GP_set_style_thematic(), GP_set_zmode(), GP_site_exists(), GP_unset_style_thematic(), gp_update_drapesurfs(), gpd_2dsite(), gpd_3dsite(), GPJ__get_datum_params(), GPJ__get_ellipsoid_params(), GPJ_get_datum_by_name(), GPJ_get_datum_transform_by_name(), GPJ_get_default_datum_params_by_name(), GPJ_get_ellipsoid_by_name(), GPJ_get_ellipsoid_params(), GPJ_get_equivalent_latlong(), GPJ_grass_to_osr(), GPJ_grass_to_osr2(), GPJ_grass_to_wkt(), GPJ_osr_to_grass(), GPJ_set_csv_loc(), GPJ_wkt_to_grass(), GS_coordpair_repeats(), gs_distance_onsurf(), GS_draw_cplane_fence(), GS_draw_X(), gs_free_surf(), gs_get_att_typbuff(), GS_get_cat_at_xy(), Gs_get_cat_label(), GS_Get_ClientData(), GS_get_distance_alongsurf(), gs_get_last_surface(), gs_get_new_surface(), GS_get_norm_at_xy(), gs_get_prev_surface(), gs_get_surf(), GS_get_surf_list(), GS_get_val_at_xy(), GS_get_zextents(), gs_init(), gs_init_surf(), Gs_load_3dview(), GS_load_att_map(), gs_los_intersect(), gs_los_intersect1(), gs_malloc_lookup(), Gs_save_3dview(), gs_set_att_src(), gs_set_defaults(), GS_surf_exists(), GS_transp_is_set(), GS_unset_SDsurf(), Gs_update_attrange(), gs_update_curmask(), GS_write_ppm(), GS_write_tif(), GS_write_zoom(), gsd_arrow(), gsd_put_legend(), gsd_surf_const(), gsd_wire_surf_const(), gsdiff_get_SDref(), gsdrape_get_allsegments(), gsdrape_get_segments(), gsdrape_set_surface(), gsds_alloc_typbuff(), gsds_free_datah(), gsds_get_name(), gsds_get_typbuff(), gsds_newh(), gv_decimate_lines(), gv_free_vect(), gv_free_vectmem(), GV_Get_ClientData(), gv_get_last_vect(), gv_get_new_vect(), gv_get_prev_vect(), GV_get_style(), gv_get_vect(), GV_get_vect_list(), GV_get_vectname(), Gv_load_vect(), GV_load_vector(), gv_set_defaults(), GV_set_style(), GV_set_style_thematic(), GV_unset_style_thematic(), gv_update_drapesurfs(), GV_vect_exists(), gvd_vect(), gvl_align_data(), gvl_file_free_datah(), gvl_file_get_name(), gvl_file_get_volfile(), gvl_file_newh(), gvl_file_set_mode(), gvl_free_vol(), GVL_Get_ClientData(), gvl_get_last_vol(), gvl_get_new_vol(), gvl_get_prev_vol(), gvl_get_vol(), GVL_get_vol_list(), GVL_get_volname(), GVL_init_region(), gvl_init_vol(), gvl_isosurf_calc(), gvl_isosurf_get_isosurf(), gvl_isosurf_init(), Gvl_load_colors_data(), GVL_load_vol(), GVL_slice_add(), gvl_slice_get_slice(), gvl_slice_init(), GVL_vol_exists(), HTML_Driver(), HTML_Graph_close(), HTML_Graph_set(), html_polygon(), I_alloc_double2(), I_alloc_double3(), I_alloc_int2(), I_cluster_begin(), I_cluster_clear(), I_cluster_exec_allocate(), I_cluster_exec_free(), I_compute_scatts(), I_find_group(), I_find_group_file(), I_find_signature_file(), I_find_subgroup(), I_find_subgroup_file(), I_fopen_group_file_old(), I_fopen_signature_file_old(), I_fopen_sigset_file_new(), I_fopen_sigset_file_old(), I_fopen_subgroup_file_old(), I_free(), I_free_double2(), I_free_double3(), I_free_int2(), I_get_control_points(), I_get_group(), I_get_group_title(), I_get_subgroup(), I_get_target(), I_iclass_init_group(), I_iclass_init_statistics(), I_init_group_ref(), I_init_ref_color_nums(), I_init_signatures(), I_InitSigSet(), I_insert_patch_to_cat_rast(), I_list_subgroups(), I_NewClassSig(), I_put_control_points(), I_put_group(), I_put_group_title(), I_put_subgroup(), I_put_target(), I_scd_init_scatt_data(), I_SetClassTitle(), I_SetSigTitle(), if(), IL_check_at_points_2d(), IL_create_bitmask(), IL_grid_calc_2d(), IL_interp_segments_2d(), IL_interp_segments_2d_parallel(), IL_matrix_create(), IL_output_2d(), IL_resample_interp_segments_2d(), IL_resample_output_2d(), IL_secpar_loop_2d(), IL_vector_input_data_2d(), IL_write_temp_2d(), em_buffer< T, Key >::insert(), kdtree_clear(), kdtree_create(), kdtree_destroy(), kdtree_dnn(), kdtree_remove(), kdtree_rnn(), kdtree_traverse(), link_cleanup(), link_dispose(), link_init(), link_new(), LZ4_decompress_fast(), LZ4_decompress_fast_withPrefix64k(), LZ4_decompress_safe(), LZ4_decompress_safe_partial(), LZ4_decompress_safe_withPrefix64k(), LZ4_decompress_usingDict_generic(), LZ4_loadDict(), LZ4_setStreamDecode(), M__empty(), M_define_option(), M_do_remove(), M_do_rename(), M_get_list(), main(), MAIN(), EMPQueueAdaptive< T, Key >::makeExternal(), em_pqueue< T, Key >::merge_buffer(), MT_divide(), MT_functions_new(), MT_insert(), MT_region_data(), MT_tree_info_new(), MT_tree_new(), multiMerge(), N_alloc_array_2d(), N_alloc_array_3d(), N_alloc_geom_data(), N_alloc_gwflow_data2d(), N_alloc_gwflow_data3d(), N_alloc_les_param(), N_alloc_solute_transport_data2d(), N_alloc_solute_transport_data3d(), N_assemble_les_2d_param(), N_assemble_les_3d_param(), N_callback_solute_transport_2d(), N_callback_solute_transport_3d(), N_compute_gradient_field_2d(), N_compute_gradient_field_3d(), N_create_gradient_neighbours_2d(), N_create_gradient_neighbours_3d(), N_free_array_2d(), N_free_array_3d(), N_free_geom_data(), N_free_gradient_2d(), N_free_gradient_3d(), N_free_gradient_field_2d(), N_free_gradient_field_3d(), N_free_gradient_neighbours_2d(), N_free_gradient_neighbours_3d(), N_free_gradient_neighbours_x(), N_free_gradient_neighbours_y(), N_free_gradient_neighbours_z(), N_free_gwflow_data2d(), N_free_gwflow_data3d(), N_free_solute_transport_data2d(), N_free_solute_transport_data3d(), N_get_array_2d_value(), N_get_array_3d_value(), N_get_gradient_neighbours_2d(), N_init_geom_data_2d(), N_init_geom_data_3d(), N_is_array_2d_value_null(), N_is_array_3d_value_null(), N_math_array_2d(), N_math_array_3d(), N_put_array_2d_value(), N_put_array_2d_value_null(), N_put_array_3d_value(), N_put_array_3d_value_null(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), NetA_articulation_points(), NetA_betweenness_closeness(), NetA_distance_from_points(), NetA_distance_to_points(), NetA_find_path(), NetA_flow(), NetA_get_node_costs(), NetA_init_timetable_from_db(), NetA_initialise_varray(), NetA_timetable_shortest_path(), NetA_varray_to_nodes(), new_chain(), new_line(), new_part(), new_symbol(), Nviz_create_render_window(), Nviz_delete_scalebar(), Nviz_destroy_data(), Nviz_init_data(), Nviz_init_render_window(), Nviz_new_fringe(), Nviz_new_map_obj(), Nviz_set_fringe(), Nviz_set_scalebar(), open_g3d_file(), open_stream(), open_volfile(), P_estimate_splinestep(), P_Read_Vector_Region_Map(), parse_fontcap(), path_init(), pg_create_struct(), pj_do_transform(), pj_get_kv(), pj_get_string(), pj_print_proj_params(), PNG_Driver(), post_exec(), pre_exec(), PS_Driver(), em_buffer< T, Key >::put_stream(), em_buffer< T, Key >::put_streams(), quad_add_data(), quad_compare(), quad_data_new(), quad_divide_data(), quad_division_check(), quad_point_new(), Rast3d_alloc_tiles(), Rast3d_alloc_tiles_type(), Rast3d_cache_dispose(), Rast3d_cache_elt_ptr(), Rast3d_cache_get_elt(), Rast3d_cache_hash_dispose(), Rast3d_cache_hash_new(), Rast3d_cache_load(), Rast3d_cache_new(), Rast3d_cache_new_read(), Rast3d_cache_put_elt(), Rast3d_change_precision(), Rast3d_change_type(), Rast3d_compare_files(), Rast3d_fill_header(), Rast3d_flush_index(), Rast3d_flush_tile(), Rast3d_get_block_nocache(), Rast3d_get_compression_mode(), Rast3d_get_double_region(), Rast3d_get_float_region(), Rast3d_get_tile_ptr(), Rast3d_get_window_params(), Rast3d_init_defaults(), Rast3d_init_fp_xdr(), Rast3d_init_index(), Rast3d_key_get_double(), Rast3d_key_get_int(), Rast3d_key_get_string(), Rast3d_key_get_value(), Rast3d_make_aligned_volume_file(), Rast3d_malloc(), Rast3d_mask_d_select(), Rast3d_mask_file_exists(), Rast3d_mask_open_old(), Rast3d_open_cell_new(), Rast3d_open_cell_old(), Rast3d_open_cell_old_no_header(), Rast3d_parse_vallist(), Rast3d_put_double(), Rast3d_put_float(), Rast3d_read_window(), Rast3d_realloc(), Rast3d_retile(), Rast3d_set_window_params(), Rast3d_tile_load(), Rast3d_write_ascii(), Rast3d_write_cats(), Rast__check_fp_type(), Rast__color_free_rules(), Rast__lookup_colors(), Rast__open_old(), Rast__quant_get_rule_for_d_raster_val(), Rast__read_colors(), Rast_clear_history(), Rast_close_gdal_write_link(), Rast_create_gdal_link(), Rast_free_cats(), Rast_free_histogram(), Rast_free_history(), Rast_free_reclass(), Rast_get_cat(), Rast_get_gdal_link(), Rast_get_next_marked_d_cat(), Rast_get_reclass(), Rast_init_cats(), Rast_init_histogram(), Rast_is_reclass(), Rast_is_reclassed_to(), Rast_map_to_img_str(), Rast_put_reclass(), Rast_read_color_rules(), Rast_read_histogram(), Rast_read_range(), Rast_set_cats_title(), Rast_set_d_cat(), Rast_set_history(), rbtree_clear(), rbtree_create(), rbtree_debug(), rbtree_destroy(), rbtree_find(), rbtree_insert(), rbtree_remove(), rbtree_traverse(), rbtree_traverse_backwd(), rbtree_traverse_start(), read_cube(), read_datum_table(), read_ellipsoid_table(), read_png(), ReplacementHeap< T, Compare >::ReplacementHeap(), ReplacementHeapBlock< T, Compare >::ReplacementHeapBlock(), BasicMinMaxHeap< T >::reset(), im_buffer< T >::reset(), em_buffer< T, Key >::reset(), Rowio_get(), Rowio_release(), Rowio_setup(), RTreeCreateTree(), RTreeDeleteRectF(), RTreeDeleteRectM(), RTreeFreeBoundary(), RTreeInsertRectF(), RTreeInsertRectM(), RTreeValidChildM(), S_read(), seg_setup(), Segment_close(), set_proj_lib(), SHPClose(), SHPCreateLL(), SHPDestroyObject(), SHPGetInfo(), SHPOpenLL(), SHPOpenLLEx(), SHPRestoreSHX(), SHPSetFastModeReadObject(), SHPWriteHeader(), SHPWriteObject(), SimpleErrorMessage(), smallest_segment(), soft_text(), soft_text_freetype(), sqpAllocCol(), sqpAllocVal(), sqpAssignment(), sqpInitParser(), sqpInitValue(), sqpValue(), tavl_assert_delete(), tavl_assert_insert(), tavl_copy(), tavl_create(), tavl_delete(), tavl_destroy(), tavl_find(), tavl_free(), tavl_insert(), tavl_malloc(), tavl_probe(), tavl_replace(), tavl_t_copy(), tavl_t_cur(), tavl_t_find(), tavl_t_first(), tavl_t_init(), tavl_t_insert(), tavl_t_last(), tavl_t_next(), tavl_t_prev(), tavl_t_replace(), tgis_get_database_name(), tgis_get_driver_name(), tgis_init_map_list(), tgis_new_map_list(), translate_quad(), V1_close_nat(), V1_close_pg(), V1_open_new_nat(), V1_open_new_ogr(), V1_open_old_nat(), V1_open_old_ogr(), V1_read_line_ogr(), V1_read_line_pg(), V1_read_next_line_nat(), V1_rewrite_line_nat(), V1_rewrite_line_ogr(), V1_rewrite_line_pg(), V2__add_line_to_topo_nat(), V2__delete_line_from_topo_nat(), V2_delete_line_nat(), V2_delete_line_pg(), V2_delete_line_sfa(), V2_read_line_nat(), V2_read_line_pg(), V2_read_line_sfa(), V2_read_next_line_nat(), V2_read_next_line_ogr(), V2_read_next_line_pg(), V2_restore_line_nat(), V2_rewrite_line_nat(), V2_rewrite_line_pg(), V2_rewrite_line_sfa(), V2_write_line_nat(), Vect__delete(), Vect__get_area_points_nat(), Vect__new_line_struct(), Vect__open_old(), Vect__read_head(), Vect__write_head(), Vect_add_dblink(), Vect_area_alive(), Vect_attach_isles(), Vect_boxlist_append(), Vect_boxlist_append_boxlist(), Vect_boxlist_delete(), Vect_boxlist_delete_boxlist(), Vect_break_lines(), Vect_break_polygons_file(), Vect_break_polygons_mem(), Vect_build_line_area(), Vect_build_nat(), Vect_cat_in_array(), Vect_cat_list_to_array(), Vect_cats_set_constraint(), Vect_check_dblink(), Vect_check_input_output_name(), Vect_check_line_breaks(), Vect_chtype_dangles(), Vect_cidx_open(), Vect_cidx_save(), Vect_clean_small_angles_at_nodes(), Vect_copy(), Vect_copy_map_lines_field(), Vect_copy_pnts_to_xyz(), Vect_copy_table(), Vect_copy_table_by_cats(), Vect_copy_tables(), Vect_copy_xyz_to_pnts(), Vect_default_field_info(), Vect_destroy_boxlist(), Vect_destroy_list(), Vect_find_area(), Vect_find_line(), Vect_find_line_list(), Vect_get_area_boundaries(), Vect_get_area_box(), Vect_get_area_cat(), Vect_get_area_cats(), Vect_get_area_centroid(), Vect_get_area_isle(), Vect_get_area_num_isles(), Vect_get_area_points(), Vect_get_area_points_geos(), Vect_get_column_names(), Vect_get_column_names_types(), Vect_get_column_types(), Vect_get_dblink(), Vect_get_field(), Vect_get_field2(), Vect_get_field_by_name(), Vect_get_finfo(), Vect_get_finfo_dsn_name(), Vect_get_finfo_format_info(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_get_isle_area(), Vect_get_isle_boundaries(), Vect_get_isle_box(), Vect_get_isle_points(), Vect_get_line_areas(), Vect_get_line_box(), Vect_get_line_cat(), Vect_get_line_nodes(), Vect_get_line_offset(), Vect_get_map_box1(), Vect_get_node_coor(), Vect_get_point_in_area(), Vect_get_point_in_poly(), Vect_graph_shortest_path(), Vect_hist_copy(), Vect_hist_read(), Vect_hist_rewind(), Vect_isle_alive(), Vect_isle_find_area(), Vect_legal_filename(), Vect_line_alive(), Vect_line_buffer(), Vect_line_buffer2(), Vect_line_check_intersection(), Vect_line_check_intersection2(), Vect_line_distance(), Vect_line_geodesic_distance(), Vect_line_intersection(), Vect_line_intersection2(), Vect_line_segment(), Vect_line_to_geos(), Vect_line_to_wkb(), Vect_line_to_wkt(), Vect_list_append(), Vect_list_append_list(), Vect_list_delete(), Vect_list_delete_list(), Vect_merge_lines(), Vect_net_build_graph(), Vect_net_nearest_nodes(), Vect_net_ttb_build_graph(), Vect_net_ttb_shortest_path(), Vect_new_boxlist(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_new_list(), Vect_new_map_struct(), Vect_new_varray(), Vect_node_alive(), Vect_open_fidx(), Vect_open_old(), Vect_open_old_head(), Vect_open_sidx(), Vect_open_tmp_old(), Vect_open_tmp_update(), Vect_open_topo(), Vect_open_update(), Vect_open_update_head(), Vect_overlay_and(), Vect_point_in_area(), Vect_point_in_area_outer_ring(), Vect_point_in_island(), Vect_point_on_line(), Vect_read_area_to_wkb(), Vect_read_area_to_wkt(), Vect_read_line_geos(), Vect_read_line_to_wkb(), Vect_remove_dangles(), Vect_remove_small_areas_ext(), Vect_remove_small_areas_nat(), Vect_rename(), Vect_save_fidx(), Vect_save_frmt(), Vect_save_sidx(), Vect_save_topo(), Vect_select_areas_by_box(), Vect_select_areas_by_polygon(), Vect_select_dangles(), Vect_select_lines_by_box(), Vect_select_lines_by_polygon(), Vect_set_varray_from_cat_list(), Vect_set_varray_from_db(), Vect_sfa_line_geometry_type(), Vect_snap_line(), Vect_snap_lines(), Vect_str_to_cat_list(), Vect_subst_var(), Vect_topo_dump(), Vect_val_in_boxlist(), Vect_val_in_list(), Vect_write_ascii(), Vect_write_dblinks(), Vedit_add_vertex(), Vedit_bulk_labeling(), Vedit_merge_lines(), Vedit_move_vertex(), Vedit_render_map(), Vedit_snap_point(), Vedit_split_lines(), write_png(), yyparse(), em_buffer< T, Key >::~em_buffer(), and em_pqueue< T, Key >::~em_pqueue().

#define XMATH   1

Definition at line 21 of file ccmath.h.

Typedef Documentation

typedef struct complex Cpx

Definition at line 39 of file ccmath.h.

Function Documentation

void atou1 ( double *  a,
int  m,
int  n 
)

Definition at line 9 of file atou1.c.

References free().

Referenced by sv2u1v(), and svdu1v().

void atovm ( double *  v,
int  n 
)

Definition at line 8 of file atovm.c.

Referenced by sv2u1v().

void chouse ( Cpx a,
double *  d,
double *  ud,
int  n 
)

Definition at line 10 of file chouse.c.

References free(), complex::im, complex::re, and x.

Referenced by heigval().

void chousv ( Cpx a,
double *  d,
double *  ud,
int  n 
)

Definition at line 10 of file chousv.c.

References free(), complex::im, complex::re, and x.

Referenced by heigvec().

void cmattr ( Cpx a,
Cpx b,
int  m,
int  n 
)

Definition at line 9 of file cmattr.c.

References b.

void cmcpy ( Cpx a,
Cpx b,
int  n 
)

Definition at line 9 of file cmcpy.c.

Referenced by hmgen().

int cminv ( Cpx a,
int  n 
)

Definition at line 10 of file cminv.c.

References free(), complex::im, ps, complex::re, and t.

void cmmul ( Cpx c,
Cpx a,
Cpx b,
int  n 
)

Definition at line 9 of file cmmul.c.

References complex::im, complex::re, and trncm().

Referenced by hmgen().

void cmmult ( Cpx c,
Cpx a,
Cpx b,
int  m,
int  k,
int  n 
)

Definition at line 10 of file cmmult.c.

References free(), complex::im, l, and complex::re.

void cmprt ( Cpx a,
int  n,
int  m,
char *  fmt 
)

Definition at line 9 of file cmprt.c.

References complex::im, and complex::re.

int csolv ( Cpx a,
Cpx b,
int  n 
)

Definition at line 10 of file csolv.c.

References free(), complex::im, ps, complex::re, and t.

void cvmul ( Cpx vp,
Cpx mat,
Cpx v,
int  n 
)

Definition at line 9 of file cvmul.c.

References complex::im, and complex::re.

Cpx cvnrm ( Cpx u,
Cpx v,
int  n 
)

Definition at line 24 of file cvmul.c.

References complex::im, and complex::re.

void eigen ( double *  a,
double *  eval,
int  n 
)

Definition at line 10 of file eigen.c.

References free(), housev(), qrevec(), and trnm().

Referenced by G_math_eigen().

void eigval ( double *  a,
double *  eval,
int  n 
)

Definition at line 10 of file eigval.c.

References free(), house(), and qreval().

Referenced by G_math_eigval().

double evmax ( double *  a,
double *  u,
int  n 
)

Definition at line 10 of file evmax.c.

References free(), r, and t.

Referenced by G_math_evmax().

void fmatprt ( FILE *  fp,
double *  a,
int  n,
int  m,
char *  fmt 
)

Definition at line 22 of file matprt.c.

void hconj ( Cpx u,
int  n 
)

Definition at line 9 of file hconj.c.

References complex::im, and complex::re.

Referenced by heigvec(), and hmgen().

void heigval ( Cpx a,
double *  eval,
int  n 
)

Definition at line 10 of file heigval.c.

References chouse(), free(), and qreval().

void heigvec ( Cpx a,
double *  eval,
int  n 
)

Definition at line 10 of file heigvec.c.

References chousv(), free(), hconj(), and qrecvc().

double hevmax ( Cpx a,
Cpx u,
int  n 
)

Definition at line 10 of file hevmax.c.

References free(), complex::im, complex::re, t, and x.

void hmgen ( Cpx h,
double *  eval,
Cpx u,
int  n 
)

Definition at line 10 of file hmgen.c.

References cmcpy(), cmmul(), free(), hconj(), complex::im, and complex::re.

void house ( double *  a,
double *  d,
double *  ud,
int  n 
)

Definition at line 10 of file house.c.

References free(), and x.

Referenced by eigval().

void housev ( double *  a,
double *  d,
double *  ud,
int  n 
)

Definition at line 10 of file housev.c.

References free(), and x.

Referenced by eigen().

void ldumat ( double *  a,
double *  u,
int  m,
int  n 
)

Definition at line 9 of file ldumat.c.

References free().

Referenced by sv2uv(), and svduv().

void ldvmat ( double *  a,
double *  v,
int  n 
)

Definition at line 8 of file ldvmat.c.

Referenced by sv2uv(), svdu1v(), and svduv().

void matprt ( double *  a,
int  n,
int  m,
char *  fmt 
)

Definition at line 9 of file matprt.c.

void mattr ( double *  a,
double *  b,
int  m,
int  n 
)

Definition at line 8 of file mattr.c.

References b.

void mcopy ( double *  a,
double *  b,
int  m 
)

Definition at line 8 of file mcopy.c.

int minv ( double *  a,
int  n 
)

Definition at line 10 of file minv.c.

References free(), malloc(), ps, and t.

Referenced by G_math_minv().

void mmul ( double *  mat,
double *  a,
double *  b,
int  n 
)

Definition at line 9 of file mmul.c.

References trnm().

void ortho ( double *  evc,
int  n 
)

Definition at line 11 of file ortho.c.

References unfl().

void otrma ( double *  at,
double *  u,
double *  a,
int  n 
)

Definition at line 9 of file otrma.c.

References free(), and t.

void otrsm ( double *  st,
double *  u,
double *  s0,
int  n 
)

Definition at line 9 of file otrsm.c.

References free(), and t.

int psinv ( double *  v,
int  n 
)

Definition at line 9 of file psinv.c.

References r, t, and trnm().

Referenced by G_math_psinv().

int qrbdi ( double *  d,
double *  e,
int  n 
)

Definition at line 9 of file qrbdi.c.

References b, t, and x.

Referenced by sv2val(), and svdval().

int qrbdu1 ( double *  d,
double *  e,
double *  u,
int  m,
double *  v,
int  n 
)

Definition at line 9 of file qrbdu1.c.

References b, t, and x.

Referenced by sv2u1v(), and svdu1v().

int qrbdv ( double *  d,
double *  e,
double *  u,
int  m,
double *  v,
int  n 
)

Definition at line 9 of file qrbdv.c.

References b, t, and x.

Referenced by sv2uv(), and svduv().

void qrecvc ( double *  eval,
Cpx evec,
double *  ud,
int  n 
)

Definition at line 9 of file qrecvc.c.

References complex::im, complex::re, and x.

Referenced by heigvec().

int qreval ( double *  eval,
double *  ud,
int  n 
)

Definition at line 9 of file qreval.c.

References x.

Referenced by eigval(), and heigval().

int qrevec ( double *  eval,
double *  evec,
double *  dp,
int  n 
)

Definition at line 9 of file qrevec.c.

References x.

Referenced by eigen().

void rmmult ( double *  mat,
double *  a,
double *  b,
int  m,
int  k,
int  n 
)

Definition at line 9 of file rmmult.c.

References free(), and l.

int ruinv ( double *  a,
int  n 
)

Definition at line 8 of file ruinv.c.

References r, and t.

Referenced by G_math_ruinv().

void smgen ( double *  a,
double *  eval,
double *  evec,
int  n 
)

Definition at line 8 of file smgen.c.

References ps, r, and t.

int solv ( double *  a,
double *  b,
int  n 
)

Definition at line 10 of file solv.c.

References free(), ps, and t.

Referenced by G_math_solv().

int solvps ( double *  s,
double *  x,
int  n 
)

Definition at line 9 of file solvps.c.

References r, and t.

Referenced by G_math_solvps().

int solvru ( double *  a,
double *  b,
int  n 
)

Definition at line 8 of file solvru.c.

References t.

Referenced by G_math_solvru().

void solvtd ( double *  a,
double *  b,
double *  c,
double *  x,
int  m 
)

Definition at line 8 of file solvtd.c.

Referenced by G_math_solvtd().

int sv2u1v ( double *  d,
double *  a,
int  m,
double *  v,
int  n 
)

Definition at line 10 of file sv2u1v.c.

References atou1(), atovm(), free(), qrbdu1(), r, and t.

int sv2uv ( double *  d,
double *  a,
double *  u,
int  m,
double *  v,
int  n 
)

Definition at line 10 of file sv2uv.c.

References free(), ldumat(), ldvmat(), qrbdv(), r, and t.

Referenced by G_math_sv2uv().

int sv2val ( double *  d,
double *  a,
int  m,
int  n 
)

Definition at line 10 of file sv2val.c.

References free(), and qrbdi().

Referenced by G_math_sv2val().

int svdu1v ( double *  d,
double *  a,
int  m,
double *  v,
int  n 
)

Definition at line 10 of file svdu1v.c.

References atou1(), free(), ldvmat(), qrbdu1(), r, and t.

Referenced by G_math_svdu1v().

int svduv ( double *  d,
double *  a,
double *  u,
int  m,
double *  v,
int  n 
)

Definition at line 10 of file svduv.c.

References free(), ldumat(), ldvmat(), qrbdv(), r, and t.

Referenced by G_math_svduv().

int svdval ( double *  d,
double *  a,
int  m,
int  n 
)

Definition at line 10 of file svdval.c.

References free(), and qrbdi().

Referenced by G_math_svdval().

void trncm ( Cpx a,
int  n 
)

Definition at line 9 of file trncm.c.

Referenced by cmmul().

void trnm ( double *  a,
int  n 
)

Definition at line 8 of file trnm.c.

Referenced by eigen(), mmul(), and psinv().

void unitary ( Cpx u,
int  n 
)

Definition at line 16 of file unitary.c.

References free(), g, complex::im, r, complex::re, and unfl().

void utrncm ( Cpx at,
Cpx u,
Cpx a,
int  n 
)

Definition at line 10 of file utrncm.c.

References free(), complex::im, complex::re, and t.

void utrnhm ( Cpx ht,
Cpx u,
Cpx h0,
int  n 
)

Definition at line 10 of file utrnhm.c.

References free(), complex::im, complex::re, and t.

void vmul ( double *  vp,
double *  mat,
double *  v,
int  n 
)

Definition at line 8 of file vmul.c.

double vnrm ( double *  u,
double *  v,
int  n 
)

Definition at line 21 of file vmul.c.