sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
f1bdef24c9db387f555193cd4bd807bfeda25321be4fa613fb60f729e42db281
C
13,228
403
/* igraph library. Copyright (C) 2024 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
5e895be090c1fc597c59e67a432843697c2926586ea5f63619298c651f40112c
C
13,288
459
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
b9aeb7a513ad721014cb2260b7ad422a03911553c5b6ae4cdf665008b1cc70cd
C
13,292
319
/* igraph library. Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
18e190021428b2f0e68ebdfac42d3bf919889ebb73c8ac81bde73e8391ea21a7
C
13,379
489
/* prob2.c (problem retrieving routines) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2000-2013 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redi...
988b0c4f61f120636e928b61efc98d19d1eb2f718d464797a1c3cf7c1bde90e5
C
13,437
439
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
670b59800f4c38d2a6e960e3d0d231bf0855d2ff1fbdc54477a015738f12b785
C
13,523
472
/* igraph library. Copyright (C) 2016-2022 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
e6f81509ecf6e651fbf63920781c10b29174eddf442c8d8628a123974934d9ec
C
13,535
338
/* igraph library. Copyright (C) 2003-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
5ef31110df69e5ed5aeba5d4070098165425b9a56a03f24fe7f50b503cfffd32
C
13,584
400
/* igraph library. Copyright (C) 2009-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard st, Cambridge MA, 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either vers...
85d2bc2e222f8ecaa0c4ad1e0e164dfaf031f9bf03e5f64f99a616a42fbea2c5
C
13,607
428
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
69e8d885993a9ba86abefc3897c88ff36be120dbd49fa362da9ab18a6ade1cc6
C
13,633
407
/* cfg.c (conflict graph) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2012-2013 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute it and...
e020178d4c2890d398a66292991dc192444327dee50025e496908ac4c7bfa4cc
C
13,635
385
/* igraph library. Copyright (C) 2022 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
7b815e2fab06cfd2e0b384810e475251a2402d202b5e067e4f7e35b44fe957ce
C
13,666
364
/* igraph library. Copyright (C) 2005-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
45118af0bd1e01b80fb728c42380cff954c07e12b758f7b0b2100ea06b616854
C
13,692
346
/* igraph library. Copyright (C) 2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
96b67bf38bbeef6f93e0a7893afb640cc460b6a10d37d0a07d441b6d8fe76f91
C
13,744
375
/* rdprob.c (read problem data in GLPK format) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2010-2016 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you ca...
f601398aef3893d446ebd2b2000792e22b94398fc5cc5d9458308fcf3ba8271f
C
13,844
385
/* igraph library. Copyright (C) 2003-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
db590b04354f266675def89e5e935218521a784f7f9b9f47762fb0bd5e11b3b6
C
13,911
434
/* igraph library. Copyright (C) 2003-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
9cc5e9df31390806f22e91d9c97f71e3d03b547abf1bbd201d436d83f79b6a0a
C
13,953
322
/* igraph library. Copyright (C) 2005-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
391401c5fe1a959d4260e13b72f024a272104350e083603bbfdd4a649b7998b3
C
13,963
539
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
9d8628a80e5cdae201a7f4c7d177d5752805fb86fae701193c3f874109a1098d
C
14,008
361
/* igraph library. Copyright (C) 2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
3452e67fde983b3ffac2b23b1ea2dd34d64e0d850bee45408f98b7c901ae442d
C
14,226
464
/** @file bigfeta_dist_solve.c * @brief Main method for distributed solve of Kx=Lm * * Reads A from file, reads regularizations and constraints, computes K, solves for x. */ /** * \param help message */ static char help[] = "usage:\n" "em_dist_solve -input <input_file_path> -output <output_file_path> <ksp op...
606461339e5df4c689c8cbac4e233755cb16aefcbabc3ccb311dc2bf7c1c8917
C
14,260
373
/* igraph library. Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
d90697a718d667ea6c844fa4a81f41d3ace53628a6feefd9564be3b2940cef48
C
14,354
409
/* igraph library. Copyright (C) 2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
dd2b5181ebcb6d60d67bef924cfbd3cc92d149a9d00944fc6559ace1c7a00c9a
C
14,455
405
/* btfint.c (interface to BT-factorization) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2013-2014 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can r...
fd2b22cfb2bc37341417e0599524f5a59271bb06ca2b4b0ea7562ebddeb95c07
C
14,552
418
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
883a55febe73f3ab6566ea7cad4525e8b7d8d17848486b3284e56dfd05396a62
C
14,635
802
#include "f2c.h" #include "fio.h" #include <stdio.h> /* Compile with -DF8X_NML_ELIDE_QUOTES to permit eliding quotation */ /* marks in namelist input a la the Fortran 8X Draft published in */ /* the May 1989 issue of Fortran Forum. */ #ifdef Allow_TYQUAD static longint f__llx; #endif #ifdef KR_headers extern doubl...
8c87e4c05c8ade5bcf0c4dd5ba6fb4690de246fa75d68745decf0b9d20920fca
C
14,675
313
/* igraph library. Copyright (C) 2011-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
e1954a5c24edd941723891ed4b8cb4d3e33559951e24d17828a9332701fe02fd
C
14,713
356
/* igraph library. Copyright (C) 2005-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
f4cefefd0850e49c2be5a6ee6590f35ebe1554e3c0c629c596e2adbaba64a903
C
14,747
484
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
1fb90749cfee0bffffd08b8d2e7675b68867fc89eefd5c4eb50d5b271cad4570
C
14,764
407
/* igraph library. Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
a5af2e6cffdc5d129a8daeeace3e2c430b22627c717740cd397386ab434df068
C
14,962
542
/* bfd.c (LP basis factorization driver) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2007-2014 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redi...
a9a29fc5af39b8ab27b7c74429143520b2fa534a804bb591a2036ef4107be3d8
C
15,006
525
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
3c9493a4be04cc0b2613eaadfbc14ec543e78aa682af6d2846c952ee5bc97324
C
15,018
464
/* ks.c (0-1 knapsack problem) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2017-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute i...
e77c9eff5268fffc3fd0bf88fc5b41bb72fb4b0d50aa2a14eac0cbdb0cdb8f6a
C
15,043
456
/* igraph library. Copyright (C) 2013-2024 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
cb0e3bad025c85af0d4c3ffe1410265ec1af68d6d36c36528348e882a113a8eb
C
15,115
366
/* igraph library. Copyright (C) 2022-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
047bae0f8a50b8aaf4539d17dde34cf7acd2a262244bd20d2e32f309599034ca
C
15,134
499
#ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif #if defined(__18CXX) # define ID_VOID_MAIN #endif /* Version number components: V=Version, R=Revision, P=Patch Version date components: YYYY=Year, MM=Month, DD=Day */ #if defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER...
62d7b563e818ef6aa688201e111b23539b9c420e517ba12624f34016c43d94e1
C
15,190
694
/* numerical stuff */ #include <math.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include "numerical.h" #include <gsl/gsl_sf.h> //#include "nrutil.h" /* Numerical Recipes Stuff */ #define GOLD 1.618034 #define GLIMIT 100.0 #define TINY 1.0e-20 #define MAX(a,b) ((a) > (b) ? (a) : (b)) #define MIN(...
34083881fa5f9839bbbf11caaa3dbdd629685afa8254bc9c1dfda33ae6f27a78
C
15,280
369
// GetFullPath.c // Get absolute canonical path of a file or folder [WINDOWS] // Absolute path names are safer than relative paths, when e.g. a GUI or TIMER // callback changes the current directory. Only canonical paths without "." and // ".." can be recognized uniquely. // Long path names (>259 characters) require a ...
ff72749ed51b6902866f08f6796792433bc666b17536635801c89a14f9222a37
C
15,296
443
#include <stdio.h> #include <igraph.h> #include "test_utilities.h" int main(void) { igraph_t graph; igraph_vector_int_t edge_res, vector_res; igraph_es_t es; igraph_vs_t vs; igraph_vector_int_init(&edge_res, 0); igraph_vector_int_init(&vector_res, 0); /* igraph_eulerian_path(&graph, ...
9c5e812c60f7d69a6b02ce4951d4f0c8f01eacfb987f9dd9e7949a4de5cb4a1d
C
15,327
524
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
7e19bfc05b53cc0bd5c5f92152bd971103ce34ddc74b6a9a103711e06a608bf5
C
15,363
389
/* igraph library. Copyright (C) 2003-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
fff2bd47f92f4a27833fb8c4289336b2c16a74e6a8edc28949eb3327174c7619
C
15,381
512
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
af16f264c47c12a58499ff5115c596b14057faa30a7a7b41fa57caf654108b61
C
15,387
391
/* igraph library. Copyright (C) 2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
dad6c93aedb377d70a6594c66a50579f34ab94cb24fbaff8caa62d9a8ac3997e
C
15,432
496
/* glpapi07.c (exact simplex solver) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2007-2017 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistri...
ffb34f28b043a9a41ae3c84754658e3f26b99d803796356d5ac516354a6e58d9
C
15,553
381
/* igraph library. Copyright (C) 2003-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
d9dfab6fd7b86a849cd6688d4bb29f216065b6c17f915e805f0393bd03cfa70d
C
15,559
502
/* graph.c (basic graph routines) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2009-2016 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribut...
fdf8064213ec4f1f906a027b8c7b4d0823df0c9303dcf7eb2bbc96dd794295fe
C
15,870
490
/* igraph library. Copyright (C) 2024 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
b2c165c3efb67749ee7665af4de1c2a3a70d68261ac4017851c7b787582fa520
C
15,873
477
/* igraph library. Copyright (C) 2008-2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
1162b15dfbb38fccd39699ab934efa2ec2fe22848c1204f49a4e140dc0646f25
C
15,956
475
/* glpscl.c (problem scaling routines) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2000-2013 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redist...
81d3ec9d3bbcc375f6de6755dbdcd65df1895a4ee622245170dd2cc356a38767
C
15,989
545
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
7ad2e29805f4ac3161b10f5f0a4d7eae85b2a7bbbf4509f54c6fbd3def089b6b
C
16,012
402
/* * filename: main.c * previous version: PPNM_SIM050913_1.cc * change from previous version: Refactoring * This program simulates centrosome positioning in one-cell embryo * Unit meter, kilo-gram, sec * to compile: make (see Makefile for detail) * Author: Akatsuki Kimura <akkimura@nig.ac.jp> * Akira Fu...
c682f07dad475f52ddfc9eb85b8067611474484846e3ae6da322e2211312b538
C
16,022
396
/* igraph library. Copyright (C) 2007-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
b6dae8dee3465dd2f8b50c8768ccb07d373e3ca1f461895232bbf7bd0a07e391
C
16,188
481
/* spychuzr.c */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2015 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute it and/or modify it * ...
a5d6413fa9a2f71a3572cac6c185dc7d22a823b10e576b065bbf28f046a28865
C
16,189
451
/* * filename: main.c * previous version: PPNM_SIM050913_1.cc * change from previous version: Refactoring * This program simulates centrosome positioning in one-cell embryo * Unit meter, kilo-gram, sec * to compile: make (see Makefile for detail) * Author: Akatsuki Kimura <akkimura@nig.ac.jp> * Akira Fu...
73482b00c767767945073a898aa1e47077de62f6dd37473fad084355b7db9ac4
C
16,205
614
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */ #include <stdio.h> #include <stddef.h> #include <stdlib.h> #define NR_END 1 #define FREE_ARG char* void nrerror(char error_text[]) /* Numerical Recipes standard error handler */ { fprintf(stderr,"Numerical Recipes run-time error...\n"); fprintf(st...
273ea76aeaa54d16b1c96d1d2e0cb9b5a33160db914c06aa5a13f5fea7222a34
C
16,363
764
/* * This file contains the graph handling routines. * * Copyright (C) 2002 Sampo Niskanen, Patric Östergård. * Licensed under the GNU GPL, read the file LICENSE for details. */ #include <stdlib.h> #include <string.h> #include "graph.h" /* static graph_t *graph_read_dimacs_binary(FILE *fp,char *firstline); st...
b8d7ef765c3844250bf3dd95d471577f56db6c1f7636f1e85a9ea5722373e742
C
16,393
523
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
10fb519c30e212a4798d2d54678cd985287cad52d8c7f7a9e2b7740e044c793e
C
16,507
432
/* glpios11.c (process cuts stored in the local cut pool) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2005-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free softw...
65f6ebe59a472324773ae6d5c3ef57317d508f72c90af97a51903acf81e1b43d
C
16,514
364
#include "cs.h" /* clear w */ static CS_INT cs_wclear (CS_INT mark, CS_INT lemax, CS_INT *w, CS_INT n) { CS_INT k ; if (mark < 2 || (mark + lemax < 0)) { for (k = 0 ; k < n ; k++) if (w [k] != 0) w [k] = 1 ; mark = 2 ; } return (mark) ; /* at this point, w [0..n-1] < mark holds *...
19a8512ba142424ee7338ff45c4ad2e0acd63a6ca983d71be0fc5e0d36a61342
C
16,705
359
/* igraph library. Copyright (C) 2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
c6b8d27c267c6074bcb0e8cf7d577b5faa7a4bec8298009d36a0a990bc706155
C
16,716
677
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
d5c8cb3093c15f80b65f72a2d9562fa4e0458d35cf9ee1d9cffa2f654ea015c3
C
16,741
521
/* scf.c (sparse updatable Schur-complement-based factorization) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2013-2014 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is fre...
9b448b9159a5f1b03b93c52b63005413f65df55e8fb7ecc8c0b7e57340087134
C
16,826
651
/* * Utility routines (ref) Press et al., "Numerical Recipes in C" * Author: Akatsuki Kimura <akkimura@nig.ac.jp> * Akira Funahashi <funa@bio.keio.ac.jp> * Last modified: Thu, 25 Jul 2013 02:39:49 +0900 */ #include "mtsim.h" #if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */ #include <s...
f0d22d3692b3fe97610dcb07764c8c1e8e7d7e26471469949889511e6e605df5
C
16,915
557
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
228755626683565faafd5011e11de3c5d75f59263c452e677828484675f6dda6
C
16,937
357
/* igraph library. Copyright (C) 2009-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
5da1a6e828e370fea0de69421eb6e27427603a3c305c41c5f0aeabcc11ce9a15
C
17,155
419
/* igraph library. Copyright (C) 2022 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
66e8b7e267ac8acf967bf0947a739e9db4a48de807c661d8f2d59820d62f312a
C
17,338
436
/* igraph library. Copyright (C) 2003-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
eaf1bc52443804f73034115eb496c8651482f2a8f2ea3b2cbcb40ddd6b650501
C
17,485
691
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
8e9ea953f45b6d58fef7dcdf39498800149641614e721d6ac5f43bcbb98154fe
C
17,587
446
/* igraph library. Copyright (C) 2005-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
fece424b4c3a25fc75c40705b7481783b2cb19f4e4b474e82a2dae3802289783
C
17,732
689
#include "igraph_lsap.h" #include "igraph_error.h" #include "igraph_memory.h" /* #include <stdio.h> */ #include <stdlib.h> #include <float.h> /* DBL_MAX */ /* constants used for improving readability of code */ typedef enum covered_t { COVERED = 1, UNCOVERED = 0 } covered_t; typedef enum assigned_t {...
15ee34947dfc2a78a900fc53c09988ba947f01423088e8b6ef610c49e070a82a
C
17,797
473
/* igraph library. Copyright (C) 2021-2024 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
567e0dbfab2ea71c27cf640577b77e264c5c5566e0f52638baf04583a228e4b2
C
17,816
520
/* glpssx02.c (simplex method, rational arithmetic) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2003-2013 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: y...
badae566de33d1045c798e3fceea9c443bb676d311eb701792070da81d83bcc0
C
18,042
422
/* igraph library. Copyright (C) 2020-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
2c32670c20cc47e7f17bfea3820005f1c3a79cab50815ac5a494fe9d55f9eda2
C
18,128
343
char _libi77_version_f2c[] = "\n@(#) LIBI77 VERSION (f2c) pjw,dmg-mods 20030321\n"; /* 2.01 $ format added 2.02 Coding bug in open.c repaired 2.03 fixed bugs in lread.c (read * with negative f-format) and lio.c and lio.h (e-format conforming to spec) 2.04 changed open.c and err.c (fopen and freopen respectively) to ...
c34ea9616dd0e4baa4aaa5f6c1e409a06eaf9c1e785e5de8455be1715f26a669
C
18,174
688
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
22bfc688fd974bd54794471349eb0a360b3eee3b682e8d2fdc72b11badb26d3b
C
18,215
466
/* igraph library. Copyright (C) 2005-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
3fc83a4e2fc270a26b9deb83ef94a6dcbe7638cab5b4566e6ac15f0268d3b11c
C
18,397
519
/* Heuristic graph coloring algorithms. Copyright (C) 2017 Szabolcs Horvat <szhorvat@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at you...
9e339d487f1765bc8dcdaee75054ca3c47900544dbad17496e927d374284d7ef
C
18,761
458
/* igraph library. Copyright (C) 2005-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
2ac9fbadf44b2db92913df6e3108a478602511ff8f033e001df8770391d8cd3d
C
18,811
548
/* glpios07.c (mixed cover cut generator) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2005-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can red...
0e0a1dbdb0614a5a1a5fc2e840cb05fd313075846e4e1f4d433fd94a7bfac4aa
C
18,857
464
/* igraph library. Copyright (C) 2003-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
a3476a63fd860ced6ad2e2d3c8f8fc9298ea259b49a0e5e18b6ddf84219da87a
C
19,266
658
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
d55af8b2000226dbc31fb2d8a3e84bc49ccc157d923a41c4d6a0a0fd26919ff7
C
19,312
570
/* sva.c (sparse vector area) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2012-2013 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute it...
90747bb1eb7f3395928daadd30e9c33ec57de1f1c8701a4d554ddc40966adeb8
C
19,337
454
/* igraph library. Copyright (C) 2003-2020 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any late...
169cc62c242472f3d6797ecd67476a95b96116958dd732bb6e38bac00ecbb939
C
19,528
530
/* hbm.c (Harwell-Boeing sparse matrix format) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2004-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you ca...
7c78b71fefda3beb9b7c8866198145515e5519b8a6448457615a4bd44f32a59d
C
19,549
498
/* igraph library. Copyright (C) 2003-2021 The igraph development team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later...
58a8c4dad63596c74eea1f16f848480b91ccf0697f1b56851248775a201f16b6
C
19,584
790
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
817ecc3bbd1fe06a48e60a505049f156479c861c83d5f7b0b80cc3075023daa1
C
19,892
455
/* igraph library. Copyright (C) 2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
2275950e3b302d0b745a42bed03d33cd2db8f7a0cbc6dc3cf4d141de368c1c45
C
19,924
623
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
8df9c8c5317c70391e1e30ad9f6a5cfefc7e0326ecb382ba48126011211c65b4
C
20,262
651
/* igraph library. Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
fa3e492ffe198cc481e03b0fe3e0c8cf157f41731d4b2385063e1f39995774a0
C
20,313
569
/* igraph library. Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
f89abf7d0e5204697464eb06cf218eb5d40c5c1af333d22e525aedb87980d284
C
20,540
509
/* igraph library. Copyright (C) 2007-2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
66c19b5cbfc3073faf7366e2b5835649630c8d2c2c151a7c12371b744a8b76ed
C
20,549
541
/* igraph library. Copyright (C) 2006-2021 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
73bd1d0c71de3339d14cefaae0dc719fecce35ff491d30c3017d6b000a7af3e5
C
20,682
602
/* -- translated by f2c (version 20191129). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
05430bdd647ea0d8b49cccf77ecb8149731fbca892babb9b44ac7c6cf17ad734
C
20,762
567
/* btf.c (sparse block triangular LU-factorization) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2013-2014 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: y...
49e14b2998fad6520120b47988a241f9b0d4dc7ab8f5dc049b1b32a10116da44
C
20,997
568
/* igraph library. Copyright (C) 2010-2012 Gabor Csardi <csardi.gabor@gmail.com> 334 Harvard street, Cambridge, MA 02139 USA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ...
8dc1921178a0019bccbbab46fc8040bbba5949349b2da113264dee6e4ca62a6e
C
21,161
644
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
3f77bec231355d30816691f4035fd014a02a105db123447a28198d768a5da404
C
21,248
810
#include "sam_header.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include <stdarg.h> #include "khash.h" KHASH_MAP_INIT_STR(str, const char *) struct _HeaderList { struct _HeaderList *last; // Hack: Used and maintained only by list_append_to_end. Maintained in the root node o...
7b7d5823d94dab07841e4005a47879631ad6a7a64cb09d0032dca5cbc58a8d9d
C
21,367
646
/* * This file contains functions that are useful when writing tests. * Add #include "test_utilities.h" to the test program to use them. */ #include "test_utilities.h" #include <stdio.h> #include <string.h> /* Print an igraph_real_t value. Be consistent in printing NaN/Inf across platforms. */ void print_real(FIL...
44b418959b1505074f9215381e14077a55bb8d2b1fe6921f4a7190134a943c99
C
21,374
626
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...
2675932a4547f3892fba209d3e01d3b7181feffca5d630f509294dd60280aed1
C
21,393
550
/* igraph library. Copyright (C) 2021-2025 The igraph development team <igraph@igraph.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
12cef0dbd63050453e990228815e8aaa156e019d8354158c3b5ff6369fe87f3c
C
21,536
574
/* -- translated by f2c (version 20240504). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the com...