Search is not available for this dataset
text
string
meta
dict
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <Python.h> #include <numpy/arrayobject.h> #include <math.h> #ifdef __INTEL_COMPILER #include <mkl_cblas.h> #else #include <cblas.h> #define kmp_set_blocktime(k) #endif static inline float minf (float a, float b) { return a < b ? a : b; } static inline float...
{ "alphanum_fraction": 0.5689828802, "avg_line_length": 28.7826086957, "ext": "c", "hexsha": "dd2656065d494b60a13a0697e645be124e8406b0", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-04-30T07:30:11.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-20T14:21:...
#include "stdio.h" #include "gsl/gsl_integration.h" #include "gsl/gsl_errno.h" //include "limber.h" #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_monte_vegas.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_sf_bessel.h> // The integra...
{ "alphanum_fraction": 0.756568779, "avg_line_length": 34.0526315789, "ext": "h", "hexsha": "3590a1ed3625484bc3d33c9c60c659ed4f857f7c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:4...
#include <stdio.h> #include <math.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_randist.h> #include "stats.h" double ttest_equalvar(const double *data1, int n1, const double *data2, int n2) { double mean1, mean2, var1, var2, num, sp, denom, t, dof, p; m...
{ "alphanum_fraction": 0.5708935259, "avg_line_length": 29.6666666667, "ext": "c", "hexsha": "64ede97a8b59ee9d71617b4d68f6804fd999d90c", "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/wishart.c * * Copyright (C) 2017 Timothée Flutre * * 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.5782724057, "avg_line_length": 30.6968325792, "ext": "c", "hexsha": "70facdf4b951fc5bd5e1c241cdaa12d805f38be7", "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:...
static const char help[] = "Solves doubly-nonlinear obstacle problems in 2D. Option prefix dnl_.\n" "The PDE (interior condition) of such problems has solution u(x,y):\n" " - div (u^q |grad(u+b)|^{p-2} grad(u+b)) = f\n" "subject to a obstacle constraint\n" " u >= psi\n" "FIXME Includes the steady-state, no...
{ "alphanum_fraction": 0.5695725707, "avg_line_length": 41.164556962, "ext": "c", "hexsha": "be1ff68643a943e795c9722f978cfa6fcdeca696", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_rng.h> #include <math.h> #include <time.h> #include <stdbool.h> #define RND gsl_rng_uniform(r) double gsl_ran_gaussian(const gsl_rng *r, double sigma); double gsl_ran_gaussian_pdf(double x, double sigma); double gsl_ran_beta_pdf(double x, double a, d...
{ "alphanum_fraction": 0.6190266137, "avg_line_length": 24.1170212766, "ext": "h", "hexsha": "2bdf4da9db9a405d97ca380541c34390613b2f50", "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 "BaseFeatureMatcher.h" #include "OnlineBow.h" #include <gsl\gsl> #include <unordered_map> namespace mage { class Keyframe; class OnlineBowFeatureMatcher : public BaseFeatureMatcher { public: Onl...
{ "alphanum_fraction": 0.7069555302, "avg_line_length": 28.2903225806, "ext": "h", "hexsha": "d6a53ab9a6cc761cddabe95557a3938c9088d405", "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 __SPATIAL_STATISTICS_H__ #define __SPATIAL_STATISTICS_H__ #include <cmath> #include <gsl/gsl_sf_bessel.h> extern "C" double gsl_sf_gamma(const double); extern "C" double gsl_sf_hyperg_1F1(double, double, double); template <typename T> struct Spatial_Statistics { private: T phi, nu; T con; int d...
{ "alphanum_fraction": 0.4823977165, "avg_line_length": 22.847826087, "ext": "h", "hexsha": "7a4740ba493ab46fb1d67b8a770d04220fe73566", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-15T10:28:30.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-25T03:44:1...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> // high level interface to blas #include <gsl/gsl_linalg.h> // lapack void print_matrix(gsl_matrix* m, int nx, int ny); int main (void) { int i, j; int signum = 0; double determinant_m = 0.0; gsl_permuta...
{ "alphanum_fraction": 0.6860522425, "avg_line_length": 24.743902439, "ext": "c", "hexsha": "e96cfcdf5d65f3235d99871d43cc6266920fb6ba", "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...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> // convex hull is obtained as cvh(n_bin[0],...,n_bin[end]) // inputs are y = Ef(x). x:n_data by 4, y:n_data by 1 void obtain_convex_h_Nd(int n_data, double *ef2cvh, int *x, doubl...
{ "alphanum_fraction": 0.4643705463, "avg_line_length": 29.0344827586, "ext": "c", "hexsha": "918e41ec94269ba67768c86534b181b5043ee65f", "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":...
/* err/gsl_errno.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, or (at *...
{ "alphanum_fraction": 0.6737958909, "avg_line_length": 38.3096774194, "ext": "h", "hexsha": "d0be1b9bbc7ccd29aea8b8d7d724e02d465284e9", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2021-06-10T03:09:53.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-29T20:31...
/* * vbHmmGauss.c * Model-specific core functions for VB-HMM-GAUSS. * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2015 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Ver. 1.1.0 * Last modified on 2016.11.04 */ #include "...
{ "alphanum_fraction": 0.4672954743, "avg_line_length": 30.1510548523, "ext": "c", "hexsha": "06e08987e96ce357750f22cea0f20c4be2c015ce", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * File: trfit_utils.h * */ #ifndef _TRFIT_UTILS_H #define _TRFIT_UTILS_H #include "aper_conf.h" #include <gsl/gsl_multifit_nlin.h> #define N_COLUMNS_FIT 6 #define N_KAPPASIG_ITER 3 #define N_KAPPASIG_SIG 3.0 #define N_ITER_IPC 5 #define KAPPA_IPC 3.0 // the ipc fit to the // data must be lower than this num...
{ "alphanum_fraction": 0.7594585213, "avg_line_length": 22.1615384615, "ext": "h", "hexsha": "7a887d890e9f94ed0687b91888bcbb378716a5fe", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright 2017 International Business Machines Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
{ "alphanum_fraction": 0.6904231626, "avg_line_length": 29.2826086957, "ext": "h", "hexsha": "502e7c7612d85078b27a949ca7b484ab11e0560e", "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":...
/* * harvest.c -- compute solutions of harvest equation * * (c) 2016 Prof Dr Andreas Mueller, Hochschule Rapperswil */ #include <stdlib.h> #include <stdio.h> #define __USE_XOPEN #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> typedef struct param_s { double a; double h; } param_t; para...
{ "alphanum_fraction": 0.6303571429, "avg_line_length": 29.8666666667, "ext": "c", "hexsha": "72e00f90f8b2a566deee933786d3e7551a14d4dc", "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":...
/* * Dsp.c * Hamilton Kibbe * Copyright 2013 Hamilton Kibbe */ #include "Dsp.h" #include "Utilities.h" #include <string.h> #include <float.h> #include <math.h> #ifdef __APPLE__ #include <Accelerate/Accelerate.h> #elif defined(USE_BLAS) #include <cblas.h> #endif /*************************************************...
{ "alphanum_fraction": 0.4685538344, "avg_line_length": 24.8352104327, "ext": "c", "hexsha": "13355e90d2b15d9bebe36567102b568c05c8e814", "lang": "C", "max_forks_count": 15, "max_forks_repo_forks_event_max_datetime": "2021-01-07T15:46:31.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-13T15:17...
/// @file /// @brief shared pointers to gsl types /// @details We use gsl for linear algebra routines. However, the interface is C-like and is based on /// raw pointers. The file contains code to leverage on boost shared pointer and use it with gsl types /// such as vector and matrix. /// /// @copyright (c) 2008 CSIRO...
{ "alphanum_fraction": 0.7391922062, "avg_line_length": 37.3257575758, "ext": "h", "hexsha": "8e70ef5aa18a44f03652c4626e89ec47b804d437", "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":...
/* * VGMTrans (c) 2002-2019 * Licensed under the zlib license, * refer to the included LICENSE.txt file */ #pragma once #include <string> #include <sstream> #include <cassert> #include <cmath> #include <cstring> #include <iomanip> #include <climits> #include <algorithm> #include <vector> #include <gsl-lite.hpp> ...
{ "alphanum_fraction": 0.6951456311, "avg_line_length": 22.3913043478, "ext": "h", "hexsha": "051df407ac6c24a278726803bd92e8a2f2eb2c12", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2017-10-19T16:40:12.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-19T16:40:...
/// /// @file /// /// @author Angelika Schwarz (angies@cs.umu.se), Umeå University /// /// @internal LICENSE /// /// Copyright (c) 2019-2020, Umeå Universitet /// /// Redistribution and use in source and binary forms, with or without /// modification, are permitted provided that the following conditions are met: /// //...
{ "alphanum_fraction": 0.5146150766, "avg_line_length": 38.6094385679, "ext": "c", "hexsha": "b968012e9057e7c9963bb5a30a84c7ce785c3932", "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:...
#if !defined(ISPLAINASCII_H_INCLUDED) #define ISPLAINASCII_H_INCLUDED #include "FileEnumerator.h" #include "Utils.h" #include <filesystem> #include <gsl/gsl> #include <iosfwd> #include <string> class IsPlainAscii { public: static int usage(::std::ostream& strm, const ::std::string& progName, const char* pMsg); ...
{ "alphanum_fraction": 0.7465346535, "avg_line_length": 25.25, "ext": "h", "hexsha": "6aac436b4e23e8fb7467ca16705ff079f47f2c62", "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": "bd20d5...
// // emu.c // Created by Earl Lawrence on 11/10/16. // Modified E Chisari 05/10/17 for CCL // For details on the license, see ../LICENSE_COSMICEMU // in this repository. // #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #inclu...
{ "alphanum_fraction": 0.4599738194, "avg_line_length": 31.034375, "ext": "c", "hexsha": "3a750c0df156b2bb45ae5d650f58cad86edc1776", "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": "1c...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <stdarg.h> #include <gbpLib.h> #include <gbpMath.h> #include <gbpCosmo_mass_functions.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> // Scaled mass functions double scaled_mass_function(double sigma, int mode,...
{ "alphanum_fraction": 0.5372862859, "avg_line_length": 38.1805555556, "ext": "c", "hexsha": "abff6cd7c090aa0c0bc6478415e2e62ca405adb1", "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:...
#ifndef UTIL_H #define UTIL_H #include <vector> #include <gsl/gsl_matrix.h> class Matrices_keeper { private: std::vector<gsl_matrix*> matrices; public: Matrices_keeper(); Matrices_keeper(const Matrices_keeper& keeper); Matrices_keeper& operator=(const Matrices_keeper& keeper)...
{ "alphanum_fraction": 0.6718213058, "avg_line_length": 19.4, "ext": "h", "hexsha": "8deab7b7dbcf3171c220470625f8a6a297713129", "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": "c613ccb...
/* rng/tt.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 op...
{ "alphanum_fraction": 0.6509867532, "avg_line_length": 25.6875, "ext": "c", "hexsha": "8e9e040955b4eaee37fd1af6056d835e769cb40d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000...
#include <stdio.h> #include <gsl/gsl_blas.h> #include "../../include/timing.h" double* default_matrix; double** results; int max(int a, int b){ if(a > b) return a; return b; } void save_res_to_csv(double** results, int max_size, int stride, int trials, char* file_name){ FILE* csv = fopen(file_name, "w"); if(...
{ "alphanum_fraction": 0.6460137686, "avg_line_length": 27.2909090909, "ext": "c", "hexsha": "034ea07083da6083ec59579cbea6c088a8c499a3", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-05-29T10:19:18.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-10T09:35:...
/* histogram/ntuple.h * * Copyright (C) 2000 Simone Piccardi * * 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.721265705, "avg_line_length": 25.8915662651, "ext": "h", "hexsha": "14789a4c85e3193746c6433c66148302a50c97e0", "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:...
/* randist/binomial.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 ...
{ "alphanum_fraction": 0.5867768595, "avg_line_length": 22, "ext": "c", "hexsha": "23dea82af3b18c839b7327bedd7892e9c1dfb8a3", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z", ...
/** * * @file qwrapper_dlaset2.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 Hatem Ltaief * @date 2010-11-15 * @generated d Tue Jan 7 11:44:59 2014 * **/ #inclu...
{ "alphanum_fraction": 0.5204216074, "avg_line_length": 27.6, "ext": "c", "hexsha": "e168d5899b17226a649ebabb251435bf422d7343", "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": "bcc99c1...
// // syr2k.h // Linear Algebra Template Library // // Created by Rodney James on 1/4/12. // Copyright (c) 2012 University of Colorado Denver. All rights reserved. // #ifndef _syr2k_h #define _syr2k_h /// @file syr2k.h Performs multiplication of two matrices resulting in a symmetric matrix. #include <cctype> #in...
{ "alphanum_fraction": 0.423628079, "avg_line_length": 28.3046728972, "ext": "h", "hexsha": "5f64ee3a30db7a218a323d4a729baf841266e0dd", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-09T23:18:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-01T06:46:3...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /* Contains the PERDIF program that implements personalized diffusions for recommendations. Code by: Dimitris Berberidis and Athanasios N. Nikolakopoulos University of Minnesota ...
{ "alphanum_fraction": 0.5536852701, "avg_line_length": 27.6383307573, "ext": "c", "hexsha": "5b37b7a5810aabc17921e1caa2a9ac0f4d82982e", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-05-14T18:50:25.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-16T15:02:...
#ifndef SMSVM_E_H #define SMSVM_E_H #include "Matrix.h" #include "LADMM.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 solves ...
{ "alphanum_fraction": 0.5856918239, "avg_line_length": 17.306122449, "ext": "h", "hexsha": "3ea4d13f6cfaf3610ac68e9b352796baa84ab552", "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:2...
/* matrix/gsl_matrix_int.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 Lice...
{ "alphanum_fraction": 0.6414520895, "avg_line_length": 33.7464387464, "ext": "h", "hexsha": "a9b04c1b3e2df956b4b0f019b163f962b5384755", "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...
/* 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.6311589174, "avg_line_length": 32.75, "ext": "c", "hexsha": "f2597b41f268615c9c37c868d98d5c3c15399825", "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": "54132a...
/* Copyright [2017-2021] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
{ "alphanum_fraction": 0.61394461, "avg_line_length": 32.670678337, "ext": "h", "hexsha": "aeb8946a39af9bc2a673d371470c2a226a1a4964", "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": "f...
#ifndef CHEVALIER_H #define CHEVALIER_H #include <math.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_multiroots.h> #define parsec_in_cm 3.085678e+18 //parsec in cm #define parsec_in_km 3.085678e+13 //parsec in km #define msun_in_g 1.988920e+33 //msun in g #define year_in_sec 3.155760e+07 //year in s typedef s...
{ "alphanum_fraction": 0.5793735068, "avg_line_length": 34.8796296296, "ext": "h", "hexsha": "0beb79112041ef564d4ac2a3b38a1393bd1d2208", "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":...
/* * SPDX-License-Identifier: BSD-3-Clause * * example_02-StructOfArrays-Naive-Omp.c : * Example of SPH Density Calculation using a * naive implementation of the main density loop, * no neighbours earch, and Struct of Arrays (SoA) * data layout and OpenMP parallelization. * * (C) Copy...
{ "alphanum_fraction": 0.5669945564, "avg_line_length": 41.3873517787, "ext": "c", "hexsha": "37bd96a1684f5e29d6bf6c3bd57f3d6f3498370f", "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_dgeqp3_tntpiv.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mathieu Faverge * @date 2010-11-15 * @generated d Tue Jan 7 11:44:50 2014 * **/ #include...
{ "alphanum_fraction": 0.5202666667, "avg_line_length": 32.0512820513, "ext": "c", "hexsha": "12f4778016d8b1ea991b2e948ed0ba905d0c3ac6", "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> void main() { int i=0; double A[6] = {1.0,2.0,1.0,-3.0,4.0,-1.0}; double B[6] = {1.0,2.0,1.0,-3.0,4.0,-1.0}; double C[9] = {.5,.5,.5,.5,.5,.5,.5,.5,.5}; cblas_dgemm(CblasColMajor, CblasNoTrans, CblasTrans,3,3,2,1,A, 3, B, 3,2,C,3); for(i=0; i<9; i++) printf("%lf "...
{ "alphanum_fraction": 0.5129682997, "avg_line_length": 21.6875, "ext": "c", "hexsha": "1fb58a583311d26c935283e82c49e2fcf346ed5b", "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": "eddd...
// // Created by Jarlene on 2017/7/21. // #ifndef MATRIX_MATH_H #define MATRIX_MATH_H #include <math.h> #include <assert.h> #include <functional> #include <vector> #include <random> #include <sys/time.h> #include "Logger.h" #include "Eigen.h" #ifdef USE_MP #include <omp.h> #endif #ifdef USE_MKL #ifndef BLAS #define...
{ "alphanum_fraction": 0.4576117752, "avg_line_length": 32.9199779249, "ext": "h", "hexsha": "a82f38e2783791b0edde923794933b65b627af2a", "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 __CNN_ACTIV_H__ #define __CNN_ACTIV_H__ #include <cblas.h> #include "cnn.h" #include "cnn_builtin_math.h" #include "cnn_macro.h" #include "cnn_types.h" #ifdef CNN_WITH_CUDA #include <cublas_v2.h> #include <cuda_runtime.h> #include "cnn_builtin_math_cu.h" #include "cnn_init.h" #endif static inline void cnn_...
{ "alphanum_fraction": 0.5038293217, "avg_line_length": 31.5172413793, "ext": "h", "hexsha": "d701eb515bef0614367b5809f419fdfce1686932", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
{ "alphanum_fraction": 0.5338732988, "avg_line_length": 43.0765239948, "ext": "h", "hexsha": "9cc4fe91e506c31b1981ceba4b06b414fb9e7e34", "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 <config.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sum.h> gsl_sum_levin_utrunc_workspace * gsl_sum_levin_utrunc_alloc (size_t n) { gsl_sum_levin_utrunc_workspace * w; if (n == 0) { GSL_ERROR_VAL ("length n must be positive integer", GSL_EDOM, 0); } w = (gs...
{ "alphanum_fraction": 0.618729097, "avg_line_length": 21.6666666667, "ext": "c", "hexsha": "81ddf67fecf0c6650801da7f68e2c9c3b91eae9f", "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:...
/* blas/blas.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 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, or...
{ "alphanum_fraction": 0.5692827638, "avg_line_length": 31.5147928994, "ext": "c", "hexsha": "1d9a57c6233901507687aef73794171978c6eec4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <algorithm> #include <cstdio> #include <random> #include <gsl/gsl_multimin.h> #include "dgp.h" #include "vec.h" #include "fobj_sph.h" typedef struct { double tau; double lambda; double rho; dgp_t *G; } gsl_params_t; void gsl_fdf(const gsl_vector *x, void *params, double *f, gsl_...
{ "alphanum_fraction": 0.5383675962, "avg_line_length": 25.4559585492, "ext": "h", "hexsha": "eebf1857c4fef701c9388cd39ec987f2bcb00c37", "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":...
/* ---------------------------------------------------------------- * * hod.h * * Martin Kilbinger, Henry J. McCracken, Jean Coupon 2008-2013 * * ---------------------------------------------------------------- */ #ifndef __HOD_H #define __HOD_H #include <stdio.h> #include <stdlib.h> #include...
{ "alphanum_fraction": 0.5955845096, "avg_line_length": 41.6114457831, "ext": "h", "hexsha": "0d997b51b9bea7d3f919f9d13e743db9b98155c3", "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 <iostream> #include <vector> #include <stdio.h> #include <gsl\gsl_randist.h> #include <gsl\gsl_rng.h> #include <time.h> #include <SFML\Graphics.hpp> #ifndef _HEART_H #define _HEART_H class heart { private: int L; //sytem size length for now square std::vector<std::vector<int>> stat...
{ "alphanum_fraction": 0.5906870726, "avg_line_length": 26.9385964912, "ext": "h", "hexsha": "08bb4524deef8e7bb852774575bfb33c37bf33c5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#ifndef _H_INTERP2D #define _H_INTERP2D #include <gsl/gsl_spline.h> #include <gsl/gsl_interp.h> typedef struct Interpolator2D{ double *x1; double *x2; double *y; int N1; int N2; double *y1; gsl_spline *x1dir_spline; gsl_interp_accel *x1dir_accel; gsl_spline **x2dir_splines; gsl_interp_accel **x2di...
{ "alphanum_fraction": 0.7714135575, "avg_line_length": 40.4893617021, "ext": "h", "hexsha": "c50bbd4ab6a19a2e1ee9207824e0c27d6cff0b92", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:...
/* */ #ifndef _aXe_GRISM_H #define _aXe_GRISM_H #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include "spc_trace_functions.h" //#include "aXe_errors.h" #define RELEASE "See github" #define gsl_matrix gsl_matrix_float #define gsl_matrix_get gsl_matrix_float_get #define gsl_matrix_s...
{ "alphanum_fraction": 0.6176056338, "avg_line_length": 33.28125, "ext": "h", "hexsha": "f60dcafc1ce583ecfe6b067a7b3deac45e0ebca6", "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": "f57...
/* * ParticleFilter.h * * Created on: Mar 21, 2012 * Author: nair */ #ifndef PARTICLEFILTER_H_ #define PARTICLEFILTER_H_ #include <gsl/gsl_rng.h> #include <opencv2/opencv.hpp> #include <Eigen/Dense> namespace tracking1 { class ParticleFilterParams { public: ParticleFilterParams(); ~ParticleFilte...
{ "alphanum_fraction": 0.5990114303, "avg_line_length": 19.5, "ext": "h", "hexsha": "8adcc57d84f0c7494340360d7573addf0b15389f", "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": "5374193...
#include "stdio.h" #include "gsl/gsl_integration.h" #include "gsl/gsl_errno.h" #include "non_limber.h" #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_monte_vegas.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_sf_bessel.h> // This is ...
{ "alphanum_fraction": 0.7008357915, "avg_line_length": 32.2857142857, "ext": "c", "hexsha": "f79333cf5b4fe3bd94dcc14440d57a0a386fdd9d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:...
/** * * @file testing_ssyev.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Azzam Haidar * @date 2010-11-15 * @generated s Tue Jan 7 11:45:18 2014 ...
{ "alphanum_fraction": 0.5117709438, "avg_line_length": 32.8571428571, "ext": "c", "hexsha": "2cf9cb9cdaf46e357d65b74c7a6965b7d46c8ac6", "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 bblas_zaccuracy.c * * @brief BBLAS accuracy tests for double_Complex precision. * * BBLAS is a software package provided by Univ. of Manchester, * Univ. of Tennessee. * * @version 1.0.0 * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-02-20 * ...
{ "alphanum_fraction": 0.63273865, "avg_line_length": 26.7295373665, "ext": "c", "hexsha": "524a5bdeee117d354c65151ee8bfdcc656a321c2", "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 <cblas.h> #include <lapacke.h> #include "../../runtime/pcp.h" #include "tasks.h" #include "utils.h" #define BLOCK_SIZE 32 #define MAX_MATRIX_SIZE 1024 #define MAX_NUM_ITER (MAX_MATRIX_SIZE / BLOCK_SIZE) #define MAX_NUM_THREADS 16 // The matrix partitioning for TRSM and SYRK in each ite...
{ "alphanum_fraction": 0.5897139926, "avg_line_length": 25.903654485, "ext": "c", "hexsha": "47225be2e9eccc0f722dbab3dfe74901ad64a9ec", "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": ...
/****************************************************************************** * * INTEL CONFIDENTIAL * * Copyright 2015 Intel Corporation All Rights Reserved. * * The source code contained or described herein and all documents related * to the source code (Material) are owned by Intel Corporation or its * sup...
{ "alphanum_fraction": 0.5082341018, "avg_line_length": 39.47, "ext": "h", "hexsha": "2344b10ebe062eefe4e03ca8d63e45ccef75c530", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-03-19T15:17:54.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-17T06:51:02.000Z"...
/* -*- C -*- */ /** * Author: Pierre Schnizer * Date : January 2003 */ #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <pygsl/general_helpers.h> #include <pygsl/utils.h> #include <pygsl/profile.h> PyGSL_API_EXTERN int PyGSL_set_error_string_for_callback(PyGSL_error_info * info) { PyObject *name...
{ "alphanum_fraction": 0.5996779018, "avg_line_length": 30.0795847751, "ext": "c", "hexsha": "3ef94b9faf9bd2f42227dff9b351f0657ec88d94", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:...
#include <gsl/gsl_errno.h> #include <gsl/block/gsl_block.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/block/block_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.7727272727, "avg_line_length": 19.8, "ext": "c", "hexsha": "493c63d6ccfff66c9b1dd9369adb0ada32166fd9", "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": "58778f1...
/* * Copyright 2010, Weill Medical College of Cornell University * All rights reserved. * * This software is distributed WITHOUT ANY WARRANTY * under license "license.txt" included with distribution and * at http://neurodatabase.org/src/license. */ #include <gsl/gsl_vector.h> #include<gsl/gsl_matrix.h> #in...
{ "alphanum_fraction": 0.6338935818, "avg_line_length": 23.8731808732, "ext": "c", "hexsha": "63a45d2e08b08a5fe85180f07c66b3e0249c41fb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * This file is part of yasimSBML (http://www.labri.fr/perso/ghozlane/metaboflux/about/yasimSBML.php) * Copyright (C) 2010 Amine Ghozlane from LaBRI and University of Bordeaux 1 * * yasimSBML is free software: you can redistribute it and/or modify * it under the terms of the Lesser GNU General Public License as...
{ "alphanum_fraction": 0.6926085256, "avg_line_length": 29.0568181818, "ext": "c", "hexsha": "d94f83d1176a2a9adf6ad967243b997086b42093", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* This file is part of the Princeton FCMA Toolbox Copyright (c) 2013 the authors (see AUTHORS file) For license terms, please see the LICENSE file. */ #ifndef COMMON_H #define COMMON_H #include <vector> #include <map> #include <list> #include <algorithm> #include <sys/types.h> #include <sys/stat.h> #include <sys/...
{ "alphanum_fraction": 0.7217908903, "avg_line_length": 22.08, "ext": "h", "hexsha": "8a3818d3a65b7014ad4fb7b2ea89ce51e74462f1", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2020-06-08T18:06:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-08-26T19:37:29.000Z"...
/* tsqr.c * * Copyright (C) 2015 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. * * This pr...
{ "alphanum_fraction": 0.6046966732, "avg_line_length": 25.3328611898, "ext": "c", "hexsha": "68033ac5d28c9a08a92eff37cdbb12f45fd28524", "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 #define NOMINMAX #include <iostream> #include <vector> #include <string> #include <string_view> #include <sstream> #include <variant> #include <codecvt> #include <locale> #include <filesystem> #include <fstream> #include <chrono> #include <functional> #include <numeric> #include <wrl/client.h> #include ...
{ "alphanum_fraction": 0.7459807074, "avg_line_length": 17.7714285714, "ext": "h", "hexsha": "0750632a6eb6504d47101405059fd770add3c92e", "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 Peter Williams and collaborators * Licensed under the MIT License. */ #include <Python.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_poly.h> #define COUNT(arr) (sizeof(arr) / sizeof(arr[0])) typedef enum result_t { RES...
{ "alphanum_fraction": 0.6116519546, "avg_line_length": 29.0263543192, "ext": "c", "hexsha": "33a149683ae98ed9c65c3181c891a085ef15d340", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-12-05T06:05:40.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-05T06:05:...
// for license information, see the accompanying LICENSE file #include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> // CBLAS, LAPACKE are f2c translated Netlib F77 reference routines. // 'cblas.h' is widely supported, and is the f2c translated Netlib F77 refernce version. // There are known...
{ "alphanum_fraction": 0.5303652359, "avg_line_length": 25.6917808219, "ext": "c", "hexsha": "76bcb0ad284fd7d66a31c80fbb71304aafba79ea", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-03-15T16:02:10.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-24T00:28:...
#include <stdio.h> #include <gsl/gsl_blas.h> #include "../../include/timing.h" double* default_vector; double* default_matrix; double** results; int max(int a, int b){ if(a > b) return a; return b; } void save_res_to_csv(double** results, size_t results_c, int stride, int trials, char* file_name){ FILE* csv = ...
{ "alphanum_fraction": 0.6652185024, "avg_line_length": 25.9139072848, "ext": "c", "hexsha": "94eb092f1f34768e4751a0ae9d9df6e2a6ec3b3f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-05-29T10:19:18.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-10T09:35:...
#pragma once #include "icode_generator.h" #include <halley/data_structures/hash_map.h> #include <gsl/gsl> #include "halley/file/path.h" namespace YAML { class Node; } namespace Halley { class ECSData; class ComponentSchema; class SystemSchema; class MessageSchema; class CustomTypeSchema; class Codegen { ...
{ "alphanum_fraction": 0.7262357414, "avg_line_length": 19.725, "ext": "h", "hexsha": "d900fc143704a4de4acd82d6bb0d33a018785b52", "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:08:41.00...
#include <cblas.h> #include <lapacke.h> #include "math.h" #include "minimal_opencv.h" #include "stdbool.h" #include "stdio.h" #include "string.h" #include <limits.h> #include <stdarg.h> #include "linmath.h" #ifdef _WIN32 #define SURVIVE_LOCAL_ONLY #include <malloc.h> #define alloca _alloca #else #define SURVIVE_LOC...
{ "alphanum_fraction": 0.6452020202, "avg_line_length": 26.8778280543, "ext": "c", "hexsha": "6559be01d5c1afbfaa14547fd7ed1043d1f644da", "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/erlang.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 *...
{ "alphanum_fraction": 0.673089701, "avg_line_length": 27.3636363636, "ext": "c", "hexsha": "a990403dacb3dc7443eb534e6dd5b8684245ccb3", "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:...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
{ "alphanum_fraction": 0.6261914297, "avg_line_length": 29.0348837209, "ext": "h", "hexsha": "3c2b039149dcaec122bb3b54767536fb2f9de14f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_statistics.h> #include <assert.h> #include <float.h> extern "C" { #include <quadmath.h> } #ifndef N #define N 32 #endif #define K N/2 #ifndef S #define S K/2 #endif #ifndef SEED #define SEED 1 #endif #ifndef FB #define FB 64 #endif #if(FB==64) #define FT ...
{ "alphanum_fraction": 0.563943662, "avg_line_length": 16.2844036697, "ext": "c", "hexsha": "10761531516a9960d3baa4687bc7ed9bdb6d8ff2", "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:0...
#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 Attribute_Creator.h * \brief Flywheel creation of ioda::Attr...
{ "alphanum_fraction": 0.7182890855, "avg_line_length": 32.544, "ext": "h", "hexsha": "55837f4e921183d96ac100248750581946b5a5e5", "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/uni.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.5969017798, "avg_line_length": 30.0396039604, "ext": "c", "hexsha": "c43cfa1654e87224693a5d95666ff59a53b04788", "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...
#pragma once #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include "defines.h" #include "matrix_vector_ops.h" #define NUM_STATES 1 #define NUM_INPUTS 0 // A-stability test of RK method: // y' = ky int testDynamics(gsl_vector *dy, double t, const gsl_vector *y, const gsl_vector *u); int setupTestDynamics...
{ "alphanum_fraction": 0.7543103448, "avg_line_length": 20.1739130435, "ext": "h", "hexsha": "e5ef7108bf9a31a7a46eb82d4d4a06281cdd58c8", "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 MKL_FOUND #include <mkl.h> #elif BLAS_FOUND #if WASM_COMPATIBLE_BLAS #include "3rd_party/onnxjs/src/wasm-ops/gemm.h" #else #include <cblas.h> #endif // WASM_COMPATIBLE_BLAS #endif inline void sgemm(bool transA, bool transB, int rows_a, int rows_b,...
{ "alphanum_fraction": 0.4428571429, "avg_line_length": 27.7083333333, "ext": "h", "hexsha": "1d675792799c2732472b6b9a09374116eb5acec1", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-12-09T03:40:52.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-04T12:40:...
//#include <gsl/gsl> #include "../Problem15/ipv4Base.h" class ipv4Extend : public ipv4Base { public: ipv4Extend() : ipv4Base() { }; ipv4Extend( std::string aInput ) : ipv4Base( aInput ) { }; ~ipv4Extend() { }; ipv4Extend& operator= ( const ipv4Extend & aOther ) { ...
{ "alphanum_fraction": 0.4096683133, "avg_line_length": 19.9577464789, "ext": "h", "hexsha": "1a6b157a33259693675e44a060c6198a376a6ea4", "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 tabulate_H_INCLUDED #define tabulate_H_INCLUDED //#define DEBUG #include <mpi.h> #include <stdio.h> #include <stdlib.h> #include "wf.h" #include "glasma.h" #include "jet.h" #include "bfkl.h" #include <gsl/gsl_errno.h> #define END_MSG 0 #define PIPE_MSG 1 #define RET_MSG 2 int myid; //number of processors in...
{ "alphanum_fraction": 0.6781883194, "avg_line_length": 17.1224489796, "ext": "h", "hexsha": "8df2ba192df7b2595a22e13516b73c6531ac4bd4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file qwrapper_dsygst.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.8.0 * @author Hatem Ltaief * @date 2010-11-15 * @generated d Fri Apr 1 11:02:42 2016 * **/ #includ...
{ "alphanum_fraction": 0.4528220595, "avg_line_length": 30.1428571429, "ext": "c", "hexsha": "0cbc20800d5bcb3e97c0ac35212d9cd1234ab661", "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) 2017, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights // reserved. See files LICENSE and NOTICE for details. // // This file is part of CEED, a collection of benchmarks, miniapps, software // libraries and APIs for effic...
{ "alphanum_fraction": 0.5986563396, "avg_line_length": 38.3727422003, "ext": "c", "hexsha": "ed7ecd797d4ac1cf574915e74d4dbb4d25ce9748", "lang": "C", "max_forks_count": 41, "max_forks_repo_forks_event_max_datetime": "2022-03-01T13:02:07.000Z", "max_forks_repo_forks_event_min_datetime": "2017-12-27T22:35...
/** * * @file core_sgeqp3_init.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mark Gates * @date 2010-11-15 * @generated s Tue Jan 7 11:44:49 2014 * **/ #include <lapac...
{ "alphanum_fraction": 0.5244956772, "avg_line_length": 23.1333333333, "ext": "c", "hexsha": "3d08d15682ef93fc21af6026cb4ee0375a3b181d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2018 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
{ "alphanum_fraction": 0.6405437825, "avg_line_length": 28.4204545455, "ext": "h", "hexsha": "a0c93137cea69e2c8b1d706fa3fe7cbb462c286c", "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 <stdbool.h> #define COMPEARTH_PRIVATE_UPDOWN_ARGSORT3 1 #define COMPEARTH_PRIVATE_UPDOWN_ABS_ARGSORT3 1 #include "compearth.h" #ifdef COMPEARTH_USE_MKL #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wreserved-id-macro" #pragma clang diag...
{ "alphanum_fraction": 0.5186580553, "avg_line_length": 28.8808290155, "ext": "c", "hexsha": "a482b409c82ac97ff02a4a960b2d7b78bef2c6f2", "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:...
/* linalg/rqr.c * * Copyright (C) 2019 Patrick Alken, Julien Langou * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later ve...
{ "alphanum_fraction": 0.5673197165, "avg_line_length": 30.0216154721, "ext": "c", "hexsha": "643f6f10c1d6fc698bd869825e4c0f3d4f65d8ae", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#ifndef HIC_MPLD_POSTDOC_H #define HIC_MPLD_POSTDOC_H #include <cstdlib> #include <ctime> #include <fstream> #include <iostream> #include <map> #include <math.h> //#include <mpi.h> #include <omp.h> #include <vector> #include <gsl/gsl_cdf.h> #include <../IRLS_glm/IRLS.h> #include <regionDetail2D_pai...
{ "alphanum_fraction": 0.6921425505, "avg_line_length": 35.2878787879, "ext": "h", "hexsha": "3b3ade9f42937601022f198d197838ed3f96e3d7", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-05-07T02:16:27.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-15T09:15:...
/* BRAINS * (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling * Yan-Rong Li, liyanrong@ihep.ac.cn * Thu, Aug 4, 2016 */ /*! * \file user_blr_model.c * \brief allow users to define their own BLR models. * * User should provide: 1) number of parameters in 1D and 2D; * ...
{ "alphanum_fraction": 0.5519987131, "avg_line_length": 27.4459161148, "ext": "c", "hexsha": "d2fba4a232de79a917e42263578ac23e60bcff9a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <complex.h> #include <time.h> #include <unistd.h> #include <getopt.h> #include <stdbool.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_bspline.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_min.h> #include <gsl/gsl_spline.h> #inclu...
{ "alphanum_fraction": 0.67010452, "avg_line_length": 39.0459459459, "ext": "c", "hexsha": "10eda939163597cf22337bf623393df08ee87263", "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:13...
#ifndef __GSLEXTRA_H__ #define __GSLEXTRA_H__ #include <iostream> #include <math.h> #include <stdio.h> #include <string.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_matr...
{ "alphanum_fraction": 0.8090869375, "avg_line_length": 54.5, "ext": "h", "hexsha": "61c376dfb52ebeaaa69744fae1c69ac7dad8475d", "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": "4ba1f21...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "DirectionalLight.h" namespace Library { class Texture2D; class ProxyModel; } namespace Rendering { class DisplacementMappingMaterial; class Displacement...
{ "alphanum_fraction": 0.7970033833, "avg_line_length": 32.8412698413, "ext": "h", "hexsha": "8b19fd573e8a1f1b18b371f251931d225ccd3dd4", "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 /* * (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. */ /*! \defgroup ioda_cxx_types Type System * \brief The data type system * \ingroup ioda_cxx_api * * @{ * \file...
{ "alphanum_fraction": 0.6860456127, "avg_line_length": 35.7320441989, "ext": "h", "hexsha": "4794c7d7bd6d70d03a3e5d2cfdea9f03b43955d4", "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_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
{ "alphanum_fraction": 0.7906632086, "avg_line_length": 40.2835820896, "ext": "h", "hexsha": "ab4478bfc15b08b46982cff334904a042421e2c1", "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.7473639814, "avg_line_length": 40.8793103448, "ext": "h", "hexsha": "d4074d3fef0a7032f21aa0e9dedf278d831dd1a8", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// MIT License Copyright (c) 2020 Jarrett Wendt #pragma once #define _SILENCE_CLANG_COROUTINE_MESSAGE // Standard #include <algorithm> #include <cassert> #include <chrono> #include <cmath> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <exception> #include <filesystem> #include <...
{ "alphanum_fraction": 0.7482014388, "avg_line_length": 16.9512195122, "ext": "h", "hexsha": "68f6c451977ab0cf06d6b5c1517f62bc93f023d1", "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.6057007126, "avg_line_length": 36.9298245614, "ext": "h", "hexsha": "9e27c4915cf4b15fddd3e0ad66a5b0018e6ffda7", "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 <stdlib.h> #include <assert.h> #include <cconfigspace.h> #include <gsl/gsl_rng.h> static void test_rng_create_with_type() { const gsl_rng_type **t1, **t2, *t; size_t type_count = 0; int32_t selected, refcount; ccs_rng_t rng = NULL; ccs_result_t err = CCS_SUCC...
{ "alphanum_fraction": 0.6533451747, "avg_line_length": 26.1860465116, "ext": "c", "hexsha": "938ef23242cd6848b1d224eec0cd77c4f62b785d", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-07T17:54:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-16T18:20:...
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /** @file engalmod.c @brief c-routines for function calls from Fortran in an enhanced galmod environment This module contains two functions that provide a very specialised chisquare evaluation when comparing an observed cube with a c...
{ "alphanum_fraction": 0.6132852612, "avg_line_length": 33.6711486746, "ext": "c", "hexsha": "6450d7be05653945200e12e89ed859d979baa7de", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-01-03T15:02:35.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-28T03:17:...
#ifndef AMICI_MISC_H #define AMICI_MISC_H #include "amici/defines.h" #include "amici/exception.h" #include "amici/vector.h" #include <sunmatrix/sunmatrix_sparse.h> // SUNMatrixContent_Sparse #include <algorithm> #include <vector> #include <memory> #include <regex> #include <gsl/gsl-lite.hpp> namespace amici { /** ...
{ "alphanum_fraction": 0.6916607015, "avg_line_length": 28.9533678756, "ext": "h", "hexsha": "dd59b03fc9c759b97654f8ce6f3417920768bd71", "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, 2007, 2010 Brian Gough * Copyright (C) 2013, Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the L...
{ "alphanum_fraction": 0.5507595024, "avg_line_length": 38.186351706, "ext": "h", "hexsha": "65feec5022b55a16db78592b8fb451b5d2d2ad88", "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:0...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> #include "Watershed.h" #include "math_functions.h" #include "Globals.h" #include "constitutive_equations.h" #include "dgshed_numerical_flux.h" #include "...
{ "alphanum_fraction": 0.6081878658, "avg_line_length": 29.2723279649, "ext": "c", "hexsha": "4787760dbfb621d15b3385f08b7bc4b30ad9716e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:...
/** * author: Jochen K"upper * created: Jan 2002 * file: pygsl/src/statistics/longmodule.c * $Id: ucharmodule.c,v 1.5 2004/03/24 08:40:45 schnizer Exp $ * *" */ #include <Python.h> #include <pygsl/error_helpers.h> #include <pygsl/block_helpers.h> #include <gsl/gsl_statistics.h> /* include real functions for ...
{ "alphanum_fraction": 0.7061340942, "avg_line_length": 17.525, "ext": "c", "hexsha": "4cd6b7d0901dc5e46270ccb57402d67d63613adc", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:07.000Z...
/* * Copyright (c) 2014, Newcastle University, UK. * 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 con...
{ "alphanum_fraction": 0.6488776572, "avg_line_length": 30.1659192825, "ext": "c", "hexsha": "b0e232c2fbce9e644d0739615a5850a04fdc63b0", "lang": "C", "max_forks_count": 80, "max_forks_repo_forks_event_max_datetime": "2021-11-21T06:53:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-17T23:01...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.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 "nrsrc/nrutil.h" #include "prototypes.h" #include "globvars.h" double comp_DF_halo_exact(double...
{ "alphanum_fraction": 0.6010663456, "avg_line_length": 24.1505711319, "ext": "c", "hexsha": "0a9c255ac36476eb3963e07fb4a5ca9eaf630bce", "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_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> int func (double t, const double y[], double f[], void *params) { double mu = *(double *)params; f[0] = y[1]; f[1] = -y[0] - mu*y[1]*(y[0]*y[0] - 1); return GSL_SUCCESS; } int jac (double t, const double...
{ "alphanum_fraction": 0.5408291457, "avg_line_length": 22.4225352113, "ext": "c", "hexsha": "8a8f79493e85d3a9ddd931896ea1f055df8e4975", "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...