text
string
meta
dict
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_sf_expint.h> #include <gsl/gsl_roots.h> #include "ccl.h" // Analytic FT of NFW profile, from Cooray & Sheth (2002; Section 3 of https://arxiv.org/abs/astro-ph/020...
{ "alphanum_fraction": 0.6865457158, "avg_line_length": 30.8421052632, "ext": "c", "hexsha": "659c7ae6a002267380647f758b0f08dfa0c6647a", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:...
/* specfunc/poch.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.5883967371, "avg_line_length": 30.0848623853, "ext": "c", "hexsha": "594f760dec025f38612a010d7f5b5f642fb12cba", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
#pragma once #include <vector> #include <array> #include <gsl/gsl> #pragma warning(push) #include <CppCoreCheck/Warnings.h> #pragma warning(disable: ALL_CPPCORECHECK_WARNINGS) #include <glm/glm.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/hash.hpp> #pragma warning(pop) #include <vulkan/vulkan.h> #include ...
{ "alphanum_fraction": 0.7076953278, "avg_line_length": 24.7281553398, "ext": "h", "hexsha": "e4fcef97090e6e5b8677f2809affe54310280cfe", "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":...
/* monte/gsl_monte_miser.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your ...
{ "alphanum_fraction": 0.6925465839, "avg_line_length": 26.8333333333, "ext": "h", "hexsha": "d08cb8c8a883e746a9dfdee8ca759cfa5b56b145", "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...
/** * @file bblas_cutil.c * * @brief BBLAS testing utilities for float _Complex routines. * * BBLAS is a software package provided by Univ. of Manchester, * Univ. of Tennessee. * * @version 1.0.0 * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-02-20 * * Co...
{ "alphanum_fraction": 0.6128891221, "avg_line_length": 20.4946236559, "ext": "c", "hexsha": "b10cead5b5d4072c25b92b458d77a3d5e207a34c", "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":...
/* rng/g05faf.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at ...
{ "alphanum_fraction": 0.6258173381, "avg_line_length": 29.0858895706, "ext": "c", "hexsha": "83e428d112228f722e9929ff6a0fd68bd8e84dc6", "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 __GSL_STATISTICS_H__ #define __GSL_STATISTICS_H__ #if !defined( GSL_FUN ) # if !defined( GSL_DLL ) # define GSL_FUN extern # elif defined( BUILD_GSL_DLL ) # define GSL_FUN extern __declspec(dllexport) # else # define GSL_FUN extern __declspec(dllimport) # endif #endif #include <gsl/gsl_statistics...
{ "alphanum_fraction": 0.7792553191, "avg_line_length": 24.2580645161, "ext": "h", "hexsha": "71531ea8314b06daccbc0b5676f91b955b58d2fe", "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:...
#ifndef VM_CODE_CODE_VIEW_H #define VM_CODE_CODE_VIEW_H #include <cstddef> #include <cstring> #include <cstdint> #include <type_traits> #include <array> #include <bitset> #include <optional> #include <variant> #include <algorithm> #include <iosfwd> #include <ostream> #include <iomanip> #include <gsl/span> #include <gs...
{ "alphanum_fraction": 0.6959777287, "avg_line_length": 25.5945945946, "ext": "h", "hexsha": "36136a29384c3830decc21768fbf5d5191b9ea91", "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) 2005 - 2009 Marc de Kamps, Dave Harrison // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, th...
{ "alphanum_fraction": 0.6690497468, "avg_line_length": 44.76, "ext": "h", "hexsha": "c388f43e4053a9028b085b3ccc9b323439dad246", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2022-03-08T12:18:18.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-14T20:52:07.000Z"...
/* Copyright (C) 2006-2007 M.A.L. Marques This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "util.h" #include "xc.h" void func(double *x, int n, void *ex) { ...
{ "alphanum_fraction": 0.5802581166, "avg_line_length": 27.7039106145, "ext": "c", "hexsha": "27dc68a841b6dc6e4ff1b7ebd6150c7726195498", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-03T18:16:26.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-03T18:16:...
/** * Set of routines to handle absolute flux calibration of a spectrum * structure. * The response curves can be in ASCII or (preferably) in FITS * binary format (first extension). ASCI format is simply three * space separated colums (WAVELENGTH, THROUGHPUT, ERROR). The FITS * binary table must contain three col...
{ "alphanum_fraction": 0.645585917, "avg_line_length": 31.0693877551, "ext": "c", "hexsha": "3c0f327c6ebd65717fc064ee3bbaac5b32d44368", "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/lu.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2009 Gerard Jungman, Brian Gough * Copyright (C) 2019 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...
{ "alphanum_fraction": 0.56947122, "avg_line_length": 25.0413793103, "ext": "c", "hexsha": "e3bf04aea17ed9055b58a6453c733cb146a72a7e", "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...
#include <math.h> #include <stdlib.h> #include <stdio.h> #include <gsl/gsl_math.h> #include "scf.h" /* Computing Phi_nl(r), which is the radial part of the basis functions * * The Gegenbauer polynomials for the host halo and subhalos can either be computed * using my own hard coded implementation (see gegenbauer.c)...
{ "alphanum_fraction": 0.5962703963, "avg_line_length": 18.982300885, "ext": "c", "hexsha": "a87260f29715f593ce1bfdad14aec4a05eab988d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer * * Yan-Rong Li, liyanrong@mail.ihep.ac.cn * Jun 30, 2016 * */ #ifndef _MODEL2_H #define _MODEL2_H #include <stdbool.h> #include <gsl/gsl_rng.h> /* data type */ typedef struct { double x; double y; }DataType; /* number of model pa...
{ "alphanum_fraction": 0.7584699454, "avg_line_length": 20.3333333333, "ext": "h", "hexsha": "6efdf6ea5ce8c2c1d59c455c167fc8b25d1563c2", "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_cholesky.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 version....
{ "alphanum_fraction": 0.5814780327, "avg_line_length": 26.8782707622, "ext": "c", "hexsha": "fef882a7eeede6d723c0f015eb2b3840e5d74024", "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 ASSOCIATION_H #define ASSOCIATION_H #define TRUE 1 #define FALSE 0 #include <iostream> // #include <omp.h> #include <mkl.h> extern "C" { #include <gsl/gsl_rng.h> #include <gsl/gsl_const_mksa.h> } #include "matrix.h" #include "connectivity.h" #include "potential.h" /* #include "trajectory.h" */ /* #include "...
{ "alphanum_fraction": 0.6929650238, "avg_line_length": 27.6483516484, "ext": "h", "hexsha": "dbeca21e59ff59934bd4c85b729fc6c97f52bec5", "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":...
//====---- Sudoku/Board_Section_iterator.h ----====// // // Location aware iterator implementation for Sections //====--------------------------------------------------------------------====// // // The iterator can return a Location object. // Included by Board_Section.h // //====-----------...
{ "alphanum_fraction": 0.661952042, "avg_line_length": 33.3625, "ext": "h", "hexsha": "49e5751c315592f8e627c945f299640ee22e6579", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-20T16:26:42.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-20T16:26:42.000Z...
#include <stdio.h> #include <cblas.h> #include <sys/time.h> #include <stdlib.h> #include <omp.h> #define NUM 64 #define GEMM_K 320 #define GEMM_N 4096 #define GEMM_M 256 void PACKA(float* A, float* Ac, long M, long K, long LK) { long ii, jj, kk; for( ii = 0 ; ii < M; ii = ii + 8) { float *temp = A + ii * LK ...
{ "alphanum_fraction": 0.37857992, "avg_line_length": 26.2869318182, "ext": "h", "hexsha": "a67e3da7875dca2341a19abf0efcc6f862fe714e", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-01-07T07:51:15.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-04T14:40:41...
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions...
{ "alphanum_fraction": 0.7145823719, "avg_line_length": 30.9571428571, "ext": "h", "hexsha": "99e60c6e166e3056d4e66f745f73f27f1d30f320", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-01-23T13:16:09.000Z", "max_forks_repo_forks_event_min_datetime": "2021-10-10T00:58:...
/* * 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.670603967, "avg_line_length": 30.5238095238, "ext": "c", "hexsha": "3c2ab12dd276b4313ac6a1c77583aba78efd6bf7", "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:0...
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <Python.h> #include <numpy/arrayobject.h> #include <math.h> #ifdef __INTEL_COMPILER #include <mkl_cblas.h> #else #include <cblas.h> #define kmp_set_blocktime(k) #endif static inline int min (int a, int b) { return a < b ? a : b; } static inline int max (int...
{ "alphanum_fraction": 0.6133905259, "avg_line_length": 31.4486803519, "ext": "c", "hexsha": "a73ea5929985acf1ef27d050a9c23487f5fe89d4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-04-30T07:30:11.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-20T14:21:...
/** * * @file testing_csymm.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mathieu Faverge * @date 2010-11-15 * @generated c Tue Jan 7 11:45:18 2014 * **/ #include <std...
{ "alphanum_fraction": 0.5528189066, "avg_line_length": 37.5614973262, "ext": "c", "hexsha": "9e0f583a33772b98b7301fbd3f0c14a49cd0c2c6", "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_IJK_H #define QDM_IJK_H 1 #include <stddef.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <hdf5.h> typedef struct { size_t size1; size_t size2; size_t size3; double *data; bool owner; } qdm_ijk; typedef struct { qdm_ijk ijk; } qdm_ijk_view; qdm_ijk * qdm_ijk_alloc( ...
{ "alphanum_fraction": 0.656759348, "avg_line_length": 11.7191011236, "ext": "h", "hexsha": "1dd700ef458f473b08896e0b9417a1d5454e3a3b", "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_drot (const int N, double *X, const int incX, double *Y, const int incY, const double c, const double s) { #define BASE double #include "source_rot.h" #undef BASE }
{ "alphanum_fraction": 0.708, "avg_line_length": 19.2307692308, "ext": "c", "hexsha": "fcc7476d29701589f5e84a7d82d88dfe8074eb2e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z...
#include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include "cimple_polytope_library.h" /** * "Constructor" Dynamically allocates the space a polytope needs */ struct polytope *polytope_alloc(size_t k, size_t n) { struct polytope *return_polytope = malloc (sizeof (struct pol...
{ "alphanum_fraction": 0.6184629611, "avg_line_length": 31.2958199357, "ext": "c", "hexsha": "28c77a4f009be1dd20d8f75b66d48391e6b08504", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #pragma once #include <mcbp/protocol/status.h> #include <stdint.h> #include <gsl/gsl> struct EngineIface; /** * Callback for any function producing stats. * * @param key the stat's key * @param klen length of the key * @param val the ...
{ "alphanum_fraction": 0.5816959669, "avg_line_length": 37.9215686275, "ext": "h", "hexsha": "cf3629d2e3dd2b53a46304dc004e61130d5c3f90", "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 [2020] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
{ "alphanum_fraction": 0.7470414201, "avg_line_length": 34.9655172414, "ext": "h", "hexsha": "d6fe918b5219d968a2fac91bbd94c9025f955f78", "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/vector/gsl_vector.h> #include <gsl/gsl_errno.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/vector/prop_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.7612612613, "avg_line_length": 17.0769230769, "ext": "c", "hexsha": "96e9400c201baae4e6a76a1b42d62d99b176c54a", "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 _density_constructions_h #define _density_constructions_h #include "montecarlo.h" #include "two_body_analytical.h" #include <float.h> #include <limits.h> #include <gsl/gsl_sort.h> int r_final_uniform(double x, double y, double vz, double mu, double t_peri ,int N, double a, char * directory); int Vector_dist...
{ "alphanum_fraction": 0.7517630465, "avg_line_length": 30.8260869565, "ext": "h", "hexsha": "6a08b3ca4c4d5c9571dd27766d39975e32cc65c1", "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_ztrtri.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11...
{ "alphanum_fraction": 0.5366515837, "avg_line_length": 31.1267605634, "ext": "c", "hexsha": "30c6d25b58526bc1069be3d462ac3ce2bb29866b", "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_math.h> #include <gsl/gsl_monte.h> //Relevant GSL functions for VEGAS numerical integration #include <gsl/gsl_monte_vegas.h> #include "timer.c" //Timing Functions #include "plotfun.h" //Automatic Plotting Function void timer_start (void); double timer_stop (void); void pfun...
{ "alphanum_fraction": 0.5764549679, "avg_line_length": 23.1743589744, "ext": "c", "hexsha": "1799d58dd8df82bce5d4c9ac81843e144a58a193", "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) 2005 - 2011 Marc de Kamps // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this list of condition...
{ "alphanum_fraction": 0.7621914509, "avg_line_length": 36.5054945055, "ext": "h", "hexsha": "a3362dadded7ff6e219c55ac08b0877bf467d49f", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2022-03-08T12:18:18.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-14T20:52:...
/* * Copyright 2008-2016 Jan Gasthaus * * 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 agre...
{ "alphanum_fraction": 0.6216890595, "avg_line_length": 23.1555555556, "ext": "h", "hexsha": "616b2cfcc2314f3ba7a0a87faab731593c08c07f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2016-11-20T00:56:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-17T19:19:...
#ifndef __MMA__ #define __MMA__ #include <petsc.h> /* ----------------------------------------------------------------------------- Authors: Niels Aage Copyright (C) 2013-2020, This MMA implementation is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License ...
{ "alphanum_fraction": 0.6802452047, "avg_line_length": 37.4592592593, "ext": "h", "hexsha": "1f24e3b266e175bcf3a7a75a46b69ccfbf301420", "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 <vector> #include <gsl/gsl> #include "halley/utils/utils.h" namespace Halley { class NetworkPacketBase { public: size_t copyTo(gsl::span<gsl::byte> dst) const; size_t getSize() const; gsl::span<const gsl::byte> getBytes() const; NetworkPacketBase(NetworkPacketBase&& other) = delete; ...
{ "alphanum_fraction": 0.7410658307, "avg_line_length": 25.7258064516, "ext": "h", "hexsha": "eba42788a5c886ee17d496040c8a2c7a6810b8e5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <config.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sum.h> gsl_sum_levin_u_workspace * gsl_sum_levin_u_alloc (size_t n) { gsl_sum_levin_u_workspace * w; if (n == 0) { GSL_ERROR_VAL ("length n must be positive integer", GSL_EDOM, 0); } w = (gsl_sum_levin_u_w...
{ "alphanum_fraction": 0.5893446488, "avg_line_length": 22.3263157895, "ext": "c", "hexsha": "3f7052b30d2294b6c6c849b04616239aa9e24ca7", "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> /* standard I/O routines */ #include <stdlib.h> #include <string.h> #include <stdio.h> /* standard I/O routines */ #include <omp.h> #include <mpi.h> #include <sys/time.h> #include "utils.h" //#include <cblas.h> #ifdef PAPI #include "cscs_papi.h" #endif #d...
{ "alphanum_fraction": 0.5793251974, "avg_line_length": 20.3357664234, "ext": "c", "hexsha": "025e7cc5ef284fca6ae84b4801f77a83e82abf01", "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":...
//g++ open_blas_measure.cpp -I /include/ -L/lib/ -lopenblas -lpthread // #include <cblas.h> #include <stdio.h> #include <iostream> #ifndef OPEN_BLAS #define OPEN_BLAS extern "C"{ int dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *); } ...
{ "alphanum_fraction": 0.643296433, "avg_line_length": 28.0344827586, "ext": "h", "hexsha": "5a4b63a7a91935de508d7a5b9e203f3cf6db13b3", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-05T14:55:56.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-05T14:55:5...
/* specfunc/gsl_sf_fermi_dirac.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or...
{ "alphanum_fraction": 0.6996943454, "avg_line_length": 28.6569343066, "ext": "h", "hexsha": "049c1daacd5437340518cb63eb26d54d22a0f4e6", "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:...
/* * ----------------------------------------------------------------- * thrm_lib.h * Thermochemistry Library * Version: 2.0 * Last Update: Nov 3, 2019 * * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail.com * ----------------------------------------------------------------- * Co...
{ "alphanum_fraction": 0.442043222, "avg_line_length": 24.8292682927, "ext": "h", "hexsha": "a7bcf3b3210073993b5a6973cbf2c697ef413967", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:4...
#ifndef VolViz_AtomicCache_h #define VolViz_AtomicCache_h #include <gsl/gsl> #include <atomic> #pragma clang diagnostic ignored "-Wpadded" namespace VolViz { /// Class represening a cached value, that has a very basic thread safety. /// The thread saftey is as follows: the cache'd value must not be accessed /// fr...
{ "alphanum_fraction": 0.7200606367, "avg_line_length": 30.4461538462, "ext": "h", "hexsha": "09d3afdb60cab7659d4260811effd7cc330501b2", "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/householdercomplex.c * * Copyright (C) 2001 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) any later vers...
{ "alphanum_fraction": 0.6025917927, "avg_line_length": 29.3450704225, "ext": "c", "hexsha": "9f0f5e91cdac3746c9714dbe61ab4b1230b6c383", "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:...
/* * * A cross-platform way of providing access to gsl_ieee_env_setup * from Fortran on any system MITgcm runs on currently. */ #ifdef USE_GSL_IEEE #include <gsl/gsl_math.h> #include <gsl/gsl_ieee_utils.h> void fgsl_ieee_env_setup () { gsl_ieee_env_setup (); } void fgsl_ieee_env_setup_ () { gsl_ieee_env_se...
{ "alphanum_fraction": 0.7252747253, "avg_line_length": 14.6774193548, "ext": "c", "hexsha": "0e3157ddfd5da21dfca2158d055587a62f1b2169", "lang": "C", "max_forks_count": 209, "max_forks_repo_forks_event_max_datetime": "2022-03-30T06:24:43.000Z", "max_forks_repo_forks_event_min_datetime": "2018-01-31T20:5...
#ifndef __SphericalHarmonicsInterpolationFilter_h #define __SphericalHarmonicsInterpolationFilter_h // this code builds on the ImageToImageFilter. #include "itkImageToImageFilter.h" #include "itkImage.h" // Legendre code from GNU Scientific Library // #include <gsl/gsl_sf_legendre.h> #include <string.h> #include <ma...
{ "alphanum_fraction": 0.6966934763, "avg_line_length": 32.1551724138, "ext": "h", "hexsha": "59abc942d399b88848c03a5df51164607981f1fb", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2019-11-25T19:50:40.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-24T23:16:...
/*************************************************************************** * Copyright (C) 2007 by Mikhail Zaslavskiy * * * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of th...
{ "alphanum_fraction": 0.6088672943, "avg_line_length": 42.2179487179, "ext": "h", "hexsha": "36d903e3bb0f6b023c52b575d28bc13f6de7c3a4", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2021-08-06T01:41:25.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-23T11:44:...
/** * @file coroutine/unix.h * @author github.com/luncliff (luncliff@gmail.com) * @copyright CC BY 4.0 */ #ifndef COROUTINE_SYSTEM_WRAPPER_H #define COROUTINE_SYSTEM_WRAPPER_H #if !(defined(unix) || defined(__APPLE__) || defined(__FreeBSD__)) #error "expect UNIX platform for this file" #endif #include <sys/event.h...
{ "alphanum_fraction": 0.5896328294, "avg_line_length": 27.0083333333, "ext": "h", "hexsha": "5404743185aa6ecba3a1e4ea9e28df7e5d918cca", "lang": "C", "max_forks_count": 29, "max_forks_repo_forks_event_max_datetime": "2022-02-11T17:36:55.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-26T14:03...
/* Copyright (c) 2016, 2017 Bradley Worley <geekysuavo@gmail.com> * Released under the MIT License */ /* ensure once-only inclusion. */ #ifndef __MATTE_OBJECT_H__ #define __MATTE_OBJECT_H__ /* include required standard c library headers. */ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <stdde...
{ "alphanum_fraction": 0.6392717158, "avg_line_length": 36.4470046083, "ext": "h", "hexsha": "a64a60ff816e0b1e12f87ca83fe2a32932bc745d", "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 "utility/scope_guard.h" #include "utility/types.h" #include <gsl/gsl> #include <cfenv> #include <cassert> #define scoped_fesetround(mode) \ int SCOPE_GUARD_PP_UNIQUE(_rounding_mode) = fegetround(); \ int SCOPE_GUARD_PP_UNIQUE(_rounding_ret) = fesetround...
{ "alphanum_fraction": 0.6569293478, "avg_line_length": 37.9870967742, "ext": "h", "hexsha": "d7546179aba8344d6086b1ce00d438d76d73dd47", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* gsl_histogram_maxval.c * Copyright (C) 2000 Simone Piccardi * * This library 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.5893004115, "avg_line_length": 24.0594059406, "ext": "c", "hexsha": "a914c1ce29cca5e81c54b00ed7a0a27e31dbd587", "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:...
/* ** overall concordance correlation coefficient (OCCC) ** Barnhart et al. (2002), Biometrics, 58, 1020-1027. ** ** G.Lohmann, July 2010 */ #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <math.h> #include <stdio.h> #include <string.h> #define SQR(x) ((x) * (x)) #define A...
{ "alphanum_fraction": 0.5506903353, "avg_line_length": 19.5, "ext": "c", "hexsha": "430273b9fdb5dc41b23318a1d59e4a65f174b28d", "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:53.000Z",...
#pragma once #include "gdx/algo/algorithm.h" #include "gdx/exception.h" #include <gsl/span> #include <numeric> #include <type_traits> #include <unordered_map> namespace gdx { template <class T> struct has_sum_member { template <typename U, U u> struct reallyHas; template <typename C> static constex...
{ "alphanum_fraction": 0.6431803491, "avg_line_length": 21.4861111111, "ext": "h", "hexsha": "698e90a3b1c13b271dffdc3babb06eb701591e1d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-16T11:55:27.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-16T11:55:...
#include "../include/paralleltt.h" #include <stdlib.h> #include <string.h> #include <math.h> #include <stdio.h> #include <cblas.h> #include <lapacke.h> #include <unistd.h> #include <mpi.h> #define NUM_THREAD 1 #define min(a,b) ((a)>(b)?(b):(a)) #define VERBOSE ((int) 1) #ifndef HEAD #define HEAD ((int) 0) #endif #d...
{ "alphanum_fraction": 0.5065217391, "avg_line_length": 22.8368794326, "ext": "c", "hexsha": "eefd45d2024f9bd83bda1ce4bdc44cc0948d333b", "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 INCLUDED_BLAS_DETAIL_H #define INCLUDED_BLAS_DETAIL_H #include <cblas.h> #include "telepath/blas/traits.h" namespace blas{ namespace matrix{ namespace matrix_detail{ template< typename T, bool = BlasCast<T>::value > struct BlasMatImpl { }; template< typename...
{ "alphanum_fraction": 0.5072558291, "avg_line_length": 30.5124378109, "ext": "h", "hexsha": "132500f2ccb7ddba7f177426d5e7864ca14cd8c5", "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 bessermt on 6/3/18. // #ifndef SRSGRADE_TIMESTAMP_H #define SRSGRADE_TIMESTAMP_H #include <iostream> #include <iomanip> #include <chrono> #include <gsl.h> class Timestamp { private: std::chrono::system_clock::time_point time_point_{}; void set(const std::string date_string, const std::strin...
{ "alphanum_fraction": 0.6764466178, "avg_line_length": 21.1551724138, "ext": "h", "hexsha": "c641da73ff49ed12b265bcabe0cc2afee4891a7f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer * * Yan-Rong Li, liyanrong@mail.ihep.ac.cn * Jun 30, 2016 * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <math.h> #include <float.h> #include <gsl/gsl_rng.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.6566070334, "avg_line_length": 26.3093841642, "ext": "c", "hexsha": "f82a64930ba2fa3f0e93806d8ebad0852a14698a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-06T11:26:06.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-05T02:01:...
/** @file */ #ifndef __CCL_F2D_H_INCLUDED__ #define __CCL_F2D_H_INCLUDED__ #include <gsl/gsl_spline.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> CCL_BEGIN_DECLS //f2d extrapolation types for early times typedef enum ccl_f2d_extrap_growth_t { ccl_f2d_cclgrowth = 401, //Use CCL's linear growth c...
{ "alphanum_fraction": 0.7567521073, "avg_line_length": 55.3619047619, "ext": "h", "hexsha": "a51892ae3b3ce048473fff6fe7376bb6b76d6343", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:...
#pragma once #pragma warning(disable:4201) // nonstandard extension used : nameless struct/union #pragma warning(disable:4238) // nonstandard extension used : class rvalue used as lvalue #pragma warning(disable:4324) // structure was padded due to __declspec(align()) #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEA...
{ "alphanum_fraction": 0.6987522282, "avg_line_length": 22.2178217822, "ext": "h", "hexsha": "6b2d2cb9936f289a9c2e9f767c79bf24b1e1501a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-08T05:22:40.000Z", "max_forks_repo_forks_event_min_datetime": "2020-01-21T13:11:...
#include <string.h> #include <alloca.h> #include <math.h> #include <mpi.h> #include <kdcount/kdtree.h> #include <fastpm/libfastpm.h> #include <gsl/gsl_rng.h> #include <fastpm/prof.h> #include <fastpm/logging.h> #include <fastpm/store.h> #include <fastpm/fof.h> #include "pmpfft.h" #include "pm2lpt.h" #include "pmgh...
{ "alphanum_fraction": 0.5818208911, "avg_line_length": 30.2297297297, "ext": "c", "hexsha": "ef5feb8e6ed9b5ebe1f746bfd31c2fba779b815d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-14T23:24:19.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-14T23:24:...
#pragma once #include <gsl/gsl> #include <string> #include <memory> #include <vector> #include <string_view> #include "aas/aas_math.h" namespace aas { struct MeshVertex { static constexpr size_t sMaxBoneAttachments = 6; DX::XMFLOAT4 pos; DX::XMFLOAT4 normal; DX::XMFLOAT2 uv; uint16_t padding; uint16_t...
{ "alphanum_fraction": 0.6970654628, "avg_line_length": 19.7767857143, "ext": "h", "hexsha": "d2bda3e13db6dfa40fddc10e954432aca8250570", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
#if !defined(fvSupport_h) #define fvSupport_h #include <petsc.h> #define MAX_FVM_RHS_FUNCTION_FIELDS 4 typedef PetscErrorCode (*FVMRHSFluxFunction)(PetscInt dim, const PetscFVFaceGeom *fg, const PetscInt uOff[], const PetscInt uOff_x[], const PetscScalar fieldL[], const PetscScalar fieldR[], ...
{ "alphanum_fraction": 0.7517376195, "avg_line_length": 33.3623188406, "ext": "h", "hexsha": "4565e02bca7cf4b58b2b67e4770a464bb5cd7898", "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 "GradUtil.h" #ifndef _NOGSL #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #else #include "CustomSolver.h" #endif #include "BooleanDAG.h" class ActualEvaluators; class SmoothEvaluators; class Predicate { public: virtual string print() = 0; virtual double evaluate(ActualEvaluat...
{ "alphanum_fraction": 0.654500464, "avg_line_length": 30.7904761905, "ext": "h", "hexsha": "f2912debdc5203629ef6771c11a81c8ada9e8771", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:5...
#pragma once #include <gsl\gsl> #include <winrt\base.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "PointSpriteMaterial.h" namespace Rendering { class PointSpriteDemo final : public Library::DrawableGameComponent { public: PointSpriteDemo(Library::Game& game, const std::shared_ptr<Library::Ca...
{ "alphanum_fraction": 0.7604994325, "avg_line_length": 27.53125, "ext": "h", "hexsha": "0723238b1e9eb441f5038d8443042c04c6c86c27", "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": "05a...
/** * Copyright 2019 José Manuel Abuín Mosquera <josemanuel.abuin@usc.es> * * This file is part of Matrix Market Suite. * * Matrix Market Suite is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ei...
{ "alphanum_fraction": 0.6394263994, "avg_line_length": 26.9209302326, "ext": "c", "hexsha": "9e3f67cd317ccf44127abaca8690660b7041cb17", "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 // Agile_RRT // // Created by Timothy M. Caldwell. // Copyright (c) 2015 Timothy M. Caldwell. Refer to license.txt // #ifndef __Agile_RRT__global__ #define __Agile_RRT__global__ #include <fstream> //#include <string> //#include <sstream> #include <iostream> #include <iomanip> #include <stdlib.h> ...
{ "alphanum_fraction": 0.735286814, "avg_line_length": 33.5583333333, "ext": "h", "hexsha": "f63a90237b9475746c531f56fe696aa66a2220c6", "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 __INC_ESTIMATE_THREADED__ #define __INC_ESTIMATE_THREADED__ #include <unistd.h> #include <pthread.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> /* common data block for most options to be passed around */ struct optstruct; struct modelstruct; //! used to pass the args...
{ "alphanum_fraction": 0.7842227378, "avg_line_length": 25.86, "ext": "h", "hexsha": "1c5893ad9e256e980465c9d2d0699d0a24663203", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:33.000Z"...
/* Author: G. Jungman */ /* Convenience header */ #ifndef __GSL_SPECFUNC_H__ #define __GSL_SPECFUNC_H__ #if !defined( GSL_FUN ) # if !defined( GSL_DLL ) # define GSL_FUN extern # elif defined( BUILD_GSL_DLL ) # define GSL_FUN extern __declspec(dllexport) # else # define GSL_FUN exte...
{ "alphanum_fraction": 0.6666666667, "avg_line_length": 20.2857142857, "ext": "h", "hexsha": "7a7205db14cb83be512b60ca6f6c37911a16b14f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#include <stdio.h> #include <gsl/gsl_multifit.h> #include <gsl/gsl_randist.h> int dofit(const gsl_multifit_robust_type *T, const gsl_matrix *X, const gsl_vector *y, gsl_vector *c, gsl_matrix *cov) { int s; gsl_multifit_robust_workspace * work = gsl_multifit_robust_alloc (T, X->size1, X->size2); ...
{ "alphanum_fraction": 0.5694891033, "avg_line_length": 22.756097561, "ext": "c", "hexsha": "ce9a3859805f54e91b36e8c17a8ec8ac3458a0d2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:5...
/* sum/demo.c * * 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 License, or (at ...
{ "alphanum_fraction": 0.6425792107, "avg_line_length": 27.6769230769, "ext": "c", "hexsha": "1a1b4ba0a630f8635166ad404c8558a934d27711", "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. #pragma once #include <memory> #include <future> #include <array> #include <gsl\gsl> #include <boost\optional.hpp> #include "Data\Data.h" #include "MageSettings.h" #include "Device\Device.h" #include <SensorSample.h> #include <Plat/CameraDe...
{ "alphanum_fraction": 0.5838519489, "avg_line_length": 32.3068783069, "ext": "h", "hexsha": "497507c79117dfcd7b5add99ed715dcd9f054a05", "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...
#include <assert.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_poly.h> #include "userFunc.h" #define G 6.67384e-8 /* 2010 CODATA value in CGS units */ #define C 2.99792458e10 /* Exact value in CGS units */ #define ALPHAMIN 1.0...
{ "alphanum_fraction": 0.5923157466, "avg_line_length": 107.6118935837, "ext": "c", "hexsha": "41f43d72dec906e21d51bf4e0a63fd8c4c971bd6", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41...
#ifndef QDM_THETA_H #define QDM_THETA_H 1 #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> int qdm_theta_optimize( gsl_vector *result, gsl_vector *emperical_quantiles, gsl_matrix *ix ); void qdm_theta_matrix_constrain( gsl_matrix *theta, double min ); #endif /* QDM_THETA_H */
{ "alphanum_fraction": 0.7305194805, "avg_line_length": 14.6666666667, "ext": "h", "hexsha": "6c23626d3c35daa28ee23cbf5d6694894fea18cf", "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":...
/*********************************************************************** * mexeigPartial.c : C mex file for the routine DSYEVX in LAPACK * * mex -O -largeArrayDims -lmwlapack -lmwblas mexeigPartial.c * * [V,D,nv] = mexeigPartial(A, vl, vu, options); * * options.jobz = 1 (default), compute both eigenvectors and eigenva...
{ "alphanum_fraction": 0.5155015198, "avg_line_length": 33.2323232323, "ext": "c", "hexsha": "2660b3e24e3a6da451f961b44344bcdb0d4c08c0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-02-06T15:17:55.000Z", "max_forks_repo_forks_event_min_datetime": "2020-02-06T15:17:...
/** */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_multifit_nlin.h> #include "aXe_grism.h" #include "aXe_utils.h" //#include "spce_PET.h" #include "inout_aper.h" //#include "trace_conf.h" #include "aper_conf.h" //#include "spc_sex.h" //#inc...
{ "alphanum_fraction": 0.6649595242, "avg_line_length": 27.6392694064, "ext": "c", "hexsha": "8f3bf4d18b53abf598a9c8ba13b5b30bf8ba170b", "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) 2005 - 2010 Marc de Kamps // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this list of condition...
{ "alphanum_fraction": 0.7588276836, "avg_line_length": 47.2, "ext": "h", "hexsha": "c3ce5ea720f182da6e718a73fea846e036bb0c6f", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2022-03-08T12:18:18.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-14T20:52:07.000Z",...
/* linalg/cholesky_band.c * * Copyright (C) 2018, 2019, 2020 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 lat...
{ "alphanum_fraction": 0.5845346344, "avg_line_length": 26.6804733728, "ext": "c", "hexsha": "2c0b0e26e3c0f5002dfcb4bce4822d212eb3cace", "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 <gsl/span> #include <cstddef> #include <type_traits> namespace imageview { namespace detail { template <class T, typename Enable = void> class HasColorTypeTypedef : public std::false_type {}; template <class T> class HasColorTypeTypedef<T, std::void_t<typename T::color_type>> : public std::tr...
{ "alphanum_fraction": 0.5721881391, "avg_line_length": 41.4406779661, "ext": "h", "hexsha": "8cc9f9c323cfb3b106ba176aca6f7ca695a51aa6", "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 KGS_EIGENVALUE_H #define KGS_EIGENVALUE_H #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multimin.h> class Eigenvalue { protected: const int m, n; ///< Dimensions of matrix public: Eigenvalue(gsl_matrix* matrix1, gsl_matrix* mat...
{ "alphanum_fraction": 0.6807116105, "avg_line_length": 26.7, "ext": "h", "hexsha": "ddd47d6af22ccf8e3f8569fc6f751e3ec4cd2e94", "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": "117c4a3...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.5183061315, "avg_line_length": 33.8358208955, "ext": "c", "hexsha": "9934c14e62e570307acb8ec110a765d276ee86b4", "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 LISA-like detectors. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <stdli...
{ "alphanum_fraction": 0.6801262041, "avg_line_length": 55.2745825603, "ext": "c", "hexsha": "9789e6ff9f8c6d9de507d2c57e6dc7bb6ad8a2fe", "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:...
// @file im2col_conv.c // // \date Created on: Sep 30, 2017 // \author Gopalakrishna Hegde // // Description: // // // #include <stdbool.h> #include <cblas.h> #include "common_types.h" //From Berkeley Vision's Caffe //Refer to Caffe's license : https://github.com/BVLC/caffe/blob/master/LICENSE static inline bool ...
{ "alphanum_fraction": 0.6010841837, "avg_line_length": 33.7204301075, "ext": "c", "hexsha": "7793eec86c6383602fcdb18bead8ad5dc4a33446", "lang": "C", "max_forks_count": 23, "max_forks_repo_forks_event_max_datetime": "2021-12-21T14:16:14.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-24T05:17...
// // Created by pedram pakseresht on 2/18/21. // // #include <petsc.h> #include <printf.h> #include <stdlib.h> void setNumber(double *zxy); typedef struct{ double x; double z; int g[3]; }Pstruct; void printStruct(Pstruct str) { printf("print struct %f %f %d %d %d \n", str.x, str.z, str.g[0], s...
{ "alphanum_fraction": 0.5046296296, "avg_line_length": 12.8955223881, "ext": "c", "hexsha": "27ae140c9932b0dd16c4a85576e8f8378a9e182e", "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":...
/* Excited States software: KGS Contributors: See CONTRIBUTORS.txt Contact: kgs-contact@simtk.org Copyright (C) 2009-2017 Stanford University 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 with...
{ "alphanum_fraction": 0.7129491018, "avg_line_length": 35.6266666667, "ext": "h", "hexsha": "3785896c3500cc00420feadbf6f21653742ebe1b", "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 "halley_gl.h" #include <gsl/gsl> namespace Halley { class GLBuffer { public: GLBuffer(); ~GLBuffer(); void bind(); void bindToTarget(GLuint index); void init(GLenum target, GLenum usage = GL_STREAM_DRAW); void setData(gsl::span<const gsl::byte> data); size_t getSize() const; ...
{ "alphanum_fraction": 0.6568848758, "avg_line_length": 15.8214285714, "ext": "h", "hexsha": "7fdcaefdc7d3b20c4604dd3c3c092f4fba72524f", "lang": "C", "max_forks_count": 193, "max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-23T06:0...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_sf_legendre.h> #include "fftlog.h" #include "ccl.h" #include "ccl_params.h" ...
{ "alphanum_fraction": 0.6846980864, "avg_line_length": 29.9979716024, "ext": "c", "hexsha": "1c035d945e9da4381fd339d1b7cdec032c2f788f", "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 GENERIC_API_NAMESPACE #error "Wrong usage of this header" #endif #ifndef GENERIC_API_ROUTINES_NAMESPACE #error "Wrong usage of this header" #endif #define ROUTINES_NAMESPACE namespace GENERIC_API_ROUTINES_NAMESPACE #define BLAS_NAMESPACE namespace GENERIC_API_NAMESPACE #ifndef GENERIC_API_DEFINE namespac...
{ "alphanum_fraction": 0.7197046284, "avg_line_length": 43.5842911877, "ext": "h", "hexsha": "290a8cdda0fbbec94863989ea5a5983a3dcd14de", "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":...
/* ** ECM - eigenvector centrality mapping using full matrix ** ** G.Lohmann, MPI-KYB, Nov 2018 */ #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_cblas.h> #include <g...
{ "alphanum_fraction": 0.5194117647, "avg_line_length": 19.391634981, "ext": "c", "hexsha": "aee001b22e26a05b192b46bf5833fc254bb77274", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:5...
#pragma once #include <vector> #include <gsl/gsl> #include <atlcomcli.h> using gsl::span; namespace gfx { /* Defines the file formats supported by the imaging functions. */ enum class ImageFileFormat { BMP, JPEG, TGA, FNTART, IMG, Unknown }; struct ImageFileInfo { ImageFileFormat format = Ima...
{ "alphanum_fraction": 0.6583526682, "avg_line_length": 21.55, "ext": "h", "hexsha": "2c0f0f7a4f56242302f9ec102ce0001ba096c400", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19:53.000Z...
// // C++ Interface: %{MODULE} // // Description: // // // Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR} // // Copyright: See COPYING file that comes with this distribution // // #ifndef STK_BasicVector_h #define STK_BasicVector_h #include "common.h" #include "Error.h" #include <cstddef> #include <cs...
{ "alphanum_fraction": 0.4838596491, "avg_line_length": 27.0569620253, "ext": "h", "hexsha": "25cdfc4937829ec2557ec849c3cbce4ce2611d8a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file core_stsmlq_sytra1.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Mathieu Faverge * @author Azzam Haidar * @date 2010-11-15 * @gener...
{ "alphanum_fraction": 0.5096009036, "avg_line_length": 31.2470588235, "ext": "c", "hexsha": "4e38895e073f29df549e4c5caf990ead9b02b193", "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 batch_zdotu_sub.c * * Part of API test for Batched BLAS routines. * * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date * * @precisions normal z -> c d s * **/ #include <cblas.h> #include "bblas.h" #define COMPLEX void batch_zdotu_sub( const int *n, ...
{ "alphanum_fraction": 0.595980596, "avg_line_length": 18.7402597403, "ext": "c", "hexsha": "52c2b9161a61afa3a7adb78c1848c5923d4a4d25", "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 "random_utils.h" #include "schedule.h" #include "schedule_params.h" #include "stochastic_tunneling.h" #include "temperature.h" #include "utils.h" #include <gsl/gsl-lite.hpp> namespace angonoka::stun { /** How many stochastic tunneling iterations to go through during each update. */ enum ...
{ "alphanum_fraction": 0.649609375, "avg_line_length": 23.2727272727, "ext": "h", "hexsha": "76efedc98a27329ff3ddc0e55cc6bae36160dbdf", "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": ...
/* CLM (Music V) implementation */ #include <mus-config.h> #if USE_SND #include "snd.h" #endif #include <stddef.h> #include <math.h> #include <stdio.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #if (defined(HAVE_LIBC_H) && (!defined(HAVE_UNISTD_H))) #include <libc.h> #else ...
{ "alphanum_fraction": 0.6185898624, "avg_line_length": 26.5791721419, "ext": "c", "hexsha": "9200416591404076af21ee15db4121429a9e8933", "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":...
/* rng/rand.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your ...
{ "alphanum_fraction": 0.7062556664, "avg_line_length": 25.6511627907, "ext": "c", "hexsha": "315cb4e97b37594bbb6552c0bb8f378f5560438a", "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:...
/* numerical stuff */ #include <math.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include "numerical.h" #include <gsl/gsl_sf.h> //#include "nrutil.h" /* Numerical Recipes Stuff */ #define GOLD 1.618034 #define GLIMIT 100.0 #define TINY 1.0e-20 #define MAX(a,b) ((a) > (b) ? (a) : (b)) #define MIN(...
{ "alphanum_fraction": 0.4845292956, "avg_line_length": 21.8561151079, "ext": "c", "hexsha": "897b05fa2cd9b733d3b1c0bc6c4f530ac8a8ee4c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-15T10:37:33.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-15T10:37:...
// randomizer.h // (C) 2013-2020 Nicholas G Davies #ifndef RANDOMIZER_H #define RANDOMIZER_H #include <vector> #include <limits> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <cmath> #include <stdexcept> #include <string> #include <iostream> class Randomizer { public: Randomizer(unsigned long in...
{ "alphanum_fraction": 0.6488160291, "avg_line_length": 25.6542056075, "ext": "h", "hexsha": "a874a8ed7b0a7e54db9d385369607abfa01165cc", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-15T00:11:25.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-15T00:11:...
/* 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.6202383278, "avg_line_length": 24.4928229665, "ext": "c", "hexsha": "b35de8408d298ef7ba95298909067078aaa3a24e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <cblas.h> #ifdef LAPACKE_FOLDER #include <lapacke/lapacke.h> #else #include <lapacke.h> #endif #include "math.h" #include "minimal_opencv.h" #include "stdbool.h" #include "stdio.h" #include "string.h" #include <limits.h> #include <stdarg.h> #include "linmath.h" #ifdef _WIN32 #define SURVIVE_LOCAL_ONLY #inc...
{ "alphanum_fraction": 0.6511296812, "avg_line_length": 29.4262295082, "ext": "c", "hexsha": "fcabb47d269a8e7fd67cc3c9d5b898bd8f731ab0", "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 OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
{ "alphanum_fraction": 0.5977055087, "avg_line_length": 32.7546583851, "ext": "c", "hexsha": "88b3ce6406bfbf72272d75f155f69edefb1704b4", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-01-05T03:52:29.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-14T16:06:...
/* Copyright [2017-2019] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
{ "alphanum_fraction": 0.6418436997, "avg_line_length": 30.8250591017, "ext": "h", "hexsha": "63c868ab27529482edc980f1e473eec4c830b4ae", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30...
/* * Evan Lezar * An implementation of a dense eigensolver that uses the ARPACK Fortran backend. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <omp.h> #include <cblas.h> // #include <acml.h> // Include the interfaces to the Fortran routines. #include "interface.h" #define ARPACK_CALL 0 #d...
{ "alphanum_fraction": 0.6879723602, "avg_line_length": 35.8992248062, "ext": "c", "hexsha": "c12f20beb3f726b52625835eb9451f3fa9d63f8f", "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":...