Search is not available for this dataset
text
string
meta
dict
/* * mixmax.c * MIXMAX, A Pseudo-Random Number Generator * * Copyright Konstantin Savvidy. * * Free to use, academic or commercial. Do not redistribute without permission. * * G.K.Savvidy and N.G.Ter-Arutyunian, * On the Monte Carlo simulation of physical systems, * J.Comput.Phys. 97, 566 (1991); * Pre...
{ "alphanum_fraction": 0.6719636776, "avg_line_length": 32.0894039735, "ext": "h", "hexsha": "8669c377f29ba438f9c85d1a60007d215adf75fe", "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/solve_quadratic.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 opt...
{ "alphanum_fraction": 0.4982508746, "avg_line_length": 23.2674418605, "ext": "c", "hexsha": "8af69dbe6baa1476654e95138a9a000b2c82efc8", "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 <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_blas.h> #include "su2_matrix.c" #ifndef gauge_config #include "config.h" #define gau...
{ "alphanum_fraction": 0.5515501081, "avg_line_length": 26.2938388626, "ext": "c", "hexsha": "da53334449c4e6417c2d5b61772bbc49eab82b2b", "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_dpotrf.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 * @author Mathieu Faverge * @author Jakub Kurzak * @date 2010-11-15 * @g...
{ "alphanum_fraction": 0.5427380125, "avg_line_length": 27.1509433962, "ext": "c", "hexsha": "ab122805fa8c2a0fd9cc5c3462134fb6df19549e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_complex.h> #include <gsl/gsl_math.h> #include <gsl/gsl_fft_real.h> #include <gsl/gsl_fft_halfcomplex.h> #include <gsl/gsl_fft_complex.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_poly.h> #include <gsl/gsl_statistics_double.h> #include <gsl/gsl_statistics_float.h> #inclu...
{ "alphanum_fraction": 0.5170098478, "avg_line_length": 19.6395604396, "ext": "c", "hexsha": "9e67266bc4774a649c7d47afd2b915c77282cb71", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C code headers for the implementation of the Fourier domain response for LISA-like detectors * */ #ifndef _LISAFDRESPONSE_H #define _LISAFDRESPONSE_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #els...
{ "alphanum_fraction": 0.6197903014, "avg_line_length": 66.9298245614, "ext": "h", "hexsha": "0a3a2e84833ed4f67e76dcccd676499f599b4d98", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:...
/* */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "inout_aper.h" #include "aper_conf.h" #include <gsl/gsl_multifit_nlin.h> #include "trfit_utils.h" #define AXE_IMAGE_PATH "AXE_IMAGE_PATH" #define AXE_OUTPUT_PATH "AXE_OUTPUT_PATH" #define AXE_CONFI...
{ "alphanum_fraction": 0.6399766219, "avg_line_length": 26.8743455497, "ext": "c", "hexsha": "8c0d1a0060b82e00e2ba91ba6c0ad27740e71de1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "compearth.h" #ifdef COMPEARTH_USE_MKL #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wreserved-id-macro" #pragma clang diagnostic ignored "-Wstrict-prototypes" #endif #include <mkl_lapacke.h> #ifdef __clang__ #pragma...
{ "alphanum_fraction": 0.4703703704, "avg_line_length": 29.4545454545, "ext": "c", "hexsha": "4d0befecfd474c4061d55f5d8724348c3468146b", "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:...
/***************** * @file leastsq.h * @date 4/1/08 * @author Douglas Applegate * * @brief Provides a wrapper around the GSL libraries for fitting functions *****************/ //CVSID $Id: leastsq.h,v 1.1 2008-04-04 01:43:12 mallen Exp $ //////////////////////////////////////////////////// #ifndef LEASTSQ_H #d...
{ "alphanum_fraction": 0.6522085157, "avg_line_length": 23.9333333333, "ext": "h", "hexsha": "c31d660915d62537efd277bc0fa984816d0704fb", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-10-12T00:36:35.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-15T21:19:...
/*! @copyright (c) 2017 King Abdullah University of Science and * Technology (KAUST). All rights reserved. * * STARS-H is a software package, provided by King Abdullah * University of Science and Technology (KAUST) * * @file testing/mpi_cauchy.c * @version 1.3.0 * @author Aleksa...
{ "alphanum_fraction": 0.5682382134, "avg_line_length": 27.0167597765, "ext": "c", "hexsha": "3092d3545312593487eefeddc0adfa9e1c0205cb", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-11-09T10:54:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-11-09T10:54:...
#ifndef OPENMC_TALLIES_FILTER_DELAYEDGROUP_H #define OPENMC_TALLIES_FILTER_DELAYEDGROUP_H #include <vector> #include <gsl/gsl> #include "openmc/tallies/filter.h" namespace openmc { //============================================================================== //! Bins outgoing fission neutrons in their delayed g...
{ "alphanum_fraction": 0.5181644359, "avg_line_length": 27.5263157895, "ext": "h", "hexsha": "64bdd3398565cf33a29f23459a0ef5632d2fb709", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-03-22T20:54:48.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-31T21:03:...
/* Copyright (C) 2020 David Cornu for the Convolutional Interactive Artificial Neural Networks by/for Astrophysicists (CIANNA) Code (https://github.com/Deyht/CIANNA) 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 ...
{ "alphanum_fraction": 0.7477203647, "avg_line_length": 18.5352112676, "ext": "h", "hexsha": "169d3ef388323681dba7bf2f3d5866e6046f2129", "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":...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2014 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICEN...
{ "alphanum_fraction": 0.4815837937, "avg_line_length": 25.2558139535, "ext": "c", "hexsha": "82eb6520a32422a3a7780ae823698fd3ff695055", "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":...
//------------------------------------------------------------------------------ // Util.h // Various utility functions and basic types used throughout the library. // // File is under the MIT license; see LICENSE for details. //------------------------------------------------------------------------------ #pragma once...
{ "alphanum_fraction": 0.4890599676, "avg_line_length": 37.9692307692, "ext": "h", "hexsha": "896aa8e9164c79cb4389ae7233f07211760f45a7", "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 RECTREE_H #define RECTREE_H #include "tree.h" #include "recedge.h" #include "weakarg.h" #include "mpiutils.h" #include "wargxml.h" #include <gsl/gsl_randist.h> #define MAXNODES 100000 using namespace std; namespace weakarg { class Param; /** @brief Recombinant tree using Tree class */ class RecTree:pu...
{ "alphanum_fraction": 0.7175130695, "avg_line_length": 58.8571428571, "ext": "h", "hexsha": "af7139ff3c6e895bee11ab3f7c06f23502d2824d", "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/log.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 option) ...
{ "alphanum_fraction": 0.6504277222, "avg_line_length": 25.6394052045, "ext": "c", "hexsha": "ca612721f0b1ad3b1a766634b6821367a8bd12bd", "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:...
static char help[] = "Coupled reaction-diffusion equations (Pearson 1993). Option prefix -ptn_.\n" "Demonstrates form F(t,Y,dot Y) = G(t,Y) where F() is IFunction and G() is\n" "RHSFunction(). Implements IJacobian(). Defaults to ARKIMEX (= adaptive\n" "Runge-Kutta implicit-explicit) TS type.\n\n"; // compare runs...
{ "alphanum_fraction": 0.5505180116, "avg_line_length": 41.9163346614, "ext": "c", "hexsha": "c15d0152a9e43788fc3a4c6d64b0104faafb67be", "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 <gsl/block/gsl_block.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/block/init_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.7684210526, "avg_line_length": 19, "ext": "c", "hexsha": "ffe5d38c2053dafeaa3e4e5312319676da984314", "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": "58778f148...
/* * Copyright (c) 2020 Microsoft. All rights reserved. */ #pragma once // a place for frequently used types, especially ones relied on for interfaces // eg gsl::span<uint8_t> etc #include "machine.h" #include <vector> #include <gsl/span> #include <gsl/span_ext> #include <gsl/util> #include <type_traits> // fo...
{ "alphanum_fraction": 0.7123548046, "avg_line_length": 28.8719512195, "ext": "h", "hexsha": "1af6fb13db72e95a4c633a2d54f6ae305222e68d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#ifndef QDM_TAU_H #define QDM_TAU_H 1 #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_vector.h> typedef struct { bool use_table; double low; double high; size_t spline_df; const gsl_vector *knots; gsl_vector *reset; gsl_matrix *ispline_table; gsl_matrix *mspline_table; } qdm_...
{ "alphanum_fraction": 0.6918392205, "avg_line_length": 13.6833333333, "ext": "h", "hexsha": "fb4de5186116e366a4f5203b99265780fac5b235", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// Implementation of the interface in float_image.h. #include <errno.h> #include <float.h> #include <limits.h> #include <math.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <setjmp.h> #include <glib.h> #if GLI...
{ "alphanum_fraction": 0.6352059688, "avg_line_length": 34.4344978166, "ext": "c", "hexsha": "90d911df9b5ff1a56a549c0240d95f1df74ea4cd", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
// Copyright 2021 atframework // Created by owent on 2016-05-21 #pragma once #include <string> #include <gsl/select-gsl.h> #include <log/log_wrapper.h> #include "atframe/atapp_config.h" namespace atapp { namespace protocol { class atapp_log; class atapp_log_category; class atapp_log_sink; } // namespace protocol ...
{ "alphanum_fraction": 0.7693535515, "avg_line_length": 25.06, "ext": "h", "hexsha": "f3a3046d3dbbc8dae428d8474c6ded55f8438203", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2020-04-19T10:06:06.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-04T06:14:12.000Z"...
/* Simulation of a network of FitzHugh-Nagumo neurons, coupled by excitatory chemical synapses, receiving decorrelated, random input spiketrains with both excitatory and inhibitory components. The simulation was written by Ekkehard Ullner in 2013. This is a modified version of E.U.'s original, stand-alone program, fo...
{ "alphanum_fraction": 0.556861673, "avg_line_length": 44.3932038835, "ext": "c", "hexsha": "c1431d162198541461c65b9a8ad23c341ba62f3e", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-12-21T13:40:08.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-19T14:21:2...
/* Starting from version 7.8, MATLAB BLAS expects ptrdiff_t arguments for integers */ #if MATLAB_VERSION >= 0x0708 #include <stddef.h> #include <stdlib.h> #endif #include <string.h> /* Define MX_HAS_INTERLEAVED_COMPLEX for version <9.4 */ #ifndef MX_HAS_INTERLEAVED_COMPLEX #define MX_HAS_INTERLEAVED_...
{ "alphanum_fraction": 0.6326876185, "avg_line_length": 42.5475504323, "ext": "h", "hexsha": "67ae66c2d6e80802a302ca1da951b06053e476c7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for the conversion between time scales. * */ #ifndef _TIMECONVERSION_H #define _TIMECONVERSION_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> ...
{ "alphanum_fraction": 0.6986444213, "avg_line_length": 19.18, "ext": "h", "hexsha": "2eaea088cb592422fdc8941c862c56200812094a", "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.000Z"...
/* ode-initval/test_odeiv.c * * Copyright (C) 2004 Tuomo Keskitalo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later ver...
{ "alphanum_fraction": 0.5717673248, "avg_line_length": 20.0426770126, "ext": "c", "hexsha": "7fb6001a1990a93bde3b74abc8d9edac9216c039", "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...
/* * 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.633691599, "avg_line_length": 32.3333333333, "ext": "h", "hexsha": "41e97c1c282cc8c95ca1ebb3f48fc758de588a0f", "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:5...
#pragma once #include "Type/peColor.h" #include "Type\peBitmask.h" #include "peCoreDefs.h" #include <glm/detail/type_vec2.hpp> #undef max #include <gsl.h> #include <random> #pragma warning(push) #pragma warning(disable : 4251) /* * Everything in here is taking more or less one-to-one from 'Physically based * rende...
{ "alphanum_fraction": 0.7023942094, "avg_line_length": 37.9436619718, "ext": "h", "hexsha": "5e4e74eda0aa09dfa14ff56d1d40873ba17030a5", "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":...
// // Created by karl_ on 2020-5-3. // #include <stdlib.h> #include <math.h> #include <cblas.h> #include <core/color-space.h> #include <imgproc/histogram-equalization.h> #include "color-convert.h" // ref: https://www.math.uci.edu/icamp/courses/math77c/demos/hist_eq.pdf static void histeq(double const *...
{ "alphanum_fraction": 0.614198183, "avg_line_length": 31.9797297297, "ext": "c", "hexsha": "2526733226a04c49b317549dad62410a97cddc57", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-06-07T11:19:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-30T14:45:3...
/****************************************************************************** * * * DECS.H * * * ...
{ "alphanum_fraction": 0.6981508384, "avg_line_length": 34.2436762226, "ext": "h", "hexsha": "c61882d857f3de07fdcb756f1e60d849d907706f", "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_matrix.h> #include <gsl/gsl_linalg.h> int main() { int MAT_DIM = 4; int i,j; int myArray[16] = {4, 3, 2, 1, 1,10, 3, 4, 5, 3, 2, -4, 4, 8, 7, 9}; gsl_matrix *m = gsl_matrix_alloc(MAT_DIM,MAT_DIM); for (i=0; i<MAT_DIM; i++) for (j=0; j<MAT_DIM; j++) gsl_matri...
{ "alphanum_fraction": 0.5878552972, "avg_line_length": 22.1142857143, "ext": "c", "hexsha": "adfa556ba3ce2d595a780a1ecbfad1be48dea3d2", "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":...
/** Spiking Neuron Neural Simulator * Written by Francis Jeanson 2012 */ #include <stdio.h> #include <math.h> #include <time.h> #include <stdlib.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> /* Code Utils */ #define TRUE 1 #define FALSE 0 /* Simulation Defs */ #define TIME_SCALE_FACTOR 1 #define SIMULTI...
{ "alphanum_fraction": 0.7461980399, "avg_line_length": 35.6506024096, "ext": "h", "hexsha": "9e9488589ab763da6cec86bc9455a6f4142a57f6", "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":...
/* integration/tests.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...
{ "alphanum_fraction": 0.5476806346, "avg_line_length": 26.2398190045, "ext": "c", "hexsha": "2e73ab6006cf9e8334d5f85b26991e53e7db4fd8", "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:...
static char help[] = "ODE system solver example using TS. Solves a 2D system\n" " dy/dt = G(t,y)\n" "with y(t0) = y0 to compute y(tf). Sets problem type to NONLINEAR and\n" "TS type to Runge-Kutta. No Jacobian is supplied; compare odejac.c.\n" "Exact solution is known.\n\n"; #include <petsc.h> extern PetscError...
{ "alphanum_fraction": 0.6508984232, "avg_line_length": 32.4642857143, "ext": "c", "hexsha": "3d18b802d2e7e8948818c8d7c061d38887deb3e0", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26...
/* statistics/test.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Jim Davies, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * y...
{ "alphanum_fraction": 0.7228637413, "avg_line_length": 22.7894736842, "ext": "c", "hexsha": "800fac4866e95dca67a60b2264ef06566e437e08", "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 "BoundingVolume.h" #include "Library.h" #include "TileContentLoadResult.h" #include "TileContentLoader.h" #include "TileID.h" #include "TileRefine.h" #include <CesiumGltf/GltfReader.h> #include <glm/mat4x4.hpp> #include <gsl/span> #include <spdlog/fwd.h> #include <cstddef> namespace Cesium3DT...
{ "alphanum_fraction": 0.7229463474, "avg_line_length": 34.7263157895, "ext": "h", "hexsha": "74724e19dbc6c5167c721558d23ab2f7db64dead", "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) 2010-2018 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2013 Inria. All rights reserved. * * @precisions normal z -> c d s * */ #include <lapacke.h> #include "dpl...
{ "alphanum_fraction": 0.5309259028, "avg_line_length": 33.7679324895, "ext": "c", "hexsha": "2ed561c068f4f4d1d089d23f168d0e9c44e4e7b9", "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 areaproblemdata_h #define areaproblemdata_h #include <ceed.h> #include <petsc.h> #include "../include/structs.h" #include "../qfunctions/area/areacube.h" #include "../qfunctions/area/areasphere.h" // ----------------------------------------------------------------------------- // Problem Option Data // ------...
{ "alphanum_fraction": 0.5667189953, "avg_line_length": 24.0377358491, "ext": "h", "hexsha": "2fd9ede38ecbcc0ba65b55cb7235250007d1cc42", "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...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6161876356, "avg_line_length": 40.0869565217, "ext": "c", "hexsha": "522d06726cca1a4bdd468d83ff29c02959bf5f20", "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...
/* Compile as gcc compGraph2graph6.c -O2 -lgsl -lgslcblas -o compGraph2graph6 */ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_blas.h> /* Order of input gr...
{ "alphanum_fraction": 0.6096486004, "avg_line_length": 33.4462151394, "ext": "c", "hexsha": "0695cb17080eaf86979b101270df76c1ecd7af4f", "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":...
/* * vbHmmTsFret.c * Model-specific core functions for VB-HMM-TS. * * 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 2015.09.17 */ #include "vb...
{ "alphanum_fraction": 0.504381161, "avg_line_length": 29.0906862745, "ext": "c", "hexsha": "2e8dec02c34c872ee02df3f61995a2e54d96f4b5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
{ "alphanum_fraction": 0.5712578638, "avg_line_length": 29.1228249744, "ext": "c", "hexsha": "9d65fa1e7f5442f7463eff4903cebda6bed53f85", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:...
#pragma once #include <initializer_list> #include <list> #include <vector> #include <gsl/gsl_complex.h> #include "Expression.h" class TupleExpression: public Expression { std::vector<expression> data; TupleExpression(); TupleExpression(std::vector<expression>&& tuple); TupleExpression(std::list<ex...
{ "alphanum_fraction": 0.7172734314, "avg_line_length": 30.7380952381, "ext": "h", "hexsha": "698312616d74acde6ad4897559c783cb879394fb", "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 2007 Kristjan Haule // #include <cstdio> #include <cstdlib> #include <gsl/gsl_rng.h> #include <map> class RanGSL{ const gsl_rng_type *T; gsl_rng *r; public: RanGSL(int idum) { gsl_rng_env_setup(); // T = gsl_rng_default; // T = gsl_rng_taus; T = gsl_rng_ranlux389; r = g...
{ "alphanum_fraction": 0.6501877347, "avg_line_length": 24.96875, "ext": "h", "hexsha": "be0edc686d704902cc5f75504cca51c5d22bfc8c", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2016-08-02T15:05:12.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-22T15:46:56.00...
#ifndef libceed_solids_examples_setup_dm_h #define libceed_solids_examples_setup_dm_h #include <ceed.h> #include <petsc.h> #include <petscdmplex.h> #include <petscfe.h> #include "../include/structs.h" // ----------------------------------------------------------------------------- // Setup DM // ---------------------...
{ "alphanum_fraction": 0.6037974684, "avg_line_length": 34.347826087, "ext": "h", "hexsha": "afc9589eb9ea5ee9ea131c2d30ff62a9b9b26b76", "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 dtile.c * * PLASMA auxiliary routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Jakub Kurzak * @author Mathieu Faverge * @date 2010-11-15 * @generated d Tue Jan 7 11:45:15 2014 * ...
{ "alphanum_fraction": 0.4971246006, "avg_line_length": 26.0833333333, "ext": "c", "hexsha": "01724336f3f26cabd91c02d9fa5f0f4b7a805d55", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-01-21T11:17:28.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-22T18:44:...
#pragma once #include "Cesium3DTilesReader/Library.h" #include <Cesium3DTiles/Subtree.h> #include <CesiumJsonReader/ExtensionReaderContext.h> #include <gsl/span> #include <functional> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <vector> namespace Cesium3DTilesReader { ...
{ "alphanum_fraction": 0.7075688073, "avg_line_length": 22.9473684211, "ext": "h", "hexsha": "1f1d2f64aea0e4ca0464560e43e9fd5fccedd0bb", "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. //------------------------------------------------------------------------------ // KeypointSpatialIndex.h // // Allows to construction, query, and removal of Keypoint entries based on pixel position. //-----------------------------------------...
{ "alphanum_fraction": 0.5885660731, "avg_line_length": 26.0243902439, "ext": "h", "hexsha": "5fb2dede7cf71e201f4ec63c60cb01954058623e", "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...
// Alessandro Casalino // // Compile with (Mac with default homebrew gsl 2.6) gcc-9 -O2 quintessence_evolve.c -o quintessence_evolve.exe -L/usr/local/Cellar/gsl/2.6/lib -I/usr/local/Cellar/gsl/2.6/include -lgsl // Run with ./quintessence_evolve.exe #include <stdio.h> #include <stdlib.h> #include <math.h> #include <str...
{ "alphanum_fraction": 0.6480813575, "avg_line_length": 39.0600461894, "ext": "c", "hexsha": "ed6dd0dd26ff4952ed73de96ca5e732d293e3359", "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 <memory> #include <vector> #include <gsl/span> #include <map> #include <Eigen/Geometry> namespace mage { struct BundlerParameters { bool ArePointsFixed{ false }; // True if map points should not...
{ "alphanum_fraction": 0.7091402014, "avg_line_length": 37.9705882353, "ext": "h", "hexsha": "0dfcc2b51c6399aa2562f675eec1d0695d928764", "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...
/* MPCOTool: The Multi-Purposes Calibration and Optimization Tool. A software to perform calibrations or optimizations of empirical parameters. AUTHORS: Javier Burguete and Borja Latorre. Copyright 2012-2019, AUTHORS. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
{ "alphanum_fraction": 0.6590936388, "avg_line_length": 39.3868267831, "ext": "c", "hexsha": "95aba2601cddfdd31c0fb7e8d65d8aeebfa8f8f2", "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 EV3PLOTTER_MESSAGEQUEUE_H #define EV3PLOTTER_MESSAGEQUEUE_H #include <gsl/span> #include <memory> #include <string_view> #include <type_safe/flag_set.hpp> namespace ev3plotter { class message_queue { public: enum class option { read, write, non_blocking, remove_on_destruction, _flag_set_size }; en...
{ "alphanum_fraction": 0.7494199536, "avg_line_length": 25.3529411765, "ext": "h", "hexsha": "b2d821e6ba9491162f25f2ca93515e1d2021ff63", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "tests.h" void test_nrm2 (void) { const double flteps = 1e-4, dbleps = 1e-6; { int N = 1; float X[] = { 0.317f }; int incX = -1; float expected = 0.0f; float f; f = cblas_snrm2(N, X,...
{ "alphanum_fraction": 0.54595186, "avg_line_length": 19.0416666667, "ext": "c", "hexsha": "020cde02e50d4d3cad55c928972c7687df523962", "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...
#if MKL_FOUND #include <mkl.h> #else #if BLAS_FOUND #include <cblas.h> #endif #endif inline void sgemm(bool transA, bool transB, int rows_a, int rows_b, int width, float alpha, float* a, int ld...
{ "alphanum_fraction": 0.424, "avg_line_length": 23.8095238095, "ext": "h", "hexsha": "a591fdd26a9b22d793fa14c3674b9324dcc75c93", "lang": "C", "max_forks_count": 192, "max_forks_repo_forks_event_max_datetime": "2022-03-28T05:33:11.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-27T10:17:26.00...
#include<stdio.h> #include<sys/time.h> #include <stdlib.h> #include <cblas.h> #include <omp.h> void SGEMM_NT_MP(float *C, float *A, float *B, long M, long N, long K, long LN, long LK, float *SB, long k_tag) { asm volatile( ".macro PACK_KERNEL5x4_BEGIN_K \n" " \n" " ldr q0, [x11],...
{ "alphanum_fraction": 0.4114525247, "avg_line_length": 23.9071406681, "ext": "c", "hexsha": "50cfb13b65775787f1862d2395f70ad35967249e", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-02-28T02:32:05.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-17T15:31:...
#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_errno.h> #include <gsl/gsl_sf_erf.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sf_gamma.h> #incl...
{ "alphanum_fraction": 0.6981382979, "avg_line_length": 42.5660377358, "ext": "c", "hexsha": "b86062c013fe3cca64eca84f4604c1e09cb08144", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <gsl/gsl> #include <type_traits> #include "Exponentials.h" #include "HyperionUtils/Concepts.h" #include "HyperionUtils/Macros.h" #include "HyperionUtils/OptionAndResult.h" namespace hyperion::math { using utils::None; using utils::Option; using utils::Some; using utils::concep...
{ "alphanum_fraction": 0.7076750491, "avg_line_length": 39.9141791045, "ext": "h", "hexsha": "7725a7a290b181b156ba15d541fcd2fad8699428", "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":...
/* sys/test.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 option) a...
{ "alphanum_fraction": 0.6302566026, "avg_line_length": 27.3308931186, "ext": "c", "hexsha": "7685d3edc258e2fcbd7db2febc1274932be4dbf9", "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:...
/* coupled_oscillators.c Kuramoto model of coupled phase oscillators */ /* * Dynamique Populations Cellulaires * Université Lyon 1, 2014 * * Fichiers: * coupled_oscillators.c * makefile * * Ce code utilise la librairie gsl (GNU Scientific Library) * * Pour compiler sur mac ou linux: * * ouvrir un termina...
{ "alphanum_fraction": 0.5515534312, "avg_line_length": 24.4083333333, "ext": "c", "hexsha": "67651775e5d6cd050a35d95b3ae53ef8000c5f4b", "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":...
/* fft/gsl_fft_complex_float.h * * 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 ...
{ "alphanum_fraction": 0.5999252197, "avg_line_length": 38.2071428571, "ext": "h", "hexsha": "d3ff395f976eb924d1363748f0de1d7180191bf3", "lang": "C", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12...
#pragma once #include <cstddef> #include <gsl/gsl.h> namespace util{ template<typename T> using span_dyn = gsl::span<T>; template<typename T, int64_t M> using span_1d = gsl::span<T,M>; template<typename T, int64_t M, int64_t N> using span_2d = gsl::span<T,M,N>; template<typename T, int64_t L, int64_t M, int64_t N> ...
{ "alphanum_fraction": 0.7122507123, "avg_line_length": 23.4, "ext": "h", "hexsha": "8535a886269555224ab6077d4140d224802c32ba", "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": "c462392...
#pragma once #include "Cesium3DTiles/Library.h" #include "CesiumGltf/Model.h" #include <functional> #include <glm/mat4x4.hpp> #include <gsl/span> #include <optional> namespace Cesium3DTiles { /** * @brief Functions for loading and processing glTF models. * * This class offers basic functions for loading glTF mode...
{ "alphanum_fraction": 0.6993387787, "avg_line_length": 32.1375, "ext": "h", "hexsha": "648931f8ea345d6dc5e8e7eabde7c3bf574a85d0", "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": "d7b0...
#ifndef PDCD_SMSVM_H #define PDCD_SMSVM_H #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include <math.h> //This class implements the method SMAR...
{ "alphanum_fraction": 0.4874562219, "avg_line_length": 21.3603053435, "ext": "h", "hexsha": "65e2edf03ba1a78009523641bc882f907b26cc6d", "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:...
/*Python3 includes*/ #include <Python.h> /*System includes*/ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <sys/stat.h> #include <float.h> #include <sys/time.h> /*GSL includes*/ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_r...
{ "alphanum_fraction": 0.5885042602, "avg_line_length": 20.4348222425, "ext": "c", "hexsha": "1e2508e83ffa1416f5eb9f21bd96b0448c3856af", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-08-16T17:25:06.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-16T17:25:...
/* specfunc/gsl_sf_lambert.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 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...
{ "alphanum_fraction": 0.7148372863, "avg_line_length": 25.9, "ext": "h", "hexsha": "53b70a3a3f7296e9016865d8b73585404fbb2257", "lang": "C", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12:21.000Z"...
/* spcompress.c * * Copyright (C) 2012-2014, 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later versio...
{ "alphanum_fraction": 0.5637626263, "avg_line_length": 23.8793969849, "ext": "c", "hexsha": "d680fa550b80e4fc1f290dbbc1ab670bcf337923", "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 MITRO_GRAPH_SHORTEST_PATH_DIJKSTRA_H #define MITRO_GRAPH_SHORTEST_PATH_DIJKSTRA_H #include "Graph.h" #include <gsl.h> ///////////////////////////////////////////////////// // DIJKSTRA'S SHORTEST PATH ///////////////////////////////////////////////////// std::vector<std::pair<double, const GraphEdge*>> nodeWei...
{ "alphanum_fraction": 0.6485377116, "avg_line_length": 40.6041666667, "ext": "h", "hexsha": "f6a9bb0e7c96f4702e40c0a5407d5f59bdcbfcee", "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":...
//Gets line spectral frequencies (LSFs). //from the autoregressive (AR) coefficients along cols or rows of X. #include <stdio.h> #include <stdlib.h> #include <float.h> #include <math.h> #include <cblas.h> #include <lapacke.h> #include "cmp_ascend.c" #ifdef __cplusplus namespace ov { extern "C" { #endif int ar2lsf_s ...
{ "alphanum_fraction": 0.576836545, "avg_line_length": 59.783625731, "ext": "c", "hexsha": "0be89577def0e13f2dd07014bbc8c64250774b5a", "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": "...
/* integration/qawo.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 o...
{ "alphanum_fraction": 0.5526194216, "avg_line_length": 23.4772234273, "ext": "c", "hexsha": "03b9dce7fdd52349578131b6097fb4cbc5e623f0", "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:...
/* Generalization Error with Resampling method. */ //gcc -Wall -g -lm -lgsl -lgslcblas rsm4ge.c -o rsm4ge //make rsm4ge //Usage:rsm4ge data/11train1e3.dat 10 1 data/11test101x101.dat #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> #include <dirent.h> //#define nNmax 100 #define square(...
{ "alphanum_fraction": 0.5462629127, "avg_line_length": 40.0405515004, "ext": "c", "hexsha": "88beeab5a6bd5b50cb9a74539f0e68074e0d8fb2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-12-01T00:54:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-01T00:54:...
//This involves multiplication of two vectors. #include <stdio.h> #include <gsl/gsl_vector.h> void vector_mul(double* a, double *b, double *c, size_t size) { int i; gsl_vector * a_vec = gsl_vector_alloc (size); gsl_vector * b_vec = gsl_vector_alloc (size); gsl_vector * c_vec = gsl_vector_alloc (size); for...
{ "alphanum_fraction": 0.6332378223, "avg_line_length": 25.5365853659, "ext": "c", "hexsha": "96cd57c10c58d765a04399ca70667391c73670cf", "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 SN3D_H #define SN3D_H #include <cassert> #ifndef __CUDA_ARCH__ // host code #define __artis_assert(e) if (!(e)) { if (output_file != NULL) {(void)fprintf(output_file, "[rank %d] %s:%d: failed assertion `%s' in function %s\n", globals::rank_global, __FILE__, __LINE__, #e, __PRETTY_FUNCTION__);} (void)fpri...
{ "alphanum_fraction": 0.70720423, "avg_line_length": 22.5820895522, "ext": "h", "hexsha": "0eb47f63b2dff8dbcc78aa75b7ce129b010f1a6d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
#include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "cblas.h" void cblas_ssyr (const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo, const int N, const float alpha, const float *X, const int incX, float *A, const int lda) { #define BASE float #include "source_syr.h" #undef BASE }
{ "alphanum_fraction": 0.7185430464, "avg_line_length": 21.5714285714, "ext": "c", "hexsha": "c837bae79726c2d951ecc84be7e36ad67b0ea562", "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 MSNHINFERENCECFG_H #define MSNHINFERENCECFG_H #include <stdint.h> #include <float.h> #include <string> #include <vector> #include <chrono> #include "Msnhnet/utils/MsnhException.h" #include "Msnhnet/config/MsnhnetMacro.h" #include <math.h> #include <string.h> #ifdef USE_OMP #include <omp.h> #endi...
{ "alphanum_fraction": 0.6058147397, "avg_line_length": 14.0857142857, "ext": "h", "hexsha": "698c999df146690f57977992e0bfadddbe37edb7", "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":...
/* linalg/test_cod.c * * Copyright (C) 2017 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * ...
{ "alphanum_fraction": 0.6453872483, "avg_line_length": 29.2843822844, "ext": "c", "hexsha": "d69883bec4d18969454535477158ed149abb8f2a", "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:...
#pragma once #include <string> #include <gsl/gsl_complex.h> #include "Expression.h" struct NumericalExpression: public Expression { NumericalExpression(Scanner::Type kind); expression derivative(const std::string& var) override; expression integrate(const std::string& var) override; }; class NumExpre...
{ "alphanum_fraction": 0.7004377736, "avg_line_length": 23.8656716418, "ext": "h", "hexsha": "ab0123d8363ec77977bab3222668b230cb862d0e", "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 "AsynchronousUpdate.h" #include <stdio.h> #include <stdlib.h> #include "constants.h" #include <gsl/gsl_rng.h> #include <omp.h> int getBool(gsl_rng* r) { return gsl_rng_uniform_int(r,2); } void singleStateUpdate(int n, int* state, int** topology, int seed, int* fixed_nodes) { //Perform Asynchronous Updates ...
{ "alphanum_fraction": 0.6453564851, "avg_line_length": 21.4745762712, "ext": "c", "hexsha": "c405a5e7163a85af45b972d87785b1edf97ce6ce", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* matrix/gsl_matrix_uchar.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 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.6667855233, "avg_line_length": 35.1661442006, "ext": "h", "hexsha": "c85c01223be8487ee57067cf4ee4ee05bb1c4201", "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...
/* spmatrix/gsl_spmatrix_float.h * * Copyright (C) 2012, 2013, 2014, 2015, 2016, 2017, 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 Licens...
{ "alphanum_fraction": 0.7387414708, "avg_line_length": 38.3430232558, "ext": "h", "hexsha": "fa216c7ab328eac3bf9a4c66f3e8c04142ace1ac", "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":...
// // Created by ZL on 2019-06-13. // #ifndef ZQCNNDEMO_ZQCNN_MTCNN_NCHWC4_H #define ZQCNNDEMO_ZQCNN_MTCNN_NCHWC4_H #include "ZQ_CNN_Net_NCHWC.h" #include "ZQ_CNN_MTCNN_NCHWC.h" #include <vector> #include <iostream> #include "opencv2/opencv.hpp" #include "ZQ_CNN_CompileConfig.h" #include <cblas.h> class MTCNNNCHWC {...
{ "alphanum_fraction": 0.7431781701, "avg_line_length": 20.0967741935, "ext": "h", "hexsha": "a06ebf088dc9bbf85755e1c91039a91ab47d53b1", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-04-17T02:21:50.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-27T00:49:...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include <map> #include "DrawableGameComponent.h" #include "FullScreenRenderTarget.h" #include "FullScreenQuad.h" #include "MatrixHelper.h" namespace Library { class Texture2D; class TexturedModelMaterial; } namespace Renderin...
{ "alphanum_fraction": 0.7865013774, "avg_line_length": 30.676056338, "ext": "h", "hexsha": "0a0707f7e5b5ea75ade69a1fbc5584922d8413f0", "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.6891904807, "avg_line_length": 34.5313531353, "ext": "h", "hexsha": "0fd39a6df3673a6eab59e208982c3969e84c1931", "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:...
#ifndef THREADEDNESS_INCLUDE #define THREADEDNESS_INCLUDE #include <string> #include <gsl/string_span> #include "config/commandLineOptions.h" #include "config/fleetingOptionsInterface.h" #include "config/variablesMap.h" #include "core/task.h" namespace execHelper::plugins { using Jobs = config::Jobs_t; const gsl::...
{ "alphanum_fraction": 0.6695933457, "avg_line_length": 31.8235294118, "ext": "h", "hexsha": "959118c6e9a9d8f16d62220a1f0978b7008958bb", "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:...
#pragma once #include <gsl.h> #include <boost/optional.hpp> #include <mitkPythonService.h> #include <QObject> #include <QSet> #include <QString> #include <QVariant> #include <QVariantList> #include <QVector> #include <SolidData.h> #include <FaceIdentifier.h> #include <ISolverStudyData.h> #include <MeshData.h> #incl...
{ "alphanum_fraction": 0.6761744966, "avg_line_length": 28.9809725159, "ext": "h", "hexsha": "fbfcf15b77ac0ab3d0e6b4ac9260367f3d52cd47", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:...
/****************************************************************************** * * * ELECTRONS.C * * * ...
{ "alphanum_fraction": 0.5265423242, "avg_line_length": 32.4186046512, "ext": "c", "hexsha": "6b37ceeabce08661c16a0ed44710dc9fdefc46d9", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-12-10T21:42:12.000Z", "max_forks_repo_forks_event_min_datetime": "2020-02-21T04:59:...
#include <math.h> #include <stdio.h> //#include "gsl_headers.h" #include <iostream> //#include "laplaceEP.h" //#include "matrix.h" #include <time.h> //#include <dai/alldai.h> //#include <dai/bp.h> // #include <map> // #include <boost/shared_ptr.hpp> // #include <string> // #include <gsl/gsl_sf_exp.h> #include <gsl/...
{ "alphanum_fraction": 0.7511811024, "avg_line_length": 32.8448275862, "ext": "h", "hexsha": "260626c8dd0244c06ad8f743b3b25923aa3ce862", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-02-18T07:18:38.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-04T01:53:...
/* 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...
{ "alphanum_fraction": 0.7343797163, "avg_line_length": 31.5523809524, "ext": "h", "hexsha": "456e92b13b32370cc1b2e4b8c8544c8ab30adf51", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C code for the initialization of the instrumental noise for LIGO/VIRGO detectors. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <stdlib.h>...
{ "alphanum_fraction": 0.7424862589, "avg_line_length": 39.587962963, "ext": "c", "hexsha": "22e2f15877cc01a90bf83b142946a36e56618140", "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:1...
#include "sly/defines.h" #include <gsl/gsl> #include <memory.h> #include <optional> #include <stdio.h> #ifdef _WIN32 #include <windows.h> #endif #include "sly/debug/logger.h" #include "sly/enum.h" #include "sly/errors.h" #include "sly/macros.h" #include "sly/retval.h" #include "sly/types.h"
{ "alphanum_fraction": 0.6910299003, "avg_line_length": 15.05, "ext": "h", "hexsha": "bc735191cbcc3edff39d7af3b7a3729842ee9119", "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": "9216cf...
#include <math.h> #include <gsl/gsl_math.h> #include <options/options.h> #include "../csm/csm_all.h" int main(int argc, const char * argv[]) { sm_set_program_name(argv[0]); const char*input_filename; const char*output_filename; double diff[3] = {0, 0, 0}; double laser[3] ={0,0,0}; double omega[2] ={0,0};...
{ "alphanum_fraction": 0.6688333904, "avg_line_length": 29.8265306122, "ext": "c", "hexsha": "5b4e74f96f4a6ee41e26cdca76226f735c790e13", "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.7016381373, "avg_line_length": 38.5319148936, "ext": "h", "hexsha": "76a9784e7167998eea664caf494c34db6e5067fb", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57...
#ifndef CTETRA_SUBMESH_H #define CTETRA_SUBMESH_H #include <math.h> #include <stdio.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include "ecache.h" void submesh_ijk_to_k(int na, int nb, int nc, int i, int j, int k, double k_opt[3]); int submesh_ijk_index(int na, int nb, int n...
{ "alphanum_fraction": 0.7223042836, "avg_line_length": 28.2083333333, "ext": "h", "hexsha": "df3087e6b0b9cac3d93f00fa298d2137b96379d1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* vector/gsl_vector_uint.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Lic...
{ "alphanum_fraction": 0.6891696751, "avg_line_length": 34.1975308642, "ext": "h", "hexsha": "816129051705621ee9b192c23c05638f9df7bc61", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:...
/* This file is necessary otherwise clang instantiate the bindgen tools * multiple time concurrently which produce non-deterministic results. */ #include <cblas.h> #include <lapacke.h>
{ "alphanum_fraction": 0.7807486631, "avg_line_length": 31.1666666667, "ext": "h", "hexsha": "ba490e1a69bd0d0d9e804a7e076a8adafeddf8cc", "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":...
/* ===============================================================================*/ /* Version 1.0. Cullan Howlett */ /* Copyright (c) 2017 International Centre for Radio Astronomy Research, */ /* The MIT License (MIT) University of Western Australia ...
{ "alphanum_fraction": 0.5630368958, "avg_line_length": 44.9445564516, "ext": "c", "hexsha": "b8a6c4ff530a6603181965c09b58f198d3e99134", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-09-20T11:31:54.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-20T11:31:...
/** @file Copyright John Reid 2006 */ #include "biopsy/defs.h" #include <gsl/gsl_rng.h> namespace biopsy { gsl_rng * get_gsl_rng(); } //namespace biopsy
{ "alphanum_fraction": 0.6687116564, "avg_line_length": 7.7619047619, "ext": "h", "hexsha": "314ba6dff7cd3c3afb32e62d607116c11f8d1d45", "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) 2021 Shunji Uno <shunji_uno@iscpc.jp> 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, modif...
{ "alphanum_fraction": 0.7300733496, "avg_line_length": 29.0070921986, "ext": "h", "hexsha": "558a06721bfc626aa6b1dea75c21d0d139b3081f", "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 CONTROLLERS_UPDATERECTIFICATIONCONTROLLER_H #define CONTROLLERS_UPDATERECTIFICATIONCONTROLLER_H #include "imageoperationactioncontroller.h" #include "s3d/cv/image_operation/image_operation.h" #include <QAction> #include <gsl/gsl> class ImageOperationTriggerController : public ImageOperationActionController...
{ "alphanum_fraction": 0.7937293729, "avg_line_length": 26.347826087, "ext": "h", "hexsha": "dae6082e477e814d29bff59565694197d1682014", "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:0...
#if !defined(compressibleFlow_h) #define compressibleFlow_h #include <petsc.h> #include "fluxDifferencer.h" typedef enum {RHO, RHOE, RHOU, RHOV, RHOW, TOTAL_COMPRESSIBLE_FLOW_COMPONENTS} CompressibleFlowComponents; typedef enum {T, VEL, TOTAL_COMPRESSIBLE_AUX_COMPONENTS} CompressibleAuxComponents; struct _FlowData_Co...
{ "alphanum_fraction": 0.811996419, "avg_line_length": 58.7894736842, "ext": "h", "hexsha": "bfca823fc9648d8c3e438f212ca63dabc4eb3ec3", "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 <utility> #include <gsl/gsl_multiroots.h> #include <gsl/gsl_sf.h> #include <string> #include <random> #include <array> using namespace std; struct mass_eff_scalar_density_params { vector<double> scalar_coeff; vector<double> scalar_exp; double number_density; double nucleon_...
{ "alphanum_fraction": 0.8029187125, "avg_line_length": 71.8823529412, "ext": "h", "hexsha": "5aef5306dae9f9e01710e6804799b3c1ea147efb", "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":...