Search is not available for this dataset
text
string
meta
dict
/* filter/rmedian.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * ...
{ "alphanum_fraction": 0.6746728508, "avg_line_length": 26.5947136564, "ext": "c", "hexsha": "e57169a3ac5f1e3ae2a056a98ce2be7ff32c8cd7", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include <gsl/gsl_rng.h> #include "allvars.h" // file names char fname_param[100]; char fname_con[100], fname_line[100], fname_results[100]; FILE *fp_results; // transfer function parameters double tau_lim_low, tau_lim_up; int nc, nc_lim_low, nc_lim_up, nc_best; double *grid_tau; const int ntau=200; double *TF_tau,...
{ "alphanum_fraction": 0.7526793075, "avg_line_length": 22.8867924528, "ext": "c", "hexsha": "9d472ce75cf0525743249a5f3368382613a7b2bd", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:...
//STARTWHOLE static char help[] = "Solve a tridiagonal system of arbitrary size.\n" "Option prefix = tri_.\n"; #include <petsc.h> int main(int argc,char **args) { PetscErrorCode ierr; Vec x, b, xexact; Mat A; KSP ksp; int m = 4, i, Istart, Iend, j[3]; double v[3], xval, errnorm; ...
{ "alphanum_fraction": 0.6031629275, "avg_line_length": 38.2957746479, "ext": "c", "hexsha": "52d3afa88cd5ce62c1c745cf6439421941375a89", "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 2009-2019 The VOTCA-MPIP Development Team (http://www.votca.org) * * 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 * ...
{ "alphanum_fraction": 0.6053868632, "avg_line_length": 33.2109704641, "ext": "h", "hexsha": "a4f631f6aae9608238970967c5035000061d25d7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#ifndef TRANS_UTIL #define TRANS_UTIL #define prefetch(x) __builtin_prefetch(x) #define prefetch_for_r(x) __builtin_prefetch(x, 0, 3) #define prefetch_for_w(x) __builtin_prefetch(x, 1, 3) #include <stdarg.h> #include <gsl/gsl_vector.h> #include "../include/type.h" int setulb_(integer *, integer *, doublereal *, ...
{ "alphanum_fraction": 0.6451897617, "avg_line_length": 35.40625, "ext": "h", "hexsha": "e1560a0fb4f384d8c798f17815f01cf467da6057", "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": "ef0...
// MIT License // // Copyright (c) 2020 SunnyCase // // 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, copy, modify, m...
{ "alphanum_fraction": 0.7546117546, "avg_line_length": 34.7910447761, "ext": "h", "hexsha": "674a5f4c6e1e129a86f0af45b1e38f96e4cd44f3", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2021-09-13T10:14:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-18T03:54...
#ifndef UTIL_H #define UTIL_H #include <iostream> #include <stdio.h> #include <vector> #include <Eigen/Core> #include <Eigen/SparseCore> #include <Eigen/Householder> #include <assert.h> #include <time.h> #include <sys/time.h> #include <random> #include <atomic> #ifdef USE_MKL #include <mkl_cblas.h> #include <mkl_lapac...
{ "alphanum_fraction": 0.6398373984, "avg_line_length": 28.6046511628, "ext": "h", "hexsha": "01cfbe26bb2a18ceab1e024a6ffbb749db918df9", "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":...
/* KGSX: Biomolecular Kino-geometric Sampling and Fitting of Experimental Data Yao et al, Proteins. 2012 Jan;80(1):25-43 e-mail: latombe@cs.stanford.edu, vdbedem@slac.stanford.edu, julie.bernauer@inria.fr Copyright (C) 2011-2013 Stanford University Permission is hereby granted, free of cha...
{ "alphanum_fraction": 0.7352222765, "avg_line_length": 38.6226415094, "ext": "h", "hexsha": "59204bf8c05be568b59fcccbc719582fc931a93a", "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 <iosfwd> #include <gsl\gsl> #include <vector> #include "Data\Data.h" #include "Data\TimeUnits.h" #include <Plat/CameraDevice/CameraSettings.h> namespace mage { namespace binary_data { constexpr uint64_t...
{ "alphanum_fraction": 0.6260869565, "avg_line_length": 35.3846153846, "ext": "h", "hexsha": "b9d9d0897527e15906b137f6b5cd200046d49bc2", "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...
// https://stackoverflow.com/questions/66536134/gsl-gsl-linalg-sv-decomp-returning-u-and-v-reversed #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_linalg.h> void pretty_print(const gsl_matrix * M) { // Get ...
{ "alphanum_fraction": 0.6147757256, "avg_line_length": 21.6571428571, "ext": "c", "hexsha": "35e7b665e73355d5fefecbab536c95339e08393c", "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 // Windows #if defined(_WIN32) #if !defined(NOMINMAX) #define NOMINMAX #endif #include <windows.h> #endif // Standard #include <cstdlib> #include <exception> #include <stdexcept> #include <cassert> #include <string> #include <vector> #include <map> #include <memory> #include <cstdint> #include <sstream> ...
{ "alphanum_fraction": 0.7546728972, "avg_line_length": 17.3513513514, "ext": "h", "hexsha": "58c31478292d98801e87c6a11e396dab0924a960", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_sf_legendre.h> #include <gsl/gsl_sf_gegenbauer.h> #include "scf.h" /* Given the coefficients stored mat_cos and mat_sin, this code does * the summation to compute the potential and accelerations * * scf_potential() is the full 3D treatment for the host halo * * scf_potential_spherical() is the ...
{ "alphanum_fraction": 0.579742877, "avg_line_length": 26.1636363636, "ext": "c", "hexsha": "8ddfa731140821c6faf343e205eca4e1f82d246b", "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": ...
#if !defined(XEOL_H_INCLUDED) #define XEOL_H_INCLUDED #include "FileEnumerator.h" #include "Utils.h" #include <filesystem> #include <gsl/gsl> #include <iosfwd> #include <string> class Xeol { public: static int usage(::std::ostream& strm, const ::std::string& progName, const char* pMsg); Xeol(::gsl::span<const ...
{ "alphanum_fraction": 0.7068403909, "avg_line_length": 29.8472222222, "ext": "h", "hexsha": "3881718bcc827c6aadfa12e1a725a2a597abf087", "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 <halley/utils/utils.h> #include <vector> #include <gsl/gsl> #include "halley/data_structures/flat_map.h" #include "halley/maths/vector2.h" #include "halley/maths/rect.h" #include "halley/file/path.h" #include <map> #include <unordered_map> #include <cstdint> #include <utility> #include <set> #inc...
{ "alphanum_fraction": 0.4811283498, "avg_line_length": 31.0420315236, "ext": "h", "hexsha": "608e674d5d353383cae4a95a82d71e75fd7a1701", "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 SpecialFunctions.h * \brief header file defining several special functions This is a work in progress as generally can always call gsl for most of the functions. */ #ifndef SPECIALFUNCTIONS_H #define SPECIALFUNCTIONS_H #include <iostream> #include <complex> #include <Precision.h> #include <cmath> #in...
{ "alphanum_fraction": 0.7487394958, "avg_line_length": 29.75, "ext": "h", "hexsha": "dfa66388bc3494d30c5de7556a79309303abc2b8", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-10-23T00:21:57.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-23T02:58:07.000Z"...
#ifndef TNet_Types_h #define TNet_Types_h #ifdef HAVE_ATLAS extern "C"{ #include <cblas.h> #include <clapack.h> } #endif namespace TNet { // TYPEDEFS .................................................................. #if DOUBLEPRECISION typedef double BaseFloat; #else typedef float BaseFloat; #endif #...
{ "alphanum_fraction": 0.5998781973, "avg_line_length": 20.7848101266, "ext": "h", "hexsha": "6a5bfac14b99140720fdfd97be71bada2bee2490", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright (C) 2019-2020 JingWeiZhangHuai <jingweizhanghuai@163.com> Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
{ "alphanum_fraction": 0.5935454984, "avg_line_length": 37.1278772379, "ext": "c", "hexsha": "e3ecdae8d493f4c18049a05c1fa17043811df667", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-23T08:08:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-23T08:08:...
/** */ #include <math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_multiroots.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "spc_trace_functions.h" #include "disp_conf.h" #include "trace_conf.h" #include "crossdisp_utils.h" /* * Function: p...
{ "alphanum_fraction": 0.6694057057, "avg_line_length": 25.9474474474, "ext": "c", "hexsha": "78ab7c0408f82d087c7d9b067bb6baa4ce45d4c2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> #include "cosmocalc.h" #define ODEGROWTH //the integral formulation is onyl correct for LCDM, any w...
{ "alphanum_fraction": 0.7172327331, "avg_line_length": 29.843537415, "ext": "c", "hexsha": "f2d91e6bd0b19694bc22a4a1500249aa9fa50c6b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:3...
#include <viaio/VImage.h> #include <string.h> #include <gsl/gsl_matrix.h> #include <viaio/Vlib.h> #include "gsl_utils.h" void prewhite(gsl_matrix_float** pinvX,gsl_matrix_float** invM,gsl_matrix_float* X,int numlags) { int n = X->size2; /* preparation for whitening */ /* X^T */ gsl_matrix_float* trans...
{ "alphanum_fraction": 0.692745377, "avg_line_length": 29.0896551724, "ext": "c", "hexsha": "da4a7d996cf414ea6da6c3187db4a7dde389eeac", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:5...
//////////////////////////////////////////////////////////// // // Copyright (c) 2018 Jan Filipowicz, Filip Turobos // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, ...
{ "alphanum_fraction": 0.695622435, "avg_line_length": 36.55, "ext": "h", "hexsha": "d221aad4e9f641e6ce0691dc1d2315898ddc47a3", "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": "8a093d4...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.7273668361, "avg_line_length": 64.7926829268, "ext": "h", "hexsha": "6f73fa7d5826064afb64a9e7dd55eea500d37bb6", "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:...
/* linalg/hermtd.c * * Copyright (C) 2001, 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 * your option) any later vers...
{ "alphanum_fraction": 0.5685230685, "avg_line_length": 30.398340249, "ext": "c", "hexsha": "3660e96a4f3d3ee3aded5b17b2d88601bf1a8c44", "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 piecewise_regimes.c * @author Carl Boettiger <cboettig@gmail.com> * @date 17 May 2010 * * @section LICENSE * * GPLv3 * * @section DESCRIPTION * * Code for computing the likelihood of a multitype OU process on a phylogenetic tree * */ #include "likelihood.h" #include <stdio.h> #include <stdli...
{ "alphanum_fraction": 0.5735320524, "avg_line_length": 32.284057971, "ext": "c", "hexsha": "de2d614c2aeb11183ed0a4de643b59fd784b767d", "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": ...
/* Cholesky Decomposition * * Copyright (C) 2000 Thomas Walter * * 03 May 2000: Modified for GSL by Brian Gough * 29 Jul 2005: Additions by Gerard Jungman * Copyright (C) 2000,2001, 2002, 2003, 2005, 2007 Brian Gough, Gerard Jungman * * This is free software; you can redistribute it and/or modify it * under t...
{ "alphanum_fraction": 0.5290315631, "avg_line_length": 25.8579387187, "ext": "c", "hexsha": "8519fdce77e82b952153f77923fc99bc98c3d6e2", "lang": "C", "max_forks_count": 173, "max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-08T18:0...
#ifdef HAVE_PETSC #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <math.h> #include <mpi.h> #include <petsc.h> #include "common_c.h" #include "FCMangle.h" #define fillsparsecpetscs FortranCInterface_GLOBAL_(fillsparsecpetscs, FILLSPARSECPETSCS) #define fillsparsecpetscc FortranCInterface_GLOBAL_(...
{ "alphanum_fraction": 0.5974173946, "avg_line_length": 36.0684931507, "ext": "c", "hexsha": "9ed0e764db666447f2f8337bfaf4daa625f0d58e", "lang": "C", "max_forks_count": 38, "max_forks_repo_forks_event_max_datetime": "2021-11-12T19:38:00.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-21T12:13...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <iosfwd> #include <vector> #include <algorithm> #include <string> #include <cstring> #include <gsl/gsl> #include "onnxruntime_config.h" namespace onnxruntime { #ifdef __GNUC__ #pragma GCC diagnostic p...
{ "alphanum_fraction": 0.7072330654, "avg_line_length": 34.84, "ext": "h", "hexsha": "365cbe26c58e312445f7d5b339ae3f49a89d9f6c", "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": "21eb74...
#include <stdlib.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_rng.h> #include "design.h" /*This function computes the p-distance between 2 points in D dimensions: the exponent p is tunable*/ double distance(double *x,double *y,int D...
{ "alphanum_fraction": 0.7133048803, "avg_line_length": 25.9086538462, "ext": "c", "hexsha": "f99fec28cf49bce2c454c7f2beae670453f83130", "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 QCQP_B_H #define QCQP_B_H #include "Matrix.h" #include "ALM_L_Katyusha.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include <math.h> /*This class ...
{ "alphanum_fraction": 0.5386450382, "avg_line_length": 21.8333333333, "ext": "h", "hexsha": "2ff602fa92517161e81974a8b0a1fdaf840f64b7", "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:...
#ifndef SEARCHPATTERNHEXMATCHER_HHHHH #define SEARCHPATTERNHEXMATCHER_HHHHH #include <gsl/string_span> #include <vector> #include <string> #include <algorithm> #include "SearchPatternBase.h" namespace MPSig { namespace detail { class SearchPatternHexMatcher final : public SearchPatternBase { priv...
{ "alphanum_fraction": 0.7417910448, "avg_line_length": 41.875, "ext": "h", "hexsha": "22ce6c5c65606e8e62c6243854a6b23c55cb8a06", "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": "13f29...
/* AUTORIGHTS Copyright (C) 2007 Princeton University This file is part of Ferret Toolkit. Ferret Toolkit 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 (at your option) any later ver...
{ "alphanum_fraction": 0.6347131031, "avg_line_length": 22.7467532468, "ext": "c", "hexsha": "f30faad3b64ba04464ffd9374bd9d268cb681fd2", "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...
/* rng/cmrg.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your ...
{ "alphanum_fraction": 0.6226523572, "avg_line_length": 26.3535353535, "ext": "c", "hexsha": "49e8544345ea6db63d97bec1497fe9f2c0055aa2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
#include <math.h> #include <stdio.h> #include <mpfr.h> #include <stdlib.h> #include <string.h> #include <petsc.h> #include <time.h> #undef __FUNCT__ #define __FUNCT__ "MatVecMPFR" PetscErrorCode MatVecMPFR(PetscInt size_d, mpfr_t *Mat, mpfr_t *vec, mpfr_t *result) { PetscErrorCode ierr; mpfr_t temp1; mpfr_t *r...
{ "alphanum_fraction": 0.640318831, "avg_line_length": 27.8796296296, "ext": "c", "hexsha": "0e79fabfc7d57c1669b1e6f6dbd37511ca7b6fd1", "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 <time.h> #include <assert.h> #include <math.h> #include <sys/time.h> #include <mm_malloc.h> #include <cblas.h> #include <lapacke.h> #include "random_matrix.h" #include "driver.h" #include "../../runtime/pcp.h" static double compare_lower_triangular_...
{ "alphanum_fraction": 0.5511269929, "avg_line_length": 24.2533333333, "ext": "c", "hexsha": "1bc5f6c126cf6dfbf07f942d2d0de4fe9f97f1b7", "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 __GSLPRINT_H__ #define __GSLPRINT_H__ #include <stdio.h> #include <iostream> #include <math.h> #include <fstream> #include <gsl/gsl_math.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_poly.h>...
{ "alphanum_fraction": 0.7782646801, "avg_line_length": 42.2592592593, "ext": "h", "hexsha": "18984b08e3465fed4f2185ca72a8f888da4ac24c", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-10-16T03:11:07.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-18T13:50:...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "boost_coroutine/http_client.h" #include "callback/http_client.h" #include "coroutine_ts/http_client.h" #include "sync/http_client.h" #include "task/http_client.h" #include "threaded/http_client.h" #include "executor.h" #include <boost/algorithm/string.hpp> ...
{ "alphanum_fraction": 0.6134688691, "avg_line_length": 26.5878378378, "ext": "h", "hexsha": "48da7f6a63e3ad0a37ad60ebe6395e6996ecc2fc", "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_ctrtri.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 Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11-15 * @gen...
{ "alphanum_fraction": 0.5694108152, "avg_line_length": 33.9452054795, "ext": "c", "hexsha": "32365b89ebc11a2fbb0a262ad4f5d0adadb367a2", "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":...
/* ** hemodynamic modelling for single-subject LISA ** ** G.Lohmann, MPI-KYB, 2018 */ #include <viaio/Vlib.h> #include <viaio/VImage.h> #include <viaio/mu.h> #include <viaio/option.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist....
{ "alphanum_fraction": 0.5509466071, "avg_line_length": 24.1076923077, "ext": "c", "hexsha": "cd7ef5c54f31639c903ba58c8d1774cd3a2db863", "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_roots.h> #include <gsl/gsl_math.h> #include "zero_crossing.h" /* \fn double zero_crossing(double (*model)(double, void *), void *params, double *x_lo, double *x_hi) * \brief Find a zero crossing of the supplied model. */ double zero_crossing(double (*mod...
{ "alphanum_fraction": 0.6890756303, "avg_line_length": 21.8571428571, "ext": "c", "hexsha": "5c1d5a0ee5a6ba2bc607be0d0b670b054cbb7eda", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <cblas.h> #include <clapack.h> #ifdef NoChange #define dgeqrf_ dgeqrf #elif defined(UpCase) #define dgeqrf_ DGEQRF #endif main(int nargs, char **args) { extern void dgeqrf_(F77_INTEGER*,F77_INTEGER*,double*,F77_INTEGER*, double*,double*,F77_INTEGER*,F77_INTEGER*); double A[1]...
{ "alphanum_fraction": 0.6267942584, "avg_line_length": 26.125, "ext": "c", "hexsha": "ffb3ac45c58c24f6288762ae76da681cfee05a52", "lang": "C", "max_forks_count": 47, "max_forks_repo_forks_event_max_datetime": "2021-11-11T20:59:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-27T06:22:57.000...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <string.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_histogram.h> #include "allvars.h" #include "proto.h" void get_cov_matrix(double *theta, int nstep, int ntheta) { int i, j; double cov; fo...
{ "alphanum_fraction": 0.5992217899, "avg_line_length": 25.4684684685, "ext": "c", "hexsha": "09c9943058d7099720024caf05e32c37536ca97c", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:...
/** * @file beamformer.h * @brief Beamforming in the subband domain. * @author John McDonough and Kenichi Kumatani */ #ifndef BEAMFORMER_H #define BEAMFORMER_H #include <stdio.h> #include <assert.h> #include <float.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl...
{ "alphanum_fraction": 0.7464452145, "avg_line_length": 41.9148580968, "ext": "h", "hexsha": "0223f214753cdd9f91fb7eedc608da37400c8ba0", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
#include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main( int argc, const char *argv[] ) { double x = 5.0 ; double y = gsl_sf_bessel_J0( x ) ; printf("J0(%g) = % .18e\n", x, y ) ; return 0 ; }
{ "alphanum_fraction": 0.46484375, "avg_line_length": 23.2727272727, "ext": "c", "hexsha": "89e90ea5aa1858c68e1225613cc7e29082f4bde0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-05-14T22:34:13.000Z", "max_forks_repo_forks_event_min_datetime": "2015-05-14T22:34:13...
/* rng/transputer.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or ...
{ "alphanum_fraction": 0.6983362522, "avg_line_length": 27.1904761905, "ext": "c", "hexsha": "a2c422ab925caf874b7055e5cf5e877d5e97cd35", "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...
/* Authors: G. Jungman J. Scott (james.scott@lexifi.com) */ /* Implementation for Sobol generator. * See * [Bratley+Fox, TOMS 14, 88 (1988)] * [Antonov+Saleev, USSR Comput. Maths. Math. Phys. 19, 252 (1980)] */ #include <config.h> #include <gsl/gsl_qrng.h> #include <gsl/gsl_rng.h> #define SOBOL_BIT_COU...
{ "alphanum_fraction": 0.6662273476, "avg_line_length": 29.4660194175, "ext": "c", "hexsha": "f70f1fd9ab5b2bca02170b27881282c257b370b2", "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:...
/* matrixio.c */ // 8.4.13 Example programs for matrices of gsl-ref.pdf // GNU GSL GNU Scientific Library reference book // pp. 99,100 /* Compiling advice: gcc matrixio.c -lgsl -lgslcblas */ #include <stdio.h> #include <gsl/gsl_matrix.h> int main (void) { int i, j, k = 0; gsl_matrix * m = gsl_matrix_alloc...
{ "alphanum_fraction": 0.5470171891, "avg_line_length": 19.0192307692, "ext": "c", "hexsha": "73694071562857717ac31fda2a58e9906a0290bf", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2021-03-01T07:13:35.000Z", "max_forks_repo_forks_event_min_datetime": "2017-01-24T19:18...
#include "lah.h" #ifdef HAVE_LAPACK #include <lapacke.h> lah_Return lah_solveLU(lah_mat *B, lah_mat const *L, lapack_int *ipiv) { if ( L == NULL || B == NULL || L->nR != B->nR || B->nR != L->nC) { return lahReturnParameterError; } /* if (matrix_layout == LAPACK_COL_MAJOR) { ...
{ "alphanum_fraction": 0.5325732899, "avg_line_length": 21.1724137931, "ext": "c", "hexsha": "e5d4596e2fd07d9be09e6fdb2590a06a037b5aea", "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 forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.5004255319, "avg_line_length": 33.9595375723, "ext": "c", "hexsha": "8966d301b60f367eea054fa596407d40faa9b195", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57...
#ifndef CWANNIER_DOS_VALUES_H #define CWANNIER_DOS_VALUES_H #include <stdbool.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_sort_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_eigen.h> #include "HTightBinding.h" #include "ctetra/dos.h" double* DosValues(HTightBinding *Hrs, gsl_matrix *R, int na, int nb, i...
{ "alphanum_fraction": 0.77090301, "avg_line_length": 35.1764705882, "ext": "h", "hexsha": "77f1b9d7802b5aa0a226609a8aaa9cc3dea457f6", "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) 2012-2016 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This pr...
{ "alphanum_fraction": 0.6161988929, "avg_line_length": 34.67003367, "ext": "h", "hexsha": "60ce39bb7cbce3e25c07227615787366224491df", "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:32...
/* * mutation.c * * Created on: 5.5.2017 * Author: heine */ #define _XOPEN_SOURCE 600 #include <math.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <time.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <mpi.h> //static const gsl_rng_type * T; // Generator type //st...
{ "alphanum_fraction": 0.6097023153, "avg_line_length": 18.8958333333, "ext": "c", "hexsha": "e941cccdf5b718452f59075bc4fd341eef792910", "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> #define FORCE_OPENBLAS_COMPLEX_STRUCT #include <cblas.h> #include <stdio.h> #include <stdlib.h> #include <string.h> typedef int MKL_INT; typedef openblas_complex_double MKL_Complex16; #define AVX512_ALIGN 64 #include "gene_bruit_rayleigh_scalaire.c" int main(void) { int val; int M, N...
{ "alphanum_fraction": 0.5840347543, "avg_line_length": 24.8851351351, "ext": "c", "hexsha": "9b68b9f4bc7e1b6a075e1287b1f0fe75a3ae684b", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-11-19T18:13:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-07T16:47:...
/* specfunc/bessel_J0.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.638258737, "avg_line_length": 29.125, "ext": "c", "hexsha": "a0fc5810fc820bc9224e7b649ae9eefd15b38eb6", "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:52.000Z...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2018 - Matteo Ragni, Matteo Cocetti - University of Trento * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
{ "alphanum_fraction": 0.6358354992, "avg_line_length": 43.6066666667, "ext": "c", "hexsha": "1ac2368a21a4359a65a52cb272a36338cafa33fe", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main (void) { double x, y; x = 5.0; y = gsl_sf_bessel_J0 (x); printf ("J0(%g) = %.18e\n", x, y); return 0; }
{ "alphanum_fraction": 0.5561797753, "avg_line_length": 16.1818181818, "ext": "c", "hexsha": "6d5bcfc2ce756db844005e1c700415aa3396ae4c", "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) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it> * 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 cop...
{ "alphanum_fraction": 0.665783372, "avg_line_length": 31.1237113402, "ext": "c", "hexsha": "f5ed9c3ffa1b1e4e08c48f1311c12046d659c645", "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": ...
// // cngsl.h // // Copy Number Utilities that use gsl // // copyright 2017 Peter Andrews // #ifndef PAA_CNGSL_H_ #define PAA_CNGSL_H_ #include <gsl/gsl_cdf.h> #include <algorithm> #include <limits> #include <string> #include <vector> #include "cn.h" namespace paa { class CNStateCall { public: CNStateCall(cons...
{ "alphanum_fraction": 0.6019171881, "avg_line_length": 31.6919831224, "ext": "h", "hexsha": "28a4c30d095bc85b556bede821b329392365e815", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-11-20T15:47:54.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-20T15:47:...
/** * @file stream.h * @brief Representation of feature streams. * @author John McDonough. */ #ifndef STREAM_H #define STREAM_H #include <gsl/gsl_vector.h> #include <gsl/gsl_complex.h> #include "common/refcount.h" // ----- interface class for 'FeatureStream' ----- // template <typename Type, typename item_type> ...
{ "alphanum_fraction": 0.7642006096, "avg_line_length": 40.5505617978, "ext": "h", "hexsha": "8c4dbc17479d4a2e687d057853435a9f1e817b88", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <gsl\gsl> #include "Data\Data.h" #include "Data\Pose.h" #include "opencv\cv.h" #include "MageSettings.h" namespace mage { struct VOIKeyframe { const VolumeOfInterestSettings& VoiSettings; cv::Vec...
{ "alphanum_fraction": 0.6840390879, "avg_line_length": 26.3142857143, "ext": "h", "hexsha": "0849d897434fa618f6c30f6f516d392c8deb395a", "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...
#ifndef Single_Pin_Conduction_h #define Single_Pin_Conduction_h #include <vector> // Trilinos includes #include "Teuchos_ParameterList.hpp" #include "Teuchos_RCP.hpp" #include "Teuchos_SerialDenseMatrix.hpp" #include "Teuchos_SerialDenseSolver.hpp" #include "Teuchos_SerialDenseVector.hpp" // vendored includes #inclu...
{ "alphanum_fraction": 0.5760197775, "avg_line_length": 27.2696629213, "ext": "h", "hexsha": "542c4c6c99c4b4d5beb26f0b9d4eb1f18dc7f8dc", "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 XYCO_RUNTIME_UTILS_SELECT_H #define XYCO_RUNTIME_UTILS_SELECT_H #include <gsl/pointers> #include <utility> #include "runtime/runtime.h" #include "type_wrapper.h" namespace xyco::runtime { template <typename T1, typename T2> class SelectFuture : public Future<std::variant<TypeWrapper<T1>, TypeWrapper<T2>>...
{ "alphanum_fraction": 0.6565620542, "avg_line_length": 33.7831325301, "ext": "h", "hexsha": "58f58f3afd3413e4f5ad8fbb0ad92425619eeaab", "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 * * 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. * * This program is distributed in the...
{ "alphanum_fraction": 0.6333333333, "avg_line_length": 26.5384615385, "ext": "c", "hexsha": "ad136e1821815d89f51a883c883495465d94293c", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#ifndef _UI_HELPERS_H_ #define _UI_HELPERS_H_ #define OEMRESOURCE #include <algorithm> #include <functional> #include <memory> #include <optional> #include <span> #include <string> #include <type_traits> #include <unordered_map> #include <vector> #include <ppl.h> #include <gsl/gsl> // Included before windows.h, be...
{ "alphanum_fraction": 0.7253914989, "avg_line_length": 18.8210526316, "ext": "h", "hexsha": "3f838c0d89d00df7b8962c05caaef8b68793297d", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2019-07-12T23:37:01.000Z", "max_forks_repo_forks_event_min_datetime": "2016-04-12T13:45:...
#ifndef __UTILS_H_INCLUDED__ #include <iostream> #include <fstream> #include <string> #include <vector> #include <set> #include <tuple> #include <math.h> #include <Eigen/Dense> #include <gsl/gsl> #define __UTILS_H_INCLUDED__ #include <cosan/base/CosanBO.h> namespace Cosan{ /** * @brief General string to number...
{ "alphanum_fraction": 0.6454378445, "avg_line_length": 36.6966292135, "ext": "h", "hexsha": "9132621c9022adf2a3c6ffe1b7ae57e1968d5f63", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-13T05:56:38.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-13T05:56:...
#include <complex.h> #include <math.h> #include <petsc.h> #include <stdint.h> #define LOOPY_CALL_WITH_INTEGER_TYPES(MACRO_NAME) \ MACRO_NAME(int8, char) \ MACRO_NAME(int16, short) \ MACRO_NAME(int32, int) \ MACRO_NAME(int64, long) #define LOOPY_DEFINE_FLOOR_DIV_POS_B(SUFFIX, TYPE) \ static inline TY...
{ "alphanum_fraction": 0.7987915408, "avg_line_length": 96.783625731, "ext": "c", "hexsha": "9357e02b06cfd14e0c2267158a3906e2ed043ad4", "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": ...
/* multifit/gsl_multifit.h * * 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.5909665193, "avg_line_length": 29.5887850467, "ext": "h", "hexsha": "e408b0d01fd6e6298a21bf291206e22480e04f7a", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#ifndef _DRAGONCELLO_H #define _DRAGONCELLO_H #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <vector> #include "constants.h" #include <gsl/gsl_integration.h> #include <gsl/gsl_matrix.h> using namespace std; using namespace DRAGON; struct diagEntry { double upper; double c...
{ "alphanum_fraction": 0.6680277664, "avg_line_length": 28.476744186, "ext": "h", "hexsha": "1c4b035009281ad5b8b85d6f438d2b733eab1031", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-11-26T02:21:41.000Z", "max_forks_repo_forks_event_min_datetime": "2020-11-26T02:21:4...
/* movstat/test_variance.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later versio...
{ "alphanum_fraction": 0.6904071984, "avg_line_length": 32.4603960396, "ext": "c", "hexsha": "eeb36705be792bf7af536d544ad1103d4bb651d4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <string.h> #include <time.h> #include <sys/time.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_roots.h> #include "cosmocalc.h" #include "haloprofs.h" #include "weaklens.h" double...
{ "alphanum_fraction": 0.5860331174, "avg_line_length": 20.1304347826, "ext": "c", "hexsha": "b01fd12dd91b5b3db04107806c28f3c659a76d86", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
#include <stdio.h> #include <math.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_wavelet.h> int main (int argc, char **argv) { (void)(argc); /* avoid unused parameter warning */ int i, n = 256, nc = 20; double *orig_data = malloc (n * sizeof (double)); double *data = malloc (n * sizeof (double)); double *abs...
{ "alphanum_fraction": 0.5722402597, "avg_line_length": 20.8813559322, "ext": "c", "hexsha": "422c55d54ed7875b757da960a4e4b888e7cc17fc", "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:...
/** * \brief Function Definition Library to implement Sensor Fusion Algorithm * \author jaspalsingh@cmail.carleton.ca * \version 1.0 * \date 2019-12-01 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> #include "sensor_fusion.h" /...
{ "alphanum_fraction": 0.6222369097, "avg_line_length": 39.3554913295, "ext": "c", "hexsha": "ff720195666c5b745497873c4ca25270bf5e9854", "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 ENTITY_H_ #define ENTITY_H_ #include <vector> #include <memory> #include <utility> #include <gsl.h> #include "Component.h" using std::vector; using std::unique_ptr; using std::make_unique; using std::move; using std::forward; class Entity { public: static void test(); template <typename C, typename...
{ "alphanum_fraction": 0.6892230576, "avg_line_length": 22.1666666667, "ext": "h", "hexsha": "089b25c174dd38af5893113bf4aa75df725ac1d7", "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":...
/* Simulation of a network of Izhikevich neurons, coupled by chemical synapses, receiving uncorrelated, random input spiketrains. The simulation was written by Ekkehard Ullner in 2013. This is a modified version of E.U.'s original, stand-alone program, for use e.g. via the ctypes ffi in Python. Changelog: - suport f...
{ "alphanum_fraction": 0.5500597943, "avg_line_length": 42.3178137652, "ext": "c", "hexsha": "3578bbad62359b2e36bd24af7731919becc586f2", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-12-21T13:40:08.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-19T14:21:...
#include <bindings.cmacros.h> #include <gsl/gsl_multimin.h> BC_INLINE2(GSL_MULTIMIN_FN_EVAL,gsl_multimin_function*,gsl_vector*,double) BC_INLINE2(GSL_MULTIMIN_FN_EVAL_F,gsl_multimin_function_fdf*,gsl_vector*,double) BC_INLINE3VOID(GSL_MULTIMIN_FN_EVAL_DF,gsl_multimin_function_fdf*,gsl_vector*,gsl_vector*) BC_INLINE4VO...
{ "alphanum_fraction": 0.8753056235, "avg_line_length": 51.125, "ext": "c", "hexsha": "8b844b96d107f49d7331c74498ada9c0414e30d3", "lang": "C", "max_forks_count": 19, "max_forks_repo_forks_event_max_datetime": "2021-09-10T19:31:38.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T20:43:08.000...
// Copyright 2019 John McFarlane // // 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 ...
{ "alphanum_fraction": 0.6702997275, "avg_line_length": 22.02, "ext": "h", "hexsha": "7810b6823be2e1ca25fe7f932d5971e0cbf97401", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-02-23T18:04:41.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-23T18:04:41.000Z"...
/* filter/test_median.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. ...
{ "alphanum_fraction": 0.7474272931, "avg_line_length": 38.5344827586, "ext": "c", "hexsha": "61c20ce1b6af623aedf66e67eb9360bdb4c53900", "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:...
/* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The OpenAirInterface Software Alliance licenses this file to You under the OAI Publi...
{ "alphanum_fraction": 0.5158562368, "avg_line_length": 36.1705882353, "ext": "c", "hexsha": "431960118ad431e208ee233f61398af5fac4fc5f", "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":...
/* TODO these are parts of the tests from msprime that haven't been ported * into the new test framework yet. Once these have all been moved across * into the appropriate location, delete. */ #define _GNU_SOURCE /* * Unit tests for the low-level msprime API. */ #include "tsk_genotypes.h" #include "tsk_convert.h" #...
{ "alphanum_fraction": 0.591940268, "avg_line_length": 33.4943473792, "ext": "c", "hexsha": "4f61515a434f8b8da5f2a249049535cd7183611d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-07T10:09:40.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-07T10:09:4...
//Gets line spectral frequencies (LSFs). //from the linear prediction (LP) polynomial coefficients along cols or rows of X. #include <stdio.h> #include <stdlib.h> #include <float.h> #include <math.h> #include <cblas.h> #include <lapacke.h> #include "cmp_ascend.c" #ifdef __cplusplus namespace ov { extern "C" { #endif ...
{ "alphanum_fraction": 0.5672728859, "avg_line_length": 63.1652892562, "ext": "c", "hexsha": "9c08ef09227ffb83f01d9d67c40c2f28b9ffca89", "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 Jean Pierre Cimalando 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "player/instrument.h" #include "synth/synth.h" #include <fmidi/fmidi.h> #include <gs...
{ "alphanum_fraction": 0.7244488978, "avg_line_length": 26.972972973, "ext": "h", "hexsha": "d9da6d43f4074a4cf725595cb72fc681c332347c", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:1...
static const char help[] = "Solves elasto-plastic torsion problem in 2D using SNESVI. Option prefix -el_.\n" "Equation is - grad^2 u = f(x,y) where f(x,y) = 2 C. Zero Dirichlet\n" "boundary conditions. Domain Omega = (0,1)x(0,1). Constraint is upper bound\n" " u(x,y) <= dist((x,y), bdry Omega) = psi(x,y).\n" "...
{ "alphanum_fraction": 0.6467986926, "avg_line_length": 35.380952381, "ext": "c", "hexsha": "1bd1a06711cb3389fdc8ab77ea2840808c67c327", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#include <gsl/gsl_complex.h> #define RVEC(A) int A##n, double*A##p #define RMAT(A) int A##r, int A##c, double* A##p #define KRVEC(A) int A##n, const double*A##p #define KRMAT(A) int A##r, int A##c, const double* A##p #define CVEC(A) int A##n, gsl_complex*A##p #define CMAT(A) int A##r, int A##c, gsl_complex* A##p #def...
{ "alphanum_fraction": 0.5769211577, "avg_line_length": 27.2097759674, "ext": "c", "hexsha": "e727c91e48132042283bbea30869aa5b664ff3c7", "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:3...
#include "scf.h" #include "scf_decompose.h" #include <gsl/gsl_sf_legendre.h> #include <gsl/gsl_sf_gegenbauer.h> /* computes a!/b! = a(a-1)(a-2)...(b+1) */ double factorial_frac(int a, int b) { if(a<0 || b<0) { perror("factorial_frac: either a or b is negative!!\n"); exit(1); } int re...
{ "alphanum_fraction": 0.481595092, "avg_line_length": 25.206185567, "ext": "c", "hexsha": "fe990a07f6f5c08b74bc8a802f1f8f630feccfb3", "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": "...
/* multifit_nlinear/dogleg.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 vers...
{ "alphanum_fraction": 0.6340978485, "avg_line_length": 28.7408163265, "ext": "c", "hexsha": "f006cdae4b57f5212e5fad53c3291a9082ca178c", "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:...
/* min/gsl_min.h * * 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 * your ...
{ "alphanum_fraction": 0.684822976, "avg_line_length": 36.0625, "ext": "h", "hexsha": "2cfa8023be99f1448cd22b68b3316223081c8720", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-01-04T19:22:30.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-27T11:11:07.000Z...
// // Created by agibsonccc on 2/6/16. // #ifndef NATIVEOPERATIONS_CBLAS_ENUM_CONVERSION_H_H #define NATIVEOPERATIONS_CBLAS_ENUM_CONVERSION_H_H #include <cblas.h> /* enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102 }; enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113, AtlasConj=114}...
{ "alphanum_fraction": 0.7038491752, "avg_line_length": 19, "ext": "h", "hexsha": "496baf71b87cee2f1b09f1f76b677a1e5c904e19", "lang": "C", "max_forks_count": 108, "max_forks_repo_forks_event_max_datetime": "2021-03-29T05:25:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-19T15:11:03.000Z",...
/* ieee-utils/fp-os2.c * * Copyright (C) 2001 Henry Sobotka <sobotka@axess.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 3 of the License, or (at * your option) ...
{ "alphanum_fraction": 0.6896695943, "avg_line_length": 25.9891304348, "ext": "c", "hexsha": "8c41a50aff9ac15a22bd8b7c6775b2e27f120f0b", "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...
/* randist/weibull.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or...
{ "alphanum_fraction": 0.6324461343, "avg_line_length": 24.2769230769, "ext": "c", "hexsha": "b1494ef3656faf7e01189e66e14df6e8f20d9751", "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 /* * (C) Copyright 2020-2021 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ /*! \addtogroup ioda_cxx_attribute * * @{ * \file Has_Attributes.h * \brief Interfaces for ioda::Has_Attribute...
{ "alphanum_fraction": 0.7084272195, "avg_line_length": 44.38, "ext": "h", "hexsha": "9785a8515685b7010bdd96d26adc8217b94bde89", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-14T09:19:25.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-09T16:12:02.000Z"...
/* rng/zuf.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your o...
{ "alphanum_fraction": 0.6270125224, "avg_line_length": 23.6197183099, "ext": "c", "hexsha": "c5c93bcdb0ab7fef0897a1998bff3baabeabd504", "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:...
#pragma once #include <gsl/gsl> #include "exception.h" #include <fmt/format.h> #include "mathutil.h" #include "stringutil.h" #include "version.h" #include "stopwatch.h" #include "logging.h"
{ "alphanum_fraction": 0.7150259067, "avg_line_length": 14.8461538462, "ext": "h", "hexsha": "6a6f32d3d6bf38f882acda17e29846606acdabbb", "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...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include "norm.h" #include "constants.h" int readFileVector( gsl_vector *vector, char *filePath, char *fileName ) //read file vals in...
{ "alphanum_fraction": 0.6028528529, "avg_line_length": 31.3411764706, "ext": "c", "hexsha": "146256f83aa9091fa81125af48d17b08a629a1a6", "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/hyperg_2F1.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman * Copyright (C) 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 ve...
{ "alphanum_fraction": 0.5482952573, "avg_line_length": 30.413938754, "ext": "c", "hexsha": "65683ec8debb07e81ed394f4d2060a69900a4569", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:2...
/* monte/vegas.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth * * 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.5593152866, "avg_line_length": 23.2323699422, "ext": "c", "hexsha": "cbc792db222588de0d60465dfd06752847398b0f", "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:...
/* These tests are based on the NIST Statistical Reference Datasets See http://www.nist.gov/itl/div898/strd/index.html for more information. */ #include <config.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_test.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_ieee_utils.h> size_t norris_n = ...
{ "alphanum_fraction": 0.6228978008, "avg_line_length": 35.5402298851, "ext": "c", "hexsha": "255552201c78758173b5721c182d98cede62025c", "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...
#pragma once #include <string_view> #include <gsl/span> #include <spirv_cross.hpp> namespace babylon { class ShaderCompiler { public: ShaderCompiler(); ~ShaderCompiler(); struct ShaderInfo { std::unique_ptr<const spirv_cross::Compiler> Compiler; gsl...
{ "alphanum_fraction": 0.6351084813, "avg_line_length": 21.125, "ext": "h", "hexsha": "cdb8eb013dc3cfcc37e75c40dd132147bd4b168b", "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": "54868...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
{ "alphanum_fraction": 0.6835834069, "avg_line_length": 35.9682539683, "ext": "h", "hexsha": "d39242e7b00ef33ee4e987e626077b147e42bb72", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-21T13:09:44.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-21T13:09:...
#include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_monte_plain.h> #include <gsl/gsl_monte_miser.h> #include <gsl/gsl_monte_vegas.h> /* Computation of the integral, I = int (dx dy dz)/(2pi)^3 1/(1-cos(x)cos(y)cos(z)) over (-pi,-pi,-pi) to (+pi, +pi, +pi). The exact a...
{ "alphanum_fraction": 0.5746352413, "avg_line_length": 24.9813084112, "ext": "c", "hexsha": "a2b95fcf974e9e2fde88e54f11481b7b1b0ae1d0", "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 <stdlib.h> #include <stdio.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_multifit_nlinear.h> /* number of data points to fit */ #define N 40 struct data { size_t n; double * y; }; int expb_f (c...
{ "alphanum_fraction": 0.6025302115, "avg_line_length": 27.158974359, "ext": "c", "hexsha": "370ad8f74d26f990c53c3969f4883c79c4fd3da0", "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...
/* C code for Binney (2012)'s Staeckel approximation code */ #ifdef _WIN32 #include <Python.h> #endif #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_min.h> #include <gsl/gsl_integration.h> ...
{ "alphanum_fraction": 0.6226157262, "avg_line_length": 35.3558127831, "ext": "c", "hexsha": "4d08d84213bb03b0898f2eeec7bd965aa4c02b91", "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":...