sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
7655b4e3cb842e9bdf2f815b9c4e70902a4f7f80388225b1d85fc939c0b39b64 | C | 4,228 | 132 | /* clqcut.c (clique cut generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribu... |
18f414b38b6b6fece771a33765d3d1ecf28707c1dd547fae5df2f08a2c918254 | C | 4,233 | 104 | /* 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 opti... |
80fc876cc7e4f88f676c39705be1cb3eb9e6d73710ef62c547f56eb5ca7ffa33 | C | 4,239 | 99 | /*
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... |
e881809b20e47b1202bde4c59f6f5dd61da365b12d506b7e226ab7e4fe5109d9 | C | 4,239 | 123 | /*
igraph library.
Copyright (C) 2003-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... |
c45d13b8da972adb17cf1b9f7bb1f6bd5e167733555a9062f1f54a5782a35356 | C | 4,258 | 168 | /* -- 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... |
63f334282f96e4f28650e8b3d29f50172d03e6989202feb0e47dfc45ceb6011f | C | 4,259 | 121 | /* topsort.c (topological sorting of acyclic digraph) */
/***********************************************************************
* 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:... |
f24f561e2ebc6ce6a3bc04b8ddbd903022ab77fca5fcbc9d58ba4d549b110e13 | C | 4,262 | 127 | /*
igraph library.
Copyright (C) 2011-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... |
0f6b5bcfdbc0084e5034223f0a0ba9544f98aa4937b4dafc7be35e53080e19d2 | C | 4,267 | 153 | /*
igraph library.
Copyright (C) 2010-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... |
0cf51d5a68c85782d1e1f3257dfa60044362a089c01ad44549c78e029fe03461 | C | 4,286 | 117 | /* 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 opti... |
d19ee88149147a16df9432d565622728e337b7df95778c068fb72ec5b2582223 | C | 4,289 | 111 | /*
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... |
86428172c4d8268039a33de044d15867c4e760a8539e219ade1f023b39177b59 | C | 4,294 | 119 | /*
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 your o... |
8ce3f13453f56fe2dd5889357afda1365f63fd2ace5d91b55f585c2276920ce3 | C | 4,298 | 128 | /* maxffalg.c (find maximal flow with Ford-Fulkerson algorithm) */
/***********************************************************************
* 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... |
034e5bd0df5d12a4f25484439eede2b6ec5158a01ff4733007aff6a941064d7a | C | 4,322 | 129 | /*
igraph library.
Copyright (C) 2022-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... |
744c532c57ab393efacf9a12cd65fc9a5cedd84c302b0568928089deebc9e070 | C | 4,330 | 120 | /* 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 opti... |
0937008faa2fea9b25c64ec2f7884f6104ee41e5357bcdda551febe45da36298 | C | 4,334 | 119 | /*
igraph library.
Copyright (C) 2006-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... |
bf6b4b048c872a5634c9299d5712760508802a046522072a1feb8761bf2f89a8 | C | 4,351 | 147 | /*
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... |
4c928812d927cb686e65baad635bcf11985ebe22200c959115824f83067736b9 | C | 4,354 | 145 | /*
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... |
c642bfda96a602368b2bc690d0a097863cff27af7828cb8b65e0d8d151590ae9 | C | 4,360 | 93 | /*
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... |
0167d43834c8de6afca64253fb04bc70a1871b64c4cee31af5b82eb37c01ce84 | C | 4,363 | 165 | /* dlsup.c (dynamic linking support) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistri... |
328b1e91c2149e01b2e3fcd535b2ffd569a2d39b6fec04e6541b8ca77797cea9 | C | 4,374 | 130 | /*
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 ... |
543fedea2b681e11bd1d2be08909b59b1f94b517d270ccab46cdbfb82423dd2a | C | 4,378 | 128 | /*
igraph library.
Copyright (C) 2026 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... |
d55d119bfb39501d2eadd8f3bf21ef3266020c3a5aaac94b56994119cbe2f414 | C | 4,388 | 123 | /*********************************************************************
*
* ANSI C Example program:
* ContGen-ExtClk-DigStart.c
*
* Example Category:
* AO
*
* Description:
* This example demonstrates how to continuously output a waveform
* using an external sample clock and a digital start trigger.... |
eb192a5a349e813834c45112eaa8471a406471c455da133b68a0b673a36dcb71 | C | 4,392 | 121 | /*
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... |
c86be094d47c6d8f2a743a7d72e43e3141a3baea70239f665837b2a7f079d011 | C | 4,395 | 120 | /* 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 opti... |
41706c082d49803735e06498ba77b7a758222afad56aaca8272c0c61f1963b48 | C | 4,398 | 118 | /*
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... |
a9b82b5d052929b9cb14e528c6e3d371b32057712126ea15aeddf24292c230b9 | C | 4,408 | 135 | /* 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 your... |
73e7dfbbe17ae661e91b4ad1e1960a75573ce08d0e61171c49fca444030ef45b | C | 4,428 | 137 | /*
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... |
3b87f0718326e4cce28a31dd01d47678cf7da4ba9517c5bdc1801573aecfb078 | C | 4,429 | 134 | /*
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... |
99f156cf5a9dd0745e48724e4b6f1c4f26b0ae4f124d92b8ebb78abaa161c978 | C | 4,433 | 106 | /*
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... |
a01dccc08a5e1871728c44081a52b4321fbd3e5d6f2897b3dbc83ee71800f533 | C | 4,444 | 120 | /* wrmip.c (write MIP solution 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... |
664d7a3baf7d3e3b76bd904b730eda913a1807a486479802b093678f08c9102c | C | 4,460 | 138 | /*
igraph library.
Copyright (C) 2026 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... |
91a8f932358fed48e2bf271dcf861a93f5535ae5aff8713c755dca30c5ed0372 | C | 4,470 | 137 | /*
igraph library.
Copyright (C) 2006-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... |
0258c8bc9d3c0a3bb79c43240b0522d85be167c00b81dc44f09a10bc7a6cb2de | C | 4,481 | 103 | //pgStats for a bedFile rather than windows
// calculates fst and related
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "miscCode/stringWrap.h"
#include "miscCode/sequenceMatrix.h"
#include "pgSummaryStats.h"
#include "miscCode/bedFile.h"
void usage();
int main(int argc, char *argv[]){
struct... |
d0bd3c9e8688696b8a426e5049266316c739b805809c9151e5e592e46fb5f56f | C | 4,486 | 103 | /*
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... |
7540b63610b1c927d2dae8a9acfad917c4bcd9e96556c91a643011b3a55830cc | C | 4,494 | 175 | /*
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... |
1b546c5587b875eb1687cdc15a0176999354d6c532e5b9957309ef6cf8fb7a67 | C | 4,507 | 145 | /* dimacs.c (reading data in DIMACS format) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can r... |
bda9d9f3dfeff5bab37e4a07f5405c1e7c73f695f6530bfc44f79fb8fddf5fd4 | C | 4,510 | 154 | /* prob4.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 redistr... |
bf83add5270505658b6e10fb5171861424266fa13057ea169be92e894c8334c0 | C | 4,510 | 191 | #include <stdio.h>
#include <stdlib.h>
double nucdiv(int, int, char **);
double tajd(int, int, double) ;
double hfay(int, int, char **);
double thetah(int, int, char **);
int maxsites = 1000 ;
main(argc,argv)
int argc;
char *argv[];
{
int nsam, j ,nsites, i, howmany ;
char **list, **cmatrix(), allele,na, l... |
e728a940ca7ab3236f42a16fbf3de7eb31ee016b8c7a80013dbee7642696c982 | C | 4,514 | 93 | /*
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... |
6c850cd581e9eff1efa5454c0550c184e2e775a2a99a463696989f204283f705 | C | 4,526 | 120 | /* ========================================================================= */
/* === AMD_info ============================================================ */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
a1ba75a0152740230194c15a7dccc75cb3eb43e36e04c7245003bdebd99a0105 | C | 4,539 | 138 |
#include <igraph.h>
#include <stdio.h>
#include "test_utilities.h"
void realize1(igraph_vector_int_t *ods, igraph_vector_int_t *ids, igraph_edge_type_sw_t et, igraph_realize_degseq_t method) {
igraph_t graph;
int err;
err = igraph_realize_degree_sequence(&graph, ods, ids, et, method);
if (err == IGRA... |
af2f042ab09377ce0d7cc369410fac806102b81859c33af4ec4fbc064e91fab1 | C | 4,549 | 121 | /* ========================================================================= */
/* === AMD_post_tree ======================================================= */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
00f888e82c8ecde5ce06aadecd068e394c69f09811d924b7b1573b992b07ab9b | C | 4,552 | 115 | /*
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... |
414176e00cedb468a109f825f6dfb83a6c87fbcc923f6a736c02607190897b72 | C | 4,573 | 122 | /* wript.c (write interior-point solution 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 softw... |
b07c1706e41e9db610b5f0bc999422c1542f8bdbb4d267bdd9994fac498228cb | C | 4,580 | 158 | /*
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... |
60399bd0be1a72eb363186d8480b251c59dd87e741e4f7bc780da68900c1d778 | C | 4,589 | 112 | /*
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... |
af2cbc6c8cb022659e558ac7ba12778e7dbca5ad686adb8df8a1fd709741ed22 | C | 4,589 | 205 | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "msMask.h"
#define LINEBUF 1000000
int maxsites = 100000 ;
int main(argc,argv)
int argc;
char *argv[];
{
int nsam, i, j, howmany,n ;
char **list, **cmatrix(), line[LINEBUF+1] ;
char *curLine;
FILE *fopen(), *pfin, *maskFile ;... |
48117564f463db0a59da2997433744ea149525d53876a72e5972d929f44c49c7 | C | 4,597 | 139 | /*
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 ... |
6c1c5d4bf2d28356da2fac2fb75fd6756aa14ba723190e16c33d41ba4b442488 | C | 4,601 | 110 | /*
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... |
7a664b45381228e48c41e991aedcff3d3bb0901ebf598621f5607a896e752a97 | C | 4,603 | 136 | /*
igraph library.
Copyright (C) 2026 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... |
07ac5d06c870226d96957771d3a843047300037748914e913ad154727564be37 | C | 4,615 | 159 | /*
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... |
95364fe1b8e4aafed36dd6a18271c00210f34fa70a869c2813d76e1707ba9f63 | C | 4,615 | 153 | /*
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 ... |
373788b2ffd6f8b006a91070215e8cbec435b8cdb99a99638dc42230ac1148c0 | C | 4,616 | 314 | #include "f2c.h"
#include "fio.h"
#include "fmt.h"
#include "lio.h"
#ifdef __cplusplus
extern "C" {
#endif
ftnint L_len;
int f__Aquote;
static VOID
donewrec(Void)
{
if (f__recpos)
(*f__donewrec)();
}
static VOID
#ifdef KR_headers
lwrt_I(n) longint n;
#else
lwrt_I(longint n)
#endif
{
char *p;
int ndigit, sign... |
5ed55f56999cafd4115cf294e628e7779c663f0d2eb864794273243ab2589977 | C | 4,637 | 127 | /*
* Exact TFCE for many maps at once, one map per thread.
*
* tfce = tfceMex_maxtree_batch(T, E, H, calc_neg, geom [, n_threads])
*
* T - N x B matrix, one statistical map per column
* E, H - TFCE parameters for extent and height
* calc_neg - also calc neg. TFCE values
* geom - [nx ny nz] ... |
6012561375571dae7fa748f7d3be42ad2bbf7267d5fe5a474fea6c5f31dd25f5 | C | 4,641 | 154 | /******* maskedStats.c ********
for calculating sample stats from MS output
after it has been filtered by msMask
********************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "msGeneralStats.h"
#define LINEBUF 1000000
int maxsites = 100000 ;
void usage();
in... |
b16060b7238e21e2354a93f5755ff9284610e25af98d36c0f59cd92f1ee8e559 | C | 4,642 | 166 | /*
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 ... |
a5e4f2f51b2c9547414f9cde4ba1883c9cf957ba1308688a4efe49c4ab72e920 | C | 4,656 | 155 | /*
* Fused residual sum of squares for the GLM.
*
* ResSS = tfceMex_resss(Y, Beta, X [, n_threads])
*
* Y - n_vox x n_data data matrix (single)
* Beta - n_vox x p parameter estimates (single), i.e. Y*pinv(W*X)'
* X - n_data x p design matrix (double)
*
* ResSS - n_vox x 1 residual sum of squares (do... |
8299c1b85bcc6e5983ae40e5c73a05cda9ba7214b457232a49bc6a444692e0fa | C | 4,675 | 194 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
double nucdiv(int, int, char **);
double tajd(int, int, double) ;
double hfay(int, int, char **);
double thetah(int, int, char **);
int maxsites = 1000 ;
main(argc,argv)
int argc;
char *argv[];
{
int nsam, j ,nsites, i, howmany ;
char **list, **cma... |
d0de8b5c04edda87bbc3f0608ee531048897cb42f5f58c66bc3b92dcfca1ceca | C | 4,677 | 127 | /*********************************************************************
*
* ANSI C Example program:
* MultVoltUpdates-SWTimed.c
*
* Example Category:
* AO
*
* Description:
* This example demonstrates how to output multiple Voltage Updates
* (Samples) to an Analog Output Channel in a software timed ... |
4fc5a20f4bda15bf2eea3c6eb5ada1e7552ecf5f338d1fcde0beaec064336946 | C | 4,683 | 74 | /*
* filename: draw_graphs.c
* this code is to plot results of the simulation onto the graphs on the X window system
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 02:37:32 +0900
*/
#include "mtsim.h"
void draw_graphs(int i, mtGrap... |
22302875e312d866539c3c4c718bb4dec55774508b6100b67c548fd17b28544c | C | 4,697 | 149 | /*
igraph library.
Copyright (C) 2009-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 late... |
b836cf213d6ee6a43e69ff19b450227f0987d3824d359cf042f3f47a8cee104d | C | 4,708 | 127 | /*
igraph library.
Copyright (C) 2006-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... |
93e0e1e297c29c0afe2a24a5321223e960641c1290c21259a24b041e6a03f964 | C | 4,720 | 98 | /*
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... |
1ed9d10a12c2912d05c889e1839906ea1a2d185ab966622dc55d7ef3a700110d | C | 4,726 | 158 | /*
igraph library.
Copyright (C) 2006-2022 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 ... |
7ad82be3352046d285f6cd6a777de20207ac26f01967f1f98a43113f2521bb30 | C | 4,734 | 125 | /*
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 ... |
b50d19306bc6c46600547ac6d15e41d261a7cc4ba289c24545af5f490c45b52a | C | 4,747 | 294 | #include "f2c.h"
#include "fio.h"
#ifndef KR_headers
#undef abs
#undef min
#undef max
#include "stdlib.h"
#include "string.h"
#endif
#include "fmt.h"
#include "fp.h"
#ifndef VAX
#include "ctype.h"
#ifdef __cplusplus
extern "C" {
#endif
#endif
int
#ifdef KR_headers
wrt_E(p,w,d,e,len) ufloat *p; ftnlen len;
#else
wrt... |
558358af30964cf02706a75b25117a47325fa3a1839be0084d392df16b981e5d | C | 4,757 | 149 | /*
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... |
d2190e1e40c0dd6f7d2dac663702c816fe44b3ff4476aa85793b59a34b64b63e | C | 4,771 | 113 | /*
igraph library.
Copyright (C) 2024-2026 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... |
47410b356112a2723f2174e081da9265fa5073c3cedaa0f25d2feddb09c22e6a | C | 4,782 | 167 | /*
igraph library.
Copyright (C) 2008-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 ... |
fb6f83afa9a1ab29cd0d00abf65eac2b554a5078110d9947eed1f8f982afd2dc | C | 4,799 | 116 | /*
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... |
d53188a2e008a7a1a9cff597ddeaaae634fe7721c56bfc2b3f758ce212438d8c | C | 4,824 | 155 | /*
igraph library.
Copyright (C) 2006-2023 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... |
5b84363bd8c74db65b428358197bab09c06a7809cd33d66b16c4521eae6b135a | C | 4,830 | 134 | /* rdcnf.c (read CNF-SAT problem data in DIMACS 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 softwar... |
bfb685cfeffb45def180dda97faf23ec70189f8a725e80ccf7d935a464630524 | C | 4,831 | 140 | /* gmigen.c (Gomory's mixed integer cuts generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2002-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: y... |
ef7f0146cb82237f77841eab868500b31eb56c8082fcfcbc0fec894fcc38c040 | C | 4,836 | 149 | /*
igraph library.
Copyright (C) 2022 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 vers... |
beacabe65a60538079e951283e4cead244ec979030acd112c0c234e57a58072b | C | 4,871 | 133 | /*
igraph library.
Copyright (C) 2011-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... |
d3793ee1d127b14022f8af84d8a0d67214eae39d1382f289319ea4c1b335383c | C | 4,896 | 128 | /*
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 ... |
71f41c5f9bec1bfd583253bc46e21c190922ae0b2a8ee63a7af06164f2334020 | C | 4,901 | 128 | /* 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 opti... |
b00f8fab15187f42bc7a86f2708248f2563e62cfc3f3b0c64d2334029aaf4205 | C | 4,901 | 122 | /*
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... |
c10058f711ff0f8bd7efa28b86d99a25f72223c13dce253a8e04a39bc0d91160 | C | 4,907 | 133 | /* 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 opti... |
2e49b1b035a80642b6ee0eaf34436941c55a9c848419b54e3792ccab82dd9fc9 | C | 4,908 | 209 | /* stringWrap.c -- methods for stringWrap object
which eases the use of C strings */
#include "stringWrap.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
//initialization, alloc, free, etc
stringWrap *stringWrapNew(int startingSize){
stringWrap *newWrap;
int i;
newWrap = malloc(s... |
d411dc4bd2044050edbc447d1a9890301a32a43efd3ce98324ace24b95d23360 | C | 4,911 | 177 | /*
igraph library.
Copyright (C) 2006-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... |
dbfa4904ee96b98c7e5654e367e701d15a39486d65089f6e5cec30b322a5756f | C | 4,925 | 120 | /*********************************************************************
*
* ANSI C Example program:
* MultVoltUpdates-IntClk.c
*
* Example Category:
* AO
*
* Description:
* This example demonstrates how to output a finite number of
* voltage samples to an Analog Output Channel using an internal
* ... |
3376823d03ea7df54130157e217b2086fd6f8979f0d8495c523049a2d82cb152 | C | 4,928 | 159 | /*
igraph library.
Copyright (C) 2023 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... |
7ef227996913ac53fe553bf407851d03b7109ee7bd25279bf771ffeb1d092276 | C | 4,930 | 134 | /*
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... |
82885d519af22f4f0680401161ac5e7ad57ef22518fdcca9356cf1fc2b2f9168 | C | 4,933 | 97 | char
_libf77_version_f2c[] = "\n@(#) LIBF77 VERSION (f2c) 20051004\n";
/*
2.00 11 June 1980. File version.c added to library.
2.01 31 May 1988. s_paus() flushes stderr; names of hl_* fixed
[ d]erf[c ] added
8 Aug. 1989: #ifdefs for f2c -i2 added to s_cat.c
29 Nov. 1989: s_cmp returns long (for f2c)
30 Nov. 19... |
25736c708a0d3cfd7929a27d660338297a65e6122f115edfec9762c511bfca51 | C | 4,941 | 218 | /* -- 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... |
69389bfa77d894557e08d7b1166f27481abfca693ae69e2fe1fed7667e2b0b96 | C | 4,944 | 168 | /* -- 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... |
ce5f1202c1feb475a607afe4221415cb3fb42941b832775d26974b1efeb8322a | C | 4,945 | 145 | /*
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... |
9927f16c08897899bd17d1d3933f5da8da60f790a5dbca36e23058314781691f | C | 4,967 | 153 | /* advbas.c (construct advanced initial LP basis) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you... |
1026b1bc840b44f3aa968320d39b5bc9d1382ace42480d614a7fc9db9ac0771a | C | 4,999 | 163 | /*
* filename: callback.c
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 02:57:16 +0900
*/
#include "mtsim.h"
void function_FV3D(double *x, int n, double *fvec, double **fjac, mtGlobal* g) {
/* x[1],x[2],x[3] are velocity of Nuc f... |
2ffb962feb8102585cb352205ccd40b15199bcbd09c8f0f0550bd3b4aa2026db | C | 4,999 | 178 | /* -- 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... |
6b2895a861fdfc73b2a7d612886bc4ea96b2cab566e1803e36dce7b36e74ea78 | C | 4,999 | 163 | /*
* filename: callback.c
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 02:57:16 +0900
*/
#include "mtsim.h"
void function_FV3D(double *x, int n, double *fvec, double **fjac, mtGlobal* g) {
/* x[1],x[2],x[3] are velocity of Nuc f... |
be8af34c709218099acef366c725acbb78574062e7063521284b773cfdeb300f | C | 5,009 | 150 | /*
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 your o... |
4d134796b1a3c62bfb1b172a95babfb412b08e42171f64ea8c3ee72e146ae501 | C | 5,026 | 149 | /*
* Exact TFCE via a max-tree (component tree) built with union-find.
*
* tfce = tfceMex_maxtree(t, E, H, calc_neg) % volume, t is 3D
* tfce = tfceMex_maxtree(t, E, H, calc_neg, faces) % surface, t is Nx1
*
* The last argument selects the neighbourhood: if faces are omitted or empty, t
* is treat... |
e6db2c6af5cc7c2b5a8975cee9e3c366b45801d656306db7055f9dd47c27200a | C | 5,028 | 112 | /*
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... |
6e81f92504411eb2911b651266b6bfd8538ca375832e9453272c045253973892 | C | 5,035 | 131 | /*
igraph library.
Copyright (C) 2006-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... |
ed49a69bf980985b70c49e23bc5528d456503550237f5f234f102356a70f9e33 | C | 5,049 | 182 | /* -- 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... |
89e7393b392eee071347d2341d256ac3209f9e8944c65ccc57ac40b9d90a8c1d | C | 5,054 | 141 | /*
igraph library.
Copyright (C) 2005-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... |
db15a60a256867917baf8cd5cbd6df0e3f9bbe6a832bb24e8821857bb10ecf8f | C | 5,059 | 161 | /*
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... |
ab5a2327d14240931b99b16a745fd9616f7b22a0031ddd3a81000481017ab31d | C | 5,069 | 138 | /*********************************************************************
*
* ANSI C Example program:
* ContAcq-IntClk.c
*
* Example Category:
* AI
*
* Description:
* This example demonstrates how to acquire a continuous amount of
* data using the DAQ device's internal clock.
*
* Instructions for R... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.