Search is not available for this dataset
text
string
meta
dict
/** * Copyright (C) 2019 Samsung Electronics Co., Ltd. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless requ...
{ "alphanum_fraction": 0.6202775636, "avg_line_length": 23.0919881306, "ext": "h", "hexsha": "2dfb80db126045ada6172fd82c304e945e99e62b", "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_rng.h> #include <gsl/gsl_randist.h> #include <math.h> #include <string.h> #include "cconfigspace_internal.h" #include "distribution_internal.h" struct _ccs_distribution_multivariate_data_s { _ccs_distribution_common_data_t common_data; size_t num_distributions; ccs_distr...
{ "alphanum_fraction": 0.6558750517, "avg_line_length": 40.4518828452, "ext": "c", "hexsha": "a685c99e522868eb2557ec779fee95bb5d7cafff", "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:...
/***************************************************************************** Copyright (c) 2011-2014, The OpenBLAS Project 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 sour...
{ "alphanum_fraction": 0.6199376947, "avg_line_length": 33.6532258065, "ext": "c", "hexsha": "9e0244305b38526517005f93a26fb2ffaa9e4af4", "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 "kepler.h" #include <math.h> #include <stdlib.h> #include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_roots.h> #define OVERPHASE(x) ( 2.0 * M_PI * floor ( 0.5 + 0.5 * x * M_1_PI ) ) #define DEBUG 0 /********************************************************************...
{ "alphanum_fraction": 0.5503631961, "avg_line_length": 27.1710526316, "ext": "c", "hexsha": "fecfcab6f8aabc1e677c075b2db11d42b3c0ae19", "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":...
/* * ----------------------------------------------------------------- * pmsr_lib.h * Pairwise Mixing Stirred Reactor Library * Version: 2.0 * Last Update: Oct 1, 2019 * * This is the header file of a computational library with * routines to implement a Pairwise Mixing Stirred Reactor * (PMSR) model. * ------...
{ "alphanum_fraction": 0.4083750895, "avg_line_length": 23.8803418803, "ext": "h", "hexsha": "33eb2f2593edf8c3658279953788aaa7c49d511f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:...
/* Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch, M. Oliveira This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This pro...
{ "alphanum_fraction": 0.6843657817, "avg_line_length": 22.6, "ext": "c", "hexsha": "936c5b04ac972e40f7cb87bf8d86f3e81384c7a3", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-05-29T23:24:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-22T20:30:46.000Z",...
/* rng/ranlxs.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 * you...
{ "alphanum_fraction": 0.5728009607, "avg_line_length": 21.9867986799, "ext": "c", "hexsha": "0a3275defc788925c55116be70af9d4a8276321d", "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:...
/* code to do weak lensing power spectrum computations Matthew Becker, UofC 2011 */ #include <gsl/gsl_spline.h> #ifndef _WEAKLENS_ #define _WEAKLENS_ typedef struct { int wlNum; double lmin; double lmax; double tmin; double tmax; } weaklensData; extern weaklensData wlData; typedef struct { int i...
{ "alphanum_fraction": 0.7789757412, "avg_line_length": 22.4848484848, "ext": "h", "hexsha": "e2e650ad7f64c3dbfd4cac125da3fde385db97aa", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
/* * ----------------------------------------------------------------- * Utilities Library --- util_lib.h * Version: 1.6180 * Date: Feb 19, 2010 * ----------------------------------------------------------------- * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail.com * ------------...
{ "alphanum_fraction": 0.5350649351, "avg_line_length": 28.875, "ext": "h", "hexsha": "9526673c0218e5502bac4668447091d250fdb1df", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:44.000Z...
/* specfunc/gegenbauer.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your o...
{ "alphanum_fraction": 0.620480711, "avg_line_length": 25.3897435897, "ext": "c", "hexsha": "ac8b6e57c7b5c9d85063579e06f724641765c88f", "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:5...
#include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h>
{ "alphanum_fraction": 0.7666666667, "avg_line_length": 20, "ext": "h", "hexsha": "79a88e26d7607bf962f8188e566acfaef4f044af", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-01-23T01:20:00.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-21T00:57:12.000Z", ...
#ifndef SIGNAL_H_ #define SIGNAL_H_ #include <gsl/gsl_statistics_double.h> #include <complex> #include <fftw3.h> #include <math.h> #include <iostream> #include "fourier_transform.h" #include "array.h" #include "rng.h" #include <assert.h> // this is slowly turning into sth that should maybe rather be called // "stocha...
{ "alphanum_fraction": 0.6546336207, "avg_line_length": 22.3614457831, "ext": "h", "hexsha": "1957d114e26d4f81c9b789f390f2b9cb22ebf5a1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* @copyright Russell Standish 2000-2013 @author Russell Standish This file is part of EcoLab Open source licensed under the MIT license. See LICENSE for details. */ #include <classdesc_access.h> #include <pack_stl.h> #include <analysis.h> #if defined(GNUSL) #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv...
{ "alphanum_fraction": 0.6426110072, "avg_line_length": 26.3134715026, "ext": "h", "hexsha": "1b1e4623fee35ec89cccb976152ed2f457634cd5", "lang": "C", "max_forks_count": 10, "max_forks_repo_forks_event_max_datetime": "2021-11-29T19:11:21.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-17T20:32...
#ifndef LUM_H #define LUM_H #include <LHAPDF/LHAPDF.h> #include <cmath> #include <iostream> #include <gsl/gsl_chebyshev.h> #include <gsl/gsl_math.h> #include <gsl/gsl_sf_log.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_sf_zeta.h> #include <gsl/gsl_sf_psi.h> #include <gsl/gsl_sf_dilog.h> #include <algorithm> #inc...
{ "alphanum_fraction": 0.6793713163, "avg_line_length": 26.2371134021, "ext": "h", "hexsha": "0503385997ddf60b06a3ab153b6ba5df6e887385", "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":...
//c++ network author : liqi //Nangjing University of Posts and Telecommunications //date 2017.5.21,20:27 #ifndef NETWORK_H #define NETWORK_H #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <algorithm> #include <stdlib.h> #include <memory.h> #include <fstream> #include ...
{ "alphanum_fraction": 0.7540437678, "avg_line_length": 46.7111111111, "ext": "h", "hexsha": "c10e4fd13463fb407e19af08cffdfe758866cceb", "lang": "C", "max_forks_count": 208, "max_forks_repo_forks_event_max_datetime": "2022-03-31T07:27:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-30T14:4...
#ifndef ADD_TO_CONFIG_INCLUDE #define ADD_TO_CONFIG_INCLUDE #include <optional> #include <stdexcept> #include <string> #include <utility> #include <vector> #include <gsl/pointers> #include "config/variablesMap.h" #include "base-utils/nonEmptyString.h" namespace execHelper::test { inline void addToConfig(const exec...
{ "alphanum_fraction": 0.5891750897, "avg_line_length": 32.2842105263, "ext": "h", "hexsha": "72fcfc9f89fa18cba403237ea2794c4a28c5f3f2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z", "max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:...
/* * * * The functions in this file are directly taken from https://github.com/s5248/cppconvnet The license and the copying notice are replicated below. ---------- LICENSE ---------- Copyright (c) 2015, BiaoZhi Huang. All rights reserved. Redistribution and use in source and binary forms, with or without modifica...
{ "alphanum_fraction": 0.642417926, "avg_line_length": 37.48046875, "ext": "c", "hexsha": "dfb18a82c875bae36d1f5165d1a2544a963e2264", "lang": "C", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-12-21T14:16:14.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-24T05:17:21...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #include <stdio.h> #include <assert.h> #include <string.h> #include <math.h> #include <gsl/gsl_matrix_double.h> #include <gsl/gsl_vector_double.h> #include "sip-utils.h" #include "tweak.h" #include "...
{ "alphanum_fraction": 0.5739534514, "avg_line_length": 30.6674786845, "ext": "c", "hexsha": "9082b3ad7a8c3fe1550ca63a2adbfb6caabebc9e", "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) 2020 Felix Kutzner (github.com/fkutzner) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
{ "alphanum_fraction": 0.712872593, "avg_line_length": 25.2733333333, "ext": "h", "hexsha": "8959ea394a7cb03afc8ec164cf9fd8bf6d4a2029", "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": ...
/*--- Flow*: A Verification Tool for Cyber-Physical Systems. Authors: Xin Chen, Sriram Sankaranarayanan, and Erika Abraham. Email: Xin Chen <chenxin415@gmail.com> if you have questions or comments. The code is released as is under the GNU General Public License (GPL). ---*/ #ifndef INCLUDE_H_ #define INCLUDE_...
{ "alphanum_fraction": 0.7447346251, "avg_line_length": 23.4276315789, "ext": "h", "hexsha": "94e0e22513ffb64cc7c6fa280cecf11f7ba17174", "lang": "C", "max_forks_count": 12, "max_forks_repo_forks_event_max_datetime": "2021-10-05T04:16:44.000Z", "max_forks_repo_forks_event_min_datetime": "2018-02-05T15:13...
#include "../EngineTest.h" #include <Catch2> #include <gsl/gsl_math.h> TEST_CASE("Lag-1 Autocorrelate Function Evaluation Tests", "[lag1]") { // SECTION("Empty Test"){ // requireIsEqual("lag1()", "Insufficient Number of Arguments for Function: lag1"); // } SECTION("`lag1` Test 1"){ req...
{ "alphanum_fraction": 0.5434929198, "avg_line_length": 26.9636363636, "ext": "h", "hexsha": "8afdf5e341f202f5745eeddccd553670c3ea0de9", "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":...
/* poly/gsl_poly.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * you...
{ "alphanum_fraction": 0.6661585366, "avg_line_length": 29.1555555556, "ext": "h", "hexsha": "fa40a69469f05bc8c2c635e3988cb12f1a58de2d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:...
//setzt constanten auf #define EXTERN_VARIABLES #include <stdio.h> #include <math.h> #include <gsl/gsl_sf_bessel.h> #include "global.h" #include "utility.h" #include "steppmethods.h" #include <gsl/gsl_cblas.h> #include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <omp.h> #include <...
{ "alphanum_fraction": 0.6365235749, "avg_line_length": 27.0666666667, "ext": "c", "hexsha": "9e0b2f1b28b55dfb5f230c3f1c6a212176b09067", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <math.h> #include <stdlib.h> #include <stdio.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #include "growthfactor.h" //Code to calculate the linear growth factor D, and linear growth rate, f. Where a linear pertu...
{ "alphanum_fraction": 0.6145833333, "avg_line_length": 24, "ext": "c", "hexsha": "ba43b19a0dd76b205c65886c96b7d9899733effd", "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:43.000Z", ...
#pragma once //#include <gsl/string_span> namespace Util { //static gsl::string_span<> toLower(gsl::string_span<> const&); }; // namespace util
{ "alphanum_fraction": 0.7103448276, "avg_line_length": 24.1666666667, "ext": "h", "hexsha": "6bb4743b08bdc06b784e3d6aff7d1830981dc1d8", "lang": "C", "max_forks_count": 233, "max_forks_repo_forks_event_max_datetime": "2022-03-28T23:12:33.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-11T03:0...
#ifndef LIC_METHOD_DEFINITION #define LIC_METHOD_DEFINITION #include <gsl/gsl> #include "Metadata.h" namespace lic { class MethodDefinition : Metadata { public: MethodDefinition(Assembly& assembly, MetadataTable table, size_t rid, gsl::byte* row); ~MethodDefinition(); const char* Name() const; cons...
{ "alphanum_fraction": 0.7235142119, "avg_line_length": 16.125, "ext": "h", "hexsha": "f7fa2907dd7cc81d5681ce656d1d51895326c56f", "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": "5ad4a...
#ifndef __GSL_MATRIX_H__ #define __GSL_MATRIX_H__ #if !defined( GSL_FUN ) # if !defined( GSL_DLL ) # define GSL_FUN extern # elif defined( BUILD_GSL_DLL ) # define GSL_FUN extern __declspec(dllexport) # else # define GSL_FUN extern __declspec(dllimport) # endif #endif #include <gsl/gsl_matri...
{ "alphanum_fraction": 0.7413394919, "avg_line_length": 24.0555555556, "ext": "h", "hexsha": "560f33138316d624eb3d54e51b55167c56a2d8ab", "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:...
/* examples/C/ssmfe/shift_invert.c */ /* Laplacian on a rectangular grid by shift-invert via LDLT factorization */ #include "spral.h" #include <math.h> #include <stdlib.h> #include <stdio.h> #include <cblas.h> /* Headers that implements Laplacian and preconditioners and LDLT support */ #include "laplace2d.h" #include ...
{ "alphanum_fraction": 0.5543562066, "avg_line_length": 35.5342465753, "ext": "c", "hexsha": "d22ec8174e038323ccfb641659de0ce3a5ac092a", "lang": "C", "max_forks_count": 19, "max_forks_repo_forks_event_max_datetime": "2022-02-28T14:58:37.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-30T20:52...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // ////////////////////////////////////////////////////////// // // // // // hybridMANT...
{ "alphanum_fraction": 0.6344327177, "avg_line_length": 40, "ext": "c", "hexsha": "ac96416066b0628989e79c15d6b4e52e59cb12b6", "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": "8e2d374ba...
#pragma once #include <imageview/ContinuousImageView.h> #include <imageview/internal/ImageViewStorage.h> #include <imageview/internal/PixelRef.h> #include <gsl/span> #include <cstddef> namespace imageview { template <class PixelFormat, bool Mutable = false> class ImageView { public: static_assert(IsPixelFormat<...
{ "alphanum_fraction": 0.722538004, "avg_line_length": 41.7955801105, "ext": "h", "hexsha": "2312b4906a30b4d9542528677611f642d8f48fbc", "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_ztstrf.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 * @precisions n...
{ "alphanum_fraction": 0.4635344695, "avg_line_length": 30.1527777778, "ext": "c", "hexsha": "a92107caf89b9762931e6bdec04d5030f3781ae1", "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-2019] [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...
{ "alphanum_fraction": 0.7121559633, "avg_line_length": 26.4242424242, "ext": "h", "hexsha": "c837194d3db090e41f131f6af34cf76bfd62e182", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_qrng.h> #include <gsl/gsl_histogram2d.h> #include <gsl/gsl_sf_laguerre.h> #include <courier.h> #include "data.h" static const char* localhost = "127.0.0.1"; extern void ...
{ "alphanum_fraction": 0.5507913669, "avg_line_length": 29.9568965517, "ext": "c", "hexsha": "29d98e4b442f15e3307e8d9267afca090b466351", "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 <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_const_mksa.h> #include <gsl/gsl_roots.h> #include "ccl.h" // Global variable to hold the neutrino phase-space spline gsl_spline* nu_sp...
{ "alphanum_fraction": 0.6266642349, "avg_line_length": 33.5351681957, "ext": "c", "hexsha": "15d0cd7534b6aebf0c05ec450a301da391e62190", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:...
#include <stdio.h> #include <gsl/gsl_integration.h> #include "function.h" extern double f (double, void*); int main (void) { /* Claim memory needed for adaptive integration */ gsl_integration_workspace * w = gsl_integration_workspace_alloc (1000); /* Construct GSL function object to describe solution */...
{ "alphanum_fraction": 0.6400293255, "avg_line_length": 26.2307692308, "ext": "c", "hexsha": "b70d7a82c887bd8f8de56ed83fb1c924a0ce48c9", "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":...
/* rstat/test.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. * * T...
{ "alphanum_fraction": 0.6638836908, "avg_line_length": 31.7214611872, "ext": "c", "hexsha": "23d7b416cd3ecd254aae2c412ae162c3b75c5462", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> #include <time.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> typedef struct parameters{ double Xo; double Ko; double SIGMA2_K; double SIGMA2_C; double R; double MU; double SIGMA2_MU; }PAR; /*...
{ "alphanum_fraction": 0.6879100281, "avg_line_length": 18.3965517241, "ext": "h", "hexsha": "367423d899e17e13f5c0a9e696b295959846e6fe", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-09-15T07:21:19.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-09T18:14:...
/* Copyright 2018 Los Alamos National Laboratory * Copyright 2009-2018 The University of Tennessee and The University * of Tennessee Research Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
{ "alphanum_fraction": 0.5202968797, "avg_line_length": 41.7848101266, "ext": "h", "hexsha": "635de63bdd9d879f835dcbf8b4ac12c0d38244c2", "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 <cstdint> #include <vector> #include <map> #include <string> #include <cassert> #include <climits> #include <gsl-lite.hpp> class RawFile; constexpr auto PSF_TAG_SIG = "[TAG]"; constexp...
{ "alphanum_fraction": 0.6182158453, "avg_line_length": 24.6615384615, "ext": "h", "hexsha": "1b8487530b417367b6be71ed111179991461f04e", "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:...
/* ieee-utils/read.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.5791044776, "avg_line_length": 25.7692307692, "ext": "c", "hexsha": "1de26e84ab78d832cd0cfd95b9e5633d34f4b5ce", "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...
/* fft/gsl_fft_complex.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your opti...
{ "alphanum_fraction": 0.5920843278, "avg_line_length": 35.4084507042, "ext": "h", "hexsha": "d2f2b7adb87aca23a10c93f7c66f99e2636a8478", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
#ifndef _AVA_COMMON_SUPPORT_GEN_STAT_H_ #define _AVA_COMMON_SUPPORT_GEN_STAT_H_ #include <fmt/format.h> #include <stdint.h> #include <gsl/gsl> #include "common/extensions/cmd_batching.h" #include "common/support/io.h" #include "guestlib/guest_thread.h" #include "time_util.h" namespace ava { namespace support { inl...
{ "alphanum_fraction": 0.7555865922, "avg_line_length": 25.5714285714, "ext": "h", "hexsha": "2f116aee19250670979381d1e75bdbaec8d37942", "lang": "C", "max_forks_count": 15, "max_forks_repo_forks_event_max_datetime": "2021-11-18T03:35:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-01-31T21:25...
#pragma once #include <Strategic/Solver.h> #include <Sudoku/Board.h> #include <Sudoku/Location_Utilities.h> #include <Sudoku/Options.h> #include <gsl/gsl> #include <string> #include <iomanip> // setw(), setfill() #include <sstream> #include <utility> namespace Sudoku { // Solver-function declarations: template<in...
{ "alphanum_fraction": 0.5892606129, "avg_line_length": 21.9567901235, "ext": "h", "hexsha": "be0804f9e859bdfcc401dea2b95acdb72b309cbd", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-20T16:26:42.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-20T16:26:...
#ifndef KABSCH_RMSD #define KABSCH_RMSD #include <valarray> #include <cblas.h> #include <lapacke.h> namespace kabsch { template <class M> double rmsd( const M P, const M Q) { double rmsd {0.0}; const unsigned int D {3}; const unsigned int size = P.size(); const unsigned int N = size...
{ "alphanum_fraction": 0.5484832069, "avg_line_length": 18.46, "ext": "h", "hexsha": "00577eba7bb57904ac300e9aec8da16a71ee2d50", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-11-30T06:56:51.000Z", "max_forks_repo_forks_event_min_datetime": "2020-11-30T06:56:51.000Z"...
/* histogram/test.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) a...
{ "alphanum_fraction": 0.7234548336, "avg_line_length": 27.4347826087, "ext": "c", "hexsha": "c170de8e13c9cb0a0d8e936ce406377db7ce9ff5", "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/span> #include "aas/aas_math.h" namespace aas { class Skeleton; struct SkelAnim; struct SkelBoneState; struct AnimPlayerStreamHeader { int field0; int field1; int field2; int8_t pad[3]; }; struct AnimPlayerStreamBone { DX::XMFLOAT4 prevScale; DX::XMFLOAT4 scale; DX...
{ "alphanum_fraction": 0.7515337423, "avg_line_length": 21.0322580645, "ext": "h", "hexsha": "626bf6c15ef29e69167d7b5bf433c00baa2eb60e", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
#ifndef POINTCLOUD_H_8O5EBVHZ #define POINTCLOUD_H_8O5EBVHZ #include <Eigen/Core> #include <algorithm> #include <gsl/gsl> #include <sens_loc/math/coordinate.h> #include <sens_loc/math/image.h> namespace sens_loc::math { /// A pointcloud is a set of camera coordinates. template <typename Real> using pointcloud = st...
{ "alphanum_fraction": 0.6817675455, "avg_line_length": 33.6625, "ext": "h", "hexsha": "e2bc2e3eff484efa9a6de12d080e9aa43d630032", "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": "5c83...
#ifndef config_e9763ac5_66db_439d_99b9_4c84c1b41e14_h #define config_e9763ac5_66db_439d_99b9_4c84c1b41e14_h #include <gslib\config.h> #ifdef __cplusplus #define __rathen_begin__ namespace gs { namespace rathen { #define __rathen_end__ }; }; #endif /* rathen source postfix & binary postfix */ #...
{ "alphanum_fraction": 0.7377892031, "avg_line_length": 22.8823529412, "ext": "h", "hexsha": "f10af7b559cdc2109807b981686a3c249b6991da", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
/* ieee-utils/demo.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.6265822785, "avg_line_length": 27.15625, "ext": "c", "hexsha": "fe579a88239a61d84589d4f022b08e3991a7479a", "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.00...
/* DomSelfAdaptFWD.c Forward-in-time simulation of an adaptive alleles with dominance and selfing, with linked neutral fragment. This is the BATCH version - to be used on cluster machine to produce many simulation replicates at once. Burn-in program: generates neutral background diversity for other simulations to us...
{ "alphanum_fraction": 0.602883432, "avg_line_length": 30.2, "ext": "c", "hexsha": "7b998274e6f688acf475106c5547b883f99f3f75", "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": "73cde4d7...
/* vector/gsl_vector_short.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.6719943423, "avg_line_length": 31.1453744493, "ext": "h", "hexsha": "e73de3a78e7906a263672561468cc28a78ad68c3", "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 Astrometry.net suite. Copyright 2006-2008 Dustin Lang, Keir Mierle and Sam Roweis. The Astrometry.net 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, version 2. The ...
{ "alphanum_fraction": 0.7190123457, "avg_line_length": 30.223880597, "ext": "h", "hexsha": "11d60a031e3e828f3134f56ae11d0ac9c8b1bfe7", "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 GLM_ENABLE_EXPERIMENTAL #include <glm/glm.hpp> #include <gsl/gsl> namespace Library { class Mesh; template <typename T> struct VertexDeclaration { static constexpr uint32_t VertexSize() { return gsl::narrow_cast<uint32_t>(sizeof(T)); } static constexpr uint32_t VertexBufferByteWidth(size...
{ "alphanum_fraction": 0.7641594925, "avg_line_length": 35.5967741935, "ext": "h", "hexsha": "35c32a4f66e8d61c6a4e4c575d9a22aaca97b3f7", "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 ConditionalTest_SERIAL_H #define ConditionalTest_SERIAL_H #include <ace/core/core.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_statistics_double.h> #include <gsl/gsl_randist.h> #include "conditionaltest.h" class ConditionalTest::Serial : public EAbstractAnalyticSerial { Q_OBJ...
{ "alphanum_fraction": 0.7041322314, "avg_line_length": 28.8095238095, "ext": "h", "hexsha": "013331bf9bbf32350255cda2b591060130c7c66a", "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> namespace aas { struct SkelBone; /** * Represents a sphere for cloth collision purposes. */ struct CollisionSphere { int boneId; float radius; Matrix3x4 worldMatrix; Matrix3x4 worldMatrixInverse; std::unique_ptr<CollisionSphere> next; }; /** * Represents a cylinde...
{ "alphanum_fraction": 0.7404844291, "avg_line_length": 19.2666666667, "ext": "h", "hexsha": "19977e88318555ffefcc94c0f24514ddec6d7447", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
/* rng/ranf.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at *...
{ "alphanum_fraction": 0.6450929631, "avg_line_length": 26.0674846626, "ext": "c", "hexsha": "a35fdcac0870f6e350a1a32f874664575a2e7e90", "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:...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for the instrumental noise for LISA-type detectors. * * Formulas taken from Królak&al gr-qc/0401108 (c.f. section III). * */ #ifndef _LISANOISE_H #define _LISANOISE_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED _...
{ "alphanum_fraction": 0.7208926261, "avg_line_length": 32.5473684211, "ext": "h", "hexsha": "45656cc55bf8e018f9de98acfd036bb305ece997", "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:...
#ifndef CONTROLLERS_IMAGEOPERATIONACTIONCONTROLLER_H #define CONTROLLERS_IMAGEOPERATIONACTIONCONTROLLER_H #include <QObject> #include "s3d/cv/image_operation/image_operation.h" #include <QAction> #include <gsl/gsl> class ImageOperationActionController : public QObject { Q_OBJECT public: ImageOperationActionCo...
{ "alphanum_fraction": 0.7750716332, "avg_line_length": 23.2666666667, "ext": "h", "hexsha": "4e067ba15197c51f9b43a224cda047756bc8bf5e", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-05-18T16:22:03.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-13T21:51:...
/* movstat/gsl_movstat.h * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later v...
{ "alphanum_fraction": 0.7247115241, "avg_line_length": 44.7852348993, "ext": "h", "hexsha": "d21ba936858917d7451fedd17b40dc879af819ec", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include <pygsl/utils.h> #include <pygsl/error_helpers.h> #include <pygsl/block_helpers.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_nan.h> #ifndef IMPORTALL static PyObject *module=NULL; #endif typedef int (array_p_evaluator_iid_ad)(int nmin, int nmax, double x, double * result_array); static PyObject* PyGSL_sf_arr...
{ "alphanum_fraction": 0.6426887689, "avg_line_length": 33.7205128205, "ext": "c", "hexsha": "b7957e17584d93809451cd703af6e94320307283", "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:...
/* dht/test_dht.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) ...
{ "alphanum_fraction": 0.6355521056, "avg_line_length": 26.5618556701, "ext": "c", "hexsha": "03cdea47972a7247cbc77922c9c91f690f1fe3dd", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:1...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <ccl.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> //Structure containing info about a model parameter typedef struct { int index; double value; } LSS_param; //Structure defining one of the tracers being correlated ...
{ "alphanum_fraction": 0.7417102967, "avg_line_length": 32.3467741935, "ext": "h", "hexsha": "f5b428ef12635459e3ad2b13f6f0c97faa448222", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2022-03-25T08:38:31.000Z", "max_forks_repo_forks_event_min_datetime": "2018-02-13T19:13:...
//This file contains mostly untested code for computing splined //periodic flux tube configurations #include <stdio.h> #include <stdlib.h> #include <math.h> #include <builtin_types.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv2.h> #include "intT.h" //extern "C" //__device__ __hos...
{ "alphanum_fraction": 0.5946657886, "avg_line_length": 24.3935742972, "ext": "c", "hexsha": "3aac996cdb49d6dce7e824144e1ee22447a26ed6", "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":...
// https://www.gnu.org/software/gsl/doc/html/fft.html #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_fft_real.h> #include <gsl/gsl_fft_halfcomplex.h> int main (void) { int i, n = 100; double data[n]; gsl_fft_real_wavetable * real; gsl_fft_halfcomplex_wavetable * hc; gsl_ff...
{ "alphanum_fraction": 0.5555555556, "avg_line_length": 19.05, "ext": "c", "hexsha": "cee5beea50847d05637b28b6201889b350de1ee9", "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": "fceaba...
#include "snd.h" #include "clm2xen.h" /* Snd defines its own exit and delay * * In Ruby, rand is kernel_rand. * * In Forth, Snd's exit is named snd-exit. */ /* -------- protect XEN vars from GC -------- */ #if HAVE_SCHEME int snd_protect(XEN obj) {return(s7_gc_protect(s7, obj));} void snd_unprotect_at(int...
{ "alphanum_fraction": 0.6401757705, "avg_line_length": 27.6603834904, "ext": "c", "hexsha": "f7ba880841f2fb61c224fa0f875c16170137ec17", "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) 2016-2019, Cris Cecka. All rights reserved. * Copyright (C) 2016-2019, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
{ "alphanum_fraction": 0.6844854071, "avg_line_length": 31.6019417476, "ext": "h", "hexsha": "a341738addc2e116f6c900445375aa9f07ae434d", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-07-31T07:50:20.000Z", "max_forks_repo_forks_event_min_datetime": "2018-08-04T04:38:...
/* FacSexCoalescent.c The facultative sex coalescent program, ported to C Run the program without parameters to obtain a helpfile outlining basic instructions. Further information is available in the README file, and the manual. (see http://github.com/MattHartfield/FacSexCoalescent for more info.) Simulation uses rou...
{ "alphanum_fraction": 0.5496680213, "avg_line_length": 33.2148288973, "ext": "c", "hexsha": "11b6ebd68f683a3a63116afbe3a1a9a9c29b3ab9", "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_dlange.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11...
{ "alphanum_fraction": 0.4636610002, "avg_line_length": 32.2142857143, "ext": "c", "hexsha": "6f1b0e2f01a4428b3809174aab982ed4f066df8d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* specfunc/hyperg_U.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your opt...
{ "alphanum_fraction": 0.5611035468, "avg_line_length": 31.841506752, "ext": "c", "hexsha": "9b28835d6f1f9d9a934aef71530b0b4a0c7bcbf0", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:...
#ifndef MODULE_WASM_LINEAR_MEMORY_H #define MODULE_WASM_LINEAR_MEMORY_H #include <array> #include <vector> #include <algorithm> #include "wasm_base.h" #include "wasm_value.h" #include <stdexcept> #include <iostream> #include <cstring> #include <gsl/span> #include "utilities/endianness.h" namespace wasm { struct WasmL...
{ "alphanum_fraction": 0.737548214, "avg_line_length": 28.806763285, "ext": "h", "hexsha": "7068e89421d640073e02d6df6636071f801710b6", "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 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #ifndef _HEBench_ClearText_LogReg_H_7e5fa8c2415240ea93eff148ed73539b #define _HEBench_ClearText_LogReg_H_7e5fa8c2415240ea93eff148ed73539b #include <gsl/gsl> #include "hebench/api_bridge/cpp/hebench.hpp" #include "clear_benchmark.h" tem...
{ "alphanum_fraction": 0.7326839827, "avg_line_length": 37.7142857143, "ext": "h", "hexsha": "d29be83e22918c4aa092565f8c906dd771646646", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-05T18:01:48.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-05T18:01:...
#include <math.h> #include <stdlib.h> #if !defined(__APPLE__) #include <malloc.h> #endif #include <stdio.h> #include <assert.h> #include <time.h> #include <string.h> #include <fftw3.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sf_erf.h> #include <gsl/gsl_...
{ "alphanum_fraction": 0.6823929961, "avg_line_length": 36.0701754386, "ext": "c", "hexsha": "92d820251496f0af95553b0b752fa350aca422f1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above cop...
{ "alphanum_fraction": 0.6977363515, "avg_line_length": 35.203125, "ext": "c", "hexsha": "f70ccf7c94d56a6b5173babbd5509b63937ae49c", "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": "54...
#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 generate_MCMC_proposition(MCMC_info *MCMC, int flag_chain_init) { // Set the parameters for...
{ "alphanum_fraction": 0.6518784972, "avg_line_length": 40.3548387097, "ext": "c", "hexsha": "1774b21bf59603d47f16d6a7cc633b3b4b59d302", "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:...
/* least_square_solver.c written by Eunseok Lee function: obtain the least-square solution of a linear equation system v1: Feb 2, 2018 */ #include <stdio.h> #include <stdlib.h> #include <math.h> //#include <cem.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> void least_...
{ "alphanum_fraction": 0.6194503171, "avg_line_length": 27.2884615385, "ext": "c", "hexsha": "d9aa6bc9d9836308b3f3239965dd4aa20c4513b9", "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 CONVOLUTION_H #define CONVOLUTION_H #include <cstddef> #include <cstring> #include <iostream> extern "C" { #include <cblas.h> } using namespace std; template<typename T> constexpr T relu(T x) { return (x > 0) ? x : 0; } template<typename T> void mul_mat(T *A, double *B, double *C, size_t m, size_t k...
{ "alphanum_fraction": 0.6187580615, "avg_line_length": 37.1712328767, "ext": "h", "hexsha": "97029be348e73492f62bd8481fca8316a2fd4e0f", "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 DERIVATIVES_H_5CHQ89V7 #define DERIVATIVES_H_5CHQ89V7 #include <gsl/gsl> #include <tuple> #include <type_traits> namespace sens_loc::math { /// Calculate the first derivate with the central differential quotient. /// \tparam Real precision of the calculation /// \param y__1 \f$y_{i-1}\f$ /// \param y_1 \f$y_...
{ "alphanum_fraction": 0.6766917293, "avg_line_length": 35.2857142857, "ext": "h", "hexsha": "1df168888a06557143f36074a538a3f354f6a9df", "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 <slepcmfn.h> #include "cs.h" #include <gsl/gsl_rng.h> //for use in programs like im_clam typedef struct clam_lik_params{ int snpNumber, maxSampleSize,nstates,n1,n2,nParams; gsl_vector *sampleSizeVector,*rates, *stateVec, *resVec ; gsl_vector *paramVector,*paramCIUpper,*paramCILower, *mlParams; //For strai...
{ "alphanum_fraction": 0.6988217968, "avg_line_length": 37.7222222222, "ext": "h", "hexsha": "5c1bb533023d75f66fd9ba878be99b7ebc5d65a3", "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 ALLVARS_H #define ALLVARS_H #include <stdio.h> #include <gsl/gsl_rng.h> #include "core_simulation.h" #define ABORT(sigterm) \ do { \ printf("Error in file: %s\tfunc: %s\tline: %i\n", __FILE__, __F...
{ "alphanum_fraction": 0.7185409366, "avg_line_length": 22.183745583, "ext": "h", "hexsha": "5c89e8ddff8d697078b74667fedf3805b218e2dc", "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 <petsc.h> #include <petscts2.h> #if PETSC_VERSION_LE(3,3,0) #define TSRegister(s,f) TSRegister(s,0,0,f) #endif typedef struct { PetscReal Omega; /* frequency */ PetscReal Xi; /* damping */ } UserParams; #undef __FUNCT__ #define __FUNCT__ "Residual1" PetscErrorCode Residual1(TS ts,PetscReal t,Vec X...
{ "alphanum_fraction": 0.6930078012, "avg_line_length": 31.8986175115, "ext": "c", "hexsha": "a37418b5ab8e3987408e175105fb548521a9547a", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-06-14T10:40:40.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-08T12:55:...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.6193393393, "avg_line_length": 31.7748091603, "ext": "h", "hexsha": "6fb0709b80a56944efd226af8299f1354c5fddb8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
#pragma once #ifndef _NOGSL #include <gsl/gsl_vector.h> #endif class MaxOptimizationWrapper { public: virtual gsl_vector* getMinState() = 0; virtual double getObjectiveVal() = 0; virtual bool maximize(Interface* inputs, const gsl_vector* initState, const gsl_vector* initDir, const set<int>& assertConstraints, int ...
{ "alphanum_fraction": 0.764075067, "avg_line_length": 28.6923076923, "ext": "h", "hexsha": "ddbe2d61b1a9805b9f34d6cf128784311e3208a7", "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:5...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <limits.h> #include <omp.h> #include <stdbool.h> #include <getopt.h> #include <math.h> #include <mpi.h> #include "parmt_config.h" #ifdef PARMT_USE_INTEL #include <ippcore.h> #include <mkl.h> #include <mkl_cblas.h> #else #include <cb...
{ "alphanum_fraction": 0.5298635583, "avg_line_length": 35.9902439024, "ext": "c", "hexsha": "9ffc3011409bcef4f6ab9c01318d7d99c5d0f706", "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 was automatically generated by SWIG (http://www.swig.org). * Version 1.3.36 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency....
{ "alphanum_fraction": 0.6777020091, "avg_line_length": 34.0418096724, "ext": "c", "hexsha": "aeb9eb31d56e0e0ccdb7a2db46b1a29ae5318e8d", "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:...
/* rng/benchmark.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.7131122604, "avg_line_length": 25.0916030534, "ext": "c", "hexsha": "1b81ca4005d8cad7b24d3653aaae311ec296a32a", "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:...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
{ "alphanum_fraction": 0.4872781065, "avg_line_length": 32.8155339806, "ext": "h", "hexsha": "c96490fc998cbb65ca307c19a34bb058e93053d0", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-01-19T07:29:37.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-21T03:11:...
/*** * Copyright 2020 The Katla Authors * * 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...
{ "alphanum_fraction": 0.7244582043, "avg_line_length": 25.5, "ext": "h", "hexsha": "c3ad4d30c787051be672fd36c810d0171a6ba6d1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-26T13:32:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-26T13:32:36.000Z",...
#pragma once #include <gsl/multi_span> #include <droidCrypto/Defines.h> #include <droidCrypto/MatrixView.h> #include <cstring> namespace droidCrypto { enum class AllocType { Uninitialized, Zeroed }; template<typename T> class Matrix : public MatrixView<T> { ...
{ "alphanum_fraction": 0.4759959142, "avg_line_length": 27.4485981308, "ext": "h", "hexsha": "0efd2138dbfacef4f855457b95b9f50256a85cf5", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-01-31T05:40:21.000Z", "max_forks_repo_forks_event_min_datetime": "2019-10-11T08:23:...
#include <stdio.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include <time.h> /* gsl_matrix_printf prints a matrix as a column vector. This function prints a matrix in block form. */ void pretty_print(const gsl_matrix * M) { // Get the dimension of the matrix. int rows = M->size1; int cols = M-...
{ "alphanum_fraction": 0.6527436527, "avg_line_length": 23.9411764706, "ext": "c", "hexsha": "b52af305a0fc57384a5269cbe14a773991ca817c", "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 DOG_H #define DOG_H /* from local library */ #include "colorhistogram.h" /* from OpenCV library */ #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> /* from gsl library */ #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> /* from gflags library */ #include <gflags...
{ "alphanum_fraction": 0.66, "avg_line_length": 19.8529411765, "ext": "h", "hexsha": "c20764d1ba6a46d6329fc3f5de19eb3573ff3e57", "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": "9f87ab...
/* fft/gsl_fft_real_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your o...
{ "alphanum_fraction": 0.7423259836, "avg_line_length": 28.9125, "ext": "h", "hexsha": "a99cab5c12734f3803c52e79ac8665f6a7b402f1", "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_rng.h> int main (void) { const gsl_rng_type * T; gsl_rng * r; int i, n = 10; gsl_rng_env_setup(); T = gsl_rng_default; r = gsl_rng_alloc (T); for (i = 0; i < n; i++) { double u = gsl_rng_uniform (r); printf ("%.5f\n", u); } gsl_rng_free (r)...
{ "alphanum_fraction": 0.5459940653, "avg_line_length": 12.4814814815, "ext": "c", "hexsha": "ca4b2db2d522d4e911163b6e5662a9c10425924c", "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 <stdio.h> #include <gsl/gsl_sf_bessel.h> int main (void) { double x = 5.0; double expected = -0.17759677131433830434739701; double y = gsl_sf_bessel_J0 (x); printf ("J0(5.0) = %.18f\n", y); printf ("exact = %.18f\n", expected); return 0; }
{ "alphanum_fraction": 0.6231343284, "avg_line_length": 16.75, "ext": "c", "hexsha": "7c1a9b019178857ad47260648a562c86ea3da401", "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:16.000Z...
/* ODE: 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 above cop...
{ "alphanum_fraction": 0.6931708261, "avg_line_length": 25.9748743719, "ext": "c", "hexsha": "ff34ebca611c33bbf842bfb10fdf245d06312d13", "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 CWANNIER_SPINORBIT_H #define CWANNIER_SPINORBIT_H #include <stdlib.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_matrix.h> #include "HTightBinding.h" typedef struct { gsl_complex val; int row; int col; } socElem; HTightBin...
{ "alphanum_fraction": 0.7887667888, "avg_line_length": 27.3, "ext": "h", "hexsha": "b9cb57d66a4d4c4fa658348b9829b6cea25b1761", "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": "96b9719...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
{ "alphanum_fraction": 0.6144453837, "avg_line_length": 28.392, "ext": "c", "hexsha": "df86c33e40e5e25f118765a4a791922f9b3642c9", "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": "3361d...
#ifndef __CAD_UTILC_HH__ #define __CAD_UTILC_HH__ /********************************* TRICK HEADER ******************************* PURPOSE: (CAD Utility functions C Version) LIBRARY DEPENDENCY: ((../src/cad_utility_c.c) (../src/global_constants.c)) ***************************************************...
{ "alphanum_fraction": 0.6408227848, "avg_line_length": 32.4102564103, "ext": "h", "hexsha": "c42c0f357482639e15ba2c94d5f3b9711e830c78", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-06-17T03:19:45.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-05T14:59:...
/* Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distr...
{ "alphanum_fraction": 0.719205298, "avg_line_length": 29.8026315789, "ext": "h", "hexsha": "caedf842cb2bd14e3a55b845a4e85cc0add74ce4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #define N 8 int main (void) { int i; double xi, yi; double x[N] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 }; double y[N] = { 0.0, 0.0, 2.0, 0.0,-1.0,-2.0,-1.0, 0.0 }; printf ("#m=0,S=2\n"); f...
{ "alphanum_fraction": 0.5310945274, "avg_line_length": 20.1, "ext": "c", "hexsha": "643236effa1ab406b542f64b22df97b4ea731a1c", "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",...
#ifndef CIMPLE_CIMPLE_AUXILIARY_FUNCTIONS_H #define CIMPLE_CIMPLE_AUXILIARY_FUNCTIONS_H /** * @brief Macro computes number of an array. * * Remark: It is defined as a Macro so that it can be used independently of the type of the array * e.g. int a[2]; =>N_ELEMS(a)=2 * polytope b[3]; =>N_ELEMS(a)=2 (this is a...
{ "alphanum_fraction": 0.6867239733, "avg_line_length": 22.7608695652, "ext": "h", "hexsha": "5709aa83f1dde0d888137b30e2e82fa7638b2b1a", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:...