Search is not available for this dataset
text string | meta dict |
|---|---|
#ifndef __INC_MULTIMODELSTRUCT__
#define __INC_MULTIMODELSTRUCT__
#include "modelstruct.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
struct modelstruct;
/**
* \struct multimodelstruct
* handle a model with t-variate output i.e y_m = {y_1, ..., y_t}^{T}
*
* this contains some r <= t modelstructs r... | {
"alphanum_fraction": 0.7264995524,
"avg_line_length": 28.641025641,
"ext": "h",
"hexsha": "38d90c2182d4e4ffa0cc5f3f81264c44136f42b3",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:3... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in t... | {
"alphanum_fraction": 0.6962372974,
"avg_line_length": 34.3490566038,
"ext": "h",
"hexsha": "30443879dbb7d04d863d236cbf30b14296b7ce4b",
"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:... |
#include <math.h>
#include <stdio.h>
#include <iostream>
#include <time.h>
#include <gsl/gsl_sf_exp.h>
#include <gsl/gsl_sf_log.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_math.h>
#include "gsl/gsl_cdf.h"
#include "gsl/gsl_randist.h... | {
"alphanum_fraction": 0.7192982456,
"avg_line_length": 21.375,
"ext": "h",
"hexsha": "32267a0d48b9f1ac8b4adf4ba31504b3621abc57",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-02-18T07:18:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-04T01:53:41.000Z... |
/* statistics/test_nist.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, ... | {
"alphanum_fraction": 0.441190917,
"avg_line_length": 52.5138888889,
"ext": "c",
"hexsha": "30b8ecc5647ce9eb19722adf8423d1b75775bb7e",
"lang": "C",
"max_forks_count": 224,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-11-12T21:17... |
/*
Copyright (c) 2015, Patrick Weltevrede
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow... | {
"alphanum_fraction": 0.6838723051,
"avg_line_length": 38.2857142857,
"ext": "c",
"hexsha": "552a49f006895308b6cdec9cbbcd7e24f7780ab1",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-06-16T15:24:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-09T09:04:... |
/* multilarge_nlinear/nielsen.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 v... | {
"alphanum_fraction": 0.6584845251,
"avg_line_length": 26.2710280374,
"ext": "c",
"hexsha": "215d081766501685d781799f2bf035cc4264fad3",
"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 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.7518878101,
"avg_line_length": 28.0909090909,
"ext": "h",
"hexsha": "68ad83eb45a13d57050b87182b49ad2630f46a00",
"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... |
//
// Author : github.com/luncliff (luncliff@gmail.com)
// License : CC BY 4.0
//
// Note
// Test framework adapter
//
#pragma once
#include <gsl/gsl>
void _require_(bool expr);
void _require_(bool expr, gsl::czstring<> file, size_t line);
void _println_(gsl::czstring<> message);
void _fail_now_(gsl::czstri... | {
"alphanum_fraction": 0.6569343066,
"avg_line_length": 22.8333333333,
"ext": "h",
"hexsha": "7fa3cbb660e56f7baa3f0ac7ac9fdab8d6b7de87",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* poly/zsolve_init.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.6724137931,
"avg_line_length": 25.6857142857,
"ext": "c",
"hexsha": "a93fba452e016309bf5ba58b770e96ec591cafb0",
"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 <Manager.h>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <limits>
#include <vector>
#include "../types/def.h"
#include <gsl\gsl>
#include "SFML/Window.hpp"
#include <utility>
#include <../_entity/Entity.h>
#include <../_entity/EntityManager.h>
#include "../_componen... | {
"alphanum_fraction": 0.68309361,
"avg_line_length": 29.4513888889,
"ext": "h",
"hexsha": "1914165587b970072bb2d6f88f9740267072f517",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-05-14T14:57:31.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-07T12:53:44... |
//IN method.
//Bilinear transformation (3D tensor of weights, 1D vector of biases)
//of Ni1 inputs from X1 and Ni2 inputs from X2 to No outputs in Y.
//This version uses CBLAS.
//Input X1 has Ni1 neurons, X2 has Ni2 neurons, and output Y has No neurons.
//If col-major: Y[o,l] = X1[:,l]' * W[:,:,o] * X2[:,l] + B[o]
//... | {
"alphanum_fraction": 0.6134365107,
"avg_line_length": 33.2514619883,
"ext": "c",
"hexsha": "a81c21c912722f74b34d20a72ab999e10d5a937d",
"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 _BLAS_UTIL_H_
#define _BLAS_UTIL_H_
#ifdef __BLAS_LEGACY__
#include <math.h>
#include "utils/cblas.h"
//#include <lapacke.h> //! hasn't used
#define _D2_MALLOC_SCALAR(x) (SCALAR *) malloc( (x) *sizeof(SCALAR))
#define _D2_MALLOC_INT(x) (int *) malloc( (x) *sizeof(int))
#define _D2_MALLOC_SIZE_T(x... | {
"alphanum_fraction": 0.6488939308,
"avg_line_length": 43,
"ext": "h",
"hexsha": "8be083fb3818a73af31fd807df0dc6f8dbb45fbb",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-06-13T20:23:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-01-11T16:55:13.000Z",
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <gsl/gsl_rng.h>
#include <assert.h>
#include "core_allvars.h"
#include "core_proto.h"
void init_galaxy(int p, int halonr)
{
int j, step;
assert(halonr == Halo[halonr].FirstHaloInFOFgroup);
Gal[p].Type = 0;... | {
"alphanum_fraction": 0.6151645207,
"avg_line_length": 21.5550660793,
"ext": "c",
"hexsha": "838a987537b911e683a5877c4d1a48e55c8a1c64",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-02-10T10:43:27.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-02-10T10:43:... |
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <gsl/gsl_rng.h>
#include "allvars.h"
#include "proto.h"
#ifdef COSMIC_RAYS
#include "cosmic_rays.h"
#endif
#ifdef CS_MODEL
#include "cs_metals.h"
#end... | {
"alphanum_fraction": 0.6197502093,
"avg_line_length": 26.1506437768,
"ext": "c",
"hexsha": "15f62ce84e2e75f132d9e5c58220d40a0cf2daaa",
"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 <viaio/Vlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_combination.h>
/* binomial coefficient, n choose k */
double b... | {
"alphanum_fraction": 0.5737704918,
"avg_line_length": 22.3666666667,
"ext": "c",
"hexsha": "8908ddbd76d65a8d85e7aa329cf026bf8aae182a",
"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:... |
static char help[] =
"DMPlex mesh test suggested by Matt Knepley on petsc-users 11/9/21.\n"
"Shows DMPlex is more capable at the command line than I thought.\n\n";
/*
running with the -dm_view hdf5 seems to require a library I don't have:
mpiexec -n 2 ./meshtest -dm_plex_shape sphere -dm_refine_pre 3 -dm_extrude 5 -dm... | {
"alphanum_fraction": 0.7322297955,
"avg_line_length": 38.037037037,
"ext": "c",
"hexsha": "4f8a5f1ed0483fcb25c93bddb3945e2d4848ca28",
"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": ... |
/**
* Simple and fast kmeans-implementation making use of multithreading.
*
* Author: Anders Bennehag
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Anders Bennehag
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <pthread.h>
#include <assert.h>
#i... | {
"alphanum_fraction": 0.5416774194,
"avg_line_length": 29.0625,
"ext": "c",
"hexsha": "e0b39292c9e4758e3edad4c0e329928f0811eb62",
"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": "25e1... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | {
"alphanum_fraction": 0.6117012584,
"avg_line_length": 29.9950980392,
"ext": "h",
"hexsha": "b0485ef0ea4119f4052b71d541de7263e1ef172d",
"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_math.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 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.7043343653,
"avg_line_length": 25.6123348018,
"ext": "h",
"hexsha": "7f9a39150fcdbcfab4f091440a0cbef95f264a3f",
"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... |
/*
* GENANN - Minimal C Artificial Neural Network
*
* Copyright (c) 2015-2018 Lewis Van Winkle
*
* http://CodePlea.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Per... | {
"alphanum_fraction": 0.5623373685,
"avg_line_length": 33.9961538462,
"ext": "c",
"hexsha": "3d3b31083b764800ca9cf0466cecef3e85fb71ec",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* randist/poisson.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
... | {
"alphanum_fraction": 0.6125301205,
"avg_line_length": 22.0744680851,
"ext": "c",
"hexsha": "34501f844d7b43ddfd52bddace0f132c8829233b",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Bow\BaseBow.h"
#include "Tracking\TrackLocalMap.h"
#include "Image\AnalyzedImage.h"
#include <gsl\gsl>
#include <memory>
#include <vector>
namespace mage
{
// VI-C : LOCAL MAPPING - NEW MAP POINT CREATION
... | {
"alphanum_fraction": 0.6835465529,
"avg_line_length": 50.7027027027,
"ext": "h",
"hexsha": "92d6cf1980d7f1ba23763162729055fe124d0d8f",
"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... |
/**
* tlibs2
* (container-agnostic) math library
* @author Tobias Weber <tobias.weber@tum.de>, <tweber@ill.fr>
* @date 2017-2021
* @license GPLv3, see 'LICENSE' file
*
* @note The present version was forked on 8-Nov-2018 from my privately developed "magtools" project (https://github.com/t-weber/magtools).
* @no... | {
"alphanum_fraction": 0.6362540972,
"avg_line_length": 25.9537502995,
"ext": "h",
"hexsha": "77f0a002d863f7efdd4e59361607ae9f97fa4c3d",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-09-20T19:30:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-09-20T19:30:... |
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root
// for more information.
#ifndef NOVELRT_INPUT_H
#define NOVELRT_INPUT_H
// Input Dependencies
#include "NovelRT/LoggingService.h"
#include "NovelRT/Maths/Maths.h"
#include "NovelRT/Timing/Timestamp... | {
"alphanum_fraction": 0.7336122734,
"avg_line_length": 20.4857142857,
"ext": "h",
"hexsha": "c1c0e39b064c31ad047713fcf6015748ddbfb95b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
//This takes univariate X, windows X with W, applies the 1D FFT to each frame,
//takes power, transforms with T mat to B cfs, and then compresses power.
//The output Y is power (real-valued), i.e. the FFT squared.
//The size of Y is BxC if dim==0, and RxB if dim==1.
//This is equivalent to stft -> apply_spectrogram_T_... | {
"alphanum_fraction": 0.4547426034,
"avg_line_length": 38.967806841,
"ext": "c",
"hexsha": "7283b0531bf8d2706e2e32a44301171fd3cbaa1c",
"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 COMMAND_UTILS_INCLUDE
#define COMMAND_UTILS_INCLUDE
#include <limits>
#include <string>
#include <vector>
#include <gsl/string_span>
#include "tmpFile.h"
namespace execHelper {
namespace test {
namespace baseUtils {
using ConfigFile = TmpFile;
const gsl::czstring<> EXEC_HELPER_BINARY = "exec-helper";
const... | {
"alphanum_fraction": 0.774025974,
"avg_line_length": 25.6666666667,
"ext": "h",
"hexsha": "933dd85964978cbca2b985474beb76ee53b07013",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:1... |
/* integration/qmomof.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your... | {
"alphanum_fraction": 0.4628044034,
"avg_line_length": 23,
"ext": "c",
"hexsha": "802eaddffd62501e97cb4b79b35b666491a29548",
"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:52.000Z",
... |
/* err/env.c
*
* Copyright (C) 2001, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* ... | {
"alphanum_fraction": 0.6774193548,
"avg_line_length": 25.0384615385,
"ext": "c",
"hexsha": "f1b4203e8e0a8d066f15decf939f822cf871f62f",
"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:... |
/* multiroots/fdfsolver.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* yo... | {
"alphanum_fraction": 0.6193367585,
"avg_line_length": 24.0561797753,
"ext": "c",
"hexsha": "82db3b46289fbd834ed708027af855f28e09e0c9",
"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... |
#pragma once
#include "schedule.h"
#include <gsl/gsl-lite.hpp>
#include <range/v3/view/span.hpp>
#include <vector>
namespace angonoka {
struct Configuration;
} // namespace angonoka
namespace angonoka::stun {
using ranges::span;
/**
Cache-friendly container of views into an array of ints.
*/
class Vector2D {
pu... | {
"alphanum_fraction": 0.6369359916,
"avg_line_length": 22.872,
"ext": "h",
"hexsha": "4acef294b32dd86ca7853ece99c99ae9150a2cb7",
"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": "a8a4a... |
/* FacSexNe.c
Simulation of tracking neutral mutation under facultative sex
To calculate Ne under different scenarios
Code based on that used in Agrawal and Hartfield 2016 (https://github.com/MattHartfield/BalSelSims).
Simulation uses routines found with the GNU Scientific Library (GSL)
(http://www.gnu.org/software/... | {
"alphanum_fraction": 0.6441727791,
"avg_line_length": 29.3540669856,
"ext": "c",
"hexsha": "4f7cac2913c83cd31e8d7c8d5f832b7523bb2d07",
"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":... |
/* sum/gsl_sum.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
* you... | {
"alphanum_fraction": 0.6041415013,
"avg_line_length": 35.1212121212,
"ext": "h",
"hexsha": "187192a095f7a5396aa3ef346a1fd6069338405d",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* randist/bernoulli.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, ... | {
"alphanum_fraction": 0.6563400576,
"avg_line_length": 22.3870967742,
"ext": "c",
"hexsha": "c10f5a49ae343d9ecdfb607da32a74873e2ede27",
"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... |
#pragma once
#include <exception>
#include <iostream>
#include <cstdlib>
#include <functional>
#include <memory>
#include <vector>
#include <gsl/gsl>
#define VK_USE_PLATFORM_WIN32_KHR
#include <vulkan/vulkan.h>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3nat... | {
"alphanum_fraction": 0.7294379712,
"avg_line_length": 26.987283237,
"ext": "h",
"hexsha": "ef4e68b0c8d03afce855feb2684c0defdb461364",
"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 "Texture.h"
#include "Rectangle.h"
namespace Library
{
class Texture2D final : public Texture
{
RTTI_DECLARATIONS(Texture2D, Texture)
public:
Texture2D(const GLuint textureID, GLuint width, GLuint height);
Texture2D(const Texture2D&) = default;
Texture2D& operator=... | {
"alphanum_fraction": 0.7296551724,
"avg_line_length": 23.3870967742,
"ext": "h",
"hexsha": "b5a65909f1f44387f743ad856cb8fb780cb54ebf",
"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.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 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 ... | {
"alphanum_fraction": 0.6081234884,
"avg_line_length": 26.7453032105,
"ext": "c",
"hexsha": "d098e22135bd4d1e69087899ba5e43cc5b3412ae",
"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 <stdio.h>
#include <stdlib.h>
#include <math.h>
//#include <nubspline.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_spline.h>
extern void* xcalloc(int NumPoints, int size);
/*void eval_NUBspline_1d_d(NUBspline_1d_d * restrict spline, double x,
double* restrict val);
void eval_NUBspline_1d_d_vg(NUBsplin... | {
"alphanum_fraction": 0.7125145293,
"avg_line_length": 29.6666666667,
"ext": "c",
"hexsha": "e626c85af63af82620f11411651bedd19e36a6c1",
"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:... |
/* eigen/schur.h
*
* Copyright (C) 2006 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 2 of the License, or (at
* your option) any later version.
*
* ... | {
"alphanum_fraction": 0.7244525547,
"avg_line_length": 32.2352941176,
"ext": "h",
"hexsha": "17d87a0e81d2487dbcf0c95d6bf376ba9c4501eb",
"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 _POLIFITGSL_H
#define _POLIFITGSL_H
#include <gsl_multifit.h>
#include <stdbool.h>
#include <math.h>
bool polynomialfit(int obs, int degree,
double *dx, double *dy, double *store); /* n, p */
#endif
| {
"alphanum_fraction": 0.7089201878,
"avg_line_length": 23.6666666667,
"ext": "h",
"hexsha": "6fde4bc984fd66c4a6ce88fbf0372a38a69e6799",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:... |
#ifndef DART_POINTERS_H
#define DART_POINTERS_H
/*----- System Includes -----*/
#include <atomic>
#include <memory>
#include <gsl/gsl>
#include <stdint.h>
#include <functional>
#include <type_traits>
/*----- System Includes -----*/
#include "../refcount_traits.h"
/*----- Type Declarations -----*/
namespace dart {... | {
"alphanum_fraction": 0.6442500557,
"avg_line_length": 35.3307086614,
"ext": "h",
"hexsha": "423d1744e39fcd1463354868d362c6c2fbc98d32",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2020-06-11T11:05:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-05-11T08:05... |
#ifndef COSMOLOGY_H
#define COSMOLOGY_H
#include <cmath>
//nbody code
#include <NBody.h>
#include <NBodyMath.h>
//gsl code
#include <gsl/gsl_integration.h>
#include <gsl/gsl_monte.h>
#include <gsl/gsl_monte_plain.h>
#include <gsl/gsl_monte_miser.h>
#include <gsl/gsl_monte_vegas.h>
using namespace std;
using namespace... | {
"alphanum_fraction": 0.7388919364,
"avg_line_length": 49.7181818182,
"ext": "h",
"hexsha": "998d1c54be404773d948e8935d738e49b39e46b6",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-10-23T00:21:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-23T02:58:... |
#include <config.h>
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_dft_complex.h>
#include <gsl/gsl_dft_complex_float.h>
#include "complex_internal.h"
#define BASE_DOUBLE
#include "templates_on.h"
#include "dft_source.c"
#include "... | {
"alphanum_fraction": 0.7594936709,
"avg_line_length": 18.2307692308,
"ext": "c",
"hexsha": "26d32a5ae3a5b8aed002d18b6f2fb7d7cdb425b5",
"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 <errno.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <setjmp.h>
#include <glib.h>
#if GLIB_CHECK_VERSION (2, 6, 0)
# include <glib/gstdio.h>
#... | {
"alphanum_fraction": 0.565158979,
"avg_line_length": 31.6737588652,
"ext": "c",
"hexsha": "d29956e480e1c791fcc599149eaf6f0f13ddf97e",
"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:3... |
/* addmatrix_gsl.c */
/*
Program to add two variable dimension matrices input by user
*/
// https://www.gnu.org/software/gsl/manual/html_node/Example-programs-for-matrices.html
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
int main (void)
{
int i, j;
gsl_matrix * m = gsl_matrix_alloc(10, 3)... | {
"alphanum_fraction": 0.5748792271,
"avg_line_length": 20.0322580645,
"ext": "c",
"hexsha": "08ca8c8d8c05f488dd471d31c0a1afe6614e739f",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2021-03-01T07:13:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-01-24T19:18... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2018-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance... | {
"alphanum_fraction": 0.6142270862,
"avg_line_length": 35.5057142857,
"ext": "h",
"hexsha": "c17bc6032735c037ab7049fa1b90a6a3bc9d1a4b",
"lang": "C",
"max_forks_count": 71,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T10:34:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-05-22T20:41... |
/* ode-initval/gsl_odeiv.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 (at
* your... | {
"alphanum_fraction": 0.7321055862,
"avg_line_length": 33.7966804979,
"ext": "h",
"hexsha": "0019c74d4f6f15e947cf6d45a9befb41486ef374",
"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:... |
/******************************************************************************
CosmoLike Configuration Space Covariances for Projected Galaxy 2-Point Statistics
https://github.com/CosmoLike/CosmoCov
by CosmoLike developers
******************************************************************************/
#include <math.... | {
"alphanum_fraction": 0.6471709351,
"avg_line_length": 32.4131274131,
"ext": "c",
"hexsha": "dcce5b6bafbad9c207bcdf478726f888845e0592",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-01-27T11:30:53.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-04-21T20:17:... |
#ifndef VERBOSITY_INCLUDE
#define VERBOSITY_INCLUDE
#include <iostream>
#include <gsl/string_span>
#include "config/fleetingOptionsInterface.h"
#include "config/variablesMap.h"
#include "core/task.h"
namespace execHelper {
namespace plugins {
using Verbosity = bool;
const gsl::czstring<> VERBOSITY_KEY = "verbose";... | {
"alphanum_fraction": 0.6663039536,
"avg_line_length": 32.4352941176,
"ext": "h",
"hexsha": "b23ccf417796905976493fdd81f3a250e8c273ec",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:... |
#pragma once
#include <Python.h> // has to be the first included header
#ifdef HAVE_LAPACK
#include <lapacke.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <string>
using namespace std;
class SvdUtility
{
public:
static void getSVD(double input[], int rows, int cols, double lef... | {
"alphanum_fraction": 0.7309269893,
"avg_line_length": 27.0888888889,
"ext": "h",
"hexsha": "b9ea0909c55f360705c083ee3973440ba68ee74b",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-05-28T13:24:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-17T12:18:... |
#ifndef GSL_WRAPPERS_H
#define GSL_WRAPPERS_H
// #include <gsl/gsl_check_range.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_multimin.h>
#include ... | {
"alphanum_fraction": 0.6724875267,
"avg_line_length": 28.06,
"ext": "h",
"hexsha": "02956b0c5ea2da80c20b865be7b6e33c136ac6ba",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-07-10T09:29:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-15T04:11:00.000Z"... |
// Based on code found in https://github.com/deeplearning4j/libnd4j/blob/master/blas/cpu/NativeBlas.cpp
#include <cblas.h>
#ifdef _WIN32
#include <Windows.h>
#else
#include <dlfcn.h>
#endif
static int maxThreads = -1;
static int vendor = 0;
static void blas_set_num_threads(int num) {
typedef void* (*void_int)(i... | {
"alphanum_fraction": 0.589149032,
"avg_line_length": 31.2816901408,
"ext": "h",
"hexsha": "1708246ea9426fa329624b6de003194ba798ad80",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-25T06:48:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-25T06:48:4... |
/*
Project Name : OpenMEEG
© INRIA and ENPC (contributors: Geoffray ADDE, Maureen CLERC, Alexandre
GRAMFORT, Renaud KERIVEN, Jan KYBIC, Perrine LANDREAU, Théodore PAPADOPOULO,
Emmanuel OLIVI
Maureen.Clerc.AT.sophia.inria.fr, keriven.AT.certis.enpc.fr,
kybic.AT.fel.cvut.cz, papadop.AT.sophia.inria.fr)
The OpenMEEG so... | {
"alphanum_fraction": 0.6957903098,
"avg_line_length": 48.1913875598,
"ext": "h",
"hexsha": "5d96711cfd5a1779093b38772d4823efc0c39390",
"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 __TEST_MAIN_H__
#define __TEST_MAIN_H__
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <stdlib.h>
#include <math.h>
#include <gsl_vector.h>
#include "common.h"
#include "svm_main.h"
#include "kernels.h"
// returns predictions and true values
PyObject* __test_t(PyObject* training, PyObject* testing, PyO... | {
"alphanum_fraction": 0.7584415584,
"avg_line_length": 24.0625,
"ext": "h",
"hexsha": "8759dc0e3776ce0ae5ef1f431d04011639c838ba",
"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": "f86c... |
#ifndef INCLUDED_BLAS_TRAITS_H
#define INCLUDED_BLAS_TRAITS_H
#include <cblas.h>
#include <type_traits>
namespace blas{
/*
Specialize to define the blas traits of an object. Should
be constructed from an instance of T
*/
template< typename T >
struct Traits {
};
template... | {
"alphanum_fraction": 0.5913591359,
"avg_line_length": 27.775,
"ext": "h",
"hexsha": "fe16681418663ce606e9b631d07cc0b9290e381f",
"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": "636f7... |
/* multilarge.c
*
* Copyright (C) 2015 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* T... | {
"alphanum_fraction": 0.5688557395,
"avg_line_length": 26.0521327014,
"ext": "c",
"hexsha": "eabe6220bb3c12a4c1a58d9b77f07e0ad0e13a1a",
"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:... |
#if !defined(_MUSIC_GSL_)
#define _MUSIC_GSL_
#define WIN32
#include <gsl/gsl_combination.h>
#include <gsl/gsl_sf.h>
#endif | {
"alphanum_fraction": 0.7619047619,
"avg_line_length": 14,
"ext": "h",
"hexsha": "4d9ed9b22b7aa354d5037add788b9446b0d4cf15",
"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": "099b66cb1... |
/* siman/gsl_siman.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Mark Galassi
*
* 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.6855533466,
"avg_line_length": 36.3614457831,
"ext": "h",
"hexsha": "d04333a690b71ec80bd8e56e9d508f56b34b65e6",
"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... |
static char help[] =
"Solves structured-grid Poisson problem in 1D, 2D, 3D. Option prefix fsh_.\n"
"Equation is\n"
" - cx u_xx - cy u_yy - cz u_zz = f,\n"
"subject to Dirichlet boundary conditions. Solves three different problems\n"
"where exact solution is known. Uses DMDA and SNES. Equation is put in form\n"
"... | {
"alphanum_fraction": 0.6069320983,
"avg_line_length": 39.8422619048,
"ext": "c",
"hexsha": "7fe36007c28c45b140cff10c6ae37bba048c87c3",
"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 <unistd.h>
#include "asf_sar.h"
#include "asf_raster.h"
#include "asf_nan.h"
#include "asf_complex.h"
#include <assert.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_eigen.h>
#define EPS 1.E-15
typedef struct {
int current_row;
int nrows; ... | {
"alphanum_fraction": 0.6008521165,
"avg_line_length": 32.4531668153,
"ext": "c",
"hexsha": "bdd59a6dc3f5abccffc3b68174300c44363a7351",
"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:... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C code for the conversion between time scales.
*
* Formulas are taken from the UNITED STATES NAVAL OBSERVATORY CIRCULAR NO. 179 by George H. Kaplan
* See http://aa.usno.navy.mil/publications/docs/Circular_179.php
*
*/
#define _XOPEN_S... | {
"alphanum_fraction": 0.6462850183,
"avg_line_length": 31.8217054264,
"ext": "c",
"hexsha": "35ae512ebd09ab6ec05b3bdb912f78ce25e4d0f4",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:... |
#ifndef LINALG_H_GUARD
#define LINALG_H_GUARD
#include "coneOS.h"
#include <cblas.h>
#include <math.h>
void setAsScaledArray(double *x, const double * a,const double b,int len);
void scaleArray(double * a,const double b,int len);
double innerProd(const double * x, const double * y, int len);
double calcNorm(const dou... | {
"alphanum_fraction": 0.7372654155,
"avg_line_length": 37.3,
"ext": "h",
"hexsha": "997655fc6bb78c2f4dc1ec509f4c4d66bc344343",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-12-20T19:38:22.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-11-26T23:10:34.000Z",... |
#include <gsl/gsl_complex.h>
#include <gsl/gsl_linalg.h>
void mgsl_linalg_complex_LU_det(gsl_matrix_complex *LU, int signum, gsl_complex *res)
{
gsl_complex ret = gsl_linalg_complex_LU_det(LU, signum);
*res = ret;
}
void mgsl_linalg_complex_LU_sgndet(gsl_matrix_complex *LU, int signum, gsl_complex *res)
{
gsl_c... | {
"alphanum_fraction": 0.7952606635,
"avg_line_length": 29.3055555556,
"ext": "c",
"hexsha": "198c0ce557247c600bf57b43e9e2b38d766427b0",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in t... | {
"alphanum_fraction": 0.5044486918,
"avg_line_length": 31.5446985447,
"ext": "h",
"hexsha": "07a831cc8933e11be84b3b1da84a99bcaa0cd551",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
#pragma once
#include <Python.h> // has to be the first included header
#include <petsc.h>
/**
* Callback functions for PETSc and the SNES solver
*/
/**
* Nonlinear function F that gets solved by PETSc, solve for u such that F(u) = 0
* Input Parameters:
* snes - the SNES context
* u - input vector
* c... | {
"alphanum_fraction": 0.7193778354,
"avg_line_length": 26.6034482759,
"ext": "h",
"hexsha": "0dfbd1ddbf7141359167f84c2b7cded0d1cb40ce",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-05-28T13:24:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-17T12:18:... |
#pragma once
#include <gsl/gsl>
#include <typeindex>
#include "halley/utils/utils.h"
#include "halley/data_structures/maybe.h"
#include "halley/bytes/byte_serializer.h"
#include <cstdint>
namespace Halley
{
class IMessageStream;
class MessageQueue;
class MessageQueueUDP;
class MessageQueueTCP;
class NetworkMess... | {
"alphanum_fraction": 0.7155756208,
"avg_line_length": 23.9459459459,
"ext": "h",
"hexsha": "113979e5303dee89e46186bad41b1b54dbb805db",
"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_rng.h>
#include <math.h>
// #include <stdlib.h>
// #include <time.h>
double circle_overlap(double *rA, double radiiA, double *rB, double radiiB)
{
double rAB[2];
rAB[0] = rB[0] - rA[0];
rAB[1] = rB[1] - rA[1];
double F;
F = (pow(rAB[0], 2) + pow(rAB[1], 2))... | {
"alphanum_fraction": 0.4498869631,
"avg_line_length": 17.9324324324,
"ext": "c",
"hexsha": "107b6d56ade1dc50a2e792e51bd87abf8f1d93d1",
"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":... |
/*gcc poisson.c /usr/lib/libgsl.a /usr/lib/libm.a -o poisson.exe */
#include <stdio.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include <math.h>
int
main (int argc, char *argv[])
{
if(argc < 2){
printf("print probability of obtaining N from poisson distribution\n");
printf("usage: poisson.exe... | {
"alphanum_fraction": 0.621434745,
"avg_line_length": 20.6607142857,
"ext": "c",
"hexsha": "d8108fac13afb760a022c7d9f18f793412ae3e66",
"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 <memory>
#include <memory_resource>
#include <gsl-lite/gsl-lite.hpp>
#include <sysmakeshift/memory.hpp>
namespace thrustshift {
namespace detail {
//! Allocate without initialization
template <typename T, typename A, typename SizeC>
T* allocate_array(A& alloc, SizeC sizeC) {
return std::all... | {
"alphanum_fraction": 0.7266906763,
"avg_line_length": 29.75,
"ext": "h",
"hexsha": "e8fc09b5a7366bb87c7c55a3404029272f521fa9",
"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": "763805... |
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_integration.h>
double f (double x, void *params);
void integral_gen (int nmin, int nmax, double vals[]);
double f (double x, void *params)
{
double n = *(double *) params;
double f = exp (-x) *pow (x, n);
return f;
}
void integral_gen ... | {
"alphanum_fraction": 0.5538656527,
"avg_line_length": 22.5428571429,
"ext": "c",
"hexsha": "0d09cfefb24e0ea9fccea7cc34bc2dc896b1bd03",
"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_common.c
*
* Copyright (C) 2017 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
... | {
"alphanum_fraction": 0.6457073761,
"avg_line_length": 23.4056603774,
"ext": "c",
"hexsha": "360cc4aad524c887f7a32815bdc1ebbdc34e6acf",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Implementation of the interface in uint8_image.h.
#include <errno.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <assert.h>
#include <glib.h>
#if GLI... | {
"alphanum_fraction": 0.6358734385,
"avg_line_length": 34.2705069124,
"ext": "c",
"hexsha": "3e3cf7a2f48c8061b191c7e5f979029023c37096",
"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 <memory>
#include <gsl/span>
#include "graphics/math.h"
#include "infrastructure/macros.h"
namespace gfx {
using MdfRenderMaterialPtr = std::shared_ptr<class MdfRenderMaterial>;
class RenderingDevice;
class Texture;
using TextureRef = std::shared_ptr<Texture>;
struct Line2d {
XMFLO... | {
"alphanum_fraction": 0.7152485257,
"avg_line_length": 21.9814814815,
"ext": "h",
"hexsha": "a9dd6c216afbc0f13f58082ee2b1fe9699ba7af3",
"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 _UTIL_H
#define _UTIL_H
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <chrono>
#include <string>
#include <random>
#include <algorithm>
#include <mutex>
#include <atomic>
#include <tbb/pipeline.h>
#include "blocks.pb.h"
#ifdef __APPLE__
extern "C"
{
#inclu... | {
"alphanum_fraction": 0.5872506306,
"avg_line_length": 25.9583333333,
"ext": "h",
"hexsha": "a81e2225424a53bb8012f6620f12e668c2745e96",
"lang": "C",
"max_forks_count": 37,
"max_forks_repo_forks_event_max_datetime": "2021-12-09T20:00:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-06-18T03:09... |
#include <stdio.h>
#include <gsl/gsl_ieee_utils.h>
int
main (void)
{
float f = 1.0/3.0;
double d = 1.0/3.0;
double fd = f; /* promote from float to double */
printf (" f="); gsl_ieee_printf_float(&f);
printf ("\n");
printf ("fd="); gsl_ieee_printf_double(&fd);
printf ("\n");
printf (" d="); gs... | {
"alphanum_fraction": 0.5857519789,
"avg_line_length": 16.4782608696,
"ext": "c",
"hexsha": "c7f111092bfe4e5c1942fd7f1e3ebb444a39a428",
"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 libceed_petsc_examples_setup_h
#define libceed_petsc_examples_setup_h
#include <ceed.h>
#include <petsc.h>
#include "structs.h"
PetscErrorCode CeedDataDestroy(CeedInt i, CeedData data);
PetscErrorCode SetupLibceedByDegree(DM dm, Ceed ceed, CeedInt degree,
CeedInt topo_dim,... | {
"alphanum_fraction": 0.5884732053,
"avg_line_length": 44.9545454545,
"ext": "h",
"hexsha": "4ba8ac4f3c28642a9a7c1cef75c8584c6b6be07e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later versio... | {
"alphanum_fraction": 0.5634144861,
"avg_line_length": 29.3078291815,
"ext": "c",
"hexsha": "19640e2b30a29081a6ec2f66fe2f4c509c176068",
"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:... |
#ifndef __REGIONAL_H_
#define __REGIONAL_H_
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
typedef struct stochasticity_grid {
double *arr;
int height, width;
double weight_factor;
double stddev;
double mean;
int depth;
gsl_rng *rng;
double *weights;
} t_stochasti... | {
"alphanum_fraction": 0.7348242812,
"avg_line_length": 27.2173913043,
"ext": "h",
"hexsha": "9af76bfca13b673b28d73fa78c13f7b93fa6b798",
"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_cgemv.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 Mark Gates
* @author Mathieu Faverge
* @date 2010-11-15
* @generated c Tue Jan 7 11:44... | {
"alphanum_fraction": 0.5189873418,
"avg_line_length": 33.6911764706,
"ext": "c",
"hexsha": "c47cf35dbedca8bf97e66c256d7c4ee69c156101",
"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 __GSLSTREAM_H__
#define __GSLSTREAM_H__
#include "RngStream.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
namespace rng {
class GSLStream : public RngStream {
public:
GSLStream() : type(gsl_rng_taus2) {}
virtual ~GSLStream() { free(); }
inline void alloc(unsigned long seed ... | {
"alphanum_fraction": 0.5541871921,
"avg_line_length": 25.375,
"ext": "h",
"hexsha": "25afb2ede268b6fe449ad3dbb9f5b5f86d6e37a6",
"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": "52846... |
/*
findcluster_ternary_par.c
written by Eunseok Lee
function: find the most representative cluster function
v1: Feb 2, 2018
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/stat.h>
//#include <cem.h>
#include <mpi.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix.h>
#include <gs... | {
"alphanum_fraction": 0.5910909576,
"avg_line_length": 33.92760181,
"ext": "c",
"hexsha": "9d9fe134e8ea395d625a564f34f52711c95871f8",
"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 Victor Hugo Schulz
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in... | {
"alphanum_fraction": 0.7479131886,
"avg_line_length": 26.0434782609,
"ext": "h",
"hexsha": "0327e2945a051028697b3702bcc2f621f75500ff",
"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":... |
/*
* emu.c
* Edited and renamed to fr_emu.c for cosmo_pmc by Martin Kilbinger 2013.
*
*
* Created by Earl Lawrence on 9/17/09.
* Update 10/9/2012
*
* This program was prepared by Los Alamos National Security, LLC at Los Alamos National Laboratory (LANL)
* under contract No. DE-AC52-06NA25396 with the ... | {
"alphanum_fraction": 0.5847933127,
"avg_line_length": 34.11328125,
"ext": "c",
"hexsha": "6baa743994ddec7b72e48036a748920c1da468f4",
"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/multireg.c
*
* Copyright (C) 2015 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
... | {
"alphanum_fraction": 0.544008106,
"avg_line_length": 29.9066339066,
"ext": "c",
"hexsha": "4573fa930cd11bce3aad8330cd7b28d9345db1e8",
"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 <cblas.h>
#include <aml/defs.h>
#include <aml/handle.h>
namespace aml {
namespace impl {
namespace cpu {
inline CBLAS_TRANSPOSE convert_op(char op) {
if (op == 'n') {
return CblasNoTrans;
} else {
return CblasTrans;
}
}
/** BLAS LEVEL 1 ******************************************... | {
"alphanum_fraction": 0.4612329202,
"avg_line_length": 25.4817813765,
"ext": "h",
"hexsha": "417f7c72e694ca57e3bb75627335a6875528bb93",
"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 deleter.h
\brief gsl_interp_accelとgsl_splineのデリータを宣言・定義したヘッダファイル
Copyright © 2015 @dc1394 All Rights Reserved.
This software is released under the BSD 2-Clause License.
*/
#ifndef _DELETER_H_
#define _DELETER_H_
#pragma once
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
namespace g... | {
"alphanum_fraction": 0.67324291,
"avg_line_length": 21.3421052632,
"ext": "h",
"hexsha": "0bab56f063e03d45b799af313d5c2ec04be8b12b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
// MIT License
// Copyright (c) [2017] [Vinay Yuvashankar]
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... | {
"alphanum_fraction": 0.6674498287,
"avg_line_length": 33.6019736842,
"ext": "c",
"hexsha": "224415a7d874ff1646ecf5785e7727f8882ebc8d",
"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 <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
typedef struct ornsteinuhlenbeckprocess_{
int steps;
double dt;
double sigma;
double *x;
gsl_rng *rng;
} OrnsteinUhlenbeckProcess;
void OrnsteinUhlenbeckProcess_run(OrnsteinUhlenbeckProcess *self) {
int i;
double sgm = self->sigma *... | {
"alphanum_fraction": 0.66875,
"avg_line_length": 22.8571428571,
"ext": "c",
"hexsha": "b8dad9f78532489c99b635c801e4f45678d9e538",
"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": "44f... |
#pragma once
#include <gsl/gsl>
#include <d3d11.h>
#undef min
#undef max
namespace Halley {
class DX11Video;
class DX11Buffer {
public:
enum class Type
{
Vertex,
Index,
Constant
};
DX11Buffer(DX11Video& video, Type type, size_t initialSize = 0);
DX11Buffer(DX11Buffer&& other) noexcept;... | {
"alphanum_fraction": 0.6791845494,
"avg_line_length": 18.64,
"ext": "h",
"hexsha": "bd15739ebe271b43fb20b7178740a4c103fea9bf",
"lang": "C",
"max_forks_count": 193,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-23T06:08:41.000... |
#include <math.h>
#include <gsl/gsl_nan.h>
#include "csm_all.h"
#include <egsl/egsl_macros.h>
void find_neighbours(LDP ld, int i, int max_num, int*indexes, size_t*num_found);
void filter_orientation(double theta0, double rho0, size_t n,
const double*thetas, const double*rhos, double *alpha, double*cov0_alpha );
... | {
"alphanum_fraction": 0.6116920152,
"avg_line_length": 28.0533333333,
"ext": "c",
"hexsha": "5c3eb8998d50b87ba69b2afd2ca6e6c4d08eda13",
"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 SOLVER_H
#define SOLVER_H
#if PY_MAJOR_VERSION >= 3
#define PY3K
#endif
// include user-defined headers
#include "common.h"
#include "utils.h"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_spline.h>
typedef struct _TOV_Tuple {
double a;
double b;
double c;
} Pair;
#en... | {
"alphanum_fraction": 0.7089783282,
"avg_line_length": 14.6818181818,
"ext": "h",
"hexsha": "ac7997b4a524bf9fbb7b0685689aa0c25dc3783e",
"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":... |
/* examples/C/ssmfe/precond_ssmfe.c */
/* Laplacian on a square grid (using SPRAL_SSMFE routines) */
#include "spral.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <cblas.h>
/* Header that implements Laplacian and preconditioners */
#include "laplace2d.h"
int main(void) {
const int m = 20; ... | {
"alphanum_fraction": 0.6034197463,
"avg_line_length": 33.5740740741,
"ext": "c",
"hexsha": "9d7384afacb4b3bf71e9a15b46703bbcfcd86ad9",
"lang": "C",
"max_forks_count": 19,
"max_forks_repo_forks_event_max_datetime": "2022-02-28T14:58:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-30T20:52... |
/* This module contains the routine rotCurveSpline, which takes a
tabulated rotaiton curve and calculates a B-spline fit to it and
its derivatives. */
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_bspline.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_multifit.h>
#include "rotCurveSpline.h"
stru... | {
"alphanum_fraction": 0.6801974767,
"avg_line_length": 32.4088888889,
"ext": "c",
"hexsha": "e54d595667b1eab08e36adf67c3ad0f5d33075a6",
"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:... |
#pragma once
#include <chrono>
#include <fmt/printf.h>
#include <gsl/gsl-lite.hpp>
namespace angonoka::cli {
/**
Pretty-print values.
This class is mostly used for specializing user-defined
formatters for the fmt library. We don't want to specialize
the formatter for the original type because we migh... | {
"alphanum_fraction": 0.599801061,
"avg_line_length": 30.4646464646,
"ext": "h",
"hexsha": "efdc92ef127343c1c6ac6a68037ae3de297fa815",
"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 "RTTI.h"
#include <stack>
#include <gsl\gsl>
#include <GL/gl3w.h>
#include "Framebuffer.h"
namespace Library
{
class RenderTarget : public RTTI
{
RTTI_DECLARATIONS(RenderTarget, RTTI)
public:
RenderTarget() = default;
RenderTarget(const RenderTarget&) = delete;
RenderTarget(RenderTar... | {
"alphanum_fraction": 0.7302204929,
"avg_line_length": 20.8378378378,
"ext": "h",
"hexsha": "1f94051f1d69f5f1893c88e496a534343e9b20e5",
"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 2016, D. E. Shaw Research.
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 conditions, and the follow... | {
"alphanum_fraction": 0.6901408451,
"avg_line_length": 30.8113207547,
"ext": "c",
"hexsha": "6475d484be524997ca13d1e46e7b2a7beed44163",
"lang": "C",
"max_forks_count": 31,
"max_forks_repo_forks_event_max_datetime": "2021-09-08T02:33:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-03-02T19:51... |
#include <linux/types.h>
#include "sweeny_bfs.h"
#include <stdio.h>
#include "timeseries.h"
#include "extract_args.h"
#include <math.h>
#include <gsl/gsl_rng.h>
#ifdef SEQUENTIAL
char impl_title[] = "Sequential BFS implementation";
#define TS_FILE_D "../time_series/sbfs/simulation_l%u_q%.4f_b%.4f_c%.4f_s%u.hdf5"
#de... | {
"alphanum_fraction": 0.6840354767,
"avg_line_length": 27.7538461538,
"ext": "c",
"hexsha": "e46ea006743b692c22d8b40a8984b56822e2a164",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2017-04-10T14:18:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-10T14:18:... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_sort.h>
#include "cosmocalc.h"
static double linear_powspec_norm;
static gsl_spline *cosmocalc_sigmaR_spline = NULL;
static gsl_interp_a... | {
"alphanum_fraction": 0.7361441013,
"avg_line_length": 32.8051948052,
"ext": "c",
"hexsha": "e38b9f03a075cf060e54e94eea3fd66579be14ab",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:... |
#ifdef _MSC_VER
#if _MSC_VER >= 1910
#include <CppCoreCheck/warnings.h>
#pragma warning(disable: ALL_CPPCORECHECK_WARNINGS)
#endif // _MSC_VER >= 1910
#endif // _MSC_VER
#include <gsl/gsl>
#ifdef _MSC_VER
#if _MSC_VER >= 1910
#pragma warning(default: ALL_CPPCORECHECK_WARNINGS)
#endif // _MSC_VER >= 1910
#endif // _... | {
"alphanum_fraction": 0.7469512195,
"avg_line_length": 19.2941176471,
"ext": "h",
"hexsha": "38084f0b3cbda1ae74d314e773eba027cb502215",
"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 "odeint.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <float.h>
#include <stdio.h>
#if HAVE_MKL_CBLAS
#include <mkl_cblas.h>
#elif HAVE_OPENBLAS
#include <openblas/cblas.h>
#else
#include <cblas.h>
#endif
/* TODO:
* - implicit methods
* - off-GPU
*/
/**
* The ... | {
"alphanum_fraction": 0.4661489265,
"avg_line_length": 31.9096209913,
"ext": "c",
"hexsha": "e70264623df433ced75f5f06a9117001ccdef7e6",
"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 <stddef.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <stdio.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_fft_complex.h>
#define BASE_DOUBLE
#include "templates_on.h"
#include "compare_source.c"
#include "templates_off.h"
#undef BAS... | {
"alphanum_fraction": 0.7527839644,
"avg_line_length": 18.7083333333,
"ext": "c",
"hexsha": "9a636511d5f98d23822792d46bfed9a5c0e7e55e",
"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:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.