Search is not available for this dataset
text
string
meta
dict
//====---- Sudoku/Board_Section.h ----====// // // Internal in-between object for provide access to a section of Board. //====--------------------------------------------------------------------====// #pragma once #include "Board_Section_iterator.h" #include "Board_Section_traits.h"...
{ "alphanum_fraction": 0.6850527749, "avg_line_length": 30.4352331606, "ext": "h", "hexsha": "18983960b85df3b63d0358500e8752a0e7a5638c", "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) Facebook, Inc. and its affiliates. * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <cblas.h> #include <complex.h> #defmacro DEFINE_SVV(TNAME, TYPE, OPNAME, OPTEXT) #define OPER(a,b) OPTEXT TYPE TNAME##Vec...
{ "alphanum_fraction": 0.6391304348, "avg_line_length": 23.4693877551, "ext": "c", "hexsha": "d6f723938957425dbab86175554dee410375c55b", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2021-11-05T17:48:08.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-28T07:43...
/* * 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 th...
{ "alphanum_fraction": 0.7158908507, "avg_line_length": 34.1369863014, "ext": "h", "hexsha": "39cf3e5e09d220bfcebba24042f8da32ff22fdca", "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:...
/* multimin/convergence.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi * * 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.6964038728, "avg_line_length": 24.5084745763, "ext": "c", "hexsha": "c468d3a71d4ed5f18455a673403c33478a420964", "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 <math.h> #include <gsl/gsl_randist.h> int main (void) { double x; const gsl_rng_type * T; gsl_rng * r; gsl_rng_env_setup(); T = gsl_rng_default; r = gsl_rng_alloc(T); for (x = 0.1 ; x < 2; x+= 0.1) { double y0 = exp(x); double err = 0.1*y0; printf...
{ "alphanum_fraction": 0.5466321244, "avg_line_length": 15.44, "ext": "c", "hexsha": "e8f78a130d9717ee8d7d6dca176e4d939461454b", "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"...
#include <math.h> #include <stdlib.h> #include <gsl/gsl_siman.h> /* set up parameters for this simulated annealing run */ /* how many points do we try before stepping */ #define N_TRIES 200 /* how many iterations for each T? */ #define ITERS_FIXED_T 10 /* max step size in random walk */ #define...
{ "alphanum_fraction": 0.6013071895, "avg_line_length": 19.125, "ext": "c", "hexsha": "72131dc64de682b2f473f469574803e799e8cf07", "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...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <complex.h> #include <float.h> #include <fftw3.h> #include "gauss_conv.h" #include "seis_data.h" #include "calculate_source.h" void calculate_source(seis_data *obs, seis_data *syn, double *syn_src, double *obs_src, int src_no) { double lambda1...
{ "alphanum_fraction": 0.524657112, "avg_line_length": 25.75, "ext": "c", "hexsha": "ef40326bd6838cf148b14a2c02db6adcf6646a7f", "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": "5fbb425...
// // Extrap1d.h #ifndef __NeutronDetectorSim__Extrap1d__ #define __NeutronDetectorSim__Extrap1d__ #include <iostream> #include <vector> #include <eigen3/Eigen/Dense> #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include "ConsolePrint.hpp" class Extrap1d { public: Extrap1d(Eigen::ArrayXd x, Eigen::Array...
{ "alphanum_fraction": 0.7496274218, "avg_line_length": 22.3666666667, "ext": "h", "hexsha": "44e56ce46ec4db71c8ae7549dc9cf59fa4cd6861", "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 GLOBALS #define GLOBALS #include <gsl/gsl_matrix.h> extern int NumEl; extern int NumEdges; extern int NumNodes; extern int P; extern int Np; extern gsl_matrix *LIFT; extern gsl_matrix *VolMat; extern gsl_matrix *MassMatrix; extern double *x; extern double *y; extern double *z; extern double *b; extern doubl...
{ "alphanum_fraction": 0.7583892617, "avg_line_length": 17.6779661017, "ext": "h", "hexsha": "33c4f009add39941efd57f8533e1231644592124", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2019 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.6460176991, "avg_line_length": 35.5142857143, "ext": "c", "hexsha": "116b5a9020b27fad80deed29fec629d791568a82", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:...
/* stable/stable.h * * Main header file of Libstable. Contains all declarations of the * usable functions in the library. * * Copyright (C) 2013. Javier Royuela del Val * Federico Simmross Wattenberg * * This program is free software; you can redistribute it and/or modify * it under the t...
{ "alphanum_fraction": 0.5316678823, "avg_line_length": 36.3982300885, "ext": "h", "hexsha": "2f3e7b60f9db335e4b1d6a35c7c337de5311561a", "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 implementation of the Fourier domain response for LIGO-VIRGO detectors. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <stdl...
{ "alphanum_fraction": 0.6777339421, "avg_line_length": 42.0876865672, "ext": "c", "hexsha": "ab99925c6a88b32bad6c2d87ac37c41148012b48", "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:...
/* specfunc/gamma_inc.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 op...
{ "alphanum_fraction": 0.5563333333, "avg_line_length": 28.6806883365, "ext": "c", "hexsha": "ca3d903a3f70bba8b262617435dd47c7e0fd0bbb", "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:...
/* vector/gsl_vector_complex_float.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 ...
{ "alphanum_fraction": 0.6664631913, "avg_line_length": 33.0282258065, "ext": "h", "hexsha": "0823a23e62e8be74aa5765cc3ea5e9b08864f801", "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 <string.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_statistics_double.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_iarray.h" #include "tz_stack_attribute.h" #include "tz_image_lib.h" #include "tz_objdetect.h" #include "tz_imatrix.h" #include "tz_stack_math.h"...
{ "alphanum_fraction": 0.6574561404, "avg_line_length": 26.9822485207, "ext": "c", "hexsha": "81b21d73c2e421fec1bb9db19712de50f65eb0ea", "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":...
/* * global.h * * Created on: Apr 5, 2013 * Authors: vgomez, Sep Thijssen */ #ifndef GLOBAL_H_ #define GLOBAL_H_ #include <vector> #include <math.h> #include <iostream> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <ctime> #include <hal_quadrotor/State.h> #define SIZE_MSG 5 using name...
{ "alphanum_fraction": 0.6804798255, "avg_line_length": 17.6346153846, "ext": "h", "hexsha": "aa993eaf1353cac23080f88901a097233979ab3c", "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_permutation.h> int main (void) { gsl_permutation * p = gsl_permutation_alloc (3); gsl_permutation_init (p); do { gsl_permutation_fprintf (stdout, p, " %u"); printf ("\n"); } while (gsl_permutation_next(p) == GSL_SUCCESS); gsl_permutation_free (p); ...
{ "alphanum_fraction": 0.6407185629, "avg_line_length": 15.1818181818, "ext": "c", "hexsha": "08ebf63a6b096dfe4d5dec72d5258d587ff9b2d5", "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 OPENMC_CELL_H #define OPENMC_CELL_H #include <cstdint> #include <functional> // for hash #include <limits> #include <memory> // for unique_ptr #include <string> #include <unordered_map> #include <vector> #include <gsl/gsl> #include "hdf5.h" #include "pugixml.hpp" #include "dagmc.h" #include "openmc/constants...
{ "alphanum_fraction": 0.6053059896, "avg_line_length": 34.7118644068, "ext": "h", "hexsha": "5cd819c26ce2003401f2d5352c84e2e1d5cb9c8c", "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:...
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <Python.h> #include <numpy/arrayobject.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <math.h> // Forward function declaration. static PyObject *zsampler_sample_region(PyObject *self, PyObject *args); static PyObject *zsampler_sample_cat...
{ "alphanum_fraction": 0.5907097835, "avg_line_length": 31.188034188, "ext": "c", "hexsha": "7390950efe690954cd7fbddd6a7a981d6a5ea640", "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": ...
/* movstat/apply.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * *...
{ "alphanum_fraction": 0.5056809574, "avg_line_length": 31.2843601896, "ext": "c", "hexsha": "8ad56ebb9b37beca83f3523f71a37c3d6a1c8156", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#ifndef EIGEN_BENCH_UTIL_H #define EIGEN_BENCH_UTIL_H #include <Eigen/Core> #include "BenchTimer.h" using namespace std; using namespace Eigen; #include <boost/preprocessor/repetition/enum_params.hpp> #include <boost/preprocessor/repetition.hpp> #include <boost/preprocessor/seq.hpp> #include <boost/preprocessor/arr...
{ "alphanum_fraction": 0.7077896402, "avg_line_length": 27.1935483871, "ext": "h", "hexsha": "8883a13804414f6682c984a9268785c5f6f20cf5", "lang": "C", "max_forks_count": 1380, "max_forks_repo_forks_event_max_datetime": "2022-03-31T14:52:48.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-12T23:...
#ifndef ARRAY_H #define ARRAY_H #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cassert> #include <iostream> #include <algorithm> #include <charm++.h> #if CMK_HAS_CBLAS #include <cblas.h> #endif namespace CharjArray { class Range { public: int size, start, stop; Range() {} Range(int ...
{ "alphanum_fraction": 0.5543853108, "avg_line_length": 25.6062052506, "ext": "h", "hexsha": "f3b248ce11b4b67b29cab17b3abfa0aadd09e74f", "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 "iparam.h" #include "configaccess.h" #include "optioninfo.h" #include "format.h" #include "streamreader.h" #include <gsl/gsl> #include <cmdlime/errors.h> #include <cmdlime/customnames.h> #include <sstream> #include <optional> #include <memory> #include <functional> namespace cmdlime::detail{ tem...
{ "alphanum_fraction": 0.5821364452, "avg_line_length": 26.2117647059, "ext": "h", "hexsha": "7b1a3e27ad2c9038c5763fdb1f6bfd875b9ba5f8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:...
/** * This file is part of the "libterminal" project * Copyright (c) 2019-2020 Christian Parpart <christian@parpart.family> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to i...
{ "alphanum_fraction": 0.6407603465, "avg_line_length": 29.8277511962, "ext": "h", "hexsha": "3a94504a6f2ab4ad83940910384e77f741924e3d", "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 <sys/time.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_blas.h> #include <omp.h> #include "util.h" int main(int argc, char *argv[]) { char* input_fileName1 = argv[1]; ...
{ "alphanum_fraction": 0.5669749261, "avg_line_length": 34.1661237785, "ext": "c", "hexsha": "480104b7a3a4ff9457f06d19c842150a97b53a9d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* multifit_nlinear/subspace2D.c * * Copyright (C) 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later ...
{ "alphanum_fraction": 0.6247681939, "avg_line_length": 31.0519662921, "ext": "c", "hexsha": "1c532783dc2d2dc998fa6d1987cfa5eccefb94f0", "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:...
/* 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.6455664406, "avg_line_length": 29.0583941606, "ext": "c", "hexsha": "321e5bf219593affe4ee876b2ccc69f291a8629d", "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 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_core_Token_h_ #define SQ_INCLUDE_GUARD_core_Token_h_ #include "Tok...
{ "alphanum_fraction": 0.6322609473, "avg_line_length": 21.3142857143, "ext": "h", "hexsha": "e0d7b2f7ebefe171ff493c13a1e07212d0056bc2", "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 2019 John McFarlane // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
{ "alphanum_fraction": 0.5925498123, "avg_line_length": 25.4632352941, "ext": "h", "hexsha": "7afc8b4a451028fa9ff7fde956dd358ff051df7d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-02-23T18:04:41.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-23T18:04:...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2008-2016 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This pr...
{ "alphanum_fraction": 0.6346104397, "avg_line_length": 42.7362637363, "ext": "h", "hexsha": "91f694e692075bd9161528156fb7f9bc766c4857", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-31T12:16:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-29T15:12:...
#include <stdio.h> #include <string.h> #include <gsl/gsl_statistics_double.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_image_lib.h" #include "tz_objdetect.h" #include "tz_imatrix.h" #include "tz_stack_math.h" #include "tz_stack_bwdist.h" #include "tz_pixel_array.h" #include "tz_stack_bwmorph.h" #incl...
{ "alphanum_fraction": 0.6729828851, "avg_line_length": 22.7222222222, "ext": "c", "hexsha": "175c00228f3f9d55fde2f722ef9eb368423f1d5d", "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":...
// // geru.h // Linear Algebra Template Library // // Created by Rodney James on 12/23/11. // Copyright (c) 2011 University of Colorado Denver. All rights reserved. // #ifndef _geru_h #define _geru_h /// @file geru.h Performs complex vector outer product. #include "latl.h" namespace LATL { /// @brief Perfor...
{ "alphanum_fraction": 0.520620155, "avg_line_length": 24.4318181818, "ext": "h", "hexsha": "8b11778e340b991ef2620e5869b1947357e5e9d4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-09T23:18:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-01T06:46:3...
#pragma once #include "GradUtil.h" #ifndef _NOGSL #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #else #include "CustomSolver.h" #endif #include <limits> #include <math.h> #include <vector> #include "BasicError.h" #include "Util.h" using namespace std; class ValueGrad; class DistanceGrad { public: double di...
{ "alphanum_fraction": 0.6702947846, "avg_line_length": 28.6363636364, "ext": "h", "hexsha": "2131e4d93b1087ca6b144e75f0a899393bf1fc1f", "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:...
/* * Author : Pierre Schnizer * Date : February 2005 * */ #include <pygsl/error_helpers.h> #include <pygsl/block_helpers.h> #include <pygsl/pygsl_features.h> #include <string.h> #include <gsl/gsl_fft.h> #include <gsl/gsl_fft_complex.h> #include <gsl/gsl_fft_real.h> #include <gsl/gsl_fft_halfcomplex.h> #include <...
{ "alphanum_fraction": 0.7407091507, "avg_line_length": 42.7447916667, "ext": "c", "hexsha": "f7c3d46986640364443976b97e4df691d626081a", "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:...
// // Created by Harold on 2020/9/30. // #ifndef M_MATH_M_INTEGRATION_H #define M_MATH_M_INTEGRATION_H #include <gsl/gsl_integration.h> namespace M_MATH { class IntegrationQAG { public: typedef double (*func_type)(double x, void* params); public: IntegrationQAG() : IntegrationQAG(1000, 1e...
{ "alphanum_fraction": 0.5857988166, "avg_line_length": 28.1666666667, "ext": "h", "hexsha": "05269e9471055826a910ca5e91d7db7511658fc9", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-04T12:26:12.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-04T12:26:...
/* multirobust.c * * Copyright (C) 2013 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * * ...
{ "alphanum_fraction": 0.6053502002, "avg_line_length": 26.5941358025, "ext": "c", "hexsha": "594feb5c068ebe2c34bb0ef4adbe20c3128695f4", "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/choleskyc.c * * Copyright (C) 2007 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.5885950413, "avg_line_length": 28.2710280374, "ext": "c", "hexsha": "1a2d464d6c7da74914792e30f83771514fdedf77", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#include <jni.h> #include <omp.h> #ifdef __INTEL_COMPILER #include <mkl.h> #include <mkl_trans.h> #else #include <cblas.h> #endif JNIEXPORT jdouble JNICALL Java_edu_berkeley_bid_CBLAS_ddot (JNIEnv * env, jobject calling_obj, jint N, jdoubleArray jX, jint incX, jdoubleArray jY, jint incY){ jdouble * X = (*env)->GetPr...
{ "alphanum_fraction": 0.6382784312, "avg_line_length": 38.3486073675, "ext": "c", "hexsha": "cc2e6a921b2cfdfd629060d1c6873e07ec8fe022", "lang": "C", "max_forks_count": 69, "max_forks_repo_forks_event_max_datetime": "2021-12-25T20:53:06.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-04T11:30...
#pragma once #include "string.h" #include <math.h> #include "flow.h" extern "C" { #include <cblas.h> } void OpenblasGemm(const CBLAS_TRANSPOSE TransA, const CBLAS_TRANSPOSE TransB, const int M, const int N, const int K, const float alpha, const float* A, const float* B, const float beta, float* C); ...
{ "alphanum_fraction": 0.6688804554, "avg_line_length": 27.7368421053, "ext": "h", "hexsha": "0f2d52798758760290823fda7f7cdfad027d7f44", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-04-18T07:00:35.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-14T01:18:...
#include "ccl_utils.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include "ccl_params.h" #include "ccl_error.h" #include <gsl/gsl_errno.h> /* ------- ROUTINE: ccl_linear spacing ------ INPUTS: [xmin,xmax] of the interval to be divided in N bins OUTPUT: bin edges in range [xmin,xmax] */ double * ccl_lin...
{ "alphanum_fraction": 0.6427627231, "avg_line_length": 24.4032258065, "ext": "c", "hexsha": "e8ee0736f566a9a9fea49a84604d1832e8d13cb0", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * The MIT License (MIT) * * Copyright (c) 2014 Boone "Bea" Adkins * * 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 *...
{ "alphanum_fraction": 0.7178489703, "avg_line_length": 29.9315068493, "ext": "h", "hexsha": "a604d87a10d8417ee7f96c9670f82584ed670772", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-08-08T12:57:53.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-10T04:40:...
#ifndef CACHED_IMAGE_H #define CACHED_IMAGE_H #ifndef solaris # include <stdint.h> #endif #include "asf_meta.h" #include "float_image.h" #include <stdio.h> #include <sys/types.h> #include <glib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_histogram.h> //----------------------------------------------------------...
{ "alphanum_fraction": 0.6491967871, "avg_line_length": 37.1641791045, "ext": "h", "hexsha": "cd1a34771e073bdcb0b442e29a64a4af4c444936", "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:...
#pragma once #include <gsl/gsl> #include <memory> class BassEnhance; class Eq_5band; class Reverb; struct Fx_Parameter { const char *name; int default_value; enum Type { Integer, Boolean }; Type type; enum Flag { HasSeparator = 1 }; unsigned flags; }; class Synth_Fx { public: Synth_Fx(); ...
{ "alphanum_fraction": 0.6333938294, "avg_line_length": 20.0363636364, "ext": "h", "hexsha": "b497dc42768732c0456378be01ecb537afa17896", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:...
#include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv.h> #include <math.h> typedef struct{ double g;//gravity double M;//mass of the car double m;//mass of the load double r;//length of the rope double C;//damping coefficient double k;//spring constang double F;//input force do...
{ "alphanum_fraction": 0.5509491091, "avg_line_length": 30.0244755245, "ext": "c", "hexsha": "86f82db3e06c2fb93b230f8239890dd79e629a66", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-12-01T00:54:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-01T00:54:...
/** * \file FFT.h */ #ifndef ATK_UTILITY_FFT_H #define ATK_UTILITY_FFT_H #include <complex> #include <cstdint> #include <memory> #include <vector> #include <gsl/gsl> #include <ATK/Utility/config.h> namespace ATK { /// An FFT class template<class DataType_> class ATK_UTILITY_EXPORT FFT { public: ///...
{ "alphanum_fraction": 0.6809947805, "avg_line_length": 33.2346938776, "ext": "h", "hexsha": "07cda16200e7694bd9929aa4912d13879849a80c", "lang": "C", "max_forks_count": 48, "max_forks_repo_forks_event_max_datetime": "2021-04-07T02:33:07.000Z", "max_forks_repo_forks_event_min_datetime": "2015-08-15T12:08...
/* * Copyright (c) 2011-2018 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * * @precisions normal z -> s d c * */ #include <math.h> #include <stdlib.h> #include <core_blas.h> #include <cblas.h> #include "...
{ "alphanum_fraction": 0.5677927782, "avg_line_length": 45.0029069767, "ext": "c", "hexsha": "70fdfbe4b7de356f653d50d0669e6e351b005dde", "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 <gsl/gsl_bspline.h> #include <gsl/gsl_multifit.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_statistics.h> /* number of data points to fit */ #define N 200 /* number of fit coefficients */ #define NCOEFFS 12 /* nbr...
{ "alphanum_fraction": 0.5858514042, "avg_line_length": 22.504, "ext": "c", "hexsha": "311be68f7e0d206d12e29a2b11a042d899cb003b", "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...
//===--- Sudoku/Solver_find.h ---===// // // Helper functions, to find available options //===----------------------------------------------------------------------===// // list_where_* // appearance_*: collecting options by appearance count in a given set. //===---------------...
{ "alphanum_fraction": 0.671018685, "avg_line_length": 29.5404157044, "ext": "h", "hexsha": "40220c9e98da207c1b2afda7dcb8c18233b786a8", "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": ...
/* FRACTAL - A program growing fractals to benchmark parallelization and drawing libraries. Copyright 2009-2021, 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 mus...
{ "alphanum_fraction": 0.6657716173, "avg_line_length": 35.56, "ext": "c", "hexsha": "8c63d060edc01e49da55620c1248d9408d74f4da", "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": "95d711...
/* * BRAINS * (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling * Yan-Rong Li, liyanrong@ihep.ac.cn * Thu, Aug 4, 2016 */ /*! * \file blr_models.c * \brief BLR models */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <float.h> #include <string.h> #include <mpi.h>...
{ "alphanum_fraction": 0.5269230113, "avg_line_length": 26.560743427, "ext": "c", "hexsha": "df162f205c21e3ab2255d189ef1ad2400d86c98e", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-11-22T12:54:58.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-12T13:51:2...
#ifndef S3D_VIDEO_STEREO_DEMUXER_STEREO_DEMUXER_H #define S3D_VIDEO_STEREO_DEMUXER_STEREO_DEMUXER_H #include "s3d/utilities/rule_of_five.h" #include "s3d/video/capture/video_capture_types.h" #include "s3d/video/video_types.h" #include <gsl/gsl> #include <cstdint> #include <vector> namespace s3d { class StereoDemu...
{ "alphanum_fraction": 0.7502762431, "avg_line_length": 29.1935483871, "ext": "h", "hexsha": "dfbda76153bf5fb814c1cb8586f064848b2f6cef", "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:...
// Copyright (c) 2013-2017 Anton Kozhevnikov, Thomas Schulthess // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that // the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notic...
{ "alphanum_fraction": 0.4068694326, "avg_line_length": 34.1865569273, "ext": "h", "hexsha": "ad93b931937434fdf4572ed28f2c3e02fc353a59", "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> #if !defined(__APPLE__) #include <malloc.h> #endif #include <stdio.h> #include <assert.h> #include <time.h> #include <string.h> #include <stdbool.h> #include <fftw3.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sf_erf.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline...
{ "alphanum_fraction": 0.6000455615, "avg_line_length": 36.4455719557, "ext": "c", "hexsha": "04d64e90d9f766b84c5fd19095a9ce7be0e8fc62", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <immintrin.h> #include <omp.h> #include <Python.h> #include <numpy/arrayobject.h> #include <cblas.h> static PyObject *smmprod_func(PyObject* self, PyObject* args) { PyObject *A_obj = NULL; PyObject *A_arr = NULL; PyArrayObject *A = NULL; ...
{ "alphanum_fraction": 0.6126604692, "avg_line_length": 24.5543478261, "ext": "c", "hexsha": "a076d0645d0d1ae60c55b599823c00986a4a130f", "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 dereverberation.h * @brief Single- and multi-channel dereverberation base on linear prediction in the subband domain. * @author John McDonough */ #ifndef DEREVERBERATION_H #define DEREVERBERATION_H #include <stdio.h> #include <assert.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include ...
{ "alphanum_fraction": 0.7483003708, "avg_line_length": 34.4255319149, "ext": "h", "hexsha": "67a4e570cb82108c38576e23d761511910f78422", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
#pragma once #include <iosfwd> #include <map> #include <memory> #include <vector> #include <gsl/gsl> namespace sframe { struct openssl_error : std::runtime_error { openssl_error(); }; struct unsupported_ciphersuite_error : std::runtime_error { unsupported_ciphersuite_error(); }; struct authentication_error : ...
{ "alphanum_fraction": 0.7147177419, "avg_line_length": 21.5652173913, "ext": "h", "hexsha": "c5bf936bef1c16f133c61c26c90671298c91b363", "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 <stddef.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <gsl/gsl_math.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_multimin.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_randist.h> #include <gsl...
{ "alphanum_fraction": 0.5296904441, "avg_line_length": 26.5926986399, "ext": "c", "hexsha": "7948aef6f4fea207986f1963ae2023b86c4a6f85", "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":...
// -------------------------------------------------------- // Dragon // Copyright(c) 2017 SeetaTech // Written by Ting Pan // -------------------------------------------------------- #ifndef DRAGON_UTILS_MATH_FUNCTIONS_H_ #define DRAGON_UTILS_MATH_FUNCTIONS_H_ #include <float.h> #include <cstdint> #include <climits>...
{ "alphanum_fraction": 0.611622276, "avg_line_length": 27.7181208054, "ext": "h", "hexsha": "11b5330eb39ab0581e1a8efa24b4d5d6f8c02fc5", "lang": "C", "max_forks_count": 71, "max_forks_repo_forks_event_max_datetime": "2021-06-03T01:52:41.000Z", "max_forks_repo_forks_event_min_datetime": "2016-03-24T09:02:...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #include <assert.h> #include <gsl/gsl_matrix_double.h> #include <gsl/gsl_vector_double.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_errno....
{ "alphanum_fraction": 0.5551885494, "avg_line_length": 25.0551724138, "ext": "c", "hexsha": "a8607f557154c88aebfbea3ed3ace4660a1a5bf1", "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...
#include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include <math.h> #include "gauss.h" #include "ts_fac.h" #include "ts_tr_fac.h" static double v_func(double diff){ double denom = gsl_cdf_ugaussian_P(diff); double nom = gsl_ran_ugaussian_pdf(diff); return nom / denom; } static double w_func(double diff, dou...
{ "alphanum_fraction": 0.7039106145, "avg_line_length": 26.6595744681, "ext": "c", "hexsha": "e54e6624db6bc172770c0e7dbeeb3fd2d7beedee", "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 pflow.h * @brief Public header file for power flow application */ #ifndef PFLOW_H #define PFLOW_H #include <petsc.h> #include "cJSON.h" typedef struct _p_PFLOW *PFLOW; PETSC_EXTERN PetscErrorCode PFLOWCreate(MPI_Comm,PFLOW*); PETSC_EXTERN PetscErrorCode PFLOWDestroy(PFLOW*); PETSC_EXTERN PetscErrorCo...
{ "alphanum_fraction": 0.7727930535, "avg_line_length": 23.8275862069, "ext": "h", "hexsha": "6d918b9bdaed163370d32983e9111f7d797fc2d4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-09-23T19:30:36.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-01T21:49:...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.7259062776, "avg_line_length": 35.7157894737, "ext": "h", "hexsha": "42c3bf91c5c31fc9aaea2e0bf7c11fc1cdf495bd", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2...
#include <stdio.h> #include <string.h> #include <math.h> #include <gsl/gsl_statistics_double.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_image_lib.h" #include "tz_objdetect.h" #include "tz_imatrix.h" #include "tz_stack_math.h" #include "tz_stack_bwdist.h" #include "tz_voxel_linked_list.h" #include "t...
{ "alphanum_fraction": 0.6769230769, "avg_line_length": 27.6732673267, "ext": "c", "hexsha": "b56578d6948b07f35002e3e716161f4be93d6e62", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <gsl/gsl> #include <memory> #include <tuple> #include "../math/Constants.h" #include "../math/Exponentials.h" #include "../math/General.h" #include "../math/Point2.h" #include "../math/Point3.h" #include "../math/Random.h" #include "../math/TrigFuncs.h" #include "../math/Vec2.h" #include "../mat...
{ "alphanum_fraction": 0.7182848256, "avg_line_length": 26.4764705882, "ext": "h", "hexsha": "d2f6d13e89c12bfb20a0f9a478179537557e350e", "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 <sys/time.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> void read_matrix(int** index, int** matrix, double scaling, int N_kw, char* input_fileName) { FILE *fp = fop...
{ "alphanum_fraction": 0.5564694082, "avg_line_length": 37.4812030075, "ext": "c", "hexsha": "9de18facd8d7817fa83e5103486b1c9611911eb7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* multifit_nlinear/fdfvv.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 versi...
{ "alphanum_fraction": 0.6393751683, "avg_line_length": 30.4344262295, "ext": "c", "hexsha": "612b4742a1f945ef0524c444f301340e47479bd5", "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:...
/* monte/gsl_monte_miser.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth * Copyright (C) 2009 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ...
{ "alphanum_fraction": 0.6855737705, "avg_line_length": 28.2407407407, "ext": "h", "hexsha": "2377fc8ca1cb01a658179b5a635b387b4f72baeb", "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:...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // clang-format off #pragma once #pragma warning(push) // C #include <climits> #include <cwchar> #include <cwctype> // STL // Block minwindef.h min/max macros to prevent <algorithm> conflict #define NOMINMAX #include ...
{ "alphanum_fraction": 0.6941896024, "avg_line_length": 18.7931034483, "ext": "h", "hexsha": "3033cc1055c276390bd326665cc9b920dbf507d5", "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 <cuda/runtime_api.hpp> #include <gsl/gsl-lite.hpp> namespace thrustshift { namespace kernel { template <typename A, class RangeX, class RangeY, class RangeD> __global__ void axmy(A a, RangeX x, RangeY y, RangeD d) { const auto gtid = threadIdx.x + blockIdx.x * blockDim.x; gsl_Expects(x.size(...
{ "alphanum_fraction": 0.6258351893, "avg_line_length": 27.4897959184, "ext": "h", "hexsha": "34321762a37f48f72a145705cd7e376670e6acef", "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 "allelefreq.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <gsl/gsl_sf_psi.h> #include <gsl/gsl_errno.h> void P_update_simple(const uint8_t* G, const double* zetabeta, const double* zetagamma, const double* xi, const double* beta, const double* gamma, double* var_bet...
{ "alphanum_fraction": 0.5087574696, "avg_line_length": 32.5704697987, "ext": "c", "hexsha": "a1b0847c56a41ace9c91a294dee2b0046c0ea48b", "lang": "C", "max_forks_count": 45, "max_forks_repo_forks_event_max_datetime": "2022-03-31T02:12:31.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-20T18:26...
/* simulate NMR peakshape for two-site chemical exchange written by Sung-Hun Bae Nov. 17, 2008 */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <complex> #include <gsl/gsl_fft_complex.h> #define TINY 1.0e-12 using namespace std; enum SITE_LABEL { A, B, N_SITE }; enum QU...
{ "alphanum_fraction": 0.4996500233, "avg_line_length": 30.2897526502, "ext": "c", "hexsha": "f4a10e7a572f01f42096669e5267b77501ec423f", "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 "poll_event.h" #include "poll_response.h" #include "poll_target.h" #include <gsl/span> #include <optional> #include <vector> namespace wrappers::zmq { [[nodiscard]] std::optional<std::vector<poll_response>> blocking_poll(gsl::span<poll_target> targets) noexcept; } // namespace wrappers::zmq
{ "alphanum_fraction": 0.74375, "avg_line_length": 17.7777777778, "ext": "h", "hexsha": "25e035d3f8dd80cdfc1647d2dcf20a809620f201", "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": "a76...
/* specfunc/zeta.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 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 o...
{ "alphanum_fraction": 0.6306325823, "avg_line_length": 29.7806451613, "ext": "c", "hexsha": "c0bf6a451081675797c8abd610ff5c21a6bddb45", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T06:24:02.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T06:24:...
/** * The driver function and some auxillaries * to compute the spectrum from an image and * information on the location and distortion of the spectra. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_vector.h> #inclu...
{ "alphanum_fraction": 0.6284636012, "avg_line_length": 25.4267676768, "ext": "c", "hexsha": "acb73275af737a8699e607e4390fee8b54bb7742", "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 INITIAL_POINT_H #define INITIAL_POINT_H #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_math.h> int pdip_initial_point_feasible_x( const gsl_matrix * A, const gsl_vector *b, gsl_vector *x ); int pdip_initial_point_feasible_s( const gsl_matrix * C, const gsl_vector *d, const gsl_vector ...
{ "alphanum_fraction": 0.7834179357, "avg_line_length": 39.4, "ext": "h", "hexsha": "d73928458c27a25c24dd6e38de4a2863c99960d3", "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": "2a8f82e...
#include "common.h" #include "dMatrix.h" #include "options.h" #include "linefile.h" #include <gsl/gsl_math.h> #include <gsl/gsl_statistics_double.h> struct rnaBinder /* Name and correlation of rna binding proteins. */ { struct rnaBinder *next; /* Next in list. */ char *psName; /* Name of probe set....
{ "alphanum_fraction": 0.6699247127, "avg_line_length": 29.6901960784, "ext": "c", "hexsha": "3218abce5bd7a80380981fba818f2146e7e46431", "lang": "C", "max_forks_count": 80, "max_forks_repo_forks_event_max_datetime": "2022-03-29T16:36:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-16T10:39...
#ifndef _linalg_h_included_ #define _linalg_h_included_ #include <boost/config.hpp> #include <boost/numeric/ublas/vector.hpp> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/operation.hpp> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include <jsc/util/log...
{ "alphanum_fraction": 0.5615074024, "avg_line_length": 27.3161764706, "ext": "h", "hexsha": "07ae432e7194a122ebf6eec0de5cf0f7800f6007", "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":...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #define _CRT_SECURE_NO_WARNINGS #define _SCL_SECURE_NO_WARNINGS #define _CRT_NON_CONFORMING_SWPRINTFS #define HPX_COMPONENT_EXPORTS #include "targ...
{ "alphanum_fraction": 0.7737961926, "avg_line_length": 24.8055555556, "ext": "h", "hexsha": "db4adde40c6d03584c6546c9bc34624c4f38bd98", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-01-17T02:27:20.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-23T06:29:...
#include <cblas.h> #include <stdio.h> #include <stdlib.h> int main() { unsigned int const len = 1000; double x[len]; double y[len]; for (int i = 0; i < len; i++) { x[i] = rand() / (double)RAND_MAX; y[i] = rand() / (double)RAND_MAX; } double ret; int inc = 1; for (int i = 0; i < len*len; i++) ret = cblas...
{ "alphanum_fraction": 0.5718157182, "avg_line_length": 16.0434782609, "ext": "c", "hexsha": "d5e6b366284c62c32a33e5d25cedd6ebac764c22", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ode-initval/gear2.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.5675485009, "avg_line_length": 24.7238372093, "ext": "c", "hexsha": "e1afe21840d8355f872b461e1d549f22ec32fd0b", "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...
/* ** ** G.Lohmann, MPI-KYB, May 2018 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "viaio/Vlib.h" #include "viaio/VImage.h" #include "viaio/mu.h" #include "viaio/option.h" #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_m...
{ "alphanum_fraction": 0.6290743155, "avg_line_length": 23.2424242424, "ext": "c", "hexsha": "6fbe1bcdb7285c2e308479891a038f89b974f845", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:...
#include "utilities.h" #include "compute_signal.h" #include <gsl/gsl_rng.h> #include <gsl/gsl_histogram.h> #include <fftw3.h> #include <stdlib.h> #include <stdio.h> #include "parameters.h" int main(void){ gsl_rng * r = init_rng(); double * signal, * spectrum; allocate_arrays(&signal, &spectrum, LENGTH); gs...
{ "alphanum_fraction": 0.6829035339, "avg_line_length": 23.2666666667, "ext": "c", "hexsha": "aa789bb043f8f90ec3527bba2f36dfa3b1018a6d", "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> #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...
{ "alphanum_fraction": 0.6017726161, "avg_line_length": 39.2326139089, "ext": "c", "hexsha": "005b07dc15f26e29b540f6798f9f9f9ea60242ec", "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> #if !defined(__APPLE__) #include <malloc.h> #endif #include <stdio.h> #include <assert.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_sf_legendre.h> #include <gsl/gsl_s...
{ "alphanum_fraction": 0.64399379, "avg_line_length": 34.3533333333, "ext": "c", "hexsha": "fa586793cfce08a1a9c9fdcc1d04796b68ff7792", "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.6414766558, "avg_line_length": 31.5410958904, "ext": "c", "hexsha": "3053135c56a4998eb4c2f909fd019bbb0354ff8b", "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":...
/* interpolation/test.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 op...
{ "alphanum_fraction": 0.6463571889, "avg_line_length": 27.0917030568, "ext": "c", "hexsha": "b5b4f730e9e1825fe0891b693fc59c30a4342ffa", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
#include <model.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #define P_inv_gamma gsl_cdf_gamma_Pinv // invverse cumulative gamma dist #define P_inc_gamma gsl_sf_gamma_inc_P // regularised incomplete Gamma function #define lngamma gsl_sf_lngamma // ln Gamma function #def...
{ "alphanum_fraction": 0.554863695, "avg_line_length": 26.7662601626, "ext": "c", "hexsha": "f6dbeccf839d7d117b6c9af925de00be74b86f53", "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": ...
/* eigen/gsl_eigen.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at ...
{ "alphanum_fraction": 0.700508974, "avg_line_length": 26.475177305, "ext": "h", "hexsha": "ea7bfb1a52c8f0be89b3c294d82c621d753156b0", "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...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #include <stdarg.h> #include "compat.h" #include "gslutils.h" #include <gsl/gsl_matrix_double.h> #include <gsl/gsl_vector_double.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_linalg.h> #inclu...
{ "alphanum_fraction": 0.5308953342, "avg_line_length": 23.3235294118, "ext": "c", "hexsha": "70d8223e76d5c329ee6db6c9484d23375e203700", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-19T22:59:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-19T22:59:...
/// @file Span.h /// @author Braxton Salyer <braxtonsalyer@gmail.com> /// @brief A thin wrapper around `gsl::span`, providing `at` as a member function instead of a free /// function /// @version 0.1 /// @date 2021-10-15 /// /// MIT License /// @copyright Copyright (c) 2021 Braxton Salyer <braxtonsalyer@gmail.com> /// ...
{ "alphanum_fraction": 0.6788912859, "avg_line_length": 35.5744186047, "ext": "h", "hexsha": "6e3cb8839b633ed784d675da0e64511dd4a39257", "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":...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
{ "alphanum_fraction": 0.6549094819, "avg_line_length": 66.4046367852, "ext": "c", "hexsha": "8a87da88bbc6befd1754c4c55a6162206ca3934f", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-09-23T10:31:06.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-09T15:55:...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <string.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_randist.h> #include "allvars.h" #include "proto.h" int mcmc_sampling(char *fname_mcmc, double (* prob_fun)(double *theta)) { const int n_cov_update=10000; double prob, prob_n...
{ "alphanum_fraction": 0.5751905752, "avg_line_length": 23.2741935484, "ext": "c", "hexsha": "726e49a755faa2fd89679cccc74f995f6891a054", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:...
/* * Copyright 2008-2014 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
{ "alphanum_fraction": 0.3118456951, "avg_line_length": 62.2964426877, "ext": "h", "hexsha": "94dab50004729dcb731f883ab2e9f60dbe192c1a", "lang": "C", "max_forks_count": 106, "max_forks_repo_forks_event_max_datetime": "2022-03-29T13:55:53.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-27T19:3...
#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_syr (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; int N = 1; int lda = 1; float alpha = 0.1f; float A[] = { -0.291f }; ...
{ "alphanum_fraction": 0.4812426729, "avg_line_length": 19.8372093023, "ext": "c", "hexsha": "a54378e6dea513c42d613f1694fea9bf67a65028", "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:...
/* histogram/test2d.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.5394475921, "avg_line_length": 21.1694152924, "ext": "c", "hexsha": "89a23b8e566397a38bec677f737e70e2ccda5366", "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:...
// Implementation of interface described in float_blob.h. #include <errno.h> #include <fcntl.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <glib.h> #include <glib/gstdio.h> #include <gsl/gsl_math.h> #include "float_blob.h" #include "float_image.h" #include "utiliti...
{ "alphanum_fraction": 0.6556561086, "avg_line_length": 26.2055335968, "ext": "c", "hexsha": "97b228bbac84bdad7f7707da57d6db54f554e03a", "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 The DAPHNE Consortium * * 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 ...
{ "alphanum_fraction": 0.5031992687, "avg_line_length": 35.008, "ext": "h", "hexsha": "e26d66318ec5ea31d7e9e67d95bb74c8207d01c5", "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": "64d40...
#include <iostream> #include <vector> #include <memory> #include <cstdlib> #include <cstddef> #ifdef ENABLE_GSL #include <gsl/gsl_integration.h> #include <gsl/gsl_deriv.h> #include <cmath> #endif #ifndef PI #define PI 3.141593 #endif #ifndef Grav #define Grav 4.7788e-20 // Newton's over c^2 in Mpc / Msun #endif #...
{ "alphanum_fraction": 0.7162042175, "avg_line_length": 36.6260162602, "ext": "h", "hexsha": "ae5b28e83eda546bd526c2e368bb8d7edcc02157", "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 "parmt_mtsearch.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "parmt_utils.h" #include "iscl/memory/memory.h" /*! * @brief Computes a synthetic seismogram corresponding for the * given observations...
{ "alphanum_fraction": 0.5941370768, "avg_line_length": 37.2615384615, "ext": "c", "hexsha": "f9ff82569c9da874da8352334bdd1c902b194cb6", "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":...
/* movstat/movSn.c * * Compute moving "S_n" statistic from Croux and Rousseeuw, 1992 * * 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 versi...
{ "alphanum_fraction": 0.7091463415, "avg_line_length": 32.8, "ext": "c", "hexsha": "53d3479e56f80d58ca302ae9b030add4e7b87b06", "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",...