Search is not available for this dataset
text
string
meta
dict
/* test.c * * Copyright (C) 2012-2014, 2016 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.5692708846, "avg_line_length": 25.9923273657, "ext": "c", "hexsha": "2951b8c42e1f3a8800d0dfe0b25c5378330b0919", "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 <inttypes.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <cblas.h> #include <string.h> // memcpy #include <math.h> #include <stdarg.h> #include "cgraph.h" #include "cg_operation.h" #include "cg_types.h" #include "cg_variables.h" #include "cg_errors.h" #include "cg_c...
{ "alphanum_fraction": 0.6425326245, "avg_line_length": 25.293398533, "ext": "c", "hexsha": "3bce30b8ef797fe056ec696a66b1d0ccdb857bfd", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-07-21T05:16:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-26T13:55:2...
#ifndef LIBTENSOR_CBLAS_H_H #define LIBTENSOR_CBLAS_H_H extern "C" { // Fixes older cblas.h versions without extern "C" #include <cblas.h> } #endif // LIBTENSOR_CBLAS_H_H
{ "alphanum_fraction": 0.7542857143, "avg_line_length": 19.4444444444, "ext": "h", "hexsha": "fb35afa43e81e52174112196f329a627e67f152c", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-11-23T16:27:39.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-17T12:35:...
/* * 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 th...
{ "alphanum_fraction": 0.6506951341, "avg_line_length": 35.5411764706, "ext": "h", "hexsha": "64d0d22c3de35a18d7ce9f2fe27d7449c3c63095", "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:...
#include <math.h> #include <stdlib.h> #if !defined(__APPLE__) #include <malloc.h> #endif #include <stdio.h> #include <assert.h> #include <time.h> #include <string.h> #include <fftw3.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sf_erf.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.6875615279, "avg_line_length": 47.9716646989, "ext": "c", "hexsha": "4992b63bd49a6950f1275605fe113d19780ece9d", "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":...
/* filter/impulse.c * * Impulse detecting filters * * 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...
{ "alphanum_fraction": 0.6179235206, "avg_line_length": 32.9647887324, "ext": "c", "hexsha": "201aa1050746c468b9cb635749180893f3fdf96b", "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 <unistd.h> #include <math.h> #include <float.h> #include <iniparser.h> #include "tdsearch_gridsearch.h" #ifdef TDSEARCH_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "tdsearch_greens.h" #include "sacio....
{ "alphanum_fraction": 0.54358711, "avg_line_length": 33.3219251337, "ext": "c", "hexsha": "948426cd5a62b2a8902fa9c4916dd6bf5a396d31", "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": "...
/* * 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_line2d.c * \brief run dnest for 2d line analysis. */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #include <f...
{ "alphanum_fraction": 0.6485240808, "avg_line_length": 29.4809160305, "ext": "c", "hexsha": "46d544376614c095454fcc54a6756ce98b6f3897", "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 Maikel Nadolski * * 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.6468627735, "avg_line_length": 34.1633663366, "ext": "h", "hexsha": "640e11d981b723b573644deb5514e70520e72882", "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 <math.h> #include <gsl/gsl_errno.h> #include "bicycle.h" //#include <stdio.h> //#include <gsl/gsl_matrix.h> //#include <gsl/gsl_odeiv.h> void eval_qdots(double qd[], const double q[], const double u[], const Bicycle_t *bike) { qd[0] = (-sin(q[2])*u[0] + cos(q[2])*u[2]) / cos(q[1]); qd[1] = cos(q[2])*u[0]...
{ "alphanum_fraction": 0.4747292419, "avg_line_length": 27.7, "ext": "c", "hexsha": "b65aaa402cda29892326f778e323f06e157ef1bf", "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": "d201b75...
/* * * ML fitting of size (sigma, s) and number of photons (n) * of already localized dots using a 2D Gaussian model provided by gaussianInt2. * * Only one dot at a time is considered, hence the 1 in mlfit1sn * * Uses 3D images however only a xy-plane at at time is used for the * fitting. * * See also: * ...
{ "alphanum_fraction": 0.5918344767, "avg_line_length": 23.1743589744, "ext": "c", "hexsha": "21b17493404df0881be6488b0ff111e8530d1bd7", "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":...
#ifdef HAVE_GSL #include <gsl/gsl_sf_fermi_dirac.h> #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_multifit.h> #include <gsl/gsl_sf_result.h> #include <gsl/gsl_errno.h> #else #include <stddef.h> #ifdef __cplusplus extern "C" { #endif typedef double gsl_multifit_linear_workspace ; typedef struct { size_t siz...
{ "alphanum_fraction": 0.7528259231, "avg_line_length": 36.8611111111, "ext": "h", "hexsha": "dc2a5b60acdfac57d889b353d2b5361c2c77c752", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-03-24T16:38:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-28T08:01:...
#include <petsc.h> EXTERN_C_BEGIN extern void formInitial(int*,int*,int*,double*, double*,double*); extern void formFunction(const int*,const int*,const int*,const double*, const double*,const double[],const double[],double[]); EXTERN_C_END typedef struct AppCtx { Pe...
{ "alphanum_fraction": 0.6438636364, "avg_line_length": 29.3333333333, "ext": "c", "hexsha": "3ee5bc9ba5412acf786f9030283c574765f784cc", "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_strasm.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 Mathieu Faverge * @date 2010-11-15 * @generated s Tue Jan 7 11:44:46 2014 * **/ #include <cblas...
{ "alphanum_fraction": 0.4307186473, "avg_line_length": 28.3866666667, "ext": "c", "hexsha": "da628df1b2b7e95f9b29358ca083ee5b5695d54f", "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 INFMCMC_H #define INFMCMC_H #include <complex.h> #include <fftw3.h> #include <gsl/gsl_rng.h> //void sampleRMWH(CHAIN *C); //void sampleIndependenceSampler(CHAIN *C); //void updateMean(CHAIN *C); //void updateVar(CHAIN *C); struct _CHAIN { int nj, nk; // number of Fourier coefficients in x/y direction respe...
{ "alphanum_fraction": 0.7741237559, "avg_line_length": 31.6575342466, "ext": "h", "hexsha": "8860be61a0f137b488b9844c8fa788ed74da93d3", "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) 2021 Stig Rune Sellevag // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #ifndef SCILIB_LINALG_MATRIX_DECOMPOSITION_H #define SCILIB_LINALG_MATRIX_DECOMPOSITION_H #ifdef US...
{ "alphanum_fraction": 0.6411940299, "avg_line_length": 29.0462427746, "ext": "h", "hexsha": "6302ce512a1a57388f480873f780924ee1944442", "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.698809813, "avg_line_length": 35.188034188, "ext": "h", "hexsha": "916175129d9754eb3f9500fc6e1c242354a2024f", "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:29:...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2018 Couchbase, 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 * * h...
{ "alphanum_fraction": 0.6461246741, "avg_line_length": 34.5819672131, "ext": "h", "hexsha": "f01c97774b63c3b7efde1738190dcde15eca9cf2", "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:...
/* specfunc/gsl_sf_trig.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 * your ...
{ "alphanum_fraction": 0.7497065039, "avg_line_length": 27.6558441558, "ext": "h", "hexsha": "45f23d7b87bc70e7cc1103c0ad83595c3ba7157d", "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 GBNET_MODELORNOR #define GBNET_MODELORNOR #include <cmath> #include <time.h> #include <gsl/gsl_rstat.h> #include "ModelBase.h" #include "GraphORNOR.h" namespace gbn { class ModelORNOR: public ModelBase { private: protected: public: Mode...
{ "alphanum_fraction": 0.5680272109, "avg_line_length": 26.7272727273, "ext": "h", "hexsha": "7c683c2868a343858f66229bb283a4909e64595b", "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:...
#include <assert.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <asf.h> #include "asf_tiff.h" #include <gsl/gsl_math.h> #include <proj_api.h> #include "asf_jpeg.h" #include <png.h> #include "envi.h" #include "dateUtil.h" #include <time.h> #include "matrix.h" #include <asf_nan.h> #include <as...
{ "alphanum_fraction": 0.6636677377, "avg_line_length": 43.225308642, "ext": "c", "hexsha": "f0927900e9cc060be2827853717828c79f438c3e", "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...
#include <cublas.h> #include <cblas.h> #include <stdio.h> #include <stdlib.h> void checkStatus(char* message, cublasStatus status) { if (status != CUBLAS_STATUS_SUCCESS) { fprintf (stderr, "!!!! %s fail %d\n", message, status); exit(EXIT_FAILURE); } } double cblas_ddot (const int n, const ...
{ "alphanum_fraction": 0.6537396122, "avg_line_length": 29.7294117647, "ext": "c", "hexsha": "9b9f6a28d02ca50fd21a4363b7d2e247be9ba96f", "lang": "C", "max_forks_count": 154, "max_forks_repo_forks_event_max_datetime": "2021-09-07T04:58:57.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T22:4...
static char help[] = "Solves a 1D Poisson problem with DMDA and KSP.\n\n"; #include <petsc.h> extern PetscErrorCode formdirichletlaplacian(DM, Mat); extern PetscErrorCode formExactAndRHS(DM, Vec, Vec); int main(int argc,char **args) { PetscErrorCode ierr; DM da; KSP ksp; Mat ...
{ "alphanum_fraction": 0.6138222849, "avg_line_length": 35.099009901, "ext": "c", "hexsha": "45861967770912e991ba668e46cf9bb8e2a440d7", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26:...
#include <stdlib.h> #include <stdio.h> #include <time.h> #include "datatools.h" /* helper functions */ #include "matadd.h" /* my matrix add fucntion */ #include "matmat.h" /* my matrix add fucntion */ #include "matvec.h" /* my matrix add fucntion */ #if defined(__MACH__) && defined(__APPLE__) #include <A...
{ "alphanum_fraction": 0.5807713807, "avg_line_length": 19.2365591398, "ext": "c", "hexsha": "5eb5a069975926ed5060f9aa6ed573bfe6bafc4f", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-01-18T16:42:40.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-22T10:34:...
//============================================================================== // // Copyright 2018 The InsideLoop Authors. 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 Lic...
{ "alphanum_fraction": 0.7054263566, "avg_line_length": 31.5333333333, "ext": "h", "hexsha": "805cca43d9e562739bef715046ccd433e0e81dd1", "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":...
/* * author: Achim Gaedke * created: May 2001 * file: pygsl/src/constmodule.c * $Id: constmodule.c,v 1.11 2007/11/26 20:25:09 schnizer Exp $ * * * Changes: * 7. October 2003 Added support for gsl-1.4 constants. */ #include <Python.h> #include <gsl/gsl_math.h> #include <gsl/gsl_const_num.h> #include <pygsl/...
{ "alphanum_fraction": 0.7479435958, "avg_line_length": 21.275, "ext": "c", "hexsha": "96be4cccd5c63eefcd0db3ad45eba60fc5209bb5", "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.000Z...
#include <stdio.h> #include <stdlib.h> #include <math.h> //#include "helpers.h" //#include "polifitgsl.h" #include <gsl/gsl_multifit.h> #include <stdbool.h> #define NMAX 20 #define NDIM 3 #define G 19.94 #define RMIN 0.01 #define moddiff(a,b) ((a>b) ? (a-b) : (b-a)) #define NELEMS(x) (sizeof(x) / sizeof((x)[0])) #...
{ "alphanum_fraction": 0.4765095937, "avg_line_length": 33.8167938931, "ext": "c", "hexsha": "4690c634a5b55e049f859e99f77b8d707cc1173d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-05-31T10:27:14.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-31T10:27:...
/* Copyright 2016. The Regents of the University of California. * Copyright 2016-2020. Uecker Lab. University Medical Center Göttingen. * All rights reserved. Use of this source code is governed by * a BSD-style license which can be found in the LICENSE file. * * Authors: * 2016 Jonathan Tamir <jtamir@eecs.berkel...
{ "alphanum_fraction": 0.6715787132, "avg_line_length": 22.5068836045, "ext": "c", "hexsha": "37a0cc9e1a805ef6014e226f333de1726e452781", "lang": "C", "max_forks_count": 153, "max_forks_repo_forks_event_max_datetime": "2022-03-28T07:03:34.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-25T02:3...
/* histogram/pdf.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2009 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 (at * you...
{ "alphanum_fraction": 0.575191164, "avg_line_length": 22.7806451613, "ext": "c", "hexsha": "529863bbf5c0b1001f1d619937ca7eb08271e5dc", "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 (c) 2013-2016 Anton Kozhevnikov, Thomas Schulthess // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that // the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notic...
{ "alphanum_fraction": 0.5780555556, "avg_line_length": 34.5047923323, "ext": "h", "hexsha": "15b58c021921db73a70b6904ca815bef9f371a68", "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 "file_descriptor.h" #include <filesystem> #include <gsl/span> #include <random> namespace dogbox { inline void create_random_file(std::filesystem::path const &file, uint64_t const size) { file_descriptor const created = create_file(file).value(); file_descriptor const ran...
{ "alphanum_fraction": 0.5722891566, "avg_line_length": 30.1818181818, "ext": "h", "hexsha": "78d1e465ede97e6cf2d2624a787d4679e36e3c1e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-08-29T22:01:48.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-29T22:01:...
/* * C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer * * Yan-Rong Li, liyanrong@mail.ihep.ac.cn * Jun 30, 2016 * */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #include <string.h> #include <mpi.h> #include <gsl/gsl_rng.h> #include "dnest.h" #include "model3...
{ "alphanum_fraction": 0.6280947255, "avg_line_length": 25.8055555556, "ext": "c", "hexsha": "8525dbf10b1f507343499bde79e2248c97990d0a", "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.h> #include <mitkCommon.h> #include <mitkBaseData.h> #include <vtkSmartPointer.h> #include <vtkDataArray.h> #include "SolverSetupServiceExports.h" namespace crimson { /*! \brief A class used for storing the simulation results and materials. */ class SolverSetupService_EXPORT SolutionD...
{ "alphanum_fraction": 0.7271914132, "avg_line_length": 24.8444444444, "ext": "h", "hexsha": "1b0b0e121fc61a5568701f3d7f13c0126c4fc386", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:...
#include <asf_terrcorr.h> #include <stdio.h> #include <assert.h> #include <gsl/gsl_spline.h> #include <asf_raster.h> static float * read_dem(meta_parameters *meta_dem, const char *demImg) { int ns = meta_dem->general->sample_count; int nl = meta_dem->general->line_count; float *demData = MALLOC(sizeof(float)*ns*...
{ "alphanum_fraction": 0.6291711907, "avg_line_length": 33.0502392344, "ext": "c", "hexsha": "50524353d8b51efbc6a1d4d649b3277854c9ee16", "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:...
/* ode-initval2/rk2imp.c * * Copyright (C) 2009, 2010 Tuomo Keskitalo * * 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 ...
{ "alphanum_fraction": 0.5766465109, "avg_line_length": 24.0905511811, "ext": "c", "hexsha": "9abac5dc9ce3112615b85b20740d9c1a71f85b5b", "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:...
#ifndef SYSTEM_H_ #define SYSTEM_H_ #pragma once //#include <gsl/gsl_matrix.h> #include <fstream> //#include <gsl/gsl_vector.h> //#include <gsl/gsl_math.h> //#include <gsl/gsl_multimin.h> //#include <gsl/gsl_errno.h> #include <memory> #include <math.h> #include <thrust/extrema.h> #include <thrust/...
{ "alphanum_fraction": 0.770698577, "avg_line_length": 28.6960556845, "ext": "h", "hexsha": "87df4c3e000c678d80aba5694a722959d284409e", "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 __GSL_PERMUTE_MATRIX_H__ #define __GSL_PERMUTE_MATRIX_H__ #include <gsl/gsl_permute_matrix_complex_long_double.h> #include <gsl/gsl_permute_matrix_complex_double.h> #include <gsl/gsl_permute_matrix_complex_float.h> #include <gsl/gsl_permute_matrix_long_double.h> #include <gsl/gsl_permute_matrix_double.h> #inc...
{ "alphanum_fraction": 0.8362892224, "avg_line_length": 29.32, "ext": "h", "hexsha": "aa8e67211e3a6c7a29b7dff93e5b509ee133df8b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-13T05:31:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-20T16:50:58.000Z"...
#ifndef DEPTH_TO_BEARING_H_ZXFA9HGG #define DEPTH_TO_BEARING_H_ZXFA9HGG #include <cmath> #include <gsl/gsl> #include <limits> #include <sens_loc/camera_models/concepts.h> #include <sens_loc/camera_models/utility.h> #include <sens_loc/conversion/util.h> #include <sens_loc/math/constants.h> #include <sens_loc/math/coord...
{ "alphanum_fraction": 0.6647798742, "avg_line_length": 36.4918032787, "ext": "h", "hexsha": "e9ff05662c2a5377fcdeb2695b1892a81d67f418", "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) 2021 Barcelona Supercomputing Center and University of * Illinois at Urbana-Champaign * SPDX-License-Identifier: MIT * * This is the c ODE solver for the chemistry module * It is currently set up to use the SUNDIALS BDF method, Newton * iteration with the KLU sparse linear solver. * * It uses a...
{ "alphanum_fraction": 0.67878754, "avg_line_length": 36.6395289299, "ext": "c", "hexsha": "1b7454e894ace9fabcabec04735eda92f961f28d", "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": "...
/* $Id$ */ /* * Copyright (c) 2014--2016 Kristaps Dzonsons <kristaps@kcons.eu> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS...
{ "alphanum_fraction": 0.6063027295, "avg_line_length": 26.5831134565, "ext": "c", "hexsha": "015892ec93e7cb6a80d10215865e5ed4bc2d456c", "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 <math.h> #include "2d_array.h" #include "const.h" #include "misc.h" #include "utilities.h" #include <gsl/gsl_multifit.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_fit.h> /****************************************************************************** MODULE: rmse_from_square_root_mean PURPOSE: simulate...
{ "alphanum_fraction": 0.3956377396, "avg_line_length": 28.5555555556, "ext": "c", "hexsha": "86d7e538d4942d6e30588011910625cb03fe0249", "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 _read_h_included_ #define _read_h_included_ #include <assert.h> #include <stdlib.h> #include <algorithm> #include <cctype> #include <fstream> #include <functional> #include <iostream> #include <map> #include <numeric> #include <set> #include <sstream> #include <vector> #include <sstream> #include <string> #inc...
{ "alphanum_fraction": 0.6779188305, "avg_line_length": 30.0086580087, "ext": "h", "hexsha": "a33b20e555e31e9ad4465f5bd4ebdbf1963065f7", "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":...
/* * mvdens.h * likely * * Created by Karim Benabed on 10/03/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #ifndef __MVDENS_H #define __MVDENS_H #ifdef __PLANCK__ #include "HL2_likely/tools/errorlist.h" #include "HL2_likely/tools/io.h" #include "HL2_likely/tools/maths_base.h" #else #i...
{ "alphanum_fraction": 0.7394200627, "avg_line_length": 28.8361581921, "ext": "h", "hexsha": "1e2c45f8049571d289a4d8d741bdec13e3a1dabe", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:...
/* Copyright [2017-2021] [IBM Corporation] 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 wri...
{ "alphanum_fraction": 0.7502487562, "avg_line_length": 28.7142857143, "ext": "h", "hexsha": "b5cb07faf0df9aee18e0f604641b24cd8d57df20", "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 __SAMPLE_H__ #define __SAMPLE_H__ #include <gsl/gsl_rng.h> #include <pthread.h> #include <stdint.h> #include "parse_mmaps.h" #define NUM_USER_LOCKS 2000 struct sample_thread_info; struct index_update; struct sample_threads; /* Thread utility functions */ void initialize_threads(struct sample_threads* samp...
{ "alphanum_fraction": 0.7673698471, "avg_line_length": 35.6344827586, "ext": "h", "hexsha": "590b9832bae0aad642f034e816108be8367aa4ae", "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 <autograph/Core/Types.h> #include <gsl/span> #include <gsl/string_span> namespace ag { // until a standard solution appears using gsl::span; using gsl::string_span; }
{ "alphanum_fraction": 0.7357512953, "avg_line_length": 17.5454545455, "ext": "h", "hexsha": "2db8ff63df5157164debaeeddddc243a293d4a92", "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> #include "Texture.h" #include "Rectangle.h" namespace Library { class Texture2D final : public Texture { RTTI_DECLARATIONS(Texture2D, Texture) public: Texture2D(const winrt::com_ptr<ID3D11ShaderResourceView>& shaderResourceView, std::uint32_t width, std::uint32_t height); Tex...
{ "alphanum_fraction": 0.7599667774, "avg_line_length": 37.625, "ext": "h", "hexsha": "5d472f0eba5306e42dca6985b7d72803e4a8f852", "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": "05a05...
/* Copyright (c) 2014, Kai Klindworth All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
{ "alphanum_fraction": 0.740470852, "avg_line_length": 41.488372093, "ext": "h", "hexsha": "802ab2e719c1a7366b3a29fbdb7b2378ff18110f", "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/mathieu_angfunc.c * * Copyright (C) 2002 Lowell Johnson * * 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 ve...
{ "alphanum_fraction": 0.5474238876, "avg_line_length": 23.3333333333, "ext": "c", "hexsha": "10727e111afcc99174c4e7c9451b5ce5aa3bf596", "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:...
/* ** ECM - eigenvector centrality mapping ** ** G.Lohmann, MPI-KYB, updated Oct 2018 */ #include <viaio/Vlib.h> #include <viaio/VImage.h> #include <viaio/mu.h> #include <viaio/option.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_math...
{ "alphanum_fraction": 0.6235693623, "avg_line_length": 26.5919732441, "ext": "c", "hexsha": "86de44666a70c2201c008dc315b643c76db38c04", "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:...
#ifndef __GSL_VERSION_H__ #define __GSL_VERSION_H__ #if !defined( GSL_FUN ) # if !defined( GSL_DLL ) # define GSL_FUN extern # elif defined( BUILD_GSL_DLL ) # define GSL_FUN extern __declspec(dllexport) # else # define GSL_FUN extern __declspec(dllimport) # endif #endif #include <gsl/gsl_typ...
{ "alphanum_fraction": 0.7138927098, "avg_line_length": 19.6486486486, "ext": "h", "hexsha": "56f1556fc918e37a2c05d0786f7ab5643447084b", "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:...
/* movstat/qnacc.c * * Moving window Q_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.7031823745, "avg_line_length": 27.4621848739, "ext": "c", "hexsha": "57c60d64475228dad1b147f4f4b3e86c2b7d7ff7", "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 <string> #include <utility> #include <vector> #include <unordered_map> #include <gsl/span> #include <lmdb.h> #include <functional> #include "Transaction.h" #include "LmdbExceptions.h" namespace DeepestScatter { class Dataset { public: struct Settings; class Example;...
{ "alphanum_fraction": 0.5480216975, "avg_line_length": 26.7863247863, "ext": "h", "hexsha": "833cb40bcd0d1ae87372f1208896b199b1256320", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-03-17T02:10:36.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-07T01:20:...
#include <stdlib.h> #include <stdio.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_multifit_nlinear.h> int func_f (const gsl_vector * x, void *params, gsl_vector * f) { double x1 = gsl_vector_get(x, 0); double x2 = gsl_vector_get(x, 1); gsl_vector_set(f, 0...
{ "alphanum_fraction": 0.6257129278, "avg_line_length": 25.3493975904, "ext": "c", "hexsha": "f9ff23573f9bd31d21d2af3170ef5872a29bd701", "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:...
/* spio.c * * Copyright (C) 2016 Patrick Alken * Copyright (C) 2016 Alexis Tantet * * 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 optio...
{ "alphanum_fraction": 0.5212397052, "avg_line_length": 25.0081300813, "ext": "c", "hexsha": "a276ec0a884e647aa5565f295e70dccf1aa4e1d4", "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 "BgfxCallback.h" #include "FrameBuffer.h" #include "ShaderCompiler.h" #include <Babylon/JsRuntime.h> #include <Babylon/JsRuntimeScheduler.h> #include <GraphicsImpl.h> #include <napi/napi.h> #include <bgfx/bgfx.h> #include <bgfx/platform.h> #include <bimg/bimg.h> #include <bx/allocator.h> #in...
{ "alphanum_fraction": 0.6628991551, "avg_line_length": 36.452, "ext": "h", "hexsha": "5c592992d499538c46b314e2ceaf1ce3f0a4b043", "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": "cfbea...
#pragma once #include <gsl/string_span> #include <string> #include "params.h" namespace particles { class ParserParams { public: static PartSysParam* Parse(PartSysParamId id, gsl::cstring_span<> value, float emitterLifespan, float particleLifespan,...
{ "alphanum_fraction": 0.6327868852, "avg_line_length": 26.1428571429, "ext": "h", "hexsha": "b093f03202cd20000f3fc32f12f18d1f3b7334af", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
/* * 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.5556664006, "avg_line_length": 48.1923076923, "ext": "h", "hexsha": "ef94e7af150c1908bf1cb33e8789f449b15ec066", "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":...
/* Project 2: A Simple Ocean Model This code models a set of equations for a 2-layer model of Ekman heat transport defined by F. Codron 2012: Ekman Heat Transport for Slab Oceans The model is designed to take input from the Met Office Unified Model (UM) in .dat file form. As a result, this model uses the same spatial ...
{ "alphanum_fraction": 0.692975301, "avg_line_length": 34.8680318544, "ext": "c", "hexsha": "991168a9f3ad50f200b9db9cacde349badd8af5f", "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 cgsl_shim_h #define cgsl_shim_h #include <gsl/gsl_math.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_rng.h> #endif
{ "alphanum_fraction": 0.7709923664, "avg_line_length": 16.375, "ext": "h", "hexsha": "e78c9a5984789992f87feb73766d3acfc48958e7", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-18T08:59:56.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-18T08:59:56.000Z...
#pragma once #include <map> #include <set> #ifdef _NOGSL class gsl_vector; #else #include <gsl/gsl_vector.h> #endif class Interface; class SymbolicEvaluator { double otherError = 1; public: virtual void setInputs(Interface* inputValues_p) = 0; virtual void run(const gsl_vector* ctrls_p, const set<int>...
{ "alphanum_fraction": 0.7014084507, "avg_line_length": 19.3636363636, "ext": "h", "hexsha": "e0bdf6f32cb3c45d2f603f07fcfd64ec840f4354", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:...
#pragma once #include <gsl/gsl_complex.h> int compare(double n1, double n2, double precision = 1e-15); int compare(const gsl_complex& c1, const gsl_complex& c2, double precision = 1e-15); bool operator==(const gsl_complex& c1, const gsl_complex& c2); bool operator!=(const gsl_complex& c1, const gsl_complex& ...
{ "alphanum_fraction": 0.7300613497, "avg_line_length": 32.6, "ext": "h", "hexsha": "9661176afc4a65d2203d5b16988875d0f6d1f239", "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": "33cede1...
#ifndef _PKMCMC_H_ #define _PKMCMC_H_ #include <vector> #include <string> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_matrix.h> class pkmcmc{ int num_data, num_pars, workspace_size; std::vector<double> data, model, k; std::vector<double> theta_0, theta_i, param_vars, min...
{ "alphanum_fraction": 0.6569311247, "avg_line_length": 35.2923076923, "ext": "h", "hexsha": "8eb743a7f60084dcd4e7991d57c013b0430dcf68", "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 2017 International Business Machines Corporation 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 a...
{ "alphanum_fraction": 0.6591836735, "avg_line_length": 29.696969697, "ext": "h", "hexsha": "72274bfdd23be1bc5e0d96a883f872ce447f8c13", "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": ...
/* * Take the input stream and tally the distribution of 8-bit bytes. * Calculate the entropy. */ #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_sf_log.h> #include <gsl/gsl_math.h> int main(int argc, char **argv) { int tally[256]; int ch; int n = 0; double h = 0; for (int i=0; i<256; i++) tally[i] ...
{ "alphanum_fraction": 0.5857946554, "avg_line_length": 20.9117647059, "ext": "c", "hexsha": "e722a40edfe932807cc5164bc77428b0005b5c2e", "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 GLOTTAL_PHASES_H #define GLOTTAL_PHASES_H #include <array> #include <vector> #include <cstring> #include <gsl/gsl_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_vector_complex.h> #include <gsl/gsl_fft_halfcomplex.h> #include <gsl/gsl_fft_c...
{ "alphanum_fraction": 0.7647058824, "avg_line_length": 19.125, "ext": "h", "hexsha": "d66370c9663deab1cd246a8a6c5845ba48258877", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:35.000Z...
#pragma once #include <variant> #include <gsl/gsl-lite.hpp> #include <clrie/instruction_factory.h> namespace appmap { namespace cil { struct op { ILOrdinalOpcode op; }; struct token_op { ILOrdinalOpcode op; mdToken token; }; struct long_op { ILOrdinalOpcode op; uint64_t value; }; template <I...
{ "alphanum_fraction": 0.7060662914, "avg_line_length": 25.7903225806, "ext": "h", "hexsha": "94ccc43186adaa8604409b3192cdc72b3797efc3", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-24T02:05:16.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-24T02:05:...
/* multimin/test.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi * * 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) ...
{ "alphanum_fraction": 0.6543402778, "avg_line_length": 26.5437788018, "ext": "c", "hexsha": "74827fa959ac2071905fdfdde326e8a8c80a2330", "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...
/** * * @file qwrapper_slansy.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 Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11...
{ "alphanum_fraction": 0.4789244186, "avg_line_length": 32.7619047619, "ext": "c", "hexsha": "d99fe0eda1d9ed6ce48748b58aa1876c3032526b", "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":...
/* ----------------------------------------------------------------- ** Top contributors: ** Shiqi Wang and Suman Jana ** This file is part of the ReluVal project. ** Copyright (c) 2018-2019 by the authors listed in the file LICENSE ** and their institutional affiliations. ** All rights reserved. ------------...
{ "alphanum_fraction": 0.5635286373, "avg_line_length": 22.0144927536, "ext": "h", "hexsha": "521da55b033be28de34fe0b81f9c40c14a11fac9", "lang": "C", "max_forks_count": 26, "max_forks_repo_forks_event_max_datetime": "2022-01-04T07:34:23.000Z", "max_forks_repo_forks_event_min_datetime": "2018-08-20T09:26...
#pragma once #define NOMINMAX #ifndef _WIN32 #include <wsl/winadapter.h> #include "directml_guids.h" #endif #include <unordered_map> #include <vector> #include <iostream> #include <filesystem> #include <variant> #include <fstream> #include <deque> #include <optional> #include <set> #include <string_view> #include <w...
{ "alphanum_fraction": 0.7174887892, "avg_line_length": 21.5806451613, "ext": "h", "hexsha": "b1424734a67c7a8dd78ec5339e3ff9ac893b8136", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2020-06-12T15:57:58.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-13T12:56...
#ifndef CPP_MICROBENCH_BENCH_OUTPUT_H #define CPP_MICROBENCH_BENCH_OUTPUT_H #include <string> #include <chrono> #include <fstream> #include <iomanip> #include <fmt/os.h> #include <fmt/ostream.h> #include <fmt/chrono.h> #include <gsl/util> #include "util/aligned_vector.hpp" #include "util/alloc_array.hpp" #include "...
{ "alphanum_fraction": 0.6817500749, "avg_line_length": 27.5785123967, "ext": "h", "hexsha": "f8c1734452602881814a119e8b20bc9494329201", "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 PCA_H #define PCA_H #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> typedef struct { float** matrix; int l; int c; } pca_matrix; pca_matrix empirical_mean(pca_matrix X); pca_matrix mean_deviations(pca_matrix X, pca_matrix U); pca_mat...
{ "alphanum_fraction": 0.7631578947, "avg_line_length": 18.4242424242, "ext": "h", "hexsha": "0cf0961a9537072d17658cf8299d81f4ce013ba6", "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_dtrtri.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 Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11...
{ "alphanum_fraction": 0.5302474794, "avg_line_length": 30.7323943662, "ext": "c", "hexsha": "6f3f5ddb1d6eb7535850a2c2bf9386159039c656", "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 <math.h> #include <time.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_blas.h> #define m(i,j) m[i*l+j] double* calcMys(char m[],int n,int l) { int i,j,k,k1,k2,k3,k4; char reslist[]={ 'A', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'P', 'Q', 'R',...
{ "alphanum_fraction": 0.4297380061, "avg_line_length": 25.0127659574, "ext": "c", "hexsha": "fe0b1a67bf08c3f37fb79571e8455b56793abd17", "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 OPENMC_VOLUME_CALC_H #define OPENMC_VOLUME_CALC_H #include "openmc/position.h" #include "openmc/tallies/trigger.h" #include "pugixml.hpp" #include "xtensor/xtensor.hpp" #include <array> #include <string> #include <vector> #include <gsl/gsl> namespace openmc { //=============================================...
{ "alphanum_fraction": 0.6031078019, "avg_line_length": 32.5157894737, "ext": "h", "hexsha": "3258be9d6b583ed2d0fbe7f264002426da978551", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-03-22T20:54:48.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-31T21:03:...
#include "quantum_gates.h" #include "quac_p.h" #include <stdlib.h> #include <stdio.h> #include <petsc.h> #include <stdarg.h> int _num_quantum_gates = 0; int _current_gate = 0; struct quantum_gate_struct _quantum_gate_list[MAX_GATES]; int _min_gate_enum = 5; // Minimum gate enumeration number int _gate_array_initializ...
{ "alphanum_fraction": 0.5716961563, "avg_line_length": 34.0442687747, "ext": "c", "hexsha": "1ca90ac558e934ff29655862b9329f4eee53ce25", "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 <gsl/gsl_matrix.h> #include "globals.h" #include "SimulationSteps.h" //#define WDON int P; int Np; gsl_matrix *LIFT; gsl_matrix *VolMat; gsl_matrix *MassMatrix; int main(int argc, char **argv) { if (argc != 2) { printf("Usage: ./Simulation 'For...
{ "alphanum_fraction": 0.6307961505, "avg_line_length": 16.0985915493, "ext": "c", "hexsha": "efcb8923722a5869ac6e7d51bb97e588bd9aa0b5", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:...
/* Ballistic: a software to benchmark ballistic models. AUTHORS: Javier Burguete Tolosa. Copyright 2018, AUTHORS. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above c...
{ "alphanum_fraction": 0.5683582626, "avg_line_length": 30.6345270891, "ext": "c", "hexsha": "8297b7c1d6c20a265669031fc6586ca611a9f7f8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-06-24T07:19:47.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-24T07:19:...
/* mcmc.h * David W. Pearson * 17 July 2018 * * This header file will be responsible for running Markov Chain Monte Carlo fitting. */ #ifndef _MCMC_H_ #define _MCMC_H_ #include "bispectrum_model.h" #include <iostream> #include <fstream> #include <random> #include <vector> #include <string> #include <cmath> #inc...
{ "alphanum_fraction": 0.5434098066, "avg_line_length": 36.3433242507, "ext": "h", "hexsha": "e32bd6f013212785a6da0fc6844cd3468fac91e9", "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 "nkw_common.h" #include "utility/types.h" #include <gsl/gsl> namespace cws80 { class NativeUI; // bool im_select(nk_context *ctx, NativeUI &nat, gsl::span<const std::string> choices, uint *value); } // namespace cws80
{ "alphanum_fraction": 0.6769230769, "avg_line_length": 17.3333333333, "ext": "h", "hexsha": "0e63185975f55cf40291b98bce7747202436e0fb", "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 allvars.h * \brief declares global variables. * * This file declares all global variables and structures. Further variables should be added here, and declared as * \e \b extern. The actual existence of these variables is provided by the file \ref allvars.cxx. To produce * \ref allvars.cxx from \ref a...
{ "alphanum_fraction": 0.6490147362, "avg_line_length": 38.1906420022, "ext": "h", "hexsha": "9cf741ed875eafdfa85e2218878572fe2c55cd16", "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 "Cesium3DTiles/BoundingVolume.h" #include "Cesium3DTiles/Gltf.h" #include "Cesium3DTiles/Library.h" #include "Cesium3DTiles/TileContentLoadResult.h" #include "Cesium3DTiles/TileContentLoader.h" #include "Cesium3DTiles/TileID.h" #include "Cesium3DTiles/TileRefine.h" #include "CesiumGltf/GltfReader...
{ "alphanum_fraction": 0.7274989631, "avg_line_length": 31.3116883117, "ext": "h", "hexsha": "edd11c5d0ecfec1ae0546de0ff9a42696f221d66", "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 IOSLICEMUT_H #define IOSLICEMUT_H #include <WinSock2.h> #include <variant> #include <gsl/span> namespace laio { template<typename T> using Result = std::variant<T, std::exception>; namespace net { class IoSpanMut { WSABUF _raw_wsa_buffer; public: explici...
{ "alphanum_fraction": 0.5650066108, "avg_line_length": 34.9076923077, "ext": "h", "hexsha": "ff99dfb9124ee395f0c372512204a21598aac0db", "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":...
#define _XOPEN_SOURCE 600 #include <stdlib.h> #include <stdio.h> #include <mpi.h> #include <stdint.h> #include <time.h> #include <math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <errno.h> #include "fileio.h" #include "ipf_balance.h" #include "likelihood.h" #include "master_tasks.h" #include "mut...
{ "alphanum_fraction": 0.5752447722, "avg_line_length": 26.6012861736, "ext": "c", "hexsha": "994b25adb4e47b5d22403bbfad7eee90bc8b36cc", "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/workspace.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 op...
{ "alphanum_fraction": 0.6236499585, "avg_line_length": 23.4480519481, "ext": "c", "hexsha": "dcf8ee0bca416d0fb9c1cddd43e1bb6b75f64f27", "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:...
/** * Interface of spce_pathlength.h */ #ifndef _SPCE_PATHLENGTH_H #define _SPCE_PATHLENGTH_H #include <math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include "spc_trace_functions.h" extern int abscissa_to_pathlength (const trace_func * const func, gsl_vector * c...
{ "alphanum_fraction": 0.762295082, "avg_line_length": 19.2631578947, "ext": "h", "hexsha": "dc0f71ea42ee694e284c577d8f484b8cd70ed243", "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 file is part of the program */ /* GCG --- Generic Column Generation */ ...
{ "alphanum_fraction": 0.5582906656, "avg_line_length": 42.3166666667, "ext": "h", "hexsha": "bb70a64eada23fb9a150ab3e3f3b6b2780f076c5", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-19T01:15:11.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-19T01:15:...
/* MPCOTool: The Multi-Purposes Calibration and Optimization Tool. A software to perform calibrations or optimizations of empirical parameters. AUTHORS: Javier Burguete and Borja Latorre. Copyright 2012-2019, AUTHORS. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
{ "alphanum_fraction": 0.7636986301, "avg_line_length": 29.5696202532, "ext": "c", "hexsha": "4ea87389464f1fa053bb3288af6f2150d2b918e7", "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 DelayInterface.h */ #ifndef ATK_DELAY_DELAYINTERFACE_H #define ATK_DELAY_DELAYINTERFACE_H #include <ATK/Delay/config.h> #include <gsl/gsl> #include <map> namespace ATK { /// Interface for a fixed filter class ATK_DELAY_EXPORT DelayInterface { public: virtual ~DelayInterface() = default; ...
{ "alphanum_fraction": 0.6943744752, "avg_line_length": 23.82, "ext": "h", "hexsha": "c5ed4a1af7d356bacdca115fd37f59289bc4f8aa", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-17T00:47:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-12T03:28:12.000Z"...
#include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <math.h> #include <libgen.h> #include <options/options.h> #include "../csm/csm_all.h" void purify(LDP ld, double threshold_min, double threshold_max); struct ld_purify_params { double threshold_min, threshold_max; const char* file_input; const char*...
{ "alphanum_fraction": 0.672242551, "avg_line_length": 21.7386363636, "ext": "c", "hexsha": "53de4558288e615e087b1087586c97baf891e41d", "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 <algorithm> #include <numeric> #ifdef HAS_MKL #include <mkl.h> #else #include <cblas.h> #endif #ifdef __SSE4_2__ #include <emmintrin.h> #endif typedef double Real; inline void GetTotalTraction_(Real *TotalTraction, const Real *CauchyStressTensor, const Real *ElectricDisplacementx, int ndim) { if (...
{ "alphanum_fraction": 0.5480739117, "avg_line_length": 29.7023255814, "ext": "h", "hexsha": "3ee72e6bb580413a0bda7f4439390d1536a93d06", "lang": "C", "max_forks_count": 10, "max_forks_repo_forks_event_max_datetime": "2021-05-18T08:06:51.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-30T09:44...
#ifndef _GALAXY_H_ #define _GALAXY_H_ #include <vector> #include <gsl/gsl_integration.h> #include "cosmology.h" #include <vector_types.h> class galaxy{ double ra, dec, red, w, nbar; double3 cart; bool cart_set; public: galaxy(double RA, double DEC, double RED, double NZ, double W); ...
{ "alphanum_fraction": 0.6434210526, "avg_line_length": 26.2068965517, "ext": "h", "hexsha": "67bfe0e4f224f5b8684d633a2917f7636abf8f95", "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) 2008-2011 Zhang Ming (M. Zhang), zmjerry@163.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 2 or any later version. * * Redistribution and ...
{ "alphanum_fraction": 0.6320075164, "avg_line_length": 35.8764044944, "ext": "h", "hexsha": "92858272fa9226ef1708822ade0bc8c279ab6cba", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2020-10-14T07:34:59.000Z", "max_forks_repo_forks_event_min_datetime": "2016-04-26T10:14:...
/* bst/gsl_bst_rb.h * * 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 versio...
{ "alphanum_fraction": 0.6728902166, "avg_line_length": 31.5058823529, "ext": "h", "hexsha": "370a6c2d8ae47857769b2514fa7463ac2e1add5d", "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:...
/* ** read nuisance covariates file into a matrix ** ** G.Lohmann, MPI-KYB, 2018 */ #include <viaio/Vlib.h> #include <viaio/mu.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> extern int VStringToken (char *,c...
{ "alphanum_fraction": 0.5875728155, "avg_line_length": 24.7596153846, "ext": "c", "hexsha": "5cbce8d57f937baa4515b4add36680442b44cc20", "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:...
#include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_integration.h> #include "testint.c" gsl_integration_workspace *w; int inverse; double cauchy (double x, void *p) { return gsl_ran_cauchy_pdf (x, *(double*)p); } double gaussian (double x, void *p...
{ "alphanum_fraction": 0.5204764236, "avg_line_length": 20.0950819672, "ext": "c", "hexsha": "500e758406a6be5be402a4db7e0c0aea8a5a4dbc", "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:...
/* permutation/test.c * * Copyright (C) 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) any later version. * ...
{ "alphanum_fraction": 0.4215588059, "avg_line_length": 33.1627906977, "ext": "c", "hexsha": "9e76e5654e40241cb91807d0e9bd6e4abe0a5f6c", "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...
/** * * @file al4san/codelet_dlacpy.c * * @copyright 2009-2014 The University of Tennessee and The University of * Tennessee Research Foundation. All rights reserved. * @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, * Univ. Bordeaux. All rights reserved...
{ "alphanum_fraction": 0.5019485581, "avg_line_length": 35.1506849315, "ext": "c", "hexsha": "06addacaf1e9948ae5aadaed52b115281b93116a", "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 "Common.h" #include <boost/graph/adjacency_list.hpp> #include <boost/graph/depth_first_search.hpp> #include <boost/graph/edge_list.hpp> #include <boost/graph/graph_selectors.hpp> #include <boost/graph/properties.hpp> #include <boost/graph/visitors.hpp> #include <any> #include <forward_list> #incl...
{ "alphanum_fraction": 0.6733386709, "avg_line_length": 30.2177419355, "ext": "h", "hexsha": "bd436ed17a54cb7d20444311a2ad1fc32a205dc0", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-08-04T02:51:38.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-10T02:44:...