Search is not available for this dataset
text
string
meta
dict
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <mpfr.h> #include <petsc.h> #include "ellipsoid/ellipsoid.h" #include "tanhsinh.h" #undef __FUNCT__ #define __FUNCT__ "NormConstantIntFixed" PetscErrorCode NormConstantIntFixed(EllipsoidalSystem *e, PetscInt n, PetscInt p, PetscInt p...
{ "alphanum_fraction": 0.657100726, "avg_line_length": 34.7771203156, "ext": "c", "hexsha": "b7c41fa8cde9d1f94be9d2414286ccfc132566b0", "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 pdpltmg_house.c * * PLASMA auxiliary routines * 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 d Tue Jan 7 11:45:13 2014 * **/ #include <l...
{ "alphanum_fraction": 0.5533546326, "avg_line_length": 33.2978723404, "ext": "c", "hexsha": "fa22679448153a5c9de662683ddb485ba6f896cd", "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) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
{ "alphanum_fraction": 0.6727384363, "avg_line_length": 31.5225806452, "ext": "c", "hexsha": "1329d206672ee3c01b790a7d5fb5c5a1a797258a", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:...
#include <stdio.h> #include <math.h> #include <gsl/gsl_integration.h> double square(double x, void* params){ return x*x; } double square_int(double x){ return (x*x*x)/3; } double root(double x, void * params){ return sqrt(x); } double root_int(double x){ return (2.0/3) * sqrt(x*x*x); } double osc(double ...
{ "alphanum_fraction": 0.5915381574, "avg_line_length": 25.5454545455, "ext": "c", "hexsha": "8d1b4c5d7ca10ed9d9b599e3303e0cca6e01e3f4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-05-29T10:19:18.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-10T09:35:...
#ifndef KEXPR_H #define KEXPR_H #pragma warning( disable : 991) #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex.h> #include <plplot/plplot.h> #include <stdint.h> #include <stdio.h> #include "stack.h" #include "utf8.h" #include "gdate.h" #include <setjmp.h> #if defined(_MSC_VER) || de...
{ "alphanum_fraction": 0.746728972, "avg_line_length": 39.1463414634, "ext": "h", "hexsha": "b1ff9c0f7b89b5dc8efff07808f601183630ed5c", "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": ...
/* -*- linux-c -*- */ /* binsingle.c Copyright (C) 2002-2004 John M. Fregeau This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
{ "alphanum_fraction": 0.694351655, "avg_line_length": 33.2626262626, "ext": "c", "hexsha": "58b9dd4c16400ac6ac57f410f4585b946a0ed516", "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_uchar.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
{ "alphanum_fraction": 0.6742654509, "avg_line_length": 37.5489130435, "ext": "h", "hexsha": "f04b31f19fedaccd68095c30fc84caf4847dbf6e", "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_SPMATRIX_H__ #define __GSL_SPMATRIX_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 enum { GSL_SPMATRIX_COO = 0, /...
{ "alphanum_fraction": 0.7286789298, "avg_line_length": 32.7671232877, "ext": "h", "hexsha": "305561b251ca4f59c22fdccc0b96d89f23385e97", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2008 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This program...
{ "alphanum_fraction": 0.5589967118, "avg_line_length": 28.5524017467, "ext": "c", "hexsha": "acdd3182ad1a7a5d6e06944296e4766319b03a1b", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-31T12:16:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-29T15:12:...
/* * Copyright (c) 2011-2018 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2013 Inria. All rights reserved. * * @precisions normal z -> c d s * */ #include "dplasma.h" #include "dpl...
{ "alphanum_fraction": 0.51176503, "avg_line_length": 32.9346642468, "ext": "c", "hexsha": "83d9a5c014c593a01275552c51736120e9f2ea56", "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 /* guard */ #ifndef __UTILITIES_INCLUDED__ #define __UTILITIES_INCLUDED__ #define auxFloor(x) ((float)(long)(x)) #define auxCeil(x) ((float)(long)((x)+1)) /* fwd declarations */ /* includes */ #include <iostream> #include <stdlib.h> #include <sstream> #include <fstream> #include <math.h> #include <vect...
{ "alphanum_fraction": 0.7058526741, "avg_line_length": 42.170212766, "ext": "h", "hexsha": "aa107075d5e008765267d8ca7c88f2aea22eb978", "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 _H_LIMBER #define _H_LIMBER #include <gsl/gsl_spline.h> #include <stdbool.h> #include "interp2d.h" // The integrated C_ell are in general allowed to be zero or negative if // they describe cross-correlations. We use these statuses to describe // errors where a log was requested also. // LIMBER_STATUS_NEGATIV...
{ "alphanum_fraction": 0.7353144437, "avg_line_length": 30.7872340426, "ext": "h", "hexsha": "6dc35561818bcf87743cea1e1bc8f31a0f4f4196", "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:...
/* * Barcode * Copyright E.G.P. Bos and F.S. Kitaura * * Distributed under the terms of the MIT License. * The full license is in the file LICENSE, distributed with this software. */ #pragma once // EGP: cleared out most includes, just left the two here: #include <gsl/gsl_rng.h> // For the gsl_rng type // EGP...
{ "alphanum_fraction": 0.6786407767, "avg_line_length": 28.184079602, "ext": "h", "hexsha": "ca401e6ec39291651f16828773f979ac7dd85261", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-02-11T06:56:47.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-11T06:56:4...
/* matrix/gsl_matrix_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 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 2 of the Li...
{ "alphanum_fraction": 0.6956521739, "avg_line_length": 38.5015673981, "ext": "h", "hexsha": "3670105da898015bbf3d05d8fea9bde689672457", "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...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for functions windowing and computing FFT/IFFT of time/frequency series. * */ #ifndef __GENERATELLVTD_H__ #define __GENERATELLVTD_H__ 1 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #define...
{ "alphanum_fraction": 0.6528447445, "avg_line_length": 28.8055555556, "ext": "h", "hexsha": "f56b412a8a837ab3840a05294e085e2e5edaaeb5", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:...
#include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> int main(void) { int i; double z; gsl_rng *r; r = gsl_rng_alloc(gsl_rng_mt19937); gsl_rng_set(r,0); for (i=0;i<10;i++) { z = gsl_ran_gaussian(r,1.0); printf("z(%d) = %f\n",i,z); } exit(EXIT_SUCCESS); }
{ "alphanum_fraction": 0.6123188406, "avg_line_length": 19.7142857143, "ext": "c", "hexsha": "61843d551847691f7088118eb8df5c50354fc271", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-15T12:22:30.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-15T12:22:...
/* linalg/choleskyc.c * * Copyright (C) 2007, 2019 Patrick Alken * Copyright (C) 2010 Huan Wu * * 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.602410947, "avg_line_length": 26.6898550725, "ext": "c", "hexsha": "d002a6fc891fecc01a7735dac4f00d0f5e38ce65", "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:5...
#include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_eigen.h> #include "egsl.h" val egsl_sub(val v1,val v2){ return egsl_sum(v1, egsl_scale(-1.0,v2)); } val egsl_compose_col(val v1, val v2){ gsl_matrix *m1 = egsl_gslm(v1); gsl_matrix *m2 = egsl_gslm(v2); egsl_expe...
{ "alphanum_fraction": 0.6743486974, "avg_line_length": 23.0751445087, "ext": "c", "hexsha": "aeceb542184a1abd3098a7282b8dded598b0ff0c", "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: trfit_utils.c * */ #include "trfit_utils.h" #include <stdio.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_sort_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_statistics.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "spce_sect.h" ...
{ "alphanum_fraction": 0.6406652786, "avg_line_length": 23.9288256228, "ext": "c", "hexsha": "378872612f6e668ab003fbd4dbf814299c5a4fa3", "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":...
/* ** Implementation of LISA algorithm ** for statistical inference of fMRI images ** ** 2nd level inference for grouped samples, two-sample ttest, paired t-test ** ** G.Lohmann, MPI-KYB, 2018 ** Zalan Rajna, University of Oulu, 2020 */ #include <viaio/Vlib.h> #include <viaio/file.h> #include <viaio/mu.h> #include <via...
{ "alphanum_fraction": 0.6322828593, "avg_line_length": 29.4343891403, "ext": "c", "hexsha": "76cfee874735438ac8f1eb1aad460a1fbd6db2f9", "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 __DESIGN_H #define __DESIGN_H #include <gsl/gsl_matrix.h> //function prototypes double distance(double *x,double *y,int D,double p); double cost(gsl_matrix *data,int Npoints,int D,double p,double lambda); double diagonalCost(int Npoints,double lambda); double swap(gsl_matrix *data,int Npoints,int D,double p,d...
{ "alphanum_fraction": 0.7855887522, "avg_line_length": 35.5625, "ext": "h", "hexsha": "6bfb535890720c6c28e8e496a9ad3c75a57ce00c", "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": "e155...
#pragma once #include "Core/Assert.h" #include "Core/Delegate.h" #include "Core/Pointers.h" #include "Scene/Components/Component.h" #include <gsl/span> #include <string> #include <utility> #include <vector> class Scene; class Entity { public: using OnDestroyDelegate = MulticastDelegate<void, Entity*>; ~Enti...
{ "alphanum_fraction": 0.6986058302, "avg_line_length": 21.2096774194, "ext": "h", "hexsha": "9827b70e00864fd502deb8bdc052a64b254922ea", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <algorithm> #include <array> #include <vector> #include <gsl/gsl> #include <assert.h> #include <boost/optional.hpp> #include "Data/Intrinsics.h" #include "TimeUnits.h" #include "MageSettings.h" namespace mage { enum ...
{ "alphanum_fraction": 0.5629872495, "avg_line_length": 33.8888888889, "ext": "h", "hexsha": "053351a45539cb43860250fab3ca3f816d813288", "lang": "C", "max_forks_count": 16, "max_forks_repo_forks_event_max_datetime": "2022-03-31T15:36:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-07T03:09...
/* **************************************** * * ODE integration functions * * Provides GSL ode integrator and * * a simple euler integrator * * **************************************** */ #include "canonical.h" #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #define DIM 2...
{ "alphanum_fraction": 0.6004842615, "avg_line_length": 23.3773584906, "ext": "c", "hexsha": "8e34b44536ecdaba2771e31fe0068983a043a26e", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-09-15T07:21:19.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-09T18:14:...
#ifndef PRIMAL_DUAL_LOOPLESS_KATYUSHA0_H #define PRIMAL_DUAL_LOOPLESS_KATYUSHA0_H #include "Primal_Dual_LOOPLESS.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #...
{ "alphanum_fraction": 0.6052830189, "avg_line_length": 26.7676767677, "ext": "h", "hexsha": "e7fb1d54973c7b1edf89db666baf592b92c19918", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:...
#pragma once #include "PreConfig.h" #ifdef CRU_PLATFORM_WINDOWS #ifdef CRU_BASE_EXPORT_API #define CRU_BASE_API __declspec(dllexport) #else #define CRU_BASE_API __declspec(dllimport) #endif #else #define CRU_BASE_API #endif #include <gsl/gsl> #define CRU_UNUSED(entity) static_cast<void>(entity); #define CRU__CONCAT...
{ "alphanum_fraction": 0.5082236842, "avg_line_length": 36.8484848485, "ext": "h", "hexsha": "899cfc13817d877326143e047989c3b223261be8", "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 COMMON_STRUCTURES_H_R5TFSBX6 #define COMMON_STRUCTURES_H_R5TFSBX6 #include <gsl/gsl> #include <string_view> namespace sens_loc::util { /// This data is common for all functionality that reads in files in /// batch-processing mode. struct processing_input { std::string_view input_pattern; int ...
{ "alphanum_fraction": 0.6142857143, "avg_line_length": 25.6666666667, "ext": "h", "hexsha": "c61696543878f989562837ee2ca4a9508a1f720e", "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 program allows the reverberation time of a venue to be determined * blindly, using a sample of music or speech that is recorded in the venue * C implementation of Paul Kendrick's Matlab algorithm: * * Kendrick, Paul, et al. "Blind est...
{ "alphanum_fraction": 0.6303060096, "avg_line_length": 27.268766756, "ext": "c", "hexsha": "efb78af57b10865bb18f0629de521db3170efccc", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2018-02-22T16:50:40.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-11T12:14:4...
/* statistics/gsl_statistics_long.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Jim Davies, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
{ "alphanum_fraction": 0.7912063632, "avg_line_length": 58.7792207792, "ext": "h", "hexsha": "71ce1751d7b02aa91b5f947cf851fc63cfeb2edd", "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: January 2002 * file: pygsl/src/multiminmodule.c * $Id: multiminmodule.c,v 1.3 2003/07/25 17:15:16 schnizer Exp $ */ #include <Python.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_multimin.h> #include <pygsl/error_helpers.h> typedef struct { PyObject_HEAD size_t n; gsl...
{ "alphanum_fraction": 0.686771244, "avg_line_length": 32.2189189189, "ext": "c", "hexsha": "62ccc39966ea900a773e938a6a15ce7ba4f24fe0", "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:0...
#ifndef _NAMASTER_H_ #define _NAMASTER_H_ #ifndef NO_DOXY #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <unistd.h> #include <math.h> #include <time.h> #include <complex.h> #include <omp.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #inc...
{ "alphanum_fraction": 0.7417352294, "avg_line_length": 50.4232053422, "ext": "h", "hexsha": "9a6db080390023eb3f2be8cbe9e88b03bf2818c5", "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_TALLIES_TALLY_H #define OPENMC_TALLIES_TALLY_H #include "openmc/constants.h" #include "openmc/memory.h" // for unique_ptr #include "openmc/tallies/filter.h" #include "openmc/tallies/trigger.h" #include "openmc/vector.h" #include <gsl/gsl> #include "pugixml.hpp" #include "xtensor/xfixed.hpp" #include "x...
{ "alphanum_fraction": 0.6178956089, "avg_line_length": 30.175, "ext": "h", "hexsha": "aaaff0e700eef6c7edf83a8711ee80233da65765", "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": "ef128...
/* * Copyright (c) 2011, Alex Krizhevsky (akrizhevsky@gmail.com) * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice...
{ "alphanum_fraction": 0.7122969838, "avg_line_length": 36.9428571429, "ext": "h", "hexsha": "17f4b75d5c401c93f7737bf822377292969b8b85", "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 "mexObjectiveFunction.h" #include <nlopt.h> #include <mex.h> #include <string> #include <unordered_map> #include <utility> #ifndef MX_CURRENT_API_VER #define mxIsScalar(A) (mxGetNumberOfElements(A)==1) #endif #define MEX_ACTION_ARGUMENTS const mxArray *mxObj, int nlhs, mxArray *plhs[], int nr...
{ "alphanum_fraction": 0.7154946915, "avg_line_length": 34.9408602151, "ext": "h", "hexsha": "a5ed2fdd0b145c0c43194e113fbb0e71014e3d87", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-23T02:23:20.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-23T09:52:...
/** * Output routines for stamped images and overlaid traces. */ #include <stdio.h> #include <math.h> #include <gsl/gsl_vector.h> #include "spce_output.h" #include "aXe_grism.h" #include "aXe_utils.h" #include "spce_pathlength.h" #include "spc_driz.h" #include "crossdisp_utils.h" #define MIN(x,y) (((x)<(y))?(x):(y))...
{ "alphanum_fraction": 0.6418705604, "avg_line_length": 27.9118804091, "ext": "c", "hexsha": "baa1994dc56819449b48e2b586b164fac01d6f5e", "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 batchg_zgemm.c * * @brief BBLAS batchg_zgemm double _Complex routine. * * BBLAS is a software package provided by Univ. of Manchester, * Univ. of Tennessee. * * @version 1.0.0 * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-06-03 * **/ #ifn...
{ "alphanum_fraction": 0.5967491166, "avg_line_length": 33.3726415094, "ext": "c", "hexsha": "cfc95ef6777bf261340976ebd265602c33d65cee", "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 <nlopt.h> typedef struct { int N; double *x, *y; /* length N; */ } lorentzdata; static double sqr(double x) { return x * x; } static int count = 0; static double lorentzerr(int n, const double *p, double *grad, void *data) {...
{ "alphanum_fraction": 0.46470799, "avg_line_length": 27.362745098, "ext": "c", "hexsha": "6566425e3872dcf734410f18d2523e75e0afe8ae", "lang": "C", "max_forks_count": 437, "max_forks_repo_forks_event_max_datetime": "2022-03-30T15:21:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-20T07:40:4...
#ifndef _DELTA_H_ #define _DELTA_H_ #include <vector> using namespace std; #include <gsl/gsl_vector.h> class Delta{ private: double cdf(double); public: Delta(); double shift(double p, double s, int c, int l, int r); double bigshift(double p, double s, int c, int l, int r); vector<double> delta(...
{ "alphanum_fraction": 0.6793248945, "avg_line_length": 20.3142857143, "ext": "h", "hexsha": "bdd0fd41fcf5f95c639dccc23a54f762332e9c85", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-31T18:23:31.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-18T05:20:...
#pragma once #include <gsl\gsl> #include <d3d11.h> #include "Bone.h" namespace Library { class Model; class Material; class ModelMaterial; class OutputStreamHelper; class InputStreamHelper; struct MeshData final { std::shared_ptr<ModelMaterial> Material; std::string Name; std::vector<DirectX::XMFL...
{ "alphanum_fraction": 0.7116066903, "avg_line_length": 30.828125, "ext": "h", "hexsha": "69e0d122af18149c0bfd18809ca0b77486578984", "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": "05...
// @Copyright 2007-2017 Kristjan Haule #include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h> #include "smesh.h" struct rparams{ double x0, L; int Nw; }; int tanmesh_f(const gsl_vector* x, void* params, gsl_vector* f){ double x0 = ((struct rparams *) params)->x0; double L = ((struct rparams *) params)->...
{ "alphanum_fraction": 0.582480091, "avg_line_length": 27.6850393701, "ext": "h", "hexsha": "015eed2fc47587bfb1205be42d9306182acd19f7", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2016-08-02T15:05:12.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-22T15:46:5...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <float.h> #include <stdbool.h> #include <math.h> #include <omp.h> #include <stdint.h> #include "parmt_config.h" #ifdef PARMT_USE_INTEL #include <mkl.h> #include <mkl_lapacke.h> #include <mkl_cblas.h> #include <ipps.h> #else #include <...
{ "alphanum_fraction": 0.4523843583, "avg_line_length": 35.5018467221, "ext": "c", "hexsha": "632800cbe14f65a0078d115123b86f68dae405d2", "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 <gsl/gsl_integration.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sf_bessel.h> #include "ccl.h" #include "ccl_f2d.h" #include "ccl_emu17.h" #include "ccl_emu17_params.h" // helper functions fo...
{ "alphanum_fraction": 0.5892307692, "avg_line_length": 32.5857519789, "ext": "c", "hexsha": "ca91600d2160790566fb7f1b42376de22cc5cc83", "lang": "C", "max_forks_count": 54, "max_forks_repo_forks_event_max_datetime": "2022-02-06T13:12:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-12T13:08...
#include <math.h> #include <unistd.h> #include <stdio.h> #include <stdbool.h> #include <ctype.h> #include <stdlib.h> #include <time.h> #include <string.h> //#include <pthread.h> #include <omp.h> #include <complex.h> #include <fftw3.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_rng.h>...
{ "alphanum_fraction": 0.4542965779, "avg_line_length": 43.8820912125, "ext": "c", "hexsha": "8f58a58954837473227a82a6b20e5967cdf986ad", "lang": "C", "max_forks_count": 21, "max_forks_repo_forks_event_max_datetime": "2022-03-29T19:50:17.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-14T16:53...
#pragma once #include <array> #include <gsl/span> #include "Joystick.h" #include "JoystickAxis.h" #include "JoystickButton.h" #include "JoystickProvider.h" namespace qvr { class SfmlJoystick : public Joystick { public: struct ButtonState { bool isDown = false; bool wasDown = false; }; struct AxisState { ...
{ "alphanum_fraction": 0.7197993053, "avg_line_length": 20.5634920635, "ext": "h", "hexsha": "8bff486bd8a8337db4b99bfc3b18099bf3d17a9c", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2020-03-19T10:08:45.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-22T14:47:...
#ifndef MATCH_H_COIEXYNJ #define MATCH_H_COIEXYNJ #include <gsl/gsl> #include <sens_loc/analysis/recognition_performance.h> #include <sens_loc/math/pointcloud.h> #include <utility> #include <vector> namespace sens_loc::analysis { /// Create linear vectors that pair the keypoints from \c kp0 to \c kp1 /// according t...
{ "alphanum_fraction": 0.7067474048, "avg_line_length": 39.8620689655, "ext": "h", "hexsha": "a67092447ee0962195593c45ca6b79e409aa9a65", "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 PLV_DAL_BLOCKCHAIN_STORAGE_H #define PLV_DAL_BLOCKCHAIN_STORAGE_H #include <plv/io/file.h> #include <plv/serializers/netstring.h> #include <gsl/gsl_assert> #include <memory> #include <vector> #include "chunkiterator.h" #include "metablock.h" #include "storage.h" namespace plv::dal { class BlockchainStorage : ...
{ "alphanum_fraction": 0.5979186377, "avg_line_length": 35.2333333333, "ext": "h", "hexsha": "9f80b5f16f620d70493465c35336e40cb82493f7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* randist/dirichlet.c * * Copyright (C) 2007 Brian Gough * Copyright (C) 2002 Gavin E. Crooks <gec@compbio.berkeley.edu> * * 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...
{ "alphanum_fraction": 0.6060829041, "avg_line_length": 24.8597560976, "ext": "c", "hexsha": "b6c7713e826bba6c694aa25b891e707f0373f3b4", "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...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include <map> #include "DrawableGameComponent.h" #include "FullScreenRenderTarget.h" #include "FullScreenQuad.h" #include "MatrixHelper.h" namespace Library { class PixelShader; } namespace Rendering { class DiffuseLightingDe...
{ "alphanum_fraction": 0.7888198758, "avg_line_length": 28.4117647059, "ext": "h", "hexsha": "e511c568aeaced7e541836f5d897bc540485fcef", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <limits> #include <cassert> #include <chrono> #include <vector> #include <map> #include <set> #include <numeric> #include <wrl/client.h> #include <wrl/implements.h> #include <wil/wrl.h> #include <wi...
{ "alphanum_fraction": 0.7159090909, "avg_line_length": 16.7619047619, "ext": "h", "hexsha": "6c47e60e63b8de102427d54a5a37a8ff982939d5", "lang": "C", "max_forks_count": 1566, "max_forks_repo_forks_event_max_datetime": "2022-03-31T17:06:50.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-07T01:...
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIM...
{ "alphanum_fraction": 0.6657423208, "avg_line_length": 28.0718562874, "ext": "h", "hexsha": "542bbaa252c3aa2aaed4389e635a55b5e0a70282", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-12-26T08:25:35.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-02T17:50:...
#include <stdio.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpRNG.h> #include <gbpMCMC.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_interp.h> void set_MCMC_covariance(MCMC_info *MCMC, double *V) { int i_P, j_P; if(V == NULL) S...
{ "alphanum_fraction": 0.5347400926, "avg_line_length": 38.0980392157, "ext": "c", "hexsha": "942354987a44183916502e338b34c0f20b32a143", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:...
/* specfunc/gsl_sf_mathieu.h * * 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 ver...
{ "alphanum_fraction": 0.7190415606, "avg_line_length": 38.0322580645, "ext": "h", "hexsha": "10b8d3ff51600766cd3e9d0fffd4688a55dfafed", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:...
#ifndef DISTREADER_H_ #define DISTREADER_H_ #include <ctime> #include <string> #include <iostream> #include <sstream> #include <cmath> //#define WINDOWS_32_Q #define NOGSL #include <ctime> #include <string> #ifdef WINDOWS_32_Q #include <windows.h> #define NOGSL #endif #ifndef NOGSL #include <gsl/gsl_cdf.h> #endif ...
{ "alphanum_fraction": 0.6586059744, "avg_line_length": 19.3486238532, "ext": "h", "hexsha": "cb05baad7f4cce1779b07d2e366a85ea4dd95ca3", "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":...
/* popGenTools.h / / / Andrew Kern / / */ #ifndef PGTOOLS_INC #define PGTOOLS_INC //#define MAXSNPS 1000000 #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_min.h> #include "mpi.h" struct my_F_params{ int i, n, ascSize, ascFreq, derivedFlag; gsl_integrat...
{ "alphanum_fraction": 0.7834045149, "avg_line_length": 38.5647058824, "ext": "h", "hexsha": "4081396eedb30334525c0ec3aec77a0b0421b4a5", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-15T10:37:33.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-15T10:37:...
#pragma once #include <thrust/iterator/counting_iterator.h> #include <thrust/iterator/transform_iterator.h> #include <cuda/runtime_api.hpp> #include <gsl-lite/gsl-lite.hpp> #include <cub/cub.cuh> #include <thrustshift/math.h> #include <thrustshift/not-a-vector.h> namespace cub { template <typename _UnsignedBits,...
{ "alphanum_fraction": 0.6168421053, "avg_line_length": 27.2401433692, "ext": "h", "hexsha": "d9200d391f263dade3085d64dfd30f127c6d22d2", "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 CTETRA_WEIGHTS_H #define CTETRA_WEIGHTS_H #include <stdbool.h> #include <gsl/gsl_vector.h> #include "ecache.h" #include "dos.h" void WeightsAtK(double E_Fermi, int i, int j, int k, EnergyCache *Ecache, double *result); void sortEsKs(double *Es, int **ks); void WeightContrib(double E_Fermi, double E1, double...
{ "alphanum_fraction": 0.7566539924, "avg_line_length": 29.2222222222, "ext": "h", "hexsha": "fabc320de3a183242ff2608d30bf4299f03c8f0e", "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 *ElectricDisplacementx, int ndim) { // if (ndim==3) { // TotalTr...
{ "alphanum_fraction": 0.6024158314, "avg_line_length": 28.401459854, "ext": "h", "hexsha": "e04b927fbf9c3a2561e47bc1466f0b977461e949", "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:...
#pragma once #include <glm/glm.hpp> #include <gsl/span> #include <memory> #include <string> #include <string_view> #include <vector> namespace rev { class IndexedModel; class ObjFile { public: ObjFile(const std::string& path); struct WavefrontObject { std::string materialName; using Indexed...
{ "alphanum_fraction": 0.702970297, "avg_line_length": 24.5675675676, "ext": "h", "hexsha": "40ee8539fa57bd3235a81d0ce0711952a1adfe46", "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_line1d.c * \brief run dnest sampling for 1d line analysis. */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #inclu...
{ "alphanum_fraction": 0.6536231884, "avg_line_length": 29.1549295775, "ext": "c", "hexsha": "b79d4a99373f20cc7f53232e110710d80089fde5", "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 Russell Standish 2000-2013 @author Russell Standish This file is part of EcoLab Open source licensed under the MIT license. See LICENSE for details. */ /**\file \brief random generator based on GNUSL implementation */ #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> namespace ecolab { c...
{ "alphanum_fraction": 0.6654947263, "avg_line_length": 25.8571428571, "ext": "h", "hexsha": "da5da2713880841112bb32f237539b4b250e828f", "lang": "C", "max_forks_count": 10, "max_forks_repo_forks_event_max_datetime": "2021-11-29T19:11:21.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-17T20:32...
#include <stdio.h> #include <string.h> #include <math.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_statistics_double.h> #include <utilities.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_image_lib.h" #include "tz_objdetect.h" #include "tz_imatrix.h" #include "tz_stack_math.h" #include "tz_stack_bwdist...
{ "alphanum_fraction": 0.6929278968, "avg_line_length": 28.7483443709, "ext": "c", "hexsha": "be8c88fb9d892502bce8e2b71747f94d6d51ad16", "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":...
//##################################################################### // Header blas //##################################################################### #ifdef GEODE_BLAS // On Mac, we can't include Accelerate.h unless __SSE__ is available #if !defined(__APPLE__) || (defined(__SSE__) && !defined(__COVERITY__)) ...
{ "alphanum_fraction": 0.6585355787, "avg_line_length": 43.0337477798, "ext": "h", "hexsha": "dfd554d1d6d87979e805526d373ce61636f38672", "lang": "C", "max_forks_count": 22, "max_forks_repo_forks_event_max_datetime": "2021-02-15T09:37:51.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-11T16:43...
/** * @copyright (c) 2012- King Abdullah University of Science and * Technology (KAUST). All rights reserved. **/ /** * @file testing/testing_helper.h * KBLAS is a high performance CUDA library for subset of BLAS * and LAPACK routines optimized for NVIDIA GPUs. * KBLAS is pr...
{ "alphanum_fraction": 0.6213132022, "avg_line_length": 33.8041543027, "ext": "h", "hexsha": "9acc479f3fb2097bed52541312d962576556e528", "lang": "C", "max_forks_count": 10, "max_forks_repo_forks_event_max_datetime": "2021-09-03T08:33:39.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-06T09:06...
/* Copyright (c) 2017, LibMars Developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
{ "alphanum_fraction": 0.7568694799, "avg_line_length": 25.9617834395, "ext": "h", "hexsha": "4c7c4f4eb1df5724a7cf57026b1f4b89c2ca70dc", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2018-03-15T04:07:37.000Z", "max_forks_repo_forks_event_min_datetime": "2018-02-26T01:54:...
#include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #include <gsl/gsl_odeiv2.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <time.h> #include <math.h> #include <GL/glut.h> #include <GL/gl.h> #include <unistd.h> #include <signal.h> #include <...
{ "alphanum_fraction": 0.588043832, "avg_line_length": 19.7577706324, "ext": "c", "hexsha": "8ce56dd8b6025328afb533606f2c63516f376c74", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-19T01:22:06.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-19T01:22:0...
/* ** get transformation matrix for co-registration ** Translation, rotation and one scaling parameter (7 degrees of freedom) ** ** G.Lohmann, 2015 */ #include <viaio/VImage.h> #include <viaio/Vlib.h> #include <viaio/mu.h> #include <viaio/os.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/...
{ "alphanum_fraction": 0.5375250167, "avg_line_length": 20.1885521886, "ext": "c", "hexsha": "decc67265b48a2405d1828ebafd20bfabf735f8f", "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:...
/* specfunc/bessel_k.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 opt...
{ "alphanum_fraction": 0.6301412386, "avg_line_length": 25.875502008, "ext": "c", "hexsha": "d206c0353655e8be1206df9663e9a932d80b34e9", "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:...
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "tests.h" void test_asum (void) { const double flteps = 1e-4, dbleps = 1e-6; { int N = 1; float X[] = { 0.239f }; int incX = -1; float expected = 0.0f; float f; f = cblas_sasum(N...
{ "alphanum_fraction": 0.5395656975, "avg_line_length": 18.8680555556, "ext": "c", "hexsha": "26353ded29a593a8c7831758a7ba16d56328f9a2", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:1...
#include <math.h> #include <stdio.h> #include <blas.h> #define EXPECT_EQ(x, y) do { \ if (fabs(x - y) >= 1e-8) \ fprintf(stderr, "%d:FAILED: %f != %f\n", \ __LINE__, (double) x, ...
{ "alphanum_fraction": 0.3765743073, "avg_line_length": 28.3571428571, "ext": "c", "hexsha": "fa858eeabe6ee87e9d62e84695ddd93b9c62b4aa", "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 test_dotu.c * * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-06-15 * @precisions normal z -> c * **/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include<time.h> #ifdef BBLAS_WITH_MKL #include <mkl_cblas.h> #in...
{ "alphanum_fraction": 0.6574023115, "avg_line_length": 30.0330578512, "ext": "c", "hexsha": "d3907650d7c8a1fd91602eb61310c7662ce1c8f3", "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/exp.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 option) ...
{ "alphanum_fraction": 0.570617592, "avg_line_length": 26.0650406504, "ext": "c", "hexsha": "3045b2523fc05c2bfd29c23bd08cdda509c9d5ba", "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 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.707208165, "avg_line_length": 40.1965811966, "ext": "h", "hexsha": "864cc589e1a340818b8c59306a8c1b9f481bfcbc", "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...
#include <stdio.h> #include <math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_statistics.h> #define N (4096*4*16) int main (void) { long countsq; double x, r2; //6 dimensional space int dim = 6; gsl_rng *r; r = gsl_rng_alloc (gsl_rng_taus2); gsl_rng_set (r, 1UL); long i, j, nn; ...
{ "alphanum_fraction": 0.4540276648, "avg_line_length": 21.5614035088, "ext": "c", "hexsha": "7d09f24ee1e5d5abd3473442fea5f8c4bac38a25", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <dc1394/dc1394.h> #include <math.h> #include <fitsio.h> #include <gsl/gsl_statistics.h> #include <time.h> #include <sys/time.h> #include <string.h> #include <inttypes.h> #define REG_CAMERA_ABS_MIN 0x000U #define REG_CAMERA_ABS_MAX ...
{ "alphanum_fraction": 0.6645215445, "avg_line_length": 32.3438914027, "ext": "c", "hexsha": "ce3d2765027155a9b770a9cf5887969be6603faf", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2017-12-01T13:02:36.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-29T15:16:...
// MIT License Copyright (c) 2020 Jarrett Wendt #pragma once #include <gsl/gsl> #include "Macros.h" #include "SharedPtr.h" #include "Entity.h" namespace Library { class Engine final { friend Entity; /** the parentmost Entity */ static inline SharedPtr<Entity> world{ nullptr }; static inline std::st...
{ "alphanum_fraction": 0.6535113175, "avg_line_length": 20.0348837209, "ext": "h", "hexsha": "76c7091f1446c4c948ae9e5d2cd58e851f80bb21", "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 GSLODE1 ////////////////////////////// ODE V1 ////////////////////////////////////////// #include <gsl/gsl_odeiv.h> typedef struct {int n; int (*f)(double,int, const double*, int, double *); int (*j)(double,int, const double*, int, int, double*);} Tode; int odefunc (double t, const double y[], double f[], v...
{ "alphanum_fraction": 0.5061332327, "avg_line_length": 28.956284153, "ext": "c", "hexsha": "7386d1066c7fd33e35aa3801f2205775701f2da0", "lang": "C", "max_forks_count": 145, "max_forks_repo_forks_event_max_datetime": "2022-03-17T02:29:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-12T08:34...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "tz_error.h" #if HAVE_LIBGSL == 1 #include <gsl/gsl_vector.h> #include <gsl/gsl_statistics_double.h> #endif #include "tz_constant.h" #include "tz_iarray.h" #include "tz_darray.h" #include "tz_voxel_linked_list.h" #include "tz_stack_s...
{ "alphanum_fraction": 0.6563120134, "avg_line_length": 26.6843177189, "ext": "c", "hexsha": "0584319a5c6b13207606124e6e2dc28188f8c7e2", "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":...
/* * rand.h * for vbHMM * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2018 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Last modified on 2018.11.26 */ #ifndef __vbHmm__rand__ #define __vbHmm__rand__ #include <math.h> #i...
{ "alphanum_fraction": 0.7128027682, "avg_line_length": 17.5151515152, "ext": "h", "hexsha": "9e450c0afa7d6fa863c42c7801e3c63d6d2047d8", "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 _CODE_LIBS_EPFLLIB_INCLUDE_GUARD #define _CODE_LIBS_EPFLLIB_INCLUDE_GUARD //changes to version glm_popdyn_1.0_test2: //lookuptable for G(x)=exp(-0.5*DT*c*exp(x/deltaV)) instead of lambda and Plam #ifndef GLM #define GLM 0 #endif #ifndef GLM2 #define GLM2 2 #endif #ifndef GLIF #define GLIF 10 #endif #ifnd...
{ "alphanum_fraction": 0.7014359252, "avg_line_length": 47.3205128205, "ext": "h", "hexsha": "91525167879263ffb49081954bee754a300e6cce", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2022-03-08T12:18:18.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-14T20:52:...
#include <cblas.h> #include <lapacke.h> #include <malloc.h> #include <math.h> #include <phobos.h> #include <stdio.h> #include <stdlib.h> #define min(x, y) (((x) < (y)) ? (x) : (y)) #define max(x, y) (((x) > (y)) ? (x) : (y)) #define KRONDELTA(i, j) (((i) == (j)) ? (1.0) : (0.0)) void copyPointer(double *...
{ "alphanum_fraction": 0.5252569913, "avg_line_length": 23.9973474801, "ext": "c", "hexsha": "0eb7fb17ad22daba4e6da5e90f3da74889bc451d", "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/sfmodule.c * $Id: sfmodule.c,v 1.3 2006/07/13 16:01:00 schnizer Exp $ */ #include <pygsl/error_helpers.h> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_errno.h> static PyObject* gsl_module_error; int eval_gsl_mode_char(gsl_mo...
{ "alphanum_fraction": 0.6999165275, "avg_line_length": 23.0384615385, "ext": "c", "hexsha": "7c7087a08556c4054281baa813d8c92aacd5ab3a", "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:...
/* * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
{ "alphanum_fraction": 0.5831795108, "avg_line_length": 27.4303797468, "ext": "h", "hexsha": "cd92194f6a60b40e39eaa6a0ca5742eea6cc18c6", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_rng.h> #include <math.h> #include <time.h> #include <stdbool.h> #include "bb_smc.h" /* ========================================================== Last update: 26.4.20 -- v1.1 ABC-SMC (parallel version) Author: Marco Esposito ====================...
{ "alphanum_fraction": 0.5088910443, "avg_line_length": 27.6160714286, "ext": "c", "hexsha": "2fa179c225f2f7a358b7a3c7cb9d09f566d668f1", "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 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_core_Primitive_inl_h_ #define SQ_INCLUDE_GUARD_core_Primitive_inl_h...
{ "alphanum_fraction": 0.7047256581, "avg_line_length": 28.1517857143, "ext": "h", "hexsha": "5f42e6c36d7cec466d5935ea2ea71b39ed4c967d", "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":...
/* -*- mode: C; c-basic-offset: 4 -*- */ /* ex: set shiftwidth=4 tabstop=4 expandtab: */ /* * Copyright (c) 2018, Colorado School of Mines * All rights reserved. * * Author(s): Neil T. Dantam <ndantam@miens.edu> * Georgia Tech Humanoid Robotics Lab * Under Direction of Prof. Mike Stilman <mstilman@cc.gatech.edu> ...
{ "alphanum_fraction": 0.5365744471, "avg_line_length": 28.2759493671, "ext": "c", "hexsha": "d7ccda78c58e5922483c2fdd483248d064fcbab8", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2022-02-22T01:32:20.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-05T18:55...
// The various memcached commands that we support. #include "commands.h" #include "connections.h" #include "protocol.h" #include "server.h" #include "utils.h" #include <gsl/gsl_randist.h> #include <assert.h> #include <stdio.h> // process a memcached get(s) command. (we don't support CAS). void process_get_command(c...
{ "alphanum_fraction": 0.618940248, "avg_line_length": 25.7101449275, "ext": "c", "hexsha": "0b9780cbc5efa6ef5052d44cde86cf78303e4715", "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": ...
/* multilarge_nlinear/dummy.c * * Copyright (C) 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 ver...
{ "alphanum_fraction": 0.7207586934, "avg_line_length": 24.9736842105, "ext": "c", "hexsha": "fb9ba844171d349544570dec066a42d35592e50b", "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 SMSVM_C_H #define SMSVM_C_H #include "Matrix.h" #include "PDCD_SMSVM.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include <math.h> ...
{ "alphanum_fraction": 0.5947732997, "avg_line_length": 20.8947368421, "ext": "h", "hexsha": "aed49e12746ea3f16b6e104170de6d71cf43fa7c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:...
#include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "cblas.h" void cblas_strmm (const enum CBLAS_ORDER Order, const enum CBLAS_SIDE Side, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_DIAG Diag, const int M, const int N, const float alpha, const float *A, const...
{ "alphanum_fraction": 0.7210401891, "avg_line_length": 26.4375, "ext": "c", "hexsha": "7ffe6479fd65cf9069984d8b8a70a82e32cbd6ca", "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...
/* dmatrix.h * * SRE, Tue Jul 13 14:41:07 2004 [St. Louis] * SVN $Id: esl_dmatrix.h 159 2007-03-22 18:07:24Z eddys $ */ #ifndef ESL_DMATRIX_INCLUDED #define ESL_DMATRIX_INCLUDED #include <stdio.h> typedef struct { /*mx, mx[0] are allocated. */ /*::cexcerpt::dmatrix_obj::begin::*/ double **mx; ...
{ "alphanum_fraction": 0.6689536878, "avg_line_length": 44.3586956522, "ext": "h", "hexsha": "85007640ecc7f87e5335a719dbc787d89ee5ed79", "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":...
/* * Identity_matrix: test gsl_matrix_set_identity (make an identity matrix) * * Copyright (c) 2012 Jérémie Decock * * Required: GSL library (libgsl0-dev) * Usage: gcc identity_matrix.c -lgsl -lgslcblas -lm * or: gcc identity_matrix.c $(pkg-config --libs gsl) */ #include <stdio.h> #include <gsl/gsl_matrix....
{ "alphanum_fraction": 0.5871687587, "avg_line_length": 18.8684210526, "ext": "c", "hexsha": "27990fc1b3aad05de685ac91c47d3424fda699af", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-01-04T15:59:45.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-31T09:48:...
#ifndef LA_WRAPPER #define LA_WRAPPER // #include <gsl/gsl_cblas.h> #include <cblas.h> #include <complex> #include <lapack_header.h> namespace blas_wrapper { //! @param n : Anzahl Elemente. //! @param x : Quellvektor x. //! @param incx : Speicher Abstand zwischen Elemente in Vector x. //! @param y : Zielvektor (y= a...
{ "alphanum_fraction": 0.6486815218, "avg_line_length": 52.7025641026, "ext": "h", "hexsha": "fe541f76c720e2947c04843f6ddbbe2f81910995", "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":...
/* bcsolver.c $Revision: 283 $ $Date: 2006-12-17 20:27:56 -0800 (Sun, 17 Dec 2006) $ ---------------------------------------------------------------------- This file is part of BCLS (Bound-Constrained Least Squares). Copyright (C) 2006 Michael P. Friedlander, Department of Computer Science, University ...
{ "alphanum_fraction": 0.475996226, "avg_line_length": 35.6792079208, "ext": "c", "hexsha": "e8dc4fa20dc00adb748d117a9f5bf66b733367b8", "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:3...
/* Copyright (c) 2015, Patrick Weltevrede 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 follow...
{ "alphanum_fraction": 0.7150090416, "avg_line_length": 41.5789473684, "ext": "c", "hexsha": "bd77928754fac898d0c0477b0560a80795450631", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-06-16T15:24:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-04-09T09:04:...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #define _NO_SCRIPT_GUIDS 0 //#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // ...
{ "alphanum_fraction": 0.7515274949, "avg_line_length": 23.9512195122, "ext": "h", "hexsha": "2c1539b24a4f1175928f8202e3f6d0e4e3d130df", "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":...
/*******************************************/ /* libScalar: -lm */ /* -lIO */ /* */ /* Scalar Arithmetic Operations and Macros */ /* */ /* Nov 11 1999 Ju Li <liju99@mit.edu> *...
{ "alphanum_fraction": 0.6249399472, "avg_line_length": 39.6476190476, "ext": "h", "hexsha": "dce28215ac90fdf17a29678cafd4bd99ac6fdeda", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-01-09T01:41:46.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-09T12:44:...
/* linalg/test_lu.c * * Copyright (C) 2019 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.6024996604, "avg_line_length": 25.4705882353, "ext": "c", "hexsha": "9f93c50cb22992ebb37a747cb70b155aa9a6c8b4", "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:...
/** * * @file testing_zposv.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Bilel Hadri, Hatem Ltaief * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <s...
{ "alphanum_fraction": 0.5071578212, "avg_line_length": 34.7854251012, "ext": "c", "hexsha": "f65cdc5d921fa8fd2dde9c81c3efd9cb07f46b28", "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":...
/* ======================================= * Code for 8.06 Term Paper (Spring 2015) * * Author : To Chin Yu (ytc@mit.edu) * Purpose: 1D lattice simulation * V(x) = alpha*x^2 + lambda*x^4 * ======================================= */ #include <stdlib.h> #include <stdio.h> #include <math.h> #define sq(x) pow((x),2....
{ "alphanum_fraction": 0.5555255336, "avg_line_length": 22.7055214724, "ext": "c", "hexsha": "c3c7905f5014c9b113e4b282917ef39744685e7d", "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":...
// MIT License // Copyright (c) [2017] [Vinay Yuvashankar] // 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, including without limitation the rights // to use, c...
{ "alphanum_fraction": 0.6332997263, "avg_line_length": 35.6051282051, "ext": "c", "hexsha": "1c355a38b81022280ade2e966aa8de3d71025cde", "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":...