Search is not available for this dataset
text
string
meta
dict
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /** \file * jitconv "doRef" calculation - a simplified gemm impl. * * This should be correct, and may even be somewhat fast "in general". * Do not expect "fastest" performance. * * libvednn has a more sophisticated GEMM convolution. */ #include "ve...
{ "alphanum_fraction": 0.5502808275, "avg_line_length": 37.3744725738, "ext": "c", "hexsha": "633b83a67add671583f8d332a2fc724b7ec86918", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-10-18T11:30:13.000Z", "max_forks_repo_forks_event_min_datetime": "2019-10-18T11:30:...
#include "indexes/utils/Utils.h" #include <doctest/doctest.h> #include <gsl/span> #include <inttypes.h> #include <limits> #include <map> #include <random> #include <string> #include <thread> #include <vector> enum class ConcurrentMapTestWorkload { WL_CONTENTED, WL_CONTENTED_SWAP, WL_RANDOM, }; enum class Look...
{ "alphanum_fraction": 0.620147084, "avg_line_length": 24.9871794872, "ext": "h", "hexsha": "de947fb2310eb69ab3a758ebc7b7b771dc1c2969", "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 QDM_KNOTS_H #define QDM_KNOTS_H 1 #include <gsl/gsl_rng.h> #include <gsl/gsl_vector.h> gsl_vector * qdm_knots_vector( size_t spline_df, gsl_vector *knots_inter ); int qdm_knots_optimize( gsl_vector *result, gsl_rng *rng, gsl_vector *sorted_data, gsl_vector *middle, gsl_vector *possible_knots,...
{ "alphanum_fraction": 0.7435897436, "avg_line_length": 13.9285714286, "ext": "h", "hexsha": "45ed64e55681b7646a06eecedbbaa7f83f408ebe", "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":...
/* Multisteps: a program to get optime Runge-Kutta and multi-steps methods. Copyright 2011-2019, Javier Burguete Tolosa. 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 ab...
{ "alphanum_fraction": 0.574941452, "avg_line_length": 27.7723577236, "ext": "c", "hexsha": "2d2dc82c27211ba1dad284dbfe07a76f46f641f7", "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 <string.h> #include <mpi.h> #include <math.h> #include <alloca.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <fastpm/libfastpm.h> #include <fastpm/logging.h> #include <fastpm/string.h> #include "pmpfft.h" void fastpm_powerspectrum_init(FastPMPowerSpectrum ...
{ "alphanum_fraction": 0.5427267348, "avg_line_length": 26.8276643991, "ext": "c", "hexsha": "49e95c017d27aa637bee778585f52d3bfe9e331b", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-14T23:24:19.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-14T23:24:...
#ifndef INCLUDED_TELEPATH_BLAS_3_GEMM_H #define INCLUDED_TELEPATH_BLAS_3_GEMM_H #include <cblas.h> namespace telepath{ template< typename T > void gemm( CBLAS_ORDER order, CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB, std::size_t m std::size_t n, std::size_t k, T alpha, const T* A, std::siz...
{ "alphanum_fraction": 0.6238114924, "avg_line_length": 43.9818181818, "ext": "h", "hexsha": "0541b793324fe8500e8d19edc420c6c0419a2b13", "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 CosanBO.h *@author Xinyu Zhang *@brief CosanBO *@date 2021-04-10 */ #ifndef __COSANBO_H_INCLUDED__ #define __COSANBO_H_INCLUDED__ #include <string> #ifndef FMT_HEADER_ONLY #define FMT_HEADER_ONLY #include <fmt/format.h> #endif #include <gsl/gsl> #include <type_traits> #include <cosan/utils/utils.h> #in...
{ "alphanum_fraction": 0.6550724638, "avg_line_length": 30, "ext": "h", "hexsha": "b80262a5cd7718e4f5ef65c6c5b9807ccbc29782", "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:38.000Z", ...
#pragma once #include <wrl/client.h> #include <d3d11.h> #include <gsl/span> namespace vrutil { template <typename T> using ComPtr = Microsoft::WRL::ComPtr<T>; using SharedTexture = std::pair<ComPtr<ID3D11Texture2D>, HANDLE>; class D3DManager { class D3D11ManagerImpl *m_impl; public: D3DManager...
{ "alphanum_fraction": 0.7017804154, "avg_line_length": 28.0833333333, "ext": "h", "hexsha": "559b53fdd76b4417b04d55a77a597d84d568e282", "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: G. Jungman */ #ifndef __GSL_SF_H__ #define __GSL_SF_H__ #include <gsl/gsl_sf_result.h> #include <gsl/gsl_sf_airy.h> #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_sf_clausen.h> #include <gsl/gsl_sf_coupling.h> #include <gsl/gsl_sf_coulomb.h> #include <gsl/gsl_sf_dawson.h> #include <gsl/gsl_sf_debye.h> ...
{ "alphanum_fraction": 0.7668650794, "avg_line_length": 25.8461538462, "ext": "h", "hexsha": "3c1ec93da33ab89fc703634d7e7ec802c08397c3", "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 <utility> #include <iostream> #include <initializer_list> #include <exception> #include <gsl/gsl_math.h> #include <gsl/gsl_linalg.h> #include "utils/fcmp.h" namespace gsl_wrapper { class Vector { public: // Constructors and destructor Vector(size_t vec_size); Vector(gsl_vect...
{ "alphanum_fraction": 0.6518288475, "avg_line_length": 24.0497925311, "ext": "h", "hexsha": "e92f30dccbbd32f476cb4f319443eea03fe4ac64", "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":...
//Normalizes RMS of each vector in X according to dim. //See C++ command-line code for more info. #include <stdio.h> #include <stdlib.h> #include <float.h> #include <math.h> #include <lapacke.h> #ifdef __cplusplus namespace codee { extern "C" { #endif int rms_scale_s (float *X, const size_t R, const size_t C, const ...
{ "alphanum_fraction": 0.4607032058, "avg_line_length": 44.976744186, "ext": "c", "hexsha": "684e7f30350a9ed18b2a14755d7c1b24505b59aa", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
// THE VIRTUAL BRAIN -- C // A fast implementation of TVB-style brain network models based on // DYNAMIC MEAN FIELD MODEL Deco et al. 2014 Journal of Neuroscience // // m.schirner@fu-berlin.de // michael.schirner@charite.de // // MIT LICENSE // Copyright 2020 Michael Schirner // // Permission is hereby granted, free ...
{ "alphanum_fraction": 0.5649822996, "avg_line_length": 41.0368159204, "ext": "c", "hexsha": "06667f8c61a2eb8b83a1890fe51f64efaa1408a0", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-03-22T10:35:45.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-02T12:52:...
#include <stdio.h> #include <gsl/gsl_ieee_utils.h> int main() { //gsl_ieee_printf_double double a = 1.1; while (a > 0){ gsl_ieee_printf_double(&a); printf("\r\n"); a /= 2.0; } float b = 1.1; while (b > 0){ gsl_ieee_printf_float(&b); printf("\r\n"); ...
{ "alphanum_fraction": 0.4845070423, "avg_line_length": 16.9047619048, "ext": "c", "hexsha": "5835e2acede52d0765f4bb3425797b0a40709dfa", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-12-13T10:05:17.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-13T10:05:...
#ifndef alphas_H_INCLUDED #define alphas_H_INCLUDED //for fixed alpha //#define g2 (4.6) #include <gsl/gsl_spline.h> //http://pdg.lbl.gov/2010/reviews/rpp2010-rev-qcd.pdf #define Mz 91.1876 #define LamQCD 0.217 //fixednf = 0 for nf(mu) #define fixednf 3 //extrapolates below mu0*LamQCD to value of (mu0-1.0)*LamQCD a...
{ "alphanum_fraction": 0.7366197183, "avg_line_length": 19.7222222222, "ext": "h", "hexsha": "e644cee18e7d6d34626927a30387bfd1c5d4b8fa", "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 (RAND_H) #define RAND_H #include <cstdlib> #include <iostream> #include <cmath> #include <vector> #include <list> #include <set> #include <limits> #include <algorithm> #include <gsl/gsl_sf_zeta.h> using namespace std; const double TOLERANCE = numeric_limits<double>::epsilon(); const int INTMAX = ...
{ "alphanum_fraction": 0.4892594262, "avg_line_length": 15.4813953488, "ext": "h", "hexsha": "42ef13c82005d00f2dbebf40e7f59ec33ad6a560", "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 GNUPLOT_H #define GNUPLOT_H #include <fstream> #include <gsl/gsl_vector.h> #include "constants.h" void writePlotData(gsl_vector *f, const std::string& filename); #endif // GNUPLOT_H
{ "alphanum_fraction": 0.7411167513, "avg_line_length": 13.1333333333, "ext": "h", "hexsha": "886c77362f2285385fbc2b82f3474bb7451d3537", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:...
/** * @file lapacke.h * @brief Header file to automatically handle Intel MKL or LAPACKE includes. * * `npypacke` can be linked with a reference LAPACKE implementation, OpenBLAS, * or Intel MKL, but Intel MKL uses a different header file, `mkl.h`, while * OpenBLAS uses the LAPACKE header `lapacke.h`. This file in...
{ "alphanum_fraction": 0.7668639053, "avg_line_length": 35.9574468085, "ext": "h", "hexsha": "cb8f60e00f70ced77061e06ef2f767df3d3f2a78", "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 "SimpleEvaluator.h" #include "BooleanDAG.h" #include "Interface.h" #include "SuggestionGenerator.h" #include <map> #include <set> #ifndef _NOGSL #include <gsl/gsl_vector.h> #else #include "FakeGSL.h" #endif class SmartSuggestionGenerator1: public SuggestionGenerator { Interface* interf; ...
{ "alphanum_fraction": 0.4991648465, "avg_line_length": 39.5076142132, "ext": "h", "hexsha": "0e5e3bef4e09fbdc36fb6eafea0d2f67d18a2cf5", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:...
#include <assert.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <asf.h> #include "asf_tiff.h" #include <gsl/gsl_math.h> #include <proj_api.h> #include "asf_jpeg.h" #include <png.h> #include "envi.h" #include "dateUtil.h" #include <time.h> #include "matrix.h" #include <asf_nan.h> #include <as...
{ "alphanum_fraction": 0.6051783567, "avg_line_length": 42.9875947622, "ext": "c", "hexsha": "7faebdfad2f292b32a9bb2e9d4a061631e8dfbb7", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
/** * \file RIAAFilter.h * Filters for RIAA correction */ #ifndef ATK_EQ_RIAAFILTER_H #define ATK_EQ_RIAAFILTER_H #include <gsl/gsl> #include <ATK/EQ/SecondOrderFilter.h> namespace ATK { /// RIAA coefficients used for RIAA correction template<typename DataType_> class RIAACoefficients : public SecondOrderC...
{ "alphanum_fraction": 0.7232232232, "avg_line_length": 26.64, "ext": "h", "hexsha": "323419467b1e127b7e16ed6b24b38b5f42d02876", "lang": "C", "max_forks_count": 48, "max_forks_repo_forks_event_max_datetime": "2021-04-07T02:33:07.000Z", "max_forks_repo_forks_event_min_datetime": "2015-08-15T12:08:13.000Z...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.5736118186, "avg_line_length": 33.2711864407, "ext": "h", "hexsha": "63a9a010a5bdf5a005dc78b6273ad7e31b03703b", "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...
#include <gsl/gsl_vector.h> #include "icp.h" #include "../csm_all.h" int compatible(struct sm_params*params, int i, int j); int compatible(struct sm_params*params, int i, int j) { if(!params->do_alpha_test) return 1; double theta0 = 0; /* FIXME */ if((params->laser_sens->alpha_valid[i]==0) || (params->laser_re...
{ "alphanum_fraction": 0.6495543672, "avg_line_length": 27.2330097087, "ext": "c", "hexsha": "025b89ab5bf3484bf99ca613482ce64aa12d89fd", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* # # * The source code in this file is developed independently by NEC Corporation. # # # NLCPy License # # # Copyright (c) 2020-2021 NEC Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the follo...
{ "alphanum_fraction": 0.555622297, "avg_line_length": 30.1048824593, "ext": "c", "hexsha": "8b952d2151ef859cfef0e26b4663f0a39c98ef23", "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": ...
/* Modified Cholesky Decomposition * * Copyright (C) 2016 Patrick Alken * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 3, or (at your option) any * later version. * * This sou...
{ "alphanum_fraction": 0.5637564618, "avg_line_length": 25.6029411765, "ext": "c", "hexsha": "e02b5aceba625b0ea420da99ea77863f04f4466b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* vector/gsl_vector_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 License, ...
{ "alphanum_fraction": 0.6633019912, "avg_line_length": 31.7192982456, "ext": "h", "hexsha": "436283bfa40c1e8487c1e2c9c9b65ae9e9ef13a5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <sys/time.h> #include <sys/resource.h> #include <unistd.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include "../core_allvars.h" #define LUV_LOOKUPTABL...
{ "alphanum_fraction": 0.6944552909, "avg_line_length": 32.8333333333, "ext": "c", "hexsha": "2021fa795c7ac6bbe27e754d9ce299f042c2cbd3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (C) 2021 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.6859165425, "avg_line_length": 32.3373493976, "ext": "h", "hexsha": "9e066cf6b5634cb08ff26846711c60c2faf7fcfe", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ode-initval2/rk1imp.c * * Copyright (C) 2009, 2010 Tuomo Keskitalo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later ...
{ "alphanum_fraction": 0.5758305648, "avg_line_length": 24.08, "ext": "c", "hexsha": "a0a8b1f2864f1e9bd0f3bab95e4c9bde9e6b611e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z"...
/* eigen/nonsymmv.c * * Copyright (C) 2006 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.4636971047, "avg_line_length": 32.3353909465, "ext": "c", "hexsha": "9a87a74a0a6262bfc3c5da1f0f9ffa3a37d3b8a0", "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 <bindings.cmacros.h> #include <gsl/gsl_odeiv2.h> BC_INLINE4(GSL_ODEIV_FN_EVAL,gsl_odeiv2_system*,double,double*,double*,int) BC_INLINE5(GSL_ODEIV_JA_EVAL,gsl_odeiv2_system*,double,double*,double*,double*,int)
{ "alphanum_fraction": 0.8219178082, "avg_line_length": 36.5, "ext": "c", "hexsha": "93e4e76f5c8b358a32ce3e86ebf9234f6e3e3539", "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.000Z"...
/* test.c * * Copyright (C) 2012-2014 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. * * Th...
{ "alphanum_fraction": 0.581379069, "avg_line_length": 26.7009345794, "ext": "c", "hexsha": "c59fcda2e3bedf5b1a74b4ccdcd05810243a81d7", "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:17...
/* 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.6419306352, "avg_line_length": 39.3925438596, "ext": "c", "hexsha": "31f0ad265cd5b1a5ecf2e926704a3cffcd624b44", "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_combination.h> #include <caml/alloc.h> #include <caml/bigarray.h> #include <caml/memory.h> static void combi_of_val(gsl_combination *c, value vc) { c->n = Int_val(Field(vc, 0)); c->k = Int_val(Field(vc, 1)); c->data = Data_bigarray_val(Field(vc, 2)); } CAMLprim value ml_gsl_combination_...
{ "alphanum_fraction": 0.6980108499, "avg_line_length": 20.4814814815, "ext": "c", "hexsha": "f59dfd7656972c2f8bd298cd99d58ba50af13fd0", "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) 2006 Imperial College London and others. Please see the AUTHORS file in the main source directory for a full list of copyright holders. Prof. C Pain Applied Modelling and Computation Group Department of Earth Science and Engineering Imperial College London amcgsoftwa...
{ "alphanum_fraction": 0.7358066329, "avg_line_length": 24.7083333333, "ext": "h", "hexsha": "23ba4c54b646583798b8e2d61a3e0dc1d82c850b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-10-28T17:16:31.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-21T22:50:...
/* monte/gsl_monte_vegas.h * * 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 ...
{ "alphanum_fraction": 0.6868877167, "avg_line_length": 25.0377358491, "ext": "h", "hexsha": "b328307e1e879ea026548bd82d77fc9852a8887a", "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...
#include "multivar_support.h" #include "multi_modelstruct.h" #include "emulator_struct.h" #include "modelstruct.h" #include "libEmu/estimate_threaded.h" #include <math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> /** * estimates the thetas for an allocated multvariate model and outputs the * info to o...
{ "alphanum_fraction": 0.7000375422, "avg_line_length": 31.337254902, "ext": "c", "hexsha": "0c896f384e97d230b50567bed53eaa32054d31b0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:3...
// // Created by karl_ on 2020-5-3. // #include <math.h> #include <cblas.h> #include <imgproc/color-convert.h> gboolean imgproc_to_HSL(CoreImage *src, CoreImage **dst) { CoreSize *size; CoreColorSpace src_color_space; CorePixelType src_pixel_type; gdouble *src_data_cast, *dst_data; gd...
{ "alphanum_fraction": 0.5581087584, "avg_line_length": 32.2170542636, "ext": "c", "hexsha": "15e03a4463d18abee181c83a4e62c0915a24df89", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright 2014 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.6381889764, "avg_line_length": 26.4583333333, "ext": "h", "hexsha": "10e3a3036bcfb289c80a8a0db91f2de2458ddafa", "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":...
/* cheb/init.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 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 version 3 of the L...
{ "alphanum_fraction": 0.6089266738, "avg_line_length": 23.9237288136, "ext": "c", "hexsha": "a923377d5dc5e1af96da0eadf46937586feb11be", "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 <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 read_MCMC_covariance(MCMC_info *MCMC, char *filename) { FILE * fp; double *V; int ...
{ "alphanum_fraction": 0.6517241379, "avg_line_length": 30, "ext": "c", "hexsha": "ceb2b267b7af521c6d0636752a4281c64a9ce92a", "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:40.000Z", ...
#include <stdio.h> #include <stdlib.h> #include <math.h> #define COMPEARTH_PRIVATE_GEM3 1 #include "compearth.h" #ifdef DEBUG #ifdef COMPEARTH_USE_MKL #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wreserved-id-macro" #pragma clang diagnostic ignored "-Wstrict-prototypes" #endif #incl...
{ "alphanum_fraction": 0.5607005046, "avg_line_length": 34.3775510204, "ext": "c", "hexsha": "99ec0fea8173d14a381d05bc5691706756d9b5f7", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-02-28T13:42:40.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-08T00:13:...
#pragma once #include "CesiumGltf/MetadataArrayView.h" #include "CesiumGltf/PropertyType.h" #include "CesiumGltf/PropertyTypeTraits.h" #include <gsl/span> #include <cassert> #include <cstddef> #include <cstdint> #include <string_view> #include <type_traits> namespace CesiumGltf { /** * @brief Indicates the status ...
{ "alphanum_fraction": 0.6976931527, "avg_line_length": 33.1432038835, "ext": "h", "hexsha": "6b535d27db94d1e61314c6cbfacbc9c3612d2d69", "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":...
/* Sound display/edit/etc * * originally intended as a re-implementation of my much-missed dpysnd -- the Foonly/SAIL/E/Mus10/Grnlib sound editor from ca 1983. */ #include "snd.h" snd_state *ss = NULL; static bool ignore_mus_error(int type, char *msg) { XEN result = XEN_FALSE; if (XEN_HOOKED(ss->mus_error_hoo...
{ "alphanum_fraction": 0.6603459747, "avg_line_length": 37.7322175732, "ext": "c", "hexsha": "dbe01904529818e1f4a4d0ecf114e7bd4e01aa2f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ** read data matrix, map of voxel addresses ** ** G.Lohmann, Jan 2013 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_sort.h> #include "viaio/Vlib.h" #include "viaio/VImage.h" #includ...
{ "alphanum_fraction": 0.6030489592, "avg_line_length": 26.4418604651, "ext": "c", "hexsha": "e41fca749e7984b1fcc820df5a3a467b1eefc777", "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:...
#pragma once /*************************************************** *************** Auto-Generated File *************** ***************************************************/ #include <cstring> #include <string> #include <gsl/gsl_const_mksa.h> #include <gsl/gsl_const_num.h> #include "../../Utils/BinarySearch.h" enum...
{ "alphanum_fraction": 0.6592920354, "avg_line_length": 21.1875, "ext": "h", "hexsha": "9156ad63fbf264612b423887609805e1108ec099", "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": "33ce...
// Test driver for the pyramid class. #include <math.h> #include <stdlib.h> #include <glib.h> #include <gsl/gsl_math.h> #include <asf_meta.h> #include <float_image.h> #include "meta_read_wrapper.h" #include "pyramid.h" // Base name of .img/.meta pair we will use for testing. //#define TEST_IMG_BASENAME "E116306133...
{ "alphanum_fraction": 0.700248315, "avg_line_length": 27.637254902, "ext": "c", "hexsha": "dea20b3bf063f7078c2a3f57dc5f847a7180a0e3", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:33...
/* -*- linux-c -*- */ /* fewbody_hier.c Copyright (C) 2002-2004 John M. Fregeau This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option)...
{ "alphanum_fraction": 0.5950788981, "avg_line_length": 28.9097938144, "ext": "c", "hexsha": "34fbb90f00d4e92efc39e51f1621abf9dd54fc61", "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: del2mat.h */ #ifndef DEL2MAT_H #define DEL2MAT_H #include <petsc.h> #include <petscvec.h> #include <petscmat.h> /* external Fortran 90 subroutine */ #define Del2Apply del2apply_ extern void Del2Apply(int*,double*,const double*,double*); /* user data structure and routines * defining the matrix-free opera...
{ "alphanum_fraction": 0.702681388, "avg_line_length": 23.0545454545, "ext": "h", "hexsha": "e129947a6ccbe2986e2a0ff5d3ef8e939547b59e", "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 Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for the computation of the Fourier-domain overlaps, likelihoods. * * */ #ifndef _LIKELIHOOD_H #define _LIKELIHOOD_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif ...
{ "alphanum_fraction": 0.6528292562, "avg_line_length": 80.94, "ext": "h", "hexsha": "8228133b207e020c54e55d90c6d4bd36f2dec797", "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": "4ffb02...
/** * Copyright 2016 José Manuel Abuín Mosquera <josemanuel.abuin@usc.es> * * This file is part of Matrix Market Suite. * * Matrix Market Suite 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, ei...
{ "alphanum_fraction": 0.6557377049, "avg_line_length": 26.7804878049, "ext": "c", "hexsha": "c56ecc5c6c29f706c32bd4aed538127352c93568", "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 library is used by compare_hashes_* tests. */ #ifndef COMPARISON_STATS_H #define COMPARISON_STATS_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <gsl/gsl_sf_log.h> #include <gsl/gsl_math.h> struct comparison_stats { uint64_t *ones_count; uint64_t tot_count; uint...
{ "alphanum_fraction": 0.7870036101, "avg_line_length": 25.1818181818, "ext": "h", "hexsha": "611d35da6d543826bf1115c74fe0d197adddcdc3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" void cblas_srotg (float *a, float *b, float *c, float *s) { #define BASE float #include "source_rotg.h" #undef BASE }
{ "alphanum_fraction": 0.7015706806, "avg_line_length": 15.9166666667, "ext": "c", "hexsha": "65b279641e95e91464f5f8681aba86b96f2cd0d1", "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...
/* movstat/movqqr.c * * Compute moving q-quantile range * * 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 ...
{ "alphanum_fraction": 0.6692268305, "avg_line_length": 31, "ext": "c", "hexsha": "8d2c2ec92bec69a981e6b3c5c72735a070a6d4d2", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z", ...
/* * Calculation of Integral */ #include <stdio.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_monte_vegas.h> #include "timer.h" double g (double *t, size_t dim, void *params); int main (void) { double res, err; double di...
{ "alphanum_fraction": 0.4986269125, "avg_line_length": 21.7863247863, "ext": "c", "hexsha": "b70a80e9238f0a2dc6257ed2de81c5f5a67c132d", "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 <stdio.h> #include <stdlib.h> #include <papi.h> #ifndef MATLEN #define MATLEN 128 #endif #ifndef QUIET #define PRINT( exp ) exp #else #define PRINT( exp ) #endif int main( ) { int EventSet = PAPI_NULL; long long values[ 4 ], s, e; int retval; double *a, *b, *c; /* INICIALIZAÇÃ...
{ "alphanum_fraction": 0.5700996678, "avg_line_length": 27.8703703704, "ext": "c", "hexsha": "6c5235fd137bea3d24578d9e2e599545c8df1ae5", "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 "/home/lillian/work/install_fpdebug/valgrind-3.7.0/fpdebug/fpdebug.h" #include <gsl/gsl_sf.h> int main(int argc, const char * argv[]) { unsigned long int hexdouble; double a; sscanf(argv[1], "%lX", &hexdouble); a = *(double*)(&hexdouble); double result = gsl_sf_Si(a); //p...
{ "alphanum_fraction": 0.7035175879, "avg_line_length": 28.4285714286, "ext": "c", "hexsha": "b134ae9b55c2204bbf4041034ba13a8c5deb739c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <gsl/gsl> #include <memory> struct SpeexResamplerState_; typedef struct SpeexResamplerState_ SpeexResamplerState; namespace Halley { struct AudioResamplerResult { size_t nRead; size_t nWritten; }; class AudioResampler { public: AudioResampler(int from, int to, int nChannels, float ...
{ "alphanum_fraction": 0.7678756477, "avg_line_length": 27.5714285714, "ext": "h", "hexsha": "341b1cfdbb09eae11d584b2bf8f238c96f783c47", "lang": "C", "max_forks_count": 193, "max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-23T06:0...
#include <assert.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/time.h> #include "../src/fastlambertw.h" #include "testmacros.h" #include "../src/config.h" #ifdef HAVE_GSL_GSL_SF_LAMBERT_H #include <gsl/gsl_sf_lambert.h> #endif static inline float lambertwrange (void)...
{ "alphanum_fraction": 0.6498269896, "avg_line_length": 24.7008547009, "ext": "c", "hexsha": "5a4861846f0e0c3d5e9ed90f8afb03f52c7d52fd", "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 /// /// @brief This file contains math functions that are shared among all /// components of the library. /// /// @author Mirko Myllykoski (mirkom@cs.umu.se), Umeå University /// /// @internal LICENSE /// /// Copyright (c) 2019-2020, Umeå Universitet /// /// Redistribution and use in source and binary for...
{ "alphanum_fraction": 0.6115307538, "avg_line_length": 33.0969387755, "ext": "c", "hexsha": "16b4ee0ffbd54ced451064ad875366d3bd32e65e", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-04-14T09:41:23.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-30T12:14:...
#ifndef DEGNOME #define DEGNOME #include <stdlib.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> //Degnomedia Rogerus typedef struct Degnome Degnome; struct Degnome { double* dna_array; double hat_size; }; Degnome* Degnome_new(void); void Degnome_mate(Degnome* location, Degnome* p1, Degno...
{ "alphanum_fraction": 0.7311827957, "avg_line_length": 20.2173913043, "ext": "h", "hexsha": "4e53e2a7e21ead866a8be37683f675daf73e8294", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-27T23:28:50.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-27T23:28:...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for the initialization of the instrumental noise for LIGO/VIRGO detectors. * * */ #ifndef _LLVNOISE_H #define _LLVNOISE_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #...
{ "alphanum_fraction": 0.6930469192, "avg_line_length": 25.2714285714, "ext": "h", "hexsha": "e1bbd48ba99036be2c54526496f793bfdbf6da0f", "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:...
/*GENLIB library routines */ /* Compile progs: gcc -O3 -o prog prog.c ~/genlib.c -lm -lgsl -lgslcblas */ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #define pi 3.14159265358979 #define infinity 999999 #define true 1 #define false 0...
{ "alphanum_fraction": 0.4868127643, "avg_line_length": 22.6567944251, "ext": "c", "hexsha": "dc91be14d9274a12590135953b856d09627d866b", "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":...
/* block/gsl_block_uint.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 Licen...
{ "alphanum_fraction": 0.7652336449, "avg_line_length": 35.1973684211, "ext": "h", "hexsha": "f125a9903f00fb7fa5e849805282949f60a286f6", "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 <time.h> #include <math.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> double calculateIntegralValue(int sampleCount) { int correctSamples = 0; srand(time...
{ "alphanum_fraction": 0.5716666667, "avg_line_length": 25.7142857143, "ext": "c", "hexsha": "4e19fb38a31877c012a7dd55b13eadbb5532f3b7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <gsl/gsl> #include <mutex> #include <condition_variable> #include <arcana/threading/affinity.h> namespace Babylon { class SafeTimespanGuarantor { public: SafeTimespanGuarantor(); void BeginSafeTimespan(); void EndSafeTimespan(); using SafetyGuarant...
{ "alphanum_fraction": 0.644338118, "avg_line_length": 20.2258064516, "ext": "h", "hexsha": "8db71f844291454019e93e01aa338fecb86ed997", "lang": "C", "max_forks_count": 114, "max_forks_repo_forks_event_max_datetime": "2022-03-11T21:13:27.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-10T18:07...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <dirent.h> #include "hdf5.h" #include <math.h> #include <time.h> #include <gsl/gsl_math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_vector.h> #include <gs...
{ "alphanum_fraction": 0.559830714, "avg_line_length": 42.9611973392, "ext": "c", "hexsha": "8a3c6a30178cf630efc32daadbe7129ce90a7aac", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-20T09:12:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-09T16:11:5...
#include <stdio.h> #include <stdlib.h> #include <cblas.h> #include <clBlas.h> void cblas_dgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const int M, const int N, const int K, const double alpha, const double *A, const int lda, const double *B,...
{ "alphanum_fraction": 0.6621196222, "avg_line_length": 30.496, "ext": "c", "hexsha": "44e1ad86b8bcd47d2ebf5ef553033c9d0a39ae8c", "lang": "C", "max_forks_count": 154, "max_forks_repo_forks_event_max_datetime": "2021-09-07T04:58:57.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T22:48:26.00...
/** * @copyright (c) 2017 King Abdullah University of Science and Technology (KAUST). * All rights reserved. **/ /** * @file codelet_zgytlr.c * * HiCMA codelets kernel * HiCMA is a software package provided by King Abdullah University of Science and Technology (KAUST) * * @version 0.1.0 ...
{ "alphanum_fraction": 0.5300337658, "avg_line_length": 33.7957957958, "ext": "c", "hexsha": "4dac56d04bda973f700a8c979d77afc1d0c70ce1", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-03T22:26:56.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-21T07:35:...
#ifndef IAIF_H #define IAIF_H #include <utility> #include <tuple> #include <gsl/gsl_vector.h> #include "constants.h" #include "lpc.h" #include "filter.h" void computeIAIF(gsl_vector *g, gsl_vector *dg, gsl_vector *x); #endif // IAIF_H
{ "alphanum_fraction": 0.7178423237, "avg_line_length": 14.1764705882, "ext": "h", "hexsha": "dc65fd75ab1434aa53b8c1310c90298d766465c0", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:...
#include <bindings.cmacros.h> #include <gsl/gsl_monte_plain.h> #include <gsl/gsl_monte_miser.h> #include <gsl/gsl_monte_vegas.h> BC_INLINE2(GSL_MONTE_FN_EVAL,gsl_monte_function*,double*,double)
{ "alphanum_fraction": 0.8102564103, "avg_line_length": 27.8571428571, "ext": "c", "hexsha": "17f650b95d6f5ca113f0d5e33164357b6396423e", "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...
/** * * @file core_dssssm.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 Hatem Ltaief * @author Mathieu Faverge * @author Jakub Kurzak * @date 2010-11-15 * @generated d ...
{ "alphanum_fraction": 0.4929155857, "avg_line_length": 27.2336956522, "ext": "c", "hexsha": "367b1c5015a39e04207a6c35177712993ad2a3c5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright [2017-2020] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
{ "alphanum_fraction": 0.6320072333, "avg_line_length": 29.8918918919, "ext": "h", "hexsha": "ad531007a56bf55c8f5dd4f152058a7aea202844", "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 "parmt_utils.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "iscl/array/array.h" /*! * @brief The iloc'th location and iobs'th observation this sets the forward * modeling matrix G s.t. Gm = u * * @param[in] iobs o...
{ "alphanum_fraction": 0.5480662983, "avg_line_length": 35.2597402597, "ext": "c", "hexsha": "45d172d47bb96d31f1eb0aa973022b9dababaf2e", "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":...
/* * Tema 2 ASC * 2019 Spring * Catalin Olaru / Vlad Spoiala */ #include <cblas.h> #include "utils.h" /* * Add your BLAS implementation here */ double* my_solver(int N, double *A, double *B) { double *first_multiplication = malloc(N * N * sizeof(double)); double *second_multiplication = malloc(N * N * sizeof(...
{ "alphanum_fraction": 0.6227897839, "avg_line_length": 19.7669902913, "ext": "c", "hexsha": "c477747b1d62ee85f0cf00516e8bf22e715d3aa8", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_statistics_double.h> #include <math.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_voxel_linked_list.h" #include "tz_stack_sampling.h" #include "tz_voxel_graphics.h" #include "tz_stack_code.h" #inclu...
{ "alphanum_fraction": 0.6528872239, "avg_line_length": 25.6324503311, "ext": "c", "hexsha": "45e514888f44841025665ab0d18be8585309d454", "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.5958974359, "avg_line_length": 40.4377880184, "ext": "c", "hexsha": "b6e20293ea5f5f10acbb5faccd2c9aae39a54d3b", "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":...
static char help[] = "Solves 2D advection-diffusion problems using FD discretization,\n" "structured-grid (DMDA), and -snes_fd_color. Option prefix -bth_.\n" "Equation:\n" " - eps Laplacian u + Div (a(x,y) u) = g(x,y),\n" "where the (vector) wind a(x,y) and (scalar) source g(x,y) are given smooth\n" "functions. Th...
{ "alphanum_fraction": 0.5389850396, "avg_line_length": 43.9304123711, "ext": "c", "hexsha": "472a49c0ba3a44f13d9b3ab4df30d7ff27b4ab09", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26...
/*! \file GMatrix.h * \brief this file defines the \ref Math::GMatrix class that is part of the Math namespace */ #ifndef GMATRIX_H #define GMATRIX_H #include <iostream> #include <complex> #include <cstdlib> #include <cstdio> #include <cmath> #include <sstream> #include <stdexcept> #include <Precision.h> #include ...
{ "alphanum_fraction": 0.4745899624, "avg_line_length": 37.2683246073, "ext": "h", "hexsha": "e24ad269093c305021f9a26e8e25043187e853fb", "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 modulated.h * @brief Cosine modulated analysis and synthesis filter banks. * @author John McDonough and Kenichi Kumatani */ #ifndef MODULATED_H #define MODULATED_H #include <stdio.h> #include <assert.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.6997362706, "avg_line_length": 28.0871459695, "ext": "h", "hexsha": "6ef1d8d1b08434d857cda35c2538957c585330ff", "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...
/** @file * Based on the paper: * Quintana, F.A. (1998) ``Nonparametric Bayesian analysis for assessing homogeneity in $ k\times l$ * contingency tables with fixed right margin totals''. * Also as Technical Report PUC/FM-96/7. Journal of the American Statistical Association, 93(443), 1140-1149. * Available as comp...
{ "alphanum_fraction": 0.693687231, "avg_line_length": 21.2015209125, "ext": "h", "hexsha": "99f1c77f03a8412f4cef7aa86e591c708c4e7bbc", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * Copyright (c) 2011-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 <lapacke.h> #include "dpl...
{ "alphanum_fraction": 0.4890510949, "avg_line_length": 36.4596774194, "ext": "c", "hexsha": "8a4286ada2062323c1b73c6aa2250a096d86585e", "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 ComplexMatrix_h #define ComplexMatrix_h #include <cmath> #include <complex> #include <iostream> #include <fstream> #include <iomanip> #ifndef NOBLAS extern "C" { #include <cblas.h> } // #ifdef SINGLEPRECISION // #define phi_hemm cblas_chemm // #define phi_symm cblas_csymm //...
{ "alphanum_fraction": 0.6589456869, "avg_line_length": 31.041322314, "ext": "h", "hexsha": "6c8222ec43b3ad952620d4af3ee5dc1b20588b45", "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_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "tests.h" void test_hpr (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; int N = 2; float alpha = 0.1f; float Ap[] = { -0.273f, -0.499f, -0.305f, -...
{ "alphanum_fraction": 0.5260780287, "avg_line_length": 28.3139534884, "ext": "c", "hexsha": "385f8d8ac6b2a5c68e6be058a8996918a6e7f978", "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:...
/** * @file videofeature.h * @brief Audio-visual speech recognition front end. * @author Munir Georges, John McDonough, Friedrich Faubel */ #include "btk.h" #ifdef AVFORMAT #ifdef OPENCV #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_blas.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.6704421512, "avg_line_length": 31.2424639581, "ext": "h", "hexsha": "1b4c71804b99c55c96feb8445deca66f01a5b785", "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...
#ifndef wf_H_INCLUDED #define wf_H_INCLUDED //#define DEBUG #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_integration.h> #include "alphas.h" //* // Global variables for UGD for nucleus 1 and 2 //* //run at fixed x //#define fixedx (0.001) ...
{ "alphanum_fraction": 0.6983606557, "avg_line_length": 23.0188679245, "ext": "h", "hexsha": "608456801e801320c1fc5fc6549e167001af26d3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (c) 2011-2018 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * * @precisions normal z -> s d c * */ #include "dplasma_cores.h" #include "dplasma_zcores.h" #if defined(PARSEC_HAVE_STRING_H) ...
{ "alphanum_fraction": 0.4496422675, "avg_line_length": 35.5540679712, "ext": "c", "hexsha": "8d54f6307f2d8a35c90f00f37127aefb294040bc", "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":...
/* ** Various utilities for LISA algorithm ** ** G.Lohmann, Jan 2017 */ #include <viaio/VImage.h> #include <viaio/Vlib.h> #include <viaio/mu.h> #include <viaio/option.h> #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_histogram.h> #define SQR...
{ "alphanum_fraction": 0.5610312571, "avg_line_length": 20.198156682, "ext": "c", "hexsha": "eeaa7beeecf34feed9386aaaf7a00d81287c1c9d", "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...
#include <gsl/gsl_sf_airy.h> #include <gsl/gsl_errno.h> /* function names generated by removing "gsl_sf" from the beginning of the name. Thus gsl_sf_airy_Ai goes to airy_Ai. */ static int sf_mode[] = { GSL_PREC_DOUBLE, GSL_PREC_SINGLE, GSL_PREC_APPROX } ; void airy_Ai_e(double *x, int *len, int *mode, double *v...
{ "alphanum_fraction": 0.6221642764, "avg_line_length": 22.6923076923, "ext": "c", "hexsha": "b154d1fae4d04861ece167361ddc6c262843b7ef", "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 __calcAinvb__ #define __calcAinvb__ #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix_double.h> //#include <gsl/gsl_multimin.h> #include <gsl/gsl_multiroots.h> //#include "my_misc.c" //#define GSL 1 #define GSL 1 int GSLtag; void least_gsl_error_handler( const char * reason, const char * file, ...
{ "alphanum_fraction": 0.5660073597, "avg_line_length": 25.4269005848, "ext": "c", "hexsha": "e718351a52a0930fcfc639379ea37e0ccc3760fa", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-12-01T00:54:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-01T00:54:...
/** @file */ #ifndef __CCL_F3D_H_INCLUDED__ #define __CCL_F3D_H_INCLUDED__ #include <gsl/gsl_spline.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> CCL_BEGIN_DECLS /** * Struct for accelerated linear interpolation. */ typedef struct { int ia_last; /**< Last index found */ double amin; /**< Mini...
{ "alphanum_fraction": 0.7387948946, "avg_line_length": 49.9111111111, "ext": "h", "hexsha": "17d5457ec26955a63fc1f9c5b3eebbf0fd723f35", "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 <errno.h> #include <getopt.h> #include <gsl/gsl_spmatrix.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> static int verbose = 0; static int help = 0; int test (size_t m, size_t n, size_t r, size_t c, size_t nnz, const size_t *ind, const size_t *ptr, const double *data, ...
{ "alphanum_fraction": 0.5197930142, "avg_line_length": 23.1437125749, "ext": "c", "hexsha": "7ec682ea41217f7f86855e68a50b53c68235c3a5", "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 <xpa.h> #include <sys/time.h> #include <string.h> #include <inttypes.h> #define NXPA 10 typedef struct _Box { double x; double y; double f...
{ "alphanum_fraction": 0.5892892431, "avg_line_length": 26.6801405975, "ext": "c", "hexsha": "28638d9912e9714201c79a140ba0f31603bba87e", "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:...
#ifndef QUAC_P_H_ #define QUAC_P_H_ #include <petsc.h> extern int petsc_initialized; PetscLogEvent add_lin_event,add_to_ham_event,add_lin_recovery_event,add_encoded_gate_to_circuit_event; PetscLogEvent _qc_event_function_event,_qc_postevent_function_event,_apply_gate_event; PetscClassId quac_class_id; PetscLogStage pr...
{ "alphanum_fraction": 0.897574124, "avg_line_length": 37.1, "ext": "h", "hexsha": "a678252d48f1656044a75d86ac7cba3c0ab5fd83", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-02-24T20:07:22.000Z", "max_forks_repo_forks_event_min_datetime": "2017-03-13T15:03:11.000Z",...
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
{ "alphanum_fraction": 0.6819413649, "avg_line_length": 41.4183673469, "ext": "h", "hexsha": "98efb4f714ed29c6b3acc25d99be58ab26cad327", "lang": "C", "max_forks_count": 275, "max_forks_repo_forks_event_max_datetime": "2022-03-31T13:06:19.000Z", "max_forks_repo_forks_event_min_datetime": "2016-06-21T20:2...
// // smctc.h // // The principle header file for the SMC template class. // // Copyright Adam Johansen, 2008 // // // This file is part of SMCTC. // // SMCTC 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 S...
{ "alphanum_fraction": 0.7285616282, "avg_line_length": 35.8442622951, "ext": "h", "hexsha": "ce04c873d81f1bc15df8c662831b05ca3654eebe", "lang": "C", "max_forks_count": 15, "max_forks_repo_forks_event_max_datetime": "2021-10-08T13:20:35.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-26T22:34...
/** * * @file qwrapper_slantr.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mathieu Faverge * @date 2010-11-15 * @generated s Tue Jan 7 11:44:57 2014 * **/ #inc...
{ "alphanum_fraction": 0.4734371666, "avg_line_length": 33.7194244604, "ext": "c", "hexsha": "a19c684291aee8457dcdc9fd062ef24b0caa8f85", "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":...
/* gsl_spmatrix.h * * Copyright (C) 2012-2014 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.6858367566, "avg_line_length": 31.1055555556, "ext": "h", "hexsha": "8e68256f9dfc068ce62af680b6410897483a7d2b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-13T05:31:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-20T16:50:...
/** * * @file example_dpotrf.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @brief Example of Cholesky factorization * * @version 2.6.0 * @author Bilel Hadri * @date 2010-11-15 * @generated d Tu...
{ "alphanum_fraction": 0.5934087363, "avg_line_length": 24.3033175355, "ext": "c", "hexsha": "7ef60d589fbcb28b0feb38048b9936c3ac5aaad6", "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":...
/* GENETIC - A simple genetic algorithm. Copyright 2014, Javier Burguete Tolosa. 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 condi...
{ "alphanum_fraction": 0.6356606777, "avg_line_length": 34.3515625, "ext": "c", "hexsha": "31219bddcc38257c8071ecbf403712d18a715a8f", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2017-05-22T08:54:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-22T08:54:08....
#ifndef CWANNIER_ECACHE_H #define CWANNIER_ECACHE_H #include <stdlib.h> #include <stdbool.h> #include <gsl/gsl_vector.h> #include "input.h" typedef struct { int na; int nb; int nc; int num_bands; int G_order[3]; int G_neg[3]; InputFn Efn; bool use_cache; gsl_vector **energies; } En...
{ "alphanum_fraction": 0.7176128093, "avg_line_length": 21.46875, "ext": "h", "hexsha": "73492c0d38337da7d2e6ec29fb04531a3b7ba52b", "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": "1a7...