Search is not available for this dataset
text
string
meta
dict
/** * * @file qwrapper_zgemv.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 * @precisions normal z -> c d s...
{ "alphanum_fraction": 0.517739816, "avg_line_length": 33.5735294118, "ext": "c", "hexsha": "759f59a53da1aa4cfb72cf1bff1acb3ae10afaa4", "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 <stdbool.h> #include <math.h> #include <float.h> #include "parmt_postProcess.h" #include "beachball.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "compearth.h" static void argsort3(const double *__restrict__...
{ "alphanum_fraction": 0.5316239316, "avg_line_length": 34.4117647059, "ext": "c", "hexsha": "04a27309bdf28e0da68278f73b4df4974f34c73c", "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/qk.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) a...
{ "alphanum_fraction": 0.6179066835, "avg_line_length": 30.7961165049, "ext": "c", "hexsha": "4b62a17365495ca9a189a3863dd0ad1fefc79d74", "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:...
/* Implementation of the interface in orbital_state_vector.h. */ #include <assert.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_odeiv.h> #include "basic_types.h" #include "earth_constants.h" #include "orbital_state_vector.h" OrbitalStateVector * orb...
{ "alphanum_fraction": 0.6595505618, "avg_line_length": 31.9123505976, "ext": "c", "hexsha": "a7182289b4c16c0f2d82c600f74d0a64a06f630d", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
#ifndef CURVATURE_H_LSXONAFA #define CURVATURE_H_LSXONAFA #include <cmath> #include <gsl/gsl> #include <type_traits> namespace sens_loc::math { /// This function calculates the gaussian curvature for a function given its /// derivatives. /// \tparam Real precision of the calculation /// \param f_u,f_v,f_uu,f_vv,f_uv...
{ "alphanum_fraction": 0.7127836193, "avg_line_length": 37.6458333333, "ext": "h", "hexsha": "b78f840fd7fbb7ab9c8210cbc7233ba9e5a82853", "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 <stdint.h> #include <math.h> #include <float.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include "common.h" #include "graph.h" #include "utils.h" void graph_init(graph *g, int vertices) { g->num_v = vertices; g->num_e = (int*)malloc(vertices * sizeo...
{ "alphanum_fraction": 0.4871499468, "avg_line_length": 24.6375545852, "ext": "c", "hexsha": "7e3f73e58093c549eb693582b05687003b62e3bc", "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: set_cosmo_dist.c */ /* This file is a part of the Corrfunc package Copyright (C) 2015-- Manodeep Sinha (manodeep@gmail.com) License: MIT LICENSE. See LICENSE file under the top-level directory at https://github.com/manodeep/Corrfunc/ */ /* function set_cosmo_dist (modelled after cosmodist.c) --- C...
{ "alphanum_fraction": 0.6023255814, "avg_line_length": 29.8611111111, "ext": "c", "hexsha": "51ea3c9b8713dca934eacee7e93aa05e823f3af1", "lang": "C", "max_forks_count": 58, "max_forks_repo_forks_event_max_datetime": "2022-03-22T09:38:27.000Z", "max_forks_repo_forks_event_min_datetime": "2016-03-15T07:25...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_rstat.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sort.h> int main(void) { const size_t N = 10000; double *data = malloc(N * sizeof(double)); gsl_rstat_quantile_workspace *work_25 = gsl_rstat_q...
{ "alphanum_fraction": 0.6843137255, "avg_line_length": 33.4426229508, "ext": "c", "hexsha": "85c192ab8fab71a4ed240fd6575cee6b9836b104", "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:...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "PointLight.h" #include "DepthMap.h" #include "Rectangle.h" #include "ProjectiveTextureMappingMaterial.h" #include "RenderStateHelper.h" namespace DirectX { c...
{ "alphanum_fraction": 0.8091541756, "avg_line_length": 39.3263157895, "ext": "h", "hexsha": "06e5dd84feea8d140350aa5ff68fa7aa17d8f081", "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/test_Sn.c * * 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 * your option) any later version. * ...
{ "alphanum_fraction": 0.7154135338, "avg_line_length": 34.7712418301, "ext": "c", "hexsha": "51b1a76126523731d8abdd30810171f74bd2ecba", "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:...
/* Author: G. Jungman */ #include <config.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_errno.h> #include "gsl_qrng.h" gsl_qrng * gsl_qrng_alloc (const gsl_qrng_type * T, unsigned int dimension) { gsl_qrng * r = (gsl_qrng *) malloc (sizeof (gsl_qrng)); if (r == 0) { GSL_ERROR_VAL ("all...
{ "alphanum_fraction": 0.617357002, "avg_line_length": 16.487804878, "ext": "c", "hexsha": "45e4e7ee17edcd87bd72a175a576f13a08f7d0ea", "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:59...
//This computes "the" IDCT (inverse discrete cosine transformation) along dim of matrix X. //This uses a CBLAS matrix multiplication by the DCT-III matrix. #include <stdio.h> #include <stdlib.h> #include <math.h> #include <cblas.h> #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifndef M_SQRT1_2 #de...
{ "alphanum_fraction": 0.4771014493, "avg_line_length": 39.8843930636, "ext": "c", "hexsha": "f9ba8f6e9d7965fefbc318f6fb3d474876cee468", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-10-05T13:50:32.000Z", "max_forks_repo_forks_event_min_datetime": "2021-10-05T13:50:...
#include <assert.h> #include <stdio.h> #include <string.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_sf_gamma.h> int main(int argc, char *argv[]){ gsl_permutation *P; size_t l; if(2!=argc){ return 1; } l=strlen(argv[1]); if(GSL_SF_FACT_NMAX<l){ printf("String too long\n"); return 1; } P=gsl_...
{ "alphanum_fraction": 0.646728972, "avg_line_length": 14.4594594595, "ext": "c", "hexsha": "1d6cb55cf104a13a55f03000eab8e70c0bbd587e", "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 <csignal> #include <iostream> #include <sstream> #include <cassert> #include <vector> #include <algorithm> #include <array> #include <memory> #include <iomanip> #include <fstream> #include <filesystem> #include <cstdarg> #include <unordered_set> #include <unordered_map> #include <bitset> #include...
{ "alphanum_fraction": 0.7667844523, "avg_line_length": 24.3440860215, "ext": "h", "hexsha": "2a9576c559177f321e0837c84f59320f3e688bef", "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) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_li...
{ "alphanum_fraction": 0.5776014109, "avg_line_length": 24.652173913, "ext": "c", "hexsha": "b858530e7927bfefc5df902fc026662716ce9220", "lang": "C", "max_forks_count": 102, "max_forks_repo_forks_event_max_datetime": "2022-03-20T05:41:54.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-23T15:27...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "SpotLight.h" namespace Library { class ProxyModel; } namespace Rendering { class SpotLightMaterial; class SpotLightDemo final : public Library::DrawableG...
{ "alphanum_fraction": 0.7711132438, "avg_line_length": 28.9444444444, "ext": "h", "hexsha": "ac4d8856cca5f861baf765957eae6207ca8626a7", "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":...
/* matrix/gsl_matrix_double.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.6208245326, "avg_line_length": 34.7364130435, "ext": "h", "hexsha": "7f93ec322c940647c3f630c4b79a0a7096c138f0", "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 VKST_PLAT_LOG_H #define VKST_PLAT_LOG_H #include <plat/core.h> #include <plat/filesystem.h> #include <gsl.h> #include <string> namespace plat { // Initialize logging with output to a given path. // Must be called before logging output will occur. void init_logging(plat::filesystem::path logfile, std::error_c...
{ "alphanum_fraction": 0.6550802139, "avg_line_length": 33.3928571429, "ext": "h", "hexsha": "5ffaad508acac09cd545da44433f286acfe8c509", "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 "text_parser.h" #include "width_cache.h" #include <string> #include <vector> #include <gsl/span> namespace terminal_editor { enum class GraphemeKind { NORMAL, ///< Normal, displayable characters. INVALID, ///< Invalid characters for given encoding. REPLACEMENT, ///< Repla...
{ "alphanum_fraction": 0.7414687415, "avg_line_length": 54.671641791, "ext": "h", "hexsha": "35256836e9d3e9aa645f6b44fe428d03ec637321", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-12-21T00:37:06.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-21T00:37:0...
#include <stdio.h> #include <math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #define DIM 1 #define NPTS 100 #define abserr 1e-5 #define relerr 1e-5 #define mem 10000 typedef double (* functio...
{ "alphanum_fraction": 0.7346221441, "avg_line_length": 28.45, "ext": "h", "hexsha": "e1a9fdf1c96a6a46473e09a91c8c60f761dbeca8", "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": "3b0711...
//CELL operation: does output side of Elman RNN layer. //There is no strict definition of Elman RNN in the literature. //For example, the Wikipedia article doesn't specify the dims of the hidden or other vectors. //Here I implement an interpretation where there are N neurons and thus N inputs/outputs. //The inputs here...
{ "alphanum_fraction": 0.4621604548, "avg_line_length": 40.5897435897, "ext": "c", "hexsha": "5dcff650f8c8ea49b160e89d072a02403f5bc6f6", "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":...
/* linalg/qrc.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * Copyright (C) 2017 Christian Krueger * Copyright (C) 2020 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 b...
{ "alphanum_fraction": 0.6138223704, "avg_line_length": 28.8542274052, "ext": "c", "hexsha": "e24193735efe36de4357d177b37a27f87af7a858", "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:...
/* combination/gsl_combination.h * based on permutation/gsl_permutation.h by Brian Gough * * Copyright (C) 2001 Szymon Jaroszewicz * * 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; eith...
{ "alphanum_fraction": 0.7656193572, "avg_line_length": 30.097826087, "ext": "h", "hexsha": "ece1b728754a8593db07f767a2ed3ef5b83e36f9", "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 _GLOBAL_SETTING_ #define _GLOBAL_SETTING_ #define MATRIX_WIDTH 128 #define MATRIX_HEIGHT 128 #define MATRIX_CHANNEL 64 #define MATRIX_DEPTH 1 #define KERNEL_WIDTH 3 #define KERNEL_HEIGHT 3 #define KERNEL_CHANNEL MATRIX_CHANNEL #define KERNEL_DEPTH 128 #define FEATURE_WIDTH (MATRIX_WIDTH - KERNEL_WIDTH...
{ "alphanum_fraction": 0.7414880202, "avg_line_length": 17.6222222222, "ext": "h", "hexsha": "e46ef88c41f83beb5cf562ce5d28e9963adb0c70", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-06-27T11:00:18.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-27T11:00:...
/* bclsqr.c $Revision: 273 $ $Date: 2006-09-04 15:59:04 -0700 (Mon, 04 Sep 2006) $ ---------------------------------------------------------------------- This file is part of BCLS (Bound-Constrained Least Squares). Copyright (C) 2006 Michael P. Friedlander, Department of Computer Science, University of...
{ "alphanum_fraction": 0.5216933446, "avg_line_length": 32.8581314879, "ext": "c", "hexsha": "9dd3448e124a12271c5d4a3e4870989d3c035a02", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-24T13:00:19.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-05T07:46:...
#include "asf_sar.h" #include <asf.h> #include <asf_meta.h> #include <asf_raster.h> #include <glib.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_math.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_statistics_double.h> #include <assert.h> static double min2(double a, double b) { return a<b ? a : b; } static do...
{ "alphanum_fraction": 0.5859174508, "avg_line_length": 34.7012987013, "ext": "c", "hexsha": "8cb62f489f05b1722ea4e68bdae5136e024ce34b", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
#pragma once #include "icode_generator.h" #include <halley/data_structures/hash_map.h> #include <gsl/gsl> #include "halley/file/path.h" namespace YAML { class Node; } namespace Halley { class ECSData; class ComponentSchema; class SystemSchema; class MessageSchema; class CustomTypeSchema; class Codegen { ...
{ "alphanum_fraction": 0.7318132465, "avg_line_length": 21.4186046512, "ext": "h", "hexsha": "905a50a41d8ffa6022be5986fb7c1c2e2ffd0465", "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":...
/* interpolation/bsearch.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.6835341365, "avg_line_length": 25.9375, "ext": "c", "hexsha": "c4c05c0009edea45bef52c7532c6c365977c84ea", "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:59.000...
#include "cwc.h" #include "../ccv_internal.h" #ifdef HAVE_GSL #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #endif #include "cwc_ext.h" #ifdef USE_DISPATCH #include <dispatch/dispatch.h> #endif #ifdef HAVE_GSL static void _cwc_convnet_random_image_manipulation(gsl_rng* rng, ccv_dense_matrix_t* image, float ima...
{ "alphanum_fraction": 0.6598414795, "avg_line_length": 40.2965779468, "ext": "c", "hexsha": "0a1c5d32df1fe6511c9dbb8d92652d7d07eff2a2", "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":...
// clang -DHAVE_INLINE -O3 mussel.c -o mussel -lgsl -lgslcblas #include <stdio.h> #include <stdlib.h> #include <time.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> int main(int argc, char *argv[]) { // Setup the random number generator: gsl_rng_env_setup(); gsl_rng *rng = gsl_rng_alloc(gsl_rng_t...
{ "alphanum_fraction": 0.29195449, "avg_line_length": 27.8079096045, "ext": "c", "hexsha": "7fd8ab96831e1b678ae842aa5a45e6e59a2df959", "lang": "C", "max_forks_count": 51, "max_forks_repo_forks_event_max_datetime": "2022-01-17T06:15:11.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-13T12:21:0...
#ifndef UTILITIES_H #define UTILITIES_H #include <vector> #include <math.h> #include <random> #include <iostream> #include <fstream> #include <eigen3/Eigen/Dense> #include <boost/random/mersenne_twister.hpp> #include <boost/random/normal_distribution.hpp> #include <boost/math/distributions/normal.hpp> #include <gsl/gsl...
{ "alphanum_fraction": 0.694435298, "avg_line_length": 41.602739726, "ext": "h", "hexsha": "cb5de0085e1f71ce85579dc4314468b7137b9b05", "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_ssetvar.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.6.0 * @author Mark Gates * @date 2010-11-15 * @generated s Tue Jan 7 11:44:49 2014 * **/ #include <lapacke.h...
{ "alphanum_fraction": 0.5019723866, "avg_line_length": 24.7317073171, "ext": "c", "hexsha": "6e87f5ee11b541a6c41848582a5cfb829f6da1fb", "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 "../globals.h" #include <gsl/gsl_sort.h> #include <gsl/gsl_sort_vector.h> #include <gsl/gsl_vector.h> void setup_Sedov_Blast() { Problem.Boxsize[0] = 3; Problem.Boxsize[1] = 3; Problem.Boxsize[2] = 3; sprintf ( Problem.Name, "IC_SedovBlast" ); const double rho = 1.24E7; Problem.Rho...
{ "alphanum_fraction": 0.5905923345, "avg_line_length": 24.5299145299, "ext": "c", "hexsha": "e30f533034b1c729a1122ab1707d5fc3787754e9", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-19T12:31:56.000Z", "max_forks_repo_forks_event_min_datetime": "2019-07-29T09:38:...
/* ** random swap functions ** ** M. Kuhlmann, MPI-KYB, Sept 2015 **/ #include <viaio/Vlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_math.h> #include <gsl/gsl_randist.h> #include <g...
{ "alphanum_fraction": 0.6046633026, "avg_line_length": 25.3171806167, "ext": "c", "hexsha": "af02fbaf04f0da5fa820a3c5be81619656d0f1d7", "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:...
#if !defined(RANDOM_H_INCLUDED) #define RANDOM_H_INCLUDED #include <gsl/gsl> #include <iosfwd> class Random { public: static int usage(::std::ostream& strm, const ::std::string& progName, const char* pMsg); Random(::gsl::span<const char*const> args); int run() const; Random(const Random&) = delete; Random& ...
{ "alphanum_fraction": 0.7132867133, "avg_line_length": 18.4516129032, "ext": "h", "hexsha": "33f1d8db227de44f8fe1131a3ea44de10156081a", "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":...
/* This section is aimed to calculate the gaussian integrals that occurs in everywhere This part is greatly inspired by May, Andrew James. Density fitting in explicitly correlated electronic structure theory. Diss. University of Bristol, 2006. */ /* Here is the table of the relation between the names and th...
{ "alphanum_fraction": 0.7212543554, "avg_line_length": 37.31, "ext": "h", "hexsha": "b06615368f409383ce1369aa91e16f123d51952f", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-10-16T03:11:07.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-18T13:50:13.000Z"...
/* pbrt source code is Copyright(c) 1998-2016 Matt Pharr, Greg Humphreys, and Wenzel Jakob. This file is part of pbrt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain...
{ "alphanum_fraction": 0.6643045151, "avg_line_length": 38.8897637795, "ext": "h", "hexsha": "3218c1b8522c5aafe42244a506b68d754deeeaff", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-05-16T18:02:47.000Z", "max_forks_repo_forks_event_min_datetime": "2018-03-16T17:30:...
#ifndef _CCS_RNG_H #define _CCS_RNG_H #ifdef __cplusplus extern "C" { #endif #include <gsl/gsl_rng.h> /** * @file rng.h * CCS rng define random number generators. For now they are wrappers over gsl * random number generators. */ /** * Create a new random number generator using the gsl default type (see * gsl_...
{ "alphanum_fraction": 0.6521485514, "avg_line_length": 34.75, "ext": "h", "hexsha": "c43e31c28d569815a422a1bb8a480a91ae862506", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-07T17:54:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-16T18:20:47.000Z"...
/* ** Kendall's coefficient of concordance - Kendall's W ** ** G.Lohmann, July 2010 */ #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sort_double.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cdf.h> #include <...
{ "alphanum_fraction": 0.6073619632, "avg_line_length": 23.0326086957, "ext": "c", "hexsha": "1df96400e106de0939ebb4b264e12d3e6f978078", "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:...
/* $Header$ */ /* Purpose: GSL functions that handle missing values - stubs only Extra NCO code derived from GSL removed 2020-04-02 to avoid license conflict between GSL GPL and NCO BSD code */ /* Copyright (C) 1995--present Charlie Zender This file is part of NCO, the netCDF Operators. NCO is free software. ...
{ "alphanum_fraction": 0.6789691378, "avg_line_length": 22.6115107914, "ext": "c", "hexsha": "0705b260b1767aac3bf3a3b87ebf72df053d3fab", "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 "Core/Delegate.h" #include "Core/Pointers.h" #include "Scene/Entity.h" #include <gsl/span> #include <string> #include <unordered_map> #include <vector> class CameraComponent; class DirectionalLightComponent; class ModelComponent; class PointLightComponent; class SpotLightComponent; class Scen...
{ "alphanum_fraction": 0.7510534846, "avg_line_length": 24.8790322581, "ext": "h", "hexsha": "aa13c31dc56dce9a4eb0ad42998206dff80ef51b", "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 <cblas.h> int main() { double *x, *y; cblas_ddot(0, x, 0, y, 0); }
{ "alphanum_fraction": 0.5657894737, "avg_line_length": 25.3333333333, "ext": "c", "hexsha": "49b9b7a7279d89db2faf1d005cc3c810004fdbfa", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:...
/* specfunc/gsl_sf_psi.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 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.6913902348, "avg_line_length": 23.5350877193, "ext": "h", "hexsha": "ec61179064badea3ab91c368f6d2d1b8286512e3", "lang": "C", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <pthread.h> #include <semaphore.h> #include <apop.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_multifit.h> /********************************HOPE: Sum of norm of residuals fitting for Hough Mode Extension Data*...
{ "alphanum_fraction": 0.6527333728, "avg_line_length": 38.2703927492, "ext": "c", "hexsha": "595e34aad1fb51c148632ba44092fb2bf8f76c83", "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":...
/* specfunc/gsl_sf_expint.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 2 of the License, or (at * you...
{ "alphanum_fraction": 0.6837662338, "avg_line_length": 25.2459016393, "ext": "h", "hexsha": "055c6f5e6688059c363e0ccce9faa3c4cc786819", "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:...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "core/common/inlined_containers.h" #include "core/codegen/common/common.h" #include "core/graph/graph.h" #include "core/providers/nuphar/common/analysis/analysis.h" #include <gsl/gsl> namespace onnxr...
{ "alphanum_fraction": 0.7482993197, "avg_line_length": 28.7608695652, "ext": "h", "hexsha": "31c617011975e910a0f0ef423859ded2ca5c4ec1", "lang": "C", "max_forks_count": 140, "max_forks_repo_forks_event_max_datetime": "2019-05-06T18:02:36.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-03T21:1...
//See http://www.gnu.org/software/gsl/doc/html/usage.html#an-example-program //T. Golfinopoulos, 29 Dec. 2017 #include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main (void) { double x = 5.0; double y = gsl_sf_bessel_J0 (x); printf ("J0(%g) = %.18e\n", x, y); return 0; }
{ "alphanum_fraction": 0.6537102473, "avg_line_length": 20.2142857143, "ext": "c", "hexsha": "029686bbd733abdf4911e7d72511ba184b0c487b", "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":...
/* ode-initval/evolve.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 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.5692032229, "avg_line_length": 23.5654008439, "ext": "c", "hexsha": "d61842a3dfc6dfb2e862336051ccc8dc116df9ed", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
/* * Copyright 2021 The DAPHNE Consortium * * 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 ...
{ "alphanum_fraction": 0.5292811546, "avg_line_length": 35.3235294118, "ext": "h", "hexsha": "6ae6c080f3b7adca1c7fe17ef55293e15692166f", "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 UTIL_H #define UTIL_H #include <iostream> #include <stdio.h> #include <vector> #include <Eigen/Core> #include <Eigen/SparseCore> #include <Eigen/Householder> #include <assert.h> #include <time.h> #include <sys/time.h> #include <random> #ifdef USE_MKL #include <mkl_cblas.h> #include <mkl_lapacke.h> #else #inclu...
{ "alphanum_fraction": 0.5922757906, "avg_line_length": 25.8060200669, "ext": "h", "hexsha": "7fd40a7a93828fb5f009d3b123e9fe0af609379b", "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 <assert.h> #include <complex.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include "include/linear.h" #if defined(__cplusplus) extern "C" { #endif // __cplusplus #include <cblas.h> #include <lapacke.h> #if defined(DEBUG) #include <stdio.h> #define deb...
{ "alphanum_fraction": 0.4227235633, "avg_line_length": 37.315324165, "ext": "c", "hexsha": "29735eea110783feafb45564ac5d474bd239df73", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-02-04T11:37:33.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-04T11:37:3...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C code for the implementation of the Fourier-domain overlaps, likelihoods. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <stdlib.h> #inclu...
{ "alphanum_fraction": 0.69663211, "avg_line_length": 54.1445663011, "ext": "c", "hexsha": "dbc86d28bfd8fc72f4c1ae6a5bfc5918e8caf17f", "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 neo_hookean_h #define neo_hookean_h #include <petsc.h> #include "../include/structs.h" #ifndef PHYSICS_STRUCT_NH #define PHYSICS_STRUCT_NH typedef struct Physics_NH_ *Physics_NH; struct Physics_NH_ { CeedScalar nu; // Poisson's ratio CeedScalar E; // Young's Modulus }; #endif // PHYSICS_STR...
{ "alphanum_fraction": 0.7490039841, "avg_line_length": 28.9615384615, "ext": "h", "hexsha": "668a964359d5000f90061e059242885b771ce407", "lang": "C", "max_forks_count": 41, "max_forks_repo_forks_event_max_datetime": "2022-03-01T13:02:07.000Z", "max_forks_repo_forks_event_min_datetime": "2017-12-27T22:35...
#ifndef Dark_Arts_Exception_h #define Dark_Arts_Exception_h #include "Exception_Types.h" #include <stdlib.h> #include <iostream> #include <sstream> #include <petsc.h> class Dark_Arts_Exception { public: Dark_Arts_Exception( EXCEPTION_TYPE ex_type , const std::string& ex_message); Dark_Arts_Exception(...
{ "alphanum_fraction": 0.7348353553, "avg_line_length": 20.6071428571, "ext": "h", "hexsha": "849138ce6ff0217469636de2e408252028ed13c9", "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 ROUNDING_H_ZL4GHC5J #define ROUNDING_H_ZL4GHC5J #include <cmath> #include <gsl/gsl> #include <type_traits> namespace sens_loc::math { /// Round the value \c val to the nth \c digit. /// /// \tparam Number arithmetic type that represents a number /// \param val number to be rounded /// \param digit The decima...
{ "alphanum_fraction": 0.6462715105, "avg_line_length": 30.7647058824, "ext": "h", "hexsha": "d1980e3b2a2c25400c3350282896daf31e1374ef", "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 aec.h * @brief Cancelation of a voice prompt based on either NLMS or Kalman filtering algorithms * @author John McDonough, Wei Chu and Kenichi Kumatani */ #ifndef AEC_H #define AEC_H #include <stdio.h> #include <assert.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix...
{ "alphanum_fraction": 0.6597778922, "avg_line_length": 40.9548192771, "ext": "h", "hexsha": "152a598f038b1ba67b26af53ab64c29f5f9bdc0a", "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...
#pragma once #include <imageview/IsPixelFormat.h> #include <imageview/internal/ImageViewStorage.h> #include <gsl/span> namespace imageview { namespace detail { template <class PixelFormat> class PixelRef { public: static_assert(IsPixelFormat<PixelFormat>::value, "Not a PixelFormat."); using color_type = typen...
{ "alphanum_fraction": 0.7483338623, "avg_line_length": 38.4268292683, "ext": "h", "hexsha": "6c6df690933091c37b2ce1af2927f3f7bf403fce", "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 #if WIN32 #define LAPACK_COMPLEX_CUSTOM #define lapack_complex_float float #define lapack_complex_double double #endif #include <cblas.h> #include <lapacke.h> #undef I // undefine this def due to complex.h that causes issues later #define BLAS(x,X) cblas_ ## x #define LAPACK(x,X) LAPACKE_ ##...
{ "alphanum_fraction": 0.7232472325, "avg_line_length": 42.34375, "ext": "h", "hexsha": "41a826f1c7cf00d2b75252c2cc6956214015820e", "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": "3ee...
/** * * @file example_sgelqf.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @brief Example using LQ factorization * * @version 2.6.0 * @author Bilel Hadri * @date 2010-11-15 * @generated s Tue J...
{ "alphanum_fraction": 0.5518698169, "avg_line_length": 27.9082969432, "ext": "c", "hexsha": "a28324c337d9d9b72fda774f25025f623817d4c0", "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":...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2019 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICEN...
{ "alphanum_fraction": 0.6757291152, "avg_line_length": 43.0425531915, "ext": "c", "hexsha": "272954bc71c9e9c6e97517ec52e72ea2041fe281", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:...
/** * \file BaseFilter.h */ #ifndef ATK_CORE_BASEFILTER_H #define ATK_CORE_BASEFILTER_H #include <cstdint> #include <string> #include <vector> #include <boost/dynamic_bitset/dynamic_bitset.hpp> #include <gsl/gsl> #include <ATK/config.h> #include <ATK/Core/config.h> #if ATK_PROFILING == 1 #include <chrono> #endif...
{ "alphanum_fraction": 0.7144613493, "avg_line_length": 36.15, "ext": "h", "hexsha": "e13fbaa86ecfbe7e363c594c816936a08ef825f9", "lang": "C", "max_forks_count": 48, "max_forks_repo_forks_event_max_datetime": "2021-04-07T02:33:07.000Z", "max_forks_repo_forks_event_min_datetime": "2015-08-15T12:08:13.000Z...
#include <gsl/gsl_randist.h> #include <time.h> gsl_rng *r; void initialiseStatistics() { r = gsl_rng_alloc(gsl_rng_ranlxs0); gsl_rng_set(r, time(NULL)); } void cleanupStatistics() { free(r); } double denormalise(double standardNormalValue, double mean, double stddev) { return (standardNormalValue * stddev) + ...
{ "alphanum_fraction": 0.643537415, "avg_line_length": 18.375, "ext": "c", "hexsha": "c7313736e68794d5feb39408ce63e01e97970f6e", "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": "574b1d...
#ifndef SCANMATCHERPROCESSOR_H #define SCANMATCHERPROCESSOR_H // #include <log/sensorlog.h> #include "sensor/sensor_range/rangereading.h" #include "sensor/sensor_range/rangesensor.h" //#include <gsl/gsl_eigen.h> #include "scanmatcher.h" namespace GMapping { class ScanMatcherProcessor { public: ScanMatcherProcesso...
{ "alphanum_fraction": 0.7313337588, "avg_line_length": 31.34, "ext": "h", "hexsha": "5d48cfa6a5862fb0fe4b939815abe2b8836d36ee", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-11-18T21:30:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-18T21:30:38.000Z"...
#include <math.h> #include <stdio.h> #include <mpfr.h> #include <gmp.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <gsl/gsl_sf_legendre.h> #include <petsc.h> #undef __FUNCT__ #define __FUNCT__ "DEwk" PetscErrorCode DEwk(PetscInt k, mpfr_t h, mpfr_t *wk) { PetscErrorCode ierr; mpfr_t kh, ms...
{ "alphanum_fraction": 0.6413497126, "avg_line_length": 30.6, "ext": "c", "hexsha": "c6740472d04cf8ea22ba8e41fecf12bd82ee0138", "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": "2bcaab4...
#ifndef LIC_RUNTIME_TYPE #define LIC_RUNTIME_TYPE #include <string> #include <gsl/gsl> #include <format/Opcodes.h> namespace lic { class RuntimeType { public: virtual ~RuntimeType(); virtual std::string Name() const = 0; virtual std::string ToString(gsl::byte* data) const = 0; virtual void Perform...
{ "alphanum_fraction": 0.7129798903, "avg_line_length": 18.2333333333, "ext": "h", "hexsha": "7273d3632096d5fa8f96fba773d1c5f528466884", "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":...
/* interpolation/interp_poly.c * * Copyright (C) 2001 DAN, HO-JIN * Copyright (C) 2013 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, o...
{ "alphanum_fraction": 0.52079566, "avg_line_length": 23.5319148936, "ext": "c", "hexsha": "73b2bf91f908d8224ce9dfd2e722a326b05034e0", "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...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "DirectionalLight.h" namespace Library { class ProxyModel; class AnimationPlayer; class Model; class AnimationClip; } namespace Rendering { class Skinned...
{ "alphanum_fraction": 0.7758241758, "avg_line_length": 29.9342105263, "ext": "h", "hexsha": "5fb3eec222230f1d37c2f63c3157003633960748", "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":...
// // View.hpp // PretendToWork // // Created by tqtifnypmb on 14/12/2017. // Copyright © 2017 tqtifnypmb. All rights reserved. // #pragma once #include "../rope/Range.h" #include "../types.h" #include "../editor/Editor.h" #include <memory> #include <utility> #include <gsl/gsl> #include <map> #include <string> ...
{ "alphanum_fraction": 0.6171648987, "avg_line_length": 23.7480916031, "ext": "h", "hexsha": "5dfea6789c3fa04d762c849a10e91e2be62844cc", "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 2020 Makani Technologies LLC * * 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 ...
{ "alphanum_fraction": 0.7029053421, "avg_line_length": 30.4857142857, "ext": "h", "hexsha": "d9cb9cb1cebc7e71b7afc44894d4e4ba8cfab577", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2017 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICEN...
{ "alphanum_fraction": 0.5466977015, "avg_line_length": 30.6875, "ext": "c", "hexsha": "03598b9354466773ae9be90783d9134ddb660e56", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:23.000...
/* ============================================================ * * cosebi_demo.c * * Martin Kilbinger, Liping Fu 2012. * * 2013. Tomography. * * Reference: * * Schneider, Eifler, Krause 2010 * * ============================================================ */ #i...
{ "alphanum_fraction": 0.551868086, "avg_line_length": 27.2991452991, "ext": "c", "hexsha": "a46651291ff79dfb2efb5cadca1096a24bda9570", "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 2014-2018 The PySCF Developers. All Rights Reserved. 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 requi...
{ "alphanum_fraction": 0.5469688166, "avg_line_length": 24.4691943128, "ext": "c", "hexsha": "d4d5ea08dce9d4e40718f632ed61a962ed5893f6", "lang": "C", "max_forks_count": 273, "max_forks_repo_forks_event_max_datetime": "2022-03-30T12:25:28.000Z", "max_forks_repo_forks_event_min_datetime": "2018-11-26T10:1...
#ifndef __e23673_LIBRARIES_H #define __e23673_LIBRARIES_H #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <limits.h> /* GNU Scientific library: */ #include <gsl/gsl_rng.h> #include "parsing.h" #include "dev_random.h" #include "mersenne_twister.h" #include "random_numbers.h" ...
{ "alphanum_fraction": 0.7400611621, "avg_line_length": 15.5714285714, "ext": "h", "hexsha": "c026eb7272ab949c0823ffa6069026f8ebcae1df", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-06-22T14:27:12.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-22T18:51:...
/* gsl_histogram_calloc_range.c * Copyright (C) 2000 Simone Piccardi * * This library 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 ver...
{ "alphanum_fraction": 0.5750269881, "avg_line_length": 25.7314814815, "ext": "c", "hexsha": "6549b73d35d742f98fea7c56b44417b428e7eb90", "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 <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> void read_matrix(int** index, int** matrix, double scaling, int N_kw, char* input_fileName) { FILE *fp = fop...
{ "alphanum_fraction": 0.5182623132, "avg_line_length": 31.1551724138, "ext": "c", "hexsha": "c51cc4f72e45f9a04a4ff0b9220f83e46857a247", "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 ker2col_conv.c // // \date Created on: Sep 24, 2017 // \author Gopalakrishna Hegde // // Description: // // // #include <stdbool.h> #include <cblas.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include "common_types.h" #include "data_reshape.h" #include "utils.h" #include "conv_layers.h"...
{ "alphanum_fraction": 0.5712596097, "avg_line_length": 32.2095238095, "ext": "c", "hexsha": "adee7eb66f1920c78383bab2b45d527be66d9b89", "lang": "C", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-12-21T14:16:14.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-24T05:17...
#ifndef LIC_OPCODES #define LIC_OPCODES #include <gsl/gsl> namespace lic { constexpr uint8_t MethodHeaderFormatMask = 0x3; enum class HeaderFormat : uint8_t { Tiny = 0x2, Fat = 0x3 }; enum class Opcode : uint8_t { Nop = 0x00, Break = 0x01, Ldarg_0 = 0x02, Ldarg_1 = 0x03, Ldarg_2 = 0x04,...
{ "alphanum_fraction": 0.5694092827, "avg_line_length": 19.1902834008, "ext": "h", "hexsha": "272795aedd9cbc449ca0cc315341190a9196ea34", "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 VISCOUSVORTEXDOMAINSOLVER_H #define VISCOUSVORTEXDOMAINSOLVER_H #include <stdio.h> #include <stdlib.h> #include <common_functions.h> #include <string.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> #include <vector> #include <algorithm> //#include <parallel/algorithm> #include "pstl/execution" #includ...
{ "alphanum_fraction": 0.736411933, "avg_line_length": 26.311827957, "ext": "h", "hexsha": "e2719eb78e6c1f20c07633a3100b69ecd3092e1c", "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": "...
/* ieee-utils/fp-darwin86.c * * Copyright (C) 2006 Erik Schnetter * * 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 vers...
{ "alphanum_fraction": 0.6852782431, "avg_line_length": 26.2097560976, "ext": "c", "hexsha": "ddd4dbec03153fad18aadb2455e505c202125c98", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
//========================================= // Main driver for the proper time integral //========================================= #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_rng.h> #include <builtin_types.h> #include "intT.h" double* transformT(double ...
{ "alphanum_fraction": 0.568321392, "avg_line_length": 22.2045454545, "ext": "c", "hexsha": "966aa0314c64f29f28cb07d965d08b5299721978", "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 ARRUS_CORE_DEVICES_US4R_US4ROUTPUTBUFFER_H #define ARRUS_CORE_DEVICES_US4R_US4ROUTPUTBUFFER_H #include <mutex> #include <condition_variable> #include <gsl/span> #include <chrono> #include <iostream> #include "arrus/core/api/common/types.h" #include "arrus/core/api/common/exceptions.h" #include "arrus/common/a...
{ "alphanum_fraction": 0.6156408908, "avg_line_length": 34.1497005988, "ext": "h", "hexsha": "c47dcc8bd904a9aa961e805b9e006957c9a8f109", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-12-13T08:53:31.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-22T16:13:...
#include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_poly.h> void mgsl_poly_complex_eval(const double c[], const int len, const gsl_complex *z, gsl_complex *ret) { *ret = gsl_poly_complex_eval(c, len, *z); } void mgsl_complex_poly_complex_eval(gsl_complex **c, const int len, const gsl_co...
{ "alphanum_fraction": 0.7134387352, "avg_line_length": 29.7647058824, "ext": "c", "hexsha": "4f2bb4e56539be07dd19e4db2c8050169352b65c", "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":...
/* * Evaluation of the scheduling algorithms HET, RTA, RTA2 and RTA3. * v1.0 -- 12/01/2017 -- initial version. * v2.0 -- 16/05/2017 -- second version. */ #include <libxml/xmlreader.h> #include <libxml/parser.h> #include <libxml/xpath.h> #include <math.h> #include <unistd.h> #include <stdlib.h> #include <time.h> #in...
{ "alphanum_fraction": 0.5207234023, "avg_line_length": 30.967877095, "ext": "c", "hexsha": "76096717d4882cd838287ffa8659d80fdfd8a81f", "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 <unistd.h> #include <assert.h> #include <math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include "dlib.h" #include "svec.h" #include "rng.h" const char *usage = "Usage: scode [OPTIONS] < file\n" "file should have columns of arbitrary tokens\n" "-r RESTART: number of restar...
{ "alphanum_fraction": 0.5529003053, "avg_line_length": 26.6078431373, "ext": "c", "hexsha": "41d31075531fed357b24d59f99d7ef19f179fe5f", "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 <cblas.h> #include "utils.h" int main() { int success_flag = 1; char * data_path = "../Test_Data/linear.csv"; int cols = column_count(data_path); int rows = row_count(data_path) - 1; double data[rows][cols]; int success = read_data(data_path, ro...
{ "alphanum_fraction": 0.6101532567, "avg_line_length": 25.4634146341, "ext": "c", "hexsha": "4e7e478b78258b2f5076ae8f568fb7af0ba3ce76", "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 "uavsar.h" #include "asf_meta.h" #include "asf_endian.h" #include <ctype.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h> #define SQR(x) (x*x) #define FLOAT_COMPARE_TOLERANCE(a, b, t) (fabs (a - b) <= t ? 1: 0) #define ASF_EXPORT_FLOAT_MICRON...
{ "alphanum_fraction": 0.6147624132, "avg_line_length": 35.157203191, "ext": "c", "hexsha": "5978d4272a0286cc6ceb88b9496cfa0f88e8c618", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:3...
/*****************************************************************************/ /* Solvers for the Least squares problem min_x || B - A*x || */ /*****************************************************************************/ #include <lah.h> /* lah_solveLS * ------------ * Solves the least squares pro...
{ "alphanum_fraction": 0.501618123, "avg_line_length": 35.6538461538, "ext": "c", "hexsha": "8a789a2004a5e5c919327161630bb4f4e984d5b0", "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": ...
// // ePDF // #pragma once #include <gsl/gsl_integration.h> namespace ePDF { struct int_params { double z; int nl; }; /** * @brief The "NumericIntegrals" class */ class NumericIntegrals { public: /** * @brief The "NumericIntegrals" constructor. * @param flv: 0 = singlet, 1 ...
{ "alphanum_fraction": 0.6009501188, "avg_line_length": 17.1836734694, "ext": "h", "hexsha": "d90b0981559d3392b5c9c36f9ab13f30a9eb99c5", "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 <memory> #include <gsl/span> #include "halley/time/halleytime.h" #include "../session/network_session.h" #include "entity_network_remote_peer.h" #include "halley/bytes/serialization_dictionary.h" namespace Halley { class EntityFactory; class Resources; class World; class NetworkSession; c...
{ "alphanum_fraction": 0.790171842, "avg_line_length": 32.2038834951, "ext": "h", "hexsha": "3cda999aa635109d19dfce668f8ba16746c7679d", "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": ...
/* * ----------------------------------------------------------------- * Binary Search Tree Library --- bst_lib.h * Version: 1.6180 * Date: Feb 19, 2010 * ----------------------------------------------------------------- * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail.com * ----...
{ "alphanum_fraction": 0.4821886577, "avg_line_length": 25.9925925926, "ext": "h", "hexsha": "dc69a0d455167108f66bfd4a0a264de8de0b2fae", "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:...
#ifndef _RMSD_H_ #define _RMSD_H_ #include <algorithm> #include <map> #include <cmath> #include <iostream> #include <vector> #include <gsl/gsl_matrix.h> #include "pdb.h" #include "atom.h" #include "align.h" #include "contact.h" // Indicates that, when calculating the ligand rmsd between a receptor/ligand pair // only...
{ "alphanum_fraction": 0.757240653, "avg_line_length": 48.6923076923, "ext": "h", "hexsha": "b016034a8a9611ba514ed7092556af6e1ed0a4d6", "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": ...
/* specfunc/transport.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 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.6178899797, "avg_line_length": 26.0324543611, "ext": "c", "hexsha": "c55c13c10090e6f4ad37eeb5cc1f2dd4106324a9", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define DefaultWorkSize 1e9 // 1GB #define NumSplitDefaultMax 20 #define OUTPUT stdout // stderr #include <cmath> #include <cstdio> #include <cstdlib> #include <cmath> #include <iostream> #include <typeinfo> #define __STDC_FORMAT_M...
{ "alphanum_fraction": 0.617007874, "avg_line_length": 19.7204968944, "ext": "h", "hexsha": "c77ae4ec9c82c99e1cab6547d5290e0d38e6a1e6", "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) 2018 Jan Filipowicz, Filip Turobos // // 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, ...
{ "alphanum_fraction": 0.7541694463, "avg_line_length": 41.9300699301, "ext": "h", "hexsha": "db19cd4bfc4e98ecd5b444c97f6e0e89fdd7f5df", "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 PyGSL_BLOCK_HELPERS_H #define PyGSL_BLOCK_HELPERS_H 1 /* * Author: Pierre Schnizer * * */ /***************************************************************************** * The functions in this file are implemented in src/init/block_helpers* * * These functions try to simplify the conversion between ...
{ "alphanum_fraction": 0.62833764, "avg_line_length": 37.1945080092, "ext": "h", "hexsha": "1e9bade888d0827a4f723637767a2909475c0614", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:07...
#ifndef SVD_H #define SVD_H #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multimin.h> /** * Computes, stores, and maintains a singular value decomposition of a gsl_matrix. * * A matrix-pointer is passed to the SVD on construction. This pointer is kept throug...
{ "alphanum_fraction": 0.6994680851, "avg_line_length": 28.3773584906, "ext": "h", "hexsha": "37d5877322c62e1faecbb3943ca6d059dfc6bde7", "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":...
/* * agentlib.h * * Created on: Jul. 5, 2019 * Author: takis */ #ifndef MY_INCLUDES_AGENTLIB_H_ #define MY_INCLUDES_AGENTLIB_H_ /******************************************************************************************************** * INCLUDES * **********************************************...
{ "alphanum_fraction": 0.6116907027, "avg_line_length": 31.9509803922, "ext": "h", "hexsha": "8b2de9b302ab3e05b91ef06b33b4a044eedebcec", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-11-17T15:29:51.000Z", "max_forks_repo_forks_event_min_datetime": "2020-11-17T15:29:...
#include <gsl/gsl_math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf_gamma.h> #include <time.h> #include <math.h> #include <stdlib.h> #ifndef RANFUN_H #define RANFUN_H #define min(x,y) ((x) < (y) ? (x) : (y)) #define max(x,y) ((x) > (y) ? (x) : (y)) inline double sqr( double x) { ...
{ "alphanum_fraction": 0.6428145498, "avg_line_length": 20.4512195122, "ext": "h", "hexsha": "6061b46baf8095f445b891a79a3aa4cdb0f3f471", "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:...
/* multiroots/test.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.6275822767, "avg_line_length": 26.8927203065, "ext": "c", "hexsha": "dd1bb672838f62ce9a1d1c9094b009a5ec50001f", "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:...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include <sys/stat.h> #include <sys/types.h> #include "allvars.h" #include "proto.h" #ifdef SUBFIND #include "fof.h" #include "subfind.h" /*! Structure for communication during the density comp...
{ "alphanum_fraction": 0.5981413686, "avg_line_length": 23.5165562914, "ext": "c", "hexsha": "c7767a644ee5b758fdd9650833a15453c638c21a", "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":...