Search is not available for this dataset
text
string
meta
dict
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.6822832919, "avg_line_length": 32.6539379475, "ext": "h", "hexsha": "3062295ae545cd86b8d0ba4ed24f68cc1eb63d1d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
/* -*- linux-c -*- */ /* sigma_binsingle.c Copyright (C) 2002-2004 John M. Fregeau 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...
{ "alphanum_fraction": 0.5908176547, "avg_line_length": 33.6023856859, "ext": "c", "hexsha": "87d3c1d3a3c92e8c97f9e4383ed1967c7bf954ac", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* vector/gsl_vector_uchar.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 3 of ...
{ "alphanum_fraction": 0.6755484093, "avg_line_length": 35.8312757202, "ext": "h", "hexsha": "2a0d6135ea6db008f45fa78895646856f3353fab", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
/* ieee-utils/fp-aix.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Tim Mooney * * 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)...
{ "alphanum_fraction": 0.6574159729, "avg_line_length": 26.8016528926, "ext": "c", "hexsha": "9933f8faf94aaa8843105f2e5dc37fd62af99881", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/* Original simple matrix class taken from http://www.algarcia.org/nummeth/Cpp/Matrix.h */ #ifndef MATRIX_H #define MATRIX_H #include <assert.h> // Defines the assert function. //#define assert(x) {} //to avoid bound checking #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include ...
{ "alphanum_fraction": 0.6054940862, "avg_line_length": 22.8409586057, "ext": "h", "hexsha": "5b9ec14354316c3555dace23d84c7a00d16f43b6", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2019-06-14T13:27:02.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-07T03:10:...
/* specfunc/bessel_zero.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * 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 ...
{ "alphanum_fraction": 0.6611816983, "avg_line_length": 23.6114754098, "ext": "c", "hexsha": "7ff8f7ebf0d7c0d044a7bb7a51b189ffea958a75", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#pragma once #include <gsl\gsl> #include <winrt\base.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "BasicTessellationMaterial.h" #include "RenderStateHelper.h" namespace Rendering { class BasicTessellationDemo final : public Library::DrawableGameComponent { public: BasicTessellationDemo(Libra...
{ "alphanum_fraction": 0.7858450275, "avg_line_length": 32.78, "ext": "h", "hexsha": "52c52a26defb45b733c09807e20653634b8b6b4c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "05a05c...
/* ----------------------------------------------------------------------------- * Copyright 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_core_narrow_h_ #define SQ_INCLUDE_GUARD_core_narrow_h_ #include "c...
{ "alphanum_fraction": 0.6417206836, "avg_line_length": 29.2586206897, "ext": "h", "hexsha": "cce2a0645b7805a25e66833acce08dcbe58ff498", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "arcana/bob/bob_helpers.h" #include <cstdint> #include <string> #include <vector> #include <cereal/cereal.hpp> #include <cereal/types/vector.hpp> #include <gsl/gsl> namespace mira { namespace bob { nam...
{ "alphanum_fraction": 0.4292948237, "avg_line_length": 29.2967032967, "ext": "h", "hexsha": "a19f8ff4c4e5df5d8e31334334fdee11258e565a", "lang": "C", "max_forks_count": 16, "max_forks_repo_forks_event_max_datetime": "2022-03-31T15:36:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-07T03:09...
#include <cblas.h> #include <stdlib.h> #include <string.h> #include "loss.h" void expit(const double *x, double *out, int x_len) { for (int i = 0; i < x_len; i++) { if (x[i] > 0) { out[i] = 1. / (1. + exp(-x[i])); } else { out[i] = 1. - 1. / (1. + exp(x[i])); } }...
{ "alphanum_fraction": 0.4607915438, "avg_line_length": 33.0731707317, "ext": "c", "hexsha": "301a032d5bea92309a1f380217799b0ac857abe0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-08T11:52:16.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-08T11:52:...
/* matrix/gsl_matrix_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 3 of the Li...
{ "alphanum_fraction": 0.6543501261, "avg_line_length": 35.0056980057, "ext": "h", "hexsha": "9af95e0261ea1aa831c27db5e7d30b4ab728be2f", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_errno.h> #include "ccl.h" /*----- ROUTINE: dc_NakamuraSuto ----- INPUT: cosmology, scale factor TASK: Computes the peak threshold: d...
{ "alphanum_fraction": 0.6602641496, "avg_line_length": 34.952685422, "ext": "c", "hexsha": "730879d21ab036f0e1de411056ad0f7299d45f78", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:0...
/* -*- c++ -*- */ /* * Copyright 2015 Free Software Foundation, Inc. * * This 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 3, or (at your * option) any later version. * * This softwar...
{ "alphanum_fraction": 0.6346219637, "avg_line_length": 29.5252525253, "ext": "h", "hexsha": "8857b743218d28376f7baa3b7b1623a633220399", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// demo3d.c #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <time.h> #include <string.h> #include <assert.h> #include <stdbool.h> #include <math.h> #include <gsl/gsl_math.h> #define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include "libvecdisp.h" int main(int argc, char * argv[]) { VECDISP_T ret;...
{ "alphanum_fraction": 0.5938713854, "avg_line_length": 26.1807909605, "ext": "c", "hexsha": "90d1e16049361b3dad6454e9cd25da8ac82a5cb8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-24T02:44:40.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-24T02:44:...
// Author: Adam J. Robinson // Summary: This file contains definition for the integral that // characterizes the interaction between nuclei and electrons, // as defined in the mathematical documentation. // Performs the Electron Nuclei integral for the given // Gaussian wavefunction. #include <gsl...
{ "alphanum_fraction": 0.6912247771, "avg_line_length": 26.6375, "ext": "h", "hexsha": "e2783b6ae63e0d42cb9f18834884567fe8aa107c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "ce8f...
#pragma once #include <memory> #include <halley/maths/colour.h> #include <halley/maths/vector2.h> #include "halley/maths/rect.h" #include "halley/data_structures/maybe.h" #include <gsl/span> #include <map> #include "halley/core/graphics/sprite/sprite.h" #include "halley/core/graphics/text/font.h" namespace Halley { ...
{ "alphanum_fraction": 0.7486338798, "avg_line_length": 31.243902439, "ext": "h", "hexsha": "65b1409b0f1c54934b3957d3eead01371a2dce5d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* integration/qawf.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * 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)...
{ "alphanum_fraction": 0.609738885, "avg_line_length": 20.0992907801, "ext": "c", "hexsha": "134fd8c5f0a9807e8ccf16168566bd5f5645c486", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:5...
/* * Define digamma() and polygamma() here. * * We use the GSL special functions, GSL is available * on most platforms including MAC and Windows. * * Another option is the Cephes library with psi() and zeta() * http://www.netlib.org/cephes/ * which have nice, small self contained functions withou...
{ "alphanum_fraction": 0.716828479, "avg_line_length": 24.3947368421, "ext": "h", "hexsha": "5ec13a236208e74b3afcfb25b8235c8f41a69012", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-11-30T10:27:55.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-15T07:57:4...
/* * resampling.c * * Created on: 5.5.2017 * Author: heine */ #define _XOPEN_SOURCE 600 #include <math.h> #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <mpi.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> //#include "ziggurat.h" const gsl_rng_type *T; // Gen...
{ "alphanum_fraction": 0.5364067212, "avg_line_length": 17.7175572519, "ext": "c", "hexsha": "d0936bb9e49cf82656e8027f43482c9075a16b20", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * vbHmmGaussDiffusion.c * Model-specific core functions for VB-HMM-GAUSS-DIFFUSION. * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2016 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Ver. 1.0.0 * Last modified on 2016.02...
{ "alphanum_fraction": 0.4883567518, "avg_line_length": 29.8112094395, "ext": "c", "hexsha": "c8a0fa0bcfd0940f04f183db8482dfbb62a79d0d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* randist/demo.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * 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 3 of the License, or (a...
{ "alphanum_fraction": 0.6849518162, "avg_line_length": 26.98, "ext": "c", "hexsha": "0e7136833ed46e2a0f8213ab6bbbe88866479297", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z"...
#pragma once #define OEMRESOURCE #include <atomic> #include <concepts> #include <ppl.h> #include <gsl/gsl> // Included before windows.h, because pfc.h includes winsock2.h #include "../pfc/pfc.h" #include <windows.h> #include <SHLWAPI.H> #include "../foobar2000/SDK/foobar2000.h" #include "../mmh/stdafx.h" #inclu...
{ "alphanum_fraction": 0.7180762852, "avg_line_length": 17.7352941176, "ext": "h", "hexsha": "abffa3466220cecfdbc1f9902e18d72181e42072", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file core_zsyssq.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.8.0 * @author Mathieu Faverge * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <math.h> #incl...
{ "alphanum_fraction": 0.4558601338, "avg_line_length": 28.95625, "ext": "c", "hexsha": "82843a2b6f46b905d5a53047411efd51c12dc275", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-03-30T01:53:32.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-28T21:24:37.00...
/* -*- linux-c -*- */ /* fewbody_nonks.c Copyright (C) 2002-2004 John M. Fregeau 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...
{ "alphanum_fraction": 0.5667016807, "avg_line_length": 23.5061728395, "ext": "c", "hexsha": "1cf3a33fa4c7bc0c572e88cbe730ff74f8ff6b6b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.6472184532, "avg_line_length": 33.1235955056, "ext": "h", "hexsha": "3b28627581bbfeb128cafb0ee781c52923dfe40f", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
/* specfunc/gsl_sf_bessel.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * 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 3 of the License, or (at ...
{ "alphanum_fraction": 0.7158896289, "avg_line_length": 28.1517857143, "ext": "h", "hexsha": "316b56113e1e9d646905135c56f73801fed9d255", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * 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 versio...
{ "alphanum_fraction": 0.6665590704, "avg_line_length": 34.1691176471, "ext": "c", "hexsha": "538e149c6167b5523eae4638563d7cffd2dc311d", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
{ "alphanum_fraction": 0.6504983389, "avg_line_length": 38.5897435897, "ext": "h", "hexsha": "4e267d9de9503ed98e129ed9ec16470ede8d1432", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* diff/test.c * * Copyright (C) 2000 David Morrison * * 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 version. * * T...
{ "alphanum_fraction": 0.6061553258, "avg_line_length": 21.5492227979, "ext": "c", "hexsha": "aecfb93e1dfd9758440ac543b6aecc95b1bce2f4", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
/* * $Source: /Users/mariko/lib/source/sde_wa/sde_wa_manual/sde_wa_manual_progra * $Revision: 1.7 $ * $Author: mariko $ * $Date: 2011/11/29 10:48:07 $ */ #include <stdlib.h> /* for malloc */ #include <stdio.h> #include <math.h> #include <gsl/gsl_qrng.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #includ...
{ "alphanum_fraction": 0.6032974428, "avg_line_length": 26.3008849558, "ext": "c", "hexsha": "6fc2f9e764417eaf07f5e4c884fab39889f94f33", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** @file Copyright John Reid 2007 */ #ifndef MYRRH_MATH_H_ #define MYRRH_MATH_H_ #ifdef _MSC_VER # pragma once #endif //_MSC_VER #include "myrrh/defs.h" #include <boost/iterator.hpp> #include <boost/range.hpp> #include <boost/tuple/tuple.hpp> #include <boost/foreach.hpp> #include <boost/shared_ptr.hpp> #include ...
{ "alphanum_fraction": 0.6405025501, "avg_line_length": 22.0851648352, "ext": "h", "hexsha": "54cd347e3b2db1f2e377299448db8550d2f7ae3a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <float.h> #include <math.h> #include <time.h> #include <sys/time.h> #include <cblas.h> /* Your function must have the following signature: */ void sgemm( int m, int n, float *A, float *C ); /* The benchmarking program */ int main( int argc, char **...
{ "alphanum_fraction": 0.5670588235, "avg_line_length": 30.3571428571, "ext": "c", "hexsha": "70bda94afb01266eb8740a2902c000eab5c13fad", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> size_t nn_utils_sizeof_gsl_matrix(void); size_t nn_utils_sizeof_gsl_vector(void);
{ "alphanum_fraction": 0.8104575163, "avg_line_length": 19.125, "ext": "h", "hexsha": "ae1d3fd390e2f4d0e6f2477ea42bd417aba0320a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "25099...
#include <cerrno> #include <cstdio> #include <cstdlib> #include <sys/stat.h> #include <cmath> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <time.h> #include <gsl/gsl_odeiv2.h> #include <gsl/gsl_math.h> #include <math.h> /* pow */ #include <gsl/gsl_sf.h> #...
{ "alphanum_fraction": 0.6756625334, "avg_line_length": 27.7905405405, "ext": "h", "hexsha": "b842c60da4d79307b870ed8c9f8abea54569344a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* The MIT License Copyright (c) 2013-2015 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includ...
{ "alphanum_fraction": 0.5546010753, "avg_line_length": 43.9104477612, "ext": "c", "hexsha": "c5a5394e1119e3eff92972ca4353fd25b4f2808e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#ifndef FUSED_LASSO_B_H #define FUSED_LASSO_B_H #include "ALM_Katyusha.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include <math.h> //This c...
{ "alphanum_fraction": 0.5552672548, "avg_line_length": 24.4698412698, "ext": "h", "hexsha": "d3b296ec5f3bf377b38c9aa81cc2bf1e93c5def2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:...
/* * ----------------------------------------------------------------- * In Situ Adaptive Tabulation Library --- isat_lib.h * Version: 1.6180 * Date: Feb 25, 2010 * ----------------------------------------------------------------- * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail....
{ "alphanum_fraction": 0.4844444444, "avg_line_length": 28.8, "ext": "h", "hexsha": "cf7e6fa26a3f5e0cc7a883378100bd1ebbf2c99c", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:44.000Z",...
/* statistics/gsl_statistics_uint.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Jim Davies, Brian Gough * * 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 Licen...
{ "alphanum_fraction": 0.7960882231, "avg_line_length": 62.4155844156, "ext": "h", "hexsha": "a5327bc33a95a90a837b9c58d6999b98abd7bb13", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file qwrapper_cpotrf.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Mathieu Faverge * @author Jakub Kurzak * @date 2010-11-15 * @g...
{ "alphanum_fraction": 0.5438681532, "avg_line_length": 30.3382352941, "ext": "c", "hexsha": "57512e7766ece36595b89e2608503924e67cd527", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include "oct.h" void print_octave(const gsl_matrix *m, const char *str) { FILE *fp; size_t i, j; const size_t N = m->size1; const size_t M = m->size2; if (str ==...
{ "alphanum_fraction": 0.4865503453, "avg_line_length": 21.0804597701, "ext": "c", "hexsha": "8ccdc32c283a3d49d7e47154f40e2931b163d8e1", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include "../include/paralleltt.h" #include <stdlib.h> #include <lapacke.h> #include <mpi.h> #include <stdio.h> #include <string.h> void SSTT_sketch_to_train(sketch* s, tensor_train* tt, int train_ind) { int head = 0; MPI_tensor* ten = s->ten; MPI_Comm comm = ten->comm; int iscol = s->iscol; int f...
{ "alphanum_fraction": 0.572723527, "avg_line_length": 32.4320712695, "ext": "c", "hexsha": "71bb3e1a1980a30b9d47d8aa5e13a4db9d0c4c6d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* Copyright (C) 2019-2020 JingWeiZhangHuai <jingweizhanghuai@163.com> Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
{ "alphanum_fraction": 0.6707972529, "avg_line_length": 41.0920245399, "ext": "c", "hexsha": "b18075e6b9fecb44334f0ff31991ce3cc232eecb", "lang": "C", "max_forks_count": 35, "max_forks_repo_forks_event_max_datetime": "2022-03-22T11:34:47.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-26T05:09...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6675988069, "avg_line_length": 30.916426513, "ext": "c", "hexsha": "b147a53e1d785adc194f138f2616acaeff872b90", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57:...
/* * BRAINS * (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling * Yan-Rong Li, liyanrong@ihep.ac.cn * Thu, Aug 4, 2016 */ /*! \file dnest_sa.c * \brief run dnest sampling for sa analysis. */ #ifdef SA #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <stddef.h> #...
{ "alphanum_fraction": 0.6508478568, "avg_line_length": 23.7206703911, "ext": "c", "hexsha": "d2c0a469bd3d40f58799a741fa6d55f292212a9e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include "memcached/types.h" #include "slabs.h" #include <gsl/gsl-lite.h> #include <atomic> #include <cstddef> #include <cstring> /* * You should not try to aquire any of the item locks before calling these * functions. */ typedef struct _hash_item { struct _hash_item* next; struct _hash_item...
{ "alphanum_fraction": 0.6599911778, "avg_line_length": 32.0197740113, "ext": "h", "hexsha": "3177d49768358de4ada0d7cd5410612f663b6caf", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-01-15T16:52:37.000Z", "max_forks_repo_forks_event_min_datetime": "2020-01-15T16:52:...
/* ///////////////////////////////////////////////////////////////////// */ /*! \file \brief Contains basic functions for problem initialization. The init.c file collects most of the user-supplied functions useful for problem configuration. It is automatically searched for by the makefile. \author A. ...
{ "alphanum_fraction": 0.5299904792, "avg_line_length": 35.2723880597, "ext": "c", "hexsha": "eaf0308a04f411d9cd46c18ed7a3cfb1153fd4af", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (c) 2011-2013 University of Texas at Austin. All rights reserved. * * $COPYRIGHT$ * * Additional copyrights may follow * * This file is part of PerfExpert. * * PerfExpert is free software: you can redistribute it and/or modify it under * the terms of the The University of Texas at Austin Resea...
{ "alphanum_fraction": 0.7465388711, "avg_line_length": 25.3783783784, "ext": "h", "hexsha": "019cfa5c7ffb6d0fc74e9461bb97ddf7b1c6fc43", "lang": "C", "max_forks_count": 11, "max_forks_repo_forks_event_max_datetime": "2020-08-18T03:53:19.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T15:41...
#include <stdio.h> #include <gsl/gsl_vector.h> int main (void) { int i; gsl_vector * v = gsl_vector_alloc (3); for (i = 0; i < 3; i++) { gsl_vector_set (v, i, 1.23 + i); } for (i = 0; i < 100; i++) /* OUT OF RANGE ERROR */ { printf ("v_%d = %g\n", i, gsl_vector_get (v, i)); } ...
{ "alphanum_fraction": 0.5055865922, "avg_line_length": 15.5652173913, "ext": "c", "hexsha": "27462b00c2212d259699af67ea7b8a0147c57347", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/* ** estimate false discovery rate based on histograms ** input histograms are generated by "vted" ** ** Ref: Lohmann et al (2016) PLoS One, 11(6):e0158185 ** ** G.Lohmann, MPI-KYB, Jan 2015 */ #include <viaio/VImage.h> #include <viaio/Vlib.h> #include <viaio/mu.h> #include <viaio/option.h> #include <stdio.h> #includ...
{ "alphanum_fraction": 0.6346716299, "avg_line_length": 26.1180555556, "ext": "c", "hexsha": "0eaa390ca0a11ce7f257d7479892e0763977cb0f", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:...
/* vector/gsl_vector_ulong.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 3 of ...
{ "alphanum_fraction": 0.6755484093, "avg_line_length": 35.8312757202, "ext": "h", "hexsha": "324b049bc57daa3d18aa242e8213624396880067", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#ifndef _TEST_H_ #define _TEST_H_ #define _GNU_SOURCE #include <time.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <float.h> #include <string.h> #include <omp.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d....
{ "alphanum_fraction": 0.6920133907, "avg_line_length": 26.1375, "ext": "h", "hexsha": "3e50ceb0b334708e2cfc4cae38661e26fcc22c99", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "302c...
/** \file * Analyze CSA output traces responding to pulses for ENC evaluation. */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <math.h> #include <string.h> #include <unistd.h> #include <gsl/gsl_histogram2d.h> #include "common.h" #include "filters.h" #include "hdf5rawWaveformIo.h" typedef SCOP...
{ "alphanum_fraction": 0.5662201632, "avg_line_length": 33.430976431, "ext": "c", "hexsha": "5a7e5db85a3474e8dc56cbcdaa8c454bb50081dd", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-14T11:30:47.000Z", "max_forks_repo_forks_event_min_datetime": "2018-01-17T08:46:0...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for functions computing coeffcients of Not-A-Knot and Quadratic splines in matrix form. * */ #ifndef _FRESNEL_H #define _FRESNEL_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define ...
{ "alphanum_fraction": 0.5866160418, "avg_line_length": 25.3855421687, "ext": "h", "hexsha": "af0862b0fe9deb21faebc2fd49603e81ec81f59e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:...
#pragma once // support functions for TString & c-string handling... // v1.17 #include <tchar.h> #include <cstdlib> #include <codecvt> #ifdef max #undef max #endif #ifdef min #undef min #endif #include <concepts> #include <gsl/gsl> // determine whether _Ty is a Number type (excluding char / wcha...
{ "alphanum_fraction": 0.6503683582, "avg_line_length": 29.2911392405, "ext": "h", "hexsha": "f214a8321168ab3ef5a3babd767986f99d63f565", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2018-08-04T23:53:29.000Z", "max_forks_repo_forks_event_min_datetime": "2018-04-01T09:39:...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <string.h> #include <time.h> #include <sys/time.h> #include <gsl/gsl_math.h> #include "cosmocalc.h" #include "haloprofs.h" #include "weaklens.h" void test_cosmo(char *path); int main(int argc, char **argv) { cosmoData.useSmoothTr...
{ "alphanum_fraction": 0.6006404392, "avg_line_length": 21.2233009709, "ext": "c", "hexsha": "f68930ec925123d789993523f6f9f2b79204623a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
#include <assert.h> #include <math.h> #include <gsl/gsl_randist.h> #include "nmcalc.h" void get_ab(struct variant_table *v, struct variant_counts **a, struct variant_counts **b); // Convenience function to mimic MATLAB function static inline double binopdf(unsigned int x, unsigned int n, double p) { return gsl_ran_b...
{ "alphanum_fraction": 0.6853836262, "avg_line_length": 26.5113636364, "ext": "c", "hexsha": "08c456412c2fa0bca8145c2d6580d380dc30f2c2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <petsc.h> #if PETSC_VERSION_LE(3,3,0) PETSC_EXTERN PetscErrorCode PetscOptionsGetViewer(MPI_Comm,const char[],const char[],PetscViewer*,PetscViewerFormat*,PetscBool*); #undef __FUNCT__ #define __FUNCT__ "PetscEListFind" static PetscErrorCode PetscEListFind(PetscInt n,const char *const *list,const char *str,P...
{ "alphanum_fraction": 0.666212766, "avg_line_length": 41.3732394366, "ext": "c", "hexsha": "1bdc512c56fa7fd50d65922fd33029935cd0cbdb", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-06-14T10:40:40.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-08T12:55:1...
#ifndef GBNET_GRAPHBASE #define GBNET_GRAPHBASE #include <iostream> #include <string> #include <vector> #include <utility> #include <map> #include <set> #include <stdio.h> #include <gsl/gsl_rng.h> #include "RVNode.h" #include "XNode.h" #include "HNodeORNOR.h" #include "YDataNode.h" #include "SNode.h" #include "No...
{ "alphanum_fraction": 0.6570086139, "avg_line_length": 22.4035087719, "ext": "h", "hexsha": "cdbb41a1f49d3a4b9ecb5ee8a41c6d3d4da63545", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-06-10T16:19:58.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-10T16:19:...
#ifndef EXT_VANILLAGENERATOR_LIB_OBJECTS_BIOMEARRAY_H_ #define EXT_VANILLAGENERATOR_LIB_OBJECTS_BIOMEARRAY_H_ #include <cstddef> #include <gsl/span> class BiomeArray { public: static const size_t DATA_SIZE = 256; explicit BiomeArray(const gsl::span<const uint_fast8_t, BiomeArray::DATA_SIZE> &values); auto Ge...
{ "alphanum_fraction": 0.7763347763, "avg_line_length": 27.72, "ext": "h", "hexsha": "559f76b61131e2a867e3397f7774545979f25781", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-08-04T01:36:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-21T02:10:39.000Z"...
/** * * @file qwrapper_dlag2s.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mathieu Faverge * @date 2010-11-15 * @generated ds Tue Jan 7 11:44:57 2014 * **/ #in...
{ "alphanum_fraction": 0.4874134676, "avg_line_length": 30.5576923077, "ext": "c", "hexsha": "0f0b5b08247a14346c0901faf1fcc043ba883254", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// // CI Hello World // // Copyright (C) 2017 Assured Information Security, Inc. // Author: Rian Quinn <quinnr@ainfosec.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software witho...
{ "alphanum_fraction": 0.7070748862, "avg_line_length": 36.6212121212, "ext": "h", "hexsha": "a120441f65363c4dfb1258e11bb04fc3a77664a2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file qwrapper_dgemv.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mark Gates * @author Mathieu Faverge * @date 2010-11-15 * @generated d Tue Jan 7 11:44...
{ "alphanum_fraction": 0.4784666351, "avg_line_length": 31.0735294118, "ext": "c", "hexsha": "044faf9b49b6f19dcac2b09824aace4e63df7743", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include "ccv.h" #ifdef HAVE_CBLAS #include <cblas.h> #endif double ccv_trace(ccv_matrix_t* mat) { return 0; } double ccv_norm(ccv_matrix_t* mat, int type) { return 0; } double ccv_normalize(ccv_matrix_t* a, ccv_matrix_t** b, int btype, int l_type) { ccv_dense_matrix_t* da = ccv_get_dense_matrix(a); assert(CCV_G...
{ "alphanum_fraction": 0.66070163, "avg_line_length": 38.924137931, "ext": "c", "hexsha": "89f5e87045ee8d9c72403f331bab28e3e468cdd4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "a...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.642358258, "avg_line_length": 34.041958042, "ext": "c", "hexsha": "a6193dc64ebd38cc60b64bf41d4917c2ab45688e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
#pragma once #include "BufferView.h" #include "Enum.h" #include "Error.h" #include "parsers/Parsing.h" #include <boost/hana/define_struct.hpp> #include <gsl/span> namespace gltfpp { inline namespace v1 { BETTER_ENUM(AccessorComponentType, int, BYTE = 5120, UNSIGNED_BYTE = 5...
{ "alphanum_fraction": 0.5279960707, "avg_line_length": 41.5510204082, "ext": "h", "hexsha": "1b2166ea0bf1f460d6a157619d393fbc4b0a11f6", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2019-09-18T07:04:15.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-01T14:38:...
/* Copyright 2019-2021 Canaan Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
{ "alphanum_fraction": 0.6573938507, "avg_line_length": 25.0642201835, "ext": "h", "hexsha": "ca9339c54871e17a54cf3c9489ce6850b84512bd", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ** read nifti-1 or nifti-2 to vista format ** ** G.Lohmann, MPI-KYB, 2016 */ #include <viaio/Vlib.h> #include <viaio/VImage.h> #include <viaio/mu.h> #include <viaio/option.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <math.h> #include <ctype.h> #include <gsl/gsl_math....
{ "alphanum_fraction": 0.6483239395, "avg_line_length": 28.248603352, "ext": "c", "hexsha": "636b384407cb94fd4c66bdd146bc3ec475c750ec", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:5...
/* rng/ran1.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * 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 ...
{ "alphanum_fraction": 0.6081890812, "avg_line_length": 22.9312977099, "ext": "c", "hexsha": "0802ad2cac70ffb191bc9cf15c47c9c206d42bc5", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/* Header file for ridgeRegressionFunctions.c */ #include "depends.h" #ifdef HAVE_GSL_HEADER /* includes */ #if _CUDA_ #include <cuda.h> #include <cuda_runtime_api.h> #include <cublas.h> #include <cula_blas.h> #include <cula.h> #include "cudaOnlyFunctions.h" #endif #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg...
{ "alphanum_fraction": 0.6736028537, "avg_line_length": 25.1044776119, "ext": "h", "hexsha": "dc51e7f894838eca9a827057a04a58136cda830e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/block/gsl_block.h> #include <gsl/vector/gsl_vector.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/vector/file_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.7628458498, "avg_line_length": 19.4615384615, "ext": "c", "hexsha": "faf6d1574f8be1a82dd328f0dd5a1a28bb8546dd", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * Copyright 2016 BitTorrent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
{ "alphanum_fraction": 0.629081947, "avg_line_length": 28.9821428571, "ext": "h", "hexsha": "8abb838292e3280d2306a5a208db86baf3ff960b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/** * @file binauralprocessing.h * @brief Binaural processing * @author Kenichi Kumatani */ #ifndef BINAURALPROCESSING_H #define BINAURALPROCESSING_H #include <stdio.h> #include <assert.h> #include <float.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_compl...
{ "alphanum_fraction": 0.7560146114, "avg_line_length": 37.0981308411, "ext": "h", "hexsha": "ae6150d6f364d86d2c95ef7f31ad0f1bbb7eb1fe", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <gsl/gsl_blas.h> #include "my_timer.h" #define N 5 int cal_index_offset(int ndim, int *darr, int *position) { int size = 1; int offset = 0; for(int i = ndim-1; i >= 0; i--) { offset += position[i] * size; size *= darr[i]; ...
{ "alphanum_fraction": 0.5082159624, "avg_line_length": 21.4789915966, "ext": "c", "hexsha": "03dd4fc6b041eb33807ec4c4cc528d913ac37650", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include "type_traits.h" #include <gsl/gsl> #include <system_error> #include <variant> namespace arcana { template<typename Type> struct is_expected; template<typename T, typename E> class basic_expected; namespace internal { template<typename T> struct expecte...
{ "alphanum_fraction": 0.5670578374, "avg_line_length": 28.2033096927, "ext": "h", "hexsha": "c94ad68b3208a76b6d584a1261afea75040c69b1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#ifndef GEMMFORGE_REFERENCE_GEMM_H #define GEMMFORGE_REFERENCE_GEMM_H #include "typedef.h" #include <iostream> #define GEMMFORGE 1 #define OPENBLAS 2 #define CPU_BACKEND CONCRETE_CPU_BACKEND #if CPU_BACKEND == OPENBLAS #include <cblas.h> #endif namespace gemmforge { namespace reference { enum class LayoutTyp...
{ "alphanum_fraction": 0.5761531767, "avg_line_length": 27.3571428571, "ext": "h", "hexsha": "2682c029af6c931f297615467159444e1ce4f19b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// // SPDX-License-Identifier: MIT // Copyright (C) 2020 - 2021 by the ryujin authors // #pragma once #ifdef DEAL_II_WITH_GSL #include <gsl/gsl_spline.h> namespace ryujin { /** * A cubic spline class implemented as a thin wrapper around the GSL * spline library functions. * * Usage: * @code * std...
{ "alphanum_fraction": 0.5937641211, "avg_line_length": 23.2947368421, "ext": "h", "hexsha": "dbe31601d32367fe22dcafb6af20afc923ee2d1a", "lang": "C", "max_forks_count": 12, "max_forks_repo_forks_event_max_datetime": "2021-11-23T18:09:54.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-11T16:30...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_eigen.h> #include "shared/libklp_matrix_header.h" #include "shared/libtpl_header.h" #include "population_constants.h" #include "population_params.h" #include "population_initializers.h" #include "p...
{ "alphanum_fraction": 0.6928353277, "avg_line_length": 35.4131205674, "ext": "c", "hexsha": "72847042d30fc77feeab1b0544b4745cb3beecf8", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_roots.h> #include "cosmocalc.h" double fourierTransformTopHat(double y); double topha...
{ "alphanum_fraction": 0.7338026829, "avg_line_length": 31.5645645646, "ext": "c", "hexsha": "fbc0b3aa1b2ef39474d0f79a87bf8ec0576f142b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
#include <stdio.h> #include <gsl/gsl_combination.h> int main (void) { gsl_combination * c; size_t i; printf ("All subsets of {0,1,2,3} by size:\n") ; for (i = 0; i <= 4; i++) { c = gsl_combination_calloc (4, i); do { printf ("{"); gsl_combination_fprintf (stdout, ...
{ "alphanum_fraction": 0.5168067227, "avg_line_length": 18.3076923077, "ext": "c", "hexsha": "708174ffa36ad15e9b8248112230dff87171e2ad", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/************************************************************* Generalized-ICP Copyright (c) 2009 Aleksandr Segal. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source c...
{ "alphanum_fraction": 0.7076333628, "avg_line_length": 31.4166666667, "ext": "h", "hexsha": "c68ac123121fdd9d8a47f985ff818e50cc7dc06d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> void mcmc ( int &mcID, int &seed, int &imh, int &vmh, int &neighborPast, int &n_neighbor, int &ptAccpt, double &pllh, double *jump, struct FXP &fxp, struct PAR &par_a, struct PAR &par_c, struct RND &rnd, struct VAR &var, struct DAT...
{ "alphanum_fraction": 0.5583796664, "avg_line_length": 17.2465753425, "ext": "h", "hexsha": "856facd354ff82bf17e129816e5ed19b498bfc41", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <iniparser.h> #include "prepmt/prepmt_hudson96.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "cps.h" #include "iscl/array/array.h" #include "iscl/fft/fft.h" #include "iscl/memory/memory.h" #include "iscl/os/o...
{ "alphanum_fraction": 0.5168686063, "avg_line_length": 37.5558583106, "ext": "c", "hexsha": "ab7dabd404e7d7606c1c65b466a545bf216b887b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_errno.h> /* Block IO */ int mgsl_block_fwrite(const char *filename, const gsl_block *b) { FILE *fp; if((fp = fopen(filename, "w")) == NULL) return GSL_EFAILED; if(gsl_block_...
{ "alphanum_fraction": 0.7512769956, "avg_line_length": 29.8852515507, "ext": "c", "hexsha": "88cd776c6575befa7c10cef5bb762cd4bf6a122f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T16:00:43.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-17T06:58:...
#include <gsl/gsl_vector.h> #include <math.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include "data.h" #include "prob_functions.h" void EM (Dataset *data) { int i, j; const double THRESHOLD = 1E-10; double Q, lastQ; srand(time(NULL)); /* Initialize parameters to starting values */ for (i = 0...
{ "alphanum_fraction": 0.6029005525, "avg_line_length": 20.9855072464, "ext": "c", "hexsha": "9611e948f4bbf5873d63e76530b4f2a8554d2f4d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-05-28T08:00:05.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-28T08:00:...
/*****************************************************************\ __ / / / / __ __ / /______ _______ / / / / ________ __ __ / ______ \ /_____ \ / / / / / _____ | / / / / / / | / _______| / / / / / / /____/ / / / / / / / / /...
{ "alphanum_fraction": 0.5748107364, "avg_line_length": 32.2888888889, "ext": "h", "hexsha": "f6b1f4d73d89734dad942afa1e45dedb629d6763", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-03T22:49:47.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-03T22:49:...
#pragma once #include <gsl.h> #include <string> #include <cstdarg> #include <typeinfo> #include <exception> #include "HE_Assert.h" #include "TMP_Helper.h" // Utility function that calls the right variadic formatting functions and returns an RAII string std::string CStringFormat(const char* sFormat, va_list args); st...
{ "alphanum_fraction": 0.683981369, "avg_line_length": 34.4111498258, "ext": "h", "hexsha": "1c5906bbac21fe14b073e7b9d15ff9d97fd7906f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#ifndef TRANS_MYFUNC #define TRANS_MYFUNC #include <stdarg.h> #include <gsl/gsl_vector.h> #include "../include/type.h" void mle_result_set(mle_result* mle, double sum, gsl_vector* psi1, gsl_vector* psi2, double beta0, double beta1, double var1, double var2); void log_vector(gsl_vector *vec); d...
{ "alphanum_fraction": 0.66430131, "avg_line_length": 32.1403508772, "ext": "h", "hexsha": "9f18cbda5c21992b1537216ee4a822de61bd96e3", "lang": "C", "max_forks_count": 39, "max_forks_repo_forks_event_max_datetime": "2022-03-19T09:14:46.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-01T20:25:4...
/* Author: G. Jungman */ #include <config.h> #include <stdlib.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_qrng.h> #include <gsl/gsl_test.h> void test_sobol(void) { int status = 0; double v[3]; /* int i; */ /* test in dimension 2 */ gsl_qrng * g = gsl_qrng_alloc(gsl_qrng_sobol, 2); gsl_qrng_get(...
{ "alphanum_fraction": 0.551314368, "avg_line_length": 22.5772357724, "ext": "c", "hexsha": "4b7d08f889e6b313f7e7872e35946432362fbfd8", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:...
/* wavelet/haar.c * * Copyright (C) 2004 Ivo Alxneit * * 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 version. * * T...
{ "alphanum_fraction": 0.6698207171, "avg_line_length": 24.487804878, "ext": "c", "hexsha": "8591cfda5bdc601a046fc214269e68b5df7e9b27", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:...
#ifndef PCH_H #define PCH_H #pragma once // add tat ca cac cai thu vien, ham thuong xuyen dung trong suot chuong trinh #include <fmt/format.h> #include <QtCore/QObject> #include <QtSql/QtSql> #include <any> #include <gsl/gsl> #include <memory> #include <optional> #include "common.inl" #include "database.inl" #include "...
{ "alphanum_fraction": 0.7314285714, "avg_line_length": 21.875, "ext": "h", "hexsha": "799cd6f05df9c68dd634580dfe2a2b43e832833b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "b82d1...
#pragma once #include <optional> #include <sam.h> #include <gsl/span> #include "clocks.h" #include "utils.h" namespace mcu { class I2cMaster { public: I2cMaster(Sercom* sercom, const mcu::ClockGenerator& clock, const mcu::ClockGenerator& slowClock, unsigned frequency = 100000) :port{sercom->I2CM} { int sercomI...
{ "alphanum_fraction": 0.7026401112, "avg_line_length": 34.544, "ext": "h", "hexsha": "8708a13127e83abda99574b16eedee7d502a0264", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "520ec...
#pragma once #include <glm/glm.hpp> #include <gsl/span> struct Bounds { static Bounds fromPoints(gsl::span<glm::vec3> points); glm::vec3 getMin() const { return center - extent; } glm::vec3 getMax() const { return center + extent; } glm::vec3 center; glm::vec3 extent; floa...
{ "alphanum_fraction": 0.6058823529, "avg_line_length": 14.1666666667, "ext": "h", "hexsha": "79e8a22e220d0f0a9e739ca0589203a1318b1555", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* movstat/snacc.c * * Moving window S_n accumulator * * Copyright (C) 2018 Patrick Alken * * 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 3 of the License, or (at * y...
{ "alphanum_fraction": 0.7184237117, "avg_line_length": 25.8173913043, "ext": "c", "hexsha": "de4dea6445d5d314e809f8e709140f9cc83b028b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
/*************************************************************************** * data_cf.h is part of Math Graphic Library * Copyright (C) 2007-2016 Alexey Balakin <mathgl.abalakin@gmail.ru> * * * * This program is free software; you ...
{ "alphanum_fraction": 0.735805108, "avg_line_length": 68.3370786517, "ext": "h", "hexsha": "d6e098720e2de2e4428a5453e51b3d013d683b1f", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2022-03-10T00:47:15.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-05T12:55:...
/** * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
{ "alphanum_fraction": 0.6953328982, "avg_line_length": 38.0621118012, "ext": "h", "hexsha": "45fd2e07fa4190c0b1688dc191883a1d5757a887", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-12-06T06:35:57.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-08T02:39:...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.7356412274, "avg_line_length": 34.8219178082, "ext": "h", "hexsha": "02894a0454a9a38ed9e1206b803ae81167f2c513", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
// Copyright 2011-2021 GameParadiso, Inc. All Rights Reserved. #pragma once #include <conio.h> #include <map> #include <unordered_set> #include <unordered_map> #include <ranges> #include <iostream> #include <sstream> #include <chrono> #include <random> #include <thread> #define FMT_HEADER_ONLY #include <fmt/format....
{ "alphanum_fraction": 0.776119403, "avg_line_length": 21.8139534884, "ext": "h", "hexsha": "64127b75d258137235153a0427fa4f26ade96614", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* spoper.c * * Copyright (C) 2012 Patrick Alken * * 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 3 of the License, or (at * your option) any later version. * * This ...
{ "alphanum_fraction": 0.5442768755, "avg_line_length": 22.0085106383, "ext": "c", "hexsha": "07268c18b5547dc3c8fb8e964010f63d1117f2e6", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* DomSelfAdaptFWD.c Forward-in-time simulation of an adaptive alleles with dominance and selfing, with linked neutral fragment. This is the BATCH version - to be used on cluster machine to produce many simulation replicates at once. Reps program: Reads in pre-calculated tables and introduces neutral mutations based...
{ "alphanum_fraction": 0.6072623959, "avg_line_length": 31.6818742293, "ext": "c", "hexsha": "f438adb58c2744d86162cefb023e0875a94c6941", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_rng.h> gsl_rng * r; /* global generator */ int main (void) { const gsl_rng_type * T; gsl_rng_env_setup(); T = gsl_rng_default; r = gsl_rng_alloc (T); printf ("generator type: %s\n", gsl_rng_name (r)); printf ("seed = %lu\n", gsl_rng_default_seed); printf ("firs...
{ "alphanum_fraction": 0.6368286445, "avg_line_length": 17, "ext": "c", "hexsha": "633026414999fe73b803c3fff7ab3b9b667cfe42", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:16.000Z", ...