Search is not available for this dataset
text string | meta dict |
|---|---|
/****************************************************************
wigner_gsl.h / wigner_gsl_twice.h
Defines Wigner coupling and recoupling symbols as wrappers for GSL
angular momentum functions:
- wigner_gsl.h -- takes HalfInt angular momentum arguments (RECOMMENDED)
- wigner_gsl_twice.h -- takes intege... | {
"alphanum_fraction": 0.6283707229,
"avg_line_length": 25.2171428571,
"ext": "h",
"hexsha": "af9fde39622925fa7625480db0a9e5e1d7c92081",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2019-08-09T02:14:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-24T20:23:... |
/* dwt_undec.c
* Paul Demorest, 2007/10
*
* Undecimated wavelet transform and inverse. These
* do the usual wavelet filter tree, but don't decimate
* by 2 after each step. This makes the transform
* translation-invariant (to translations which are
* integer numbers of samples anyways).
*
* Ends up with n*l... | {
"alphanum_fraction": 0.5688852923,
"avg_line_length": 27.4611111111,
"ext": "c",
"hexsha": "39601933d7f8a82cbe845f79879c52e03d38a6ce",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*****************************************************************************
*
* Rokko: Integrated Interface for libraries of eigenvalue decomposition
*
* Copyright (C) 2012-2020 by Rokko Developers https://github.com/t-sakashita/rokko
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
*... | {
"alphanum_fraction": 0.5981976041,
"avg_line_length": 48.1428571429,
"ext": "h",
"hexsha": "eb4a14c417604cc729aed5c383f3f2d8fe102e46",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:... |
#pragma once
#include <gsl.h>
#include <memory>
namespace crimson {
class ISolverSetupManager;
/*! \brief A solver setup service interface. */
class ISolverSetupService
{
public:
/*!
* \brief Gets solver setup manager.
*/
virtual gsl::not_null<ISolverSetupManager*> getSolverSetupManager() con... | {
"alphanum_fraction": 0.6846361186,
"avg_line_length": 16.8636363636,
"ext": "h",
"hexsha": "c88748028d702979ca4167f717cfda1703580098",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:... |
// 02.05.2021 - Colloid in a fluctuating scalar field
// Davide Venturelli & Benjamin Walter
// Last update 08.11.21
/* COMMENTS:
- Stochastic Runge-Kutta II for colloid evolution, Euler-Maruyama for field evolution (can be enhanced, but the price is O(N) at least. We could even think of anisotropic resolution, i.e. b... | {
"alphanum_fraction": 0.6554553284,
"avg_line_length": 38.0034453058,
"ext": "c",
"hexsha": "f7a42ccdce37cea24d4bc7c4758395b9e29b8d9b",
"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 postfilter.h
* @brief implementation of post-filters for a microphone array.
The following post-filters are implemented:
[1] Zelinski post-filter
[2] APAB post-filter
[3] McCowan's post-filter
[4] Lefkimmiatis's post-filter
The correspondig references are:
[1] C.Claude Marro et al... | {
"alphanum_fraction": 0.746785361,
"avg_line_length": 41.1719457014,
"ext": "h",
"hexsha": "d5acc73398cce5940e876b4d3f193b0c8175aba2",
"lang": "C",
"max_forks_count": 68,
"max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33:... |
/**
* @file ssygvd.c
*
* PLASMA computational routines
* Release Date: November, 15th 2009
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Azzam Haidar
* @author Hatem Ltaief
* @date 2010-11-15
* @gen... | {
"alphanum_fraction": 0.5603131189,
"avg_line_length": 37.5992907801,
"ext": "c",
"hexsha": "82a86c8ed38656bfc198bbc5d4f6edba33ed19fe",
"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":... |
/* multiroots/test_funcs.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 op... | {
"alphanum_fraction": 0.6052031903,
"avg_line_length": 21.2053691275,
"ext": "c",
"hexsha": "319b3fd106986e2be87e2f00a5975397a82ed5d2",
"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:... |
/* StdVarTrajs_Sampling.c
Simulation for calculating allele trajectories, adaptation from standing variation
To be fed into MSMS
Simulation uses routines found with the GNU Scientific Library (GSL)
(http://www.gnu.org/software/gsl/)
Since GSL is distributed under the GNU General Public License
(http://www.gnu.org/c... | {
"alphanum_fraction": 0.6072629455,
"avg_line_length": 28.3914081146,
"ext": "c",
"hexsha": "cfd4fc49f9b516a5bd4bb0c64fdca5ef4be9d858",
"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":... |
/*
#################################################################
## Private MATRIX Library ver 0.3 ##
## Made by "Gun Woo Park", Email : gunwoo.park@unina.it ##
## Fellow of SUPOLEN, Marie Curie Actions ##
## DICMaPI, University of Naples Federic... | {
"alphanum_fraction": 0.5306187371,
"avg_line_length": 22.0596491228,
"ext": "h",
"hexsha": "cc7c2167c6c4e8cc00a3bdd65e395b184f84a201",
"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 PITCH_H
#define PITCH_H
#include <cstring>
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#define DECL_PITCH(name) bool pitch_ ## name (gsl_vector *frame, double *f0res, double *T0res)
DECL_PITCH(AMDF);
#endif // PITCH_H
| {
"alphanum_fraction": 0.7205882353,
"avg_line_length": 14.3157894737,
"ext": "h",
"hexsha": "1935a6dc0b8a864c2262dace4e41d589847c5965",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:... |
/* roots/steffenson.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Reid Priedhorsky, 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 (... | {
"alphanum_fraction": 0.6532577904,
"avg_line_length": 24.3448275862,
"ext": "c",
"hexsha": "e4169f6f28d2d7b0c6c44842b023361e475438b1",
"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... |
//
// C++ Interface: %{MODULE}
//
// Description:
//
//
// Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR}
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TNet_Vector_h
#define TNet_Vector_h
#include <cstddef>
#include <cstdlib>
#include <stdexcept>
#include <iostream>
#ifdef HAVE_ATLAS
e... | {
"alphanum_fraction": 0.5259636827,
"avg_line_length": 25.2635814889,
"ext": "h",
"hexsha": "384c5d20eae10a3fc9a4a680f527ed357446683a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <gsl_vector.h>
#include "svm_main.h"
#include "test_main.h"
PyObject* __opt(PyObject* self, PyObject* args) {
PyObject* elements;
int k_type; // 1 if RBF kernel is used 0 for my kernel
double C; // hyperparameter for optimization
if (!PyArg_ParseTuple... | {
"alphanum_fraction": 0.6978967495,
"avg_line_length": 23.2444444444,
"ext": "c",
"hexsha": "125e6729d6b2f26830a202790fdffb17e65ce036",
"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 <cblas.h>
#include "tasks.h"
void syrk_task_par_reconfigure(int nth)
{
// empty
}
void syrk_task_par_finalize(void)
{
// empty
}
void syrk_task_par(void *ptr, int nth, int me)
{
struct syrk_task_arg *arg = (struct syrk_task_arg*) ptr;
int n = arg->n;
int k ... | {
"alphanum_fraction": 0.4924834636,
"avg_line_length": 24.4558823529,
"ext": "c",
"hexsha": "fe0e5b500142a56769daf35c0fe03739074a6abc",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* -----------------------------------------------------------------------------
* Copyright 2021 Jonathan Haigh
* SPDX-License-Identifier: MIT
* ---------------------------------------------------------------------------*/
#ifndef SQ_INCLUDE_GUARD_system_schema_h_
#define SQ_INCLUDE_GUARD_system_schema_h_
#includ... | {
"alphanum_fraction": 0.664599355,
"avg_line_length": 28.1888111888,
"ext": "h",
"hexsha": "c4f6a972a0930230c846193b17b00007048de980",
"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": ... |
/* filter/test_rmedian.c
*
* Copyright (C) 2018 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.... | {
"alphanum_fraction": 0.6761268781,
"avg_line_length": 29.95,
"ext": "c",
"hexsha": "f64d75aeaeb4fc0f0ae7df2ee0f07e97dcc50603",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z"... |
#ifndef QDM_GSL_H
#define QDM_GSL_H 1
#include <stdio.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <osqp/osqp.h>
gsl_vector *
qdm_vector_seq(double from, double to, double by);
void
qdm_vector_set_seq(gsl_vector *v, double from, double to);
size_t
qdm_vector_search(const gsl_vector *v, doubl... | {
"alphanum_fraction": 0.7477987421,
"avg_line_length": 16.7368421053,
"ext": "h",
"hexsha": "a3e14652c2bbc00a100db26d5f83162cb1d98e97",
"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":... |
/*
* specialfunctionsmodule.h
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, ... | {
"alphanum_fraction": 0.6925510043,
"avg_line_length": 23.5055762082,
"ext": "h",
"hexsha": "d1bc798c4aaa9d2f2a616a101dcd5ea63a0c6cd8",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-03-25T09:32:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-12-09T06:45... |
/* interpolation/gsl_spline2d.h
*
* Copyright 2012 David Zaslavsky
*
* 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 ver... | {
"alphanum_fraction": 0.6617323465,
"avg_line_length": 40.314516129,
"ext": "h",
"hexsha": "afe781808a346223a929517ea1d84cc7906b568c",
"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:3... |
#pragma once
#include <gsl/gsl>
#include <vector>
#include <memory>
#include <mutex>
struct AVFrame;
namespace video_streamer
{
class StreamSession;
class FrameEncoder;
class GroupStreamSession
{
public:
explicit GroupStreamSession(std::shared_ptr<FrameEncoder> frameEncoder);
void addStream(std::unique_p... | {
"alphanum_fraction": 0.7589134126,
"avg_line_length": 19,
"ext": "h",
"hexsha": "156240c7821fe8f43d7db97da6d1d3c40b246e30",
"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": "e695e0b54... |
// Copyright (c) 2021 SmartPolarBear
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish... | {
"alphanum_fraction": 0.7075949367,
"avg_line_length": 23.8082191781,
"ext": "h",
"hexsha": "1c8d55d1c94d4303f0aa3efe5c3d9a6665c29e27",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-10-15T10:14:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-10-15T10:14:... |
/*
Copyright (C) 2019-2020 JingWeiZhangHuai <jingweizhanghuai@163.com>
Licensed under the Apache License, Version 2.0; 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 wri... | {
"alphanum_fraction": 0.6797274276,
"avg_line_length": 37.0736842105,
"ext": "c",
"hexsha": "f6e20eb32183b4e967de2a30bb2bc9ba45022c52",
"lang": "C",
"max_forks_count": 35,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T11:34:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-26T05:09... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
#include "ccl.h"
/*
* convert_concentration_single finds the concentration c'
* for a mass definition with overdensity Delta' given
* the concentration c for a mass definition w... | {
"alphanum_fraction": 0.6455944972,
"avg_line_length": 23.3053435115,
"ext": "c",
"hexsha": "58d34bbec0991a4631cd086d192fe93f38724a72",
"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
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <DirectXMath.h>
#include <gsl\gsl>
#include "DrawableGameComponent.h"
#include "MatrixHelper.h"
namespace Library
{
class SkyboxMaterial;
class Skybox final : public DrawableGameComponent
{
RTTI_DECLARATIONS(Skybox, DrawableGameCompo... | {
"alphanum_fraction": 0.7456978967,
"avg_line_length": 26.8205128205,
"ext": "h",
"hexsha": "57884b60fef9a418a099ac30261f0d90d399cf9e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gbpInterpolate.h>
double interpolate(interp_info *interp, double x) {
return (gsl_interp_eval(interp->interp, interp->x, interp->y, x, interp->accel));
}
| {
"alphanum_fraction": 0.71886121,
"avg_line_length": 25.5454545455,
"ext": "c",
"hexsha": "c55e6f0c9541c1e209f64cb0165a35107b6d3e98",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:40... |
#pragma once
#include <gsl/span>
#include "halley/text/halleystring.h"
#include "halley/resources/resource.h"
#include "halley/maths/range.h"
#include "halley/maths/vector4.h"
#include "halley/data_structures/maybe.h"
#include <map>
#include <vector>
#include "halley/utils/type_traits.h"
#if defined(DEV_BUILD)
#def... | {
"alphanum_fraction": 0.5978442387,
"avg_line_length": 32.2102689487,
"ext": "h",
"hexsha": "e0f9f1701ff2bc594cbeac6fe1590c5dcafa4faf",
"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/test.c
*
* 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
* your... | {
"alphanum_fraction": 0.5537055838,
"avg_line_length": 20.9574468085,
"ext": "c",
"hexsha": "d40384055f79369c7482ae8558bc39b41d72d330",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_cdf.h>
unsigned int k;
unsigned int n1;
unsigned int n2;
unsigned int t;
static void usage(int argc, char *argv[]) {
printf (
"Usage: %s k n1 n2 t\n"
"\n"
"If a population contains n1 elements of \"type 1\" and n2 elements\n"
"of \"t... | {
"alphanum_fraction": 0.6311907271,
"avg_line_length": 23.1463414634,
"ext": "c",
"hexsha": "439e3e5037e11f26df5087894065726888665575",
"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 <math.h>
#include <complex.h>
#include <gsl/gsl_sf_result.h>
#include <gsl/gsl_sf_gamma.h>
#include <fftw3.h>
//#include "fftlog.h"
#define PI 3.14159265358979323846
#define PI_2 1.5707963267948966 /// pi/2
#define PI_times_2 6.28318530718 // 2*pi
#define inv_PI 0.31830988618 // 1/pi
#defi... | {
"alphanum_fraction": 0.6120772947,
"avg_line_length": 29.2924528302,
"ext": "c",
"hexsha": "7f6e09c1f7e513d0bd7ade66de13bdce4a704233",
"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":... |
/* multiset/init.c
* based on combination/init.c by Szymon Jaroszewicz
* based on permutation/init.c by Brian Gough
*
* Copyright (C) 2001 Szymon Jaroszewicz
* Copyright (C) 2009 Brian Gough
* Copyright (C) 2009 Rhys Ulerich
*
* This program is free software; you can redistribute it and/or modify
* it under th... | {
"alphanum_fraction": 0.606993007,
"avg_line_length": 21.8320610687,
"ext": "c",
"hexsha": "b71b7369c7c0cf76174882b6535dbe8ac898c834",
"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 <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <gsl/gsl>
#include "RTTI.h"
namespace Library
{
class Shader : public RTTI
{
RTTI_DECLARATIONS(Shader, RTTI)
public:
Shader(const Shader&) = default;
Shader& operator=(const Shader&) = default;
Shader(Shader&&) = default;
S... | {
"alphanum_fraction": 0.7062146893,
"avg_line_length": 20.4230769231,
"ext": "h",
"hexsha": "8e9c0a2cb31673e135d894bedec27f9dbb425afd",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <gbpLib.h>
#include <gbpMisc.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
double bisect_array_function(double x_interp, void *params) {
double interp;
double r_val;
interp = interpolate(((bisect_af_params *)params)->inter... | {
"alphanum_fraction": 0.5469061876,
"avg_line_length": 30.8307692308,
"ext": "c",
"hexsha": "0afe24ff7d874819c145e69963788aace0c39365",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:... |
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <nlopt.h>
#include <unistd.h>
#include <sys/time.h>
void quadbezier(const double *a, const double *b, const double *c,
double t, double *out)
{
double onemt = 1.0 - t;
out[0] = onemt * (onemt * a[0] + t * b[0]) + t * (onemt * b[0] + t * c[0]);
o... | {
"alphanum_fraction": 0.5741684875,
"avg_line_length": 23.8092485549,
"ext": "c",
"hexsha": "dfb138a07781e91a0347fb1a6e00fadeeaa5133d",
"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":... |
//popGen stuff for Next Gen Sequencing Data
#include "pgSummaryStats.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "vector.h"
#include <gsl/gsl_randist.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_matrix.h>
//Sampling Probability stuff
//prob_i re... | {
"alphanum_fraction": 0.6647127784,
"avg_line_length": 22.4473684211,
"ext": "c",
"hexsha": "247d63406b4fa77639c6ba4c855d2a3618f56595",
"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:... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#ifndef NOMPI
#include <mpi.h>
#endif
#include <gsl/gsl_math.h>
#include "allvars.h"
#include "proto.h"
/*! \file predict.c
* \brief drift particles by a small time interval
*
* This function contains code to implement a drift operatio... | {
"alphanum_fraction": 0.645505618,
"avg_line_length": 25.7971014493,
"ext": "c",
"hexsha": "bec03d609501e025fddbeacb306b24625474e82f",
"lang": "C",
"max_forks_count": 102,
"max_forks_repo_forks_event_max_datetime": "2022-02-09T13:29:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-22T10:00... |
#include <stdio.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
int
main (void)
{
int i;
double x = 0, y = 0, dx, dy;
const gsl_rng_type * T;
gsl_rng * r;
gsl_rng_env_setup();
T = gsl_rng_default;
r = gsl_rng_alloc (T);
printf ("%g %g\n", x, y);
for (i = 0; i < 10; i++)
{
gsl_r... | {
"alphanum_fraction": 0.5237020316,
"avg_line_length": 14.7666666667,
"ext": "c",
"hexsha": "588aa502619872a9f31175fdbbdd105f1f0445de",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_integration.h>
#include "ccl.h"
#ifdef HAVE_ANGPOW
#include "Angpow/angpow_ccl.h"
#endif
#define CCL_FRAC_RELEVANT 5E-4
//#define CCL_FRAC_RELEVANT 1E-3
//Gets the x-interval where the values of... | {
"alphanum_fraction": 0.684490015,
"avg_line_length": 31.0552631579,
"ext": "c",
"hexsha": "150d658deb579139badcf9efc59c9de2e94a2b84",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#define MAIN_FILE
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_spline.h>
#include "global.h"
#include "eos_pres.h"
#include "eos_rho.h"
#include "param.h"
int
main (void)
{
spline = NULL;
acc = NULL;
int i, status;
double r, r1, y[2];
// bounds for m... | {
"alphanum_fraction": 0.6203418324,
"avg_line_length": 28.7822580645,
"ext": "c",
"hexsha": "e35615534acdcbf59eaac735dd3a399e1eec8c4c",
"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":... |
/* Xrecon.h */
/*---------------------------------------------------------------------------*/
/* */
/* Xrecon.h: Global includes and defines */
/* ... | {
"alphanum_fraction": 0.5423989397,
"avg_line_length": 38.8117283951,
"ext": "h",
"hexsha": "ad1dded940eb9186d1fbdb0977200cad38f4721f",
"lang": "C",
"max_forks_count": 102,
"max_forks_repo_forks_event_max_datetime": "2022-03-20T05:41:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-01-23T15:2... |
#pragma once
#include <utility>
#include <array>
#include <vector>
#include <unordered_map>
#include <DirectXMathExtend.h>
#include <gsl.h>
#include <VertexTraits.h>
#include <minmax>
namespace Geometrics
{
template <typename IndexType>
struct Triangle
{
static constexpr size_t VertexCount = 3;
typedef std::ar... | {
"alphanum_fraction": 0.6275736549,
"avg_line_length": 25.1891117479,
"ext": "h",
"hexsha": "60333707730a3a4d8df108ff59ada3993253807b",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2017-06-12T16:15:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-01-16T14:25:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
//THESE ARE GSL FUNCTIONS
//YOU DO NOT NEED TO INCLUDE ALL THESE HEADER FILES IN YOUR CODE
//JUST THE ONES YOU ACTUALLY NEED;
//IN THIS APPLICATION, WE ONLY NEED gsl/gsl_matrix.h
#include <gsl/gsl_math.h>
#include <gsl/gsl... | {
"alphanum_fraction": 0.7765957447,
"avg_line_length": 44.2352941176,
"ext": "h",
"hexsha": "95be7aa5fe727a59c000872305ec85f3d3fd4ace",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
/*
* (C) Copyright 2020-2021 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
/*! \addtogroup ioda_cxx_variable
*
* @{
* \file Has_Variables.h
* \brief Interfaces for ioda::Has_Variables a... | {
"alphanum_fraction": 0.7021557161,
"avg_line_length": 41.3317535545,
"ext": "h",
"hexsha": "b33570cd8f5d32132a53d816b2aadd5e14626aab",
"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":... |
/*
* BRAINS
* (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling
* Yan-Rong Li, liyanrong@ihep.ac.cn
* Thu, Aug 4, 2016
*/
/*! \file dnest_sa1d.c
* \brief run dnest sampling for sa and 2d rm analysis.
*/
#ifdef SpecAstro
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#in... | {
"alphanum_fraction": 0.6595764662,
"avg_line_length": 29.8695652174,
"ext": "c",
"hexsha": "3691d2332de7831f058f3740c3dbb46d32622027",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-11-22T12:54:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-12T13:51:... |
/* -*- c -*- */
/*
* Copyright (C) 2017 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your opti... | {
"alphanum_fraction": 0.6192301794,
"avg_line_length": 30.3302325581,
"ext": "c",
"hexsha": "367aeeb3566a547f9b4d574f3142b5dce48fddc5",
"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":... |
/* SO3.c */
// SO(3) Lie group implemented with GNU GSL
// cf. wikipedia, "Rotation_group_SO(3)#Infinitesimal_rotations"
// EY note : 20160519 Bizarrely, matrix multiplication isn't implemented in a straightforward manner with the gsl_matrix class; see blas (which I don't know what it is yet) and dgemm for the librar... | {
"alphanum_fraction": 0.6486891386,
"avg_line_length": 23.4210526316,
"ext": "c",
"hexsha": "59cd92d3edab1f8ba913c6007503f0435ce4bd20",
"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... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_errno.h>
/* Setup */
gsl_rng *mgsl_rng_setup(int type)
{
const gsl_rng_type *types[] = {
gsl_rng_borosh13, gsl_rng_coveyou, gsl_rng_cmrg, gsl_rng_fishman18, gsl_rng_fishman20,
gsl_rng_fishman2x, gsl_rng_gfsr4, gsl_rng_knuthran,... | {
"alphanum_fraction": 0.7817817818,
"avg_line_length": 39.1764705882,
"ext": "c",
"hexsha": "d49ac98f6ca9035b2e6770b9732eb695e5fbd836",
"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 <time.h>
#include <cblas.h>// libatlas-dev (3.10.2-7)
#include "include/Matrix.h"
#include "include/HelpFunctions.h"
// file output
char* RESULT_FOLDER_PATH = "results/";
struct stat ST = {0};
int main(int argc, const char **argv) {
// VARIABLES
clock_t start, end; // measure t... | {
"alphanum_fraction": 0.5584668688,
"avg_line_length": 28.6832298137,
"ext": "c",
"hexsha": "e190d121ab6a4d4213c4e981e55e568416f3a5db",
"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_zgetrf_incpiv.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.8.0
* @author Hatem Ltaief
* @author Mathieu Faverge
* @author Jakub Kurzak
* @date 2010-11-15
* @preci... | {
"alphanum_fraction": 0.5053294574,
"avg_line_length": 29.2765957447,
"ext": "c",
"hexsha": "3e7968825d5b9aae2e19a22ae2bcd0d33a13e7e2",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T01:53:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-02-28T21:24:... |
/*
* 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.7201240135,
"avg_line_length": 36.2040816327,
"ext": "h",
"hexsha": "020997dbdc30042ada61929e47f83a256ac7da32",
"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:... |
//Gets cepstral coefficients (CCs). This is the same as dct + lifter.
//This computes "the" DCT (discrete cosine transformation) along one dimension of matrix X.
//This uses fftw3 to compute the DCT-II.
//Then it applies a lifter (cepstral domain window) to the same dimension of X.
//The lifter has a single parameter, ... | {
"alphanum_fraction": 0.5202519141,
"avg_line_length": 34.9051724138,
"ext": "c",
"hexsha": "5dfc490d62273c0eeb4a2596d4569be7f8fce6dc",
"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_linalg.h>
double A[] =
{
-1.0, 0.0, 2.0, 1.0,
0.0, -1.0, 3.0, 2.0,
1.0, 2.0, 3.0, 0.0,
-3.0, 1.0, 4.0, 2.0
};
double y[] = { 0.0, 1.0, 2.0, 1.0 };
int main() {
gsl_matrix_view m = gsl_matrix_view_array(A, 4, 4);
gsl_vector_view b = gsl_vector_view_array(y, 4);
gsl_v... | {
"alphanum_fraction": 0.6148969889,
"avg_line_length": 20.3548387097,
"ext": "c",
"hexsha": "f466e06136b6eb53c937e32ddafe8500c5ad2c5e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... | {
"alphanum_fraction": 0.5457971014,
"avg_line_length": 48.3644859813,
"ext": "c",
"hexsha": "77d513d9dd55664db1b61adb8ea02056260d9f18",
"lang": "C",
"max_forks_count": 68,
"max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57... |
#include <gsl/gsl_spline.h>
#include "eos_pres.h"
#include "global.h"
// "forward" EOS. input: rho, T. output: P
double
eos_pres (double rho, void *params)
{
struct param *eos_pres_params = (struct param *) params;
return (gsl_spline_eval (spline, rho, acc));
// return (pow(rho, 1.0/params.Gamma)); // polytrope
... | {
"alphanum_fraction": 0.6832298137,
"avg_line_length": 24.7692307692,
"ext": "c",
"hexsha": "5f3b02b965c8c7b43d04f044a159708c0f09b4bc",
"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 dsungesv.c
*
* PLASMA computational 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 Emmanuel Agullo
* @date 2010-11-15
* @generated ds Tue Jan 7 11:45:09 2014
*
**/
#include <s... | {
"alphanum_fraction": 0.5925490657,
"avg_line_length": 37.8177777778,
"ext": "c",
"hexsha": "c19684a62d0b3922f431660a42a703fc17aa434f",
"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":... |
/* bst/gsl_bst_avl.h
*
* Copyright (C) 2018 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
* ... | {
"alphanum_fraction": 0.6663957741,
"avg_line_length": 33.7123287671,
"ext": "h",
"hexsha": "6560777ce27a479a16e81f1842ea1e9d67cf318d",
"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 COORDINATE_H_Y7FJINQO
#define COORDINATE_H_Y7FJINQO
#include <gsl/gsl>
#include <sens_loc/math/eigen_types.h>
#include <type_traits>
namespace sens_loc::math {
/// This enum allows to discrimate in which coordinate system or frame of
/// reference a vector lives. It is solely for code readability and correct... | {
"alphanum_fraction": 0.6295377901,
"avg_line_length": 40.1673306773,
"ext": "h",
"hexsha": "f2cd0cef1397027a3c08893bb8147e8214e7592b",
"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":... |
/* bspline/test.c
*
* Copyright (C) 2006, 2007, 2009 Brian Gough
* Copyright (C) 2008, 2011 Rhys Ulerich
*
* 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.5767386091,
"avg_line_length": 36.3984819734,
"ext": "c",
"hexsha": "e214beca2a4011e4d29d8eccb423cc19aa974f91",
"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:... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C header for functions windowing and computing FFT/IFFT of time/frequency series.
*
*/
#ifndef __GENERATEWAVEFORM_H__
#define __GENERATEWAVEFORM_H__ 1
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
#... | {
"alphanum_fraction": 0.6669815777,
"avg_line_length": 47.5730337079,
"ext": "h",
"hexsha": "78a4fabb92263cc8acde03f1267dfe024e219e6b",
"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 <Python.h>
#include <arrayobject.h>
#include <time.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_sf_erf.h>
static PyObject* g_engineError;
static gsl_rng* g_rng;
/** low level helpers **/
/** numpy helper... | {
"alphanum_fraction": 0.6792057227,
"avg_line_length": 29.4836363636,
"ext": "c",
"hexsha": "33da6ae6b92cfb55b96c09ce522d836432d47495",
"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 REMESHER_GSL_HELPERS_HEADER
#define REMESHER_GSL_HELPERS_HEADER
#include <iostream>
#include <iomanip>
#include <string>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
namespace GSL
{
void
pretty_print_matrix (gsl_matrix* m, std::string const& name)
{
std::cout << name << " = [";
for (s... | {
"alphanum_fraction": 0.5222222222,
"avg_line_length": 24,
"ext": "h",
"hexsha": "394853f562fe52e117415e47b6854f2be1e0494e",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-05-31T14:43:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-22T19:16:01.000Z",
... |
/* gmres.c
*
* Copyright (C) 2014 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.
*
* This p... | {
"alphanum_fraction": 0.5631465184,
"avg_line_length": 29.7110091743,
"ext": "c",
"hexsha": "bfdfa39b4fccb992a1ef0a15ea847deab42c2fa2",
"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_rstat.h>
int
main(void)
{
double data[5] = {17.2, 18.1, 16.5, 18.3, 12.6};
double mean, variance, largest, smallest, sd,
rms, sd_mean, median, skew, kurtosis;
gsl_rstat_workspace *rstat_p = gsl_rstat_alloc();
size_t i, n;
/* add data to rstat accumulator */
fo... | {
"alphanum_fraction": 0.6481942715,
"avg_line_length": 30.8846153846,
"ext": "c",
"hexsha": "645507de8ec8f17319372db6f140ea73561f732a",
"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 LOGGER_INCLUDE
#define LOGGER_INCLUDE
#include <gsl/string_span>
#include "log/log.h"
BOOST_LOG_GLOBAL_LOGGER(exec_helper_core_logger, execHelper::log::LoggerType);
static const gsl::czstring<> LOG_CHANNEL = "core";
#define LOG(x) \
BOOST_LO... | {
"alphanum_fraction": 0.5585443038,
"avg_line_length": 37.1764705882,
"ext": "h",
"hexsha": "759bdfc9006344971208530ea022ebba3c1b3acc",
"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 "halley/text/halleystring.h"
#include <thread>
#include <gsl/span>
#include <atomic>
#include "halley/data_structures/hash_map.h"
#include "halley/time/halleytime.h"
namespace Halley {
enum class ProfilerEventType {
CorePumpEvents,
CoreDevConClient,
CorePumpAudio,
CoreFixedUpdate,
... | {
"alphanum_fraction": 0.6766615147,
"avg_line_length": 22.3103448276,
"ext": "h",
"hexsha": "f4f230547265d3c42da67e5849aa48fac8f9f3d6",
"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_sf_bessel.h>
#include <galpy_potentials.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
//Double exponential disk potential
double DoubleExponentialDiskPotentialEval(double R,double z, double phi,
double t,
struct potentialArg * potentialArgs){
double * arg... | {
"alphanum_fraction": 0.5546940839,
"avg_line_length": 31.3915343915,
"ext": "c",
"hexsha": "e634b1ef24f1d8168982463c6eb195407d1c684b",
"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.h>
#include <QmitkAbstractView.h>
#include "ui_SolverSetupView.h"
#include "ui_BoundaryConditionTypeSelectionDialog.h"
#include <HierarchyManager.h>
#include <ImmutableRanges.h>
#include "SolverStudyUIDsTableModel.h"
namespace crimson
{
class ISolverSetupManager;
}
/*! \brief Solve... | {
"alphanum_fraction": 0.7570093458,
"avg_line_length": 31.2477876106,
"ext": "h",
"hexsha": "55caa98b39d4c40df33472d02d0d57c64a1ab343",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:... |
/*
* Barcode
* Copyright E.G.P. Bos and F.S. Kitaura
*
* Distributed under the terms of the MIT License.
* The full license is in the file LICENSE, distributed with this software.
*/
#pragma once
#include "struct_main.h"
#include <gsl/gsl_rng.h>
#include "define_opt.h"
void barcoderunner(struct DATA *data,gsl_... | {
"alphanum_fraction": 0.7435549525,
"avg_line_length": 35.0952380952,
"ext": "h",
"hexsha": "faeefd5a63244df4a52a0fc03c8996d4f40e9388",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-11T06:56:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-11T06:56:... |
/*! \file grid_fft.c
* \brief Function definitions for dealing with FFT's on grids.
*
* Note that FFTW3 fftws are unnormalized, and are therefore multiplied by N
* In fftw3, plans are apparently intended to be local. They will be created
* and destroyed within the functions that perform the forward and rever... | {
"alphanum_fraction": 0.5956011349,
"avg_line_length": 22.218960539,
"ext": "c",
"hexsha": "c72bdfe758f65aaaa12cbcca41c524ad89fd81c7",
"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 <stdarg.h>
#include <string.h>
#include <math.h>
#include <gbpLib.h>
#include <gbpRNG.h>
#include <gbpMCMC.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_interp.h>
void read_MCMC_state(MCMC_info *MCMC) {
char filename_output_dir[SID_MAX_FILENAME_LENGT... | {
"alphanum_fraction": 0.6166234728,
"avg_line_length": 54.8426395939,
"ext": "c",
"hexsha": "51c2981794894dc829ed9c9b70bbba0e49b4de7c",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:... |
/**
*
* @file core_dgbtype2cb.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 Azzam Haidar
* @date 2012-12-15
* @generated d Tue Jan 7 11:44:50 2014
*
**/
#include <lapa... | {
"alphanum_fraction": 0.4819937695,
"avg_line_length": 36.4772727273,
"ext": "c",
"hexsha": "ead017677a2cd61a6f53814f18ccf69044b1be01",
"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":... |
/******************************** Inclusions. ********************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
/******************************** Definitions. *******************************/
#define MAX(x, y) ((x)>(y) ? (... | {
"alphanum_fraction": 0.3837837838,
"avg_line_length": 30.8333333333,
"ext": "h",
"hexsha": "fae780686c6e0229c4149362f2d12213b1ca7048",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-02-12T11:09:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-12T11:09:... |
// Copyright (c) 2021 Stig Rune Sellevag
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#ifndef SCILIB_LINALG_LSTSQ_H
#define SCILIB_LINALG_LSTSQ_H
#ifdef USE_MKL
#include <mkl.h>
#else
#... | {
"alphanum_fraction": 0.6600306279,
"avg_line_length": 27.5915492958,
"ext": "h",
"hexsha": "769b39659dbc8b5d4d69137a84e1fe6ff4400d5f",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* eigen/nonsymmv.c
*
* 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.4682937604,
"avg_line_length": 30.778382053,
"ext": "c",
"hexsha": "bcd258916f556dc3407693e716a828d71e99cdaa",
"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:... |
/////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// == Copyright Inf... | {
"alphanum_fraction": 0.5507394767,
"avg_line_length": 31.618705036,
"ext": "h",
"hexsha": "ec74b7fa414ffe154095d3d72e1fa2a4e4f7f44b",
"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": ... |
/* min/test_funcs.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) a... | {
"alphanum_fraction": 0.6311605723,
"avg_line_length": 21.9418604651,
"ext": "c",
"hexsha": "9d45be21292e4444b961a2e1ed50b0fc678100ce",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#pragma once
#include <cblas.h>
#include <stdlib.h>
#include <immintrin.h>
#include <faiss/IndexIVF.h>
#include <faiss/utils/Heap.h>
#ifdef OPT_DTYPE_UTILS
namespace faiss {
//==================================Convertion================================
inline const float* convert_x_T_impl (size_t, const float* x... | {
"alphanum_fraction": 0.5929231251,
"avg_line_length": 28.4816053512,
"ext": "h",
"hexsha": "c731edafa41a8c33233216dbc8bc267ea85c112d",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-06-07T08:20:22.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-05-07T02:42:... |
/* specfunc/test_mathieu.c
*
* Copyright (C) 2003 Lowell Johnson
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later versi... | {
"alphanum_fraction": 0.6648568608,
"avg_line_length": 47.558685446,
"ext": "c",
"hexsha": "fc3f90f5e1aee6d789bc3a27f7fa8b28bce83960",
"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... |
/**
*
* @file qwrapper_zlaswp.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 Mathieu Faverge
* @date 2010-11-15
* @precisions normal z -> c d s
*
**/
#include <la... | {
"alphanum_fraction": 0.4969319362,
"avg_line_length": 37.5638297872,
"ext": "c",
"hexsha": "7c1e764c97faa21f4bec8c7ff286a764b172d5db",
"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/Value.h ----====//
//
// Strongly typed Value type.
// Unsigned for use as a bit-mask.
//====--------------------------------------------------------------------====//
#pragma once
#include "Size.h"
#include <gsl/gsl>
#include <vector>
#include <algorith... | {
"alphanum_fraction": 0.6449482721,
"avg_line_length": 27.5333333333,
"ext": "h",
"hexsha": "63733766816b12bac22250e46c10351c778cc100",
"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>
#include "tasks.h"
void gemm_task_seq(void *ptr)
{
struct gemm_task_arg *arg = (struct gemm_task_arg*) ptr;
int m = arg->m;
int n = arg->n;
int k = arg->k;
double *A21 = arg->A21;
double *A21T = arg->A21T;
double *A22 = arg->A22;
int ldA ... | {
"alphanum_fraction": 0.481216458,
"avg_line_length": 22.36,
"ext": "c",
"hexsha": "ebf16ec6f9e4e54d35a5ecccc2d2b8ea3a114213",
"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": "2227361... |
/*--------------------------------------------------------------------
* $Id$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by Arve Kylling, Bernhard Mayer,
* Claudia Emde, Robert Buras
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program... | {
"alphanum_fraction": 0.5066859997,
"avg_line_length": 37.8475609756,
"ext": "c",
"hexsha": "ab951c81fff492ef2529bd47be4554eda19d2ab9",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <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 deltaTm[9] = {200.0, 300.0, 400.0, 600.0, 800.0, 1200.0, 1600.0, 2400.0, 3200.0};
static do... | {
"alphanum_fraction": 0.6192387067,
"avg_line_length": 30.7112676056,
"ext": "c",
"hexsha": "93a9af61569d70436e7915fd0c4658f88da648f4",
"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:... |
#include <gsl/gsl_test.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_math.h>
#include "gsl_cblas.h"
#include "tests.h"
void
test_tpmv (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int order = 101;
int trans = 111;
int uplo = 121;
int diag = 131;
int N = 2;
float A[] = { -0.587f, 0.1... | {
"alphanum_fraction": 0.5048550537,
"avg_line_length": 25.6222891566,
"ext": "c",
"hexsha": "43a4926951ee2cc7a406f6c76563f4e1b7cf8638",
"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:... |
/* 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.5639870224,
"avg_line_length": 31.7028571429,
"ext": "c",
"hexsha": "874dea6a2f160d2da06e77683bf7d51a17f7a33e",
"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/gsl_rng.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 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.7737530545,
"avg_line_length": 31.9128440367,
"ext": "h",
"hexsha": "d80e763494ac2b774ba375b441838b0c9d1ddd4c",
"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:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_cblas.h>
#include <lapacke.h>
#include "allvars.h"
#include "proto.h"
/*
* note that for a matrix A(mxn) in the row-major order, the first dimension is n.
*/
/* C(nxn) = A(nxn)*B(nxn) */
void multiply_mat(double * a, dou... | {
"alphanum_fraction": 0.5705889409,
"avg_line_length": 23.7521367521,
"ext": "c",
"hexsha": "474d0804a719b358cd90ca5771b4fe0489fa9779",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:... |
/* File description : Implementation of neural networks
* Author : Bruno Faria
* Year : 2014
* Work place : University of Aveiro
*/
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "neural_network.h"
//#include "mkl.h"
//#include <atlas_enum.h>
//#include <l... | {
"alphanum_fraction": 0.604972001,
"avg_line_length": 30.4119033589,
"ext": "c",
"hexsha": "96f9c451133c5bcd42984aeae5798768339af668",
"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_CONFIG_H
#define QDM_CONFIG_H 1
#include <gsl/gsl_vector.h>
typedef struct {
unsigned long int rng_seed;
int acc_check;
int burn_discovery;
int iter_discovery;
int burn_analysis;
int iter_analysis;
int knot_try;
int spline_df;
int thin;
gsl_vector *months;
gsl_vector *knots;
... | {
"alphanum_fraction": 0.7152061856,
"avg_line_length": 13.8571428571,
"ext": "h",
"hexsha": "ac87f7457db956153ad35d6baf6ad5d4e55c9386",
"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 SOURCE_PRINTTOFILE_H_
#define SOURCE_PRINTTOFILE_H_
// *** release/print_to_file.h ***
// Author: Kevin Wolz, date: 08/2018
//
// Utilities to write the results obtained by robustness_main into files.
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <sstream>
#include <ve... | {
"alphanum_fraction": 0.7034529452,
"avg_line_length": 30.7708333333,
"ext": "h",
"hexsha": "0708587b33a011ab90d8a9dfdcbcb25d1dbf6e1b",
"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":... |
/***************************************************************************/
/* */
/* LU_decomp.h - LU Decomposition class for mruby */
/* Copyright (C) 2015 Paolo Bosetti */
/* paolo... | {
"alphanum_fraction": 0.4915190351,
"avg_line_length": 37.9,
"ext": "h",
"hexsha": "5c7aa3d0a2820eda163b0f2570902b36faf582b2",
"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": "0961ef3... |
/**
*
* @file sgebrd.c
*
* PLASMA computational 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 Azzam Haidar
* @date 2010-11-15
* @generated s Tue Jan 7 11:45:10 2014
*
**/
#include <lapacke... | {
"alphanum_fraction": 0.531492712,
"avg_line_length": 39.5331230284,
"ext": "c",
"hexsha": "7fcb7ab70b759eb0e6cbf4ef9f8f8a92b33820e6",
"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": ... |
#if !defined(THDM_H)
#define THDM_H
#include "SM.h"
#include <complex>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_matrix.h>
#include "CouplingFunctionTypeI.h"
#include "CouplingFunctionTypeII.h"
#include "CouplingFunctionTypeLS.h"
#include "CouplingFunctionTypeFL.h"
using namespace std;
/**
* \mainpage 2HDMC Cl... | {
"alphanum_fraction": 0.673050992,
"avg_line_length": 38.9068522484,
"ext": "h",
"hexsha": "7e063ee43f14cfe0f2eeed4d814a64c6d4bc91e3",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-11-27T14:59:29.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-27T14:59:2... |
/*
* projcl_run.c
* Magic Maps
*
* Created by Evan Miller on 2/12/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#include <projcl/projcl.h>
#include <projcl/projcl_warp.h>
#include "projcl_run.h"
#include "projcl_kernel.h"
#include "projcl_util.h"
#include "projcl_spheroid.h"
#include <m... | {
"alphanum_fraction": 0.6579385094,
"avg_line_length": 39.1945320715,
"ext": "c",
"hexsha": "59a9b28c67bbaa395586e5d74ef3974b408fc516",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2020-09-22T00:23:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-13T20:42:... |
/* Internal header file for cminpack, by Frederic Devernay. */
#ifndef __CMINPACKP_H__
#define __CMINPACKP_H__
#ifndef __CMINPACK_H__
#error "cminpackP.h in an internal cminpack header, and must be included after all other headers (including cminpack.h)"
#endif
#if (defined (USE_CBLAS) || defined (USE_LAPACK)) && !de... | {
"alphanum_fraction": 0.7409482759,
"avg_line_length": 36.8253968254,
"ext": "h",
"hexsha": "d2aa28f962ac69056f4d31262b95a75d6a0895a0",
"lang": "C",
"max_forks_count": 291,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T17:51:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-27T21:5... |
#include <stdio.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_chebyshev.h>
double
f (double x, void *p)
{
p = 0;
if (x < 0.5)
return 0.25;
else
return 0.75;
}
int
main (void)
{
double x;
gsl_cheb_series *cs = gsl_cheb_alloc (40);
gsl_function F;
F.function = f;
F.params = 0;
gsl_cheb_i... | {
"alphanum_fraction": 0.5551663748,
"avg_line_length": 14.641025641,
"ext": "c",
"hexsha": "df32f7325363fcc9c30979123ec6b64211a07a9b",
"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:5... |
#include <petsc.h>
#include <petsc/private/fortranimpl.h>
#include <omp.h>
//#include <papi.h>
/*
Global Variables
*/
double gradTime; // Gradient calculation time
double fluxTime; // Flux evaluation timing
int nThreads; // Number of threads at each MPI process
int rank; // MPI process ID
int siz... | {
"alphanum_fraction": 0.6352228473,
"avg_line_length": 25.9662921348,
"ext": "h",
"hexsha": "9db0ba247e2369d87acc2b2650188846a923e531",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-04T08:15:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-04T08:15:... |
#ifndef KGS_GSLSVD_H
#define KGS_GSLSVD_H
#include "math/SVD.h"
#include <gsl/gsl_matrix.h>
class SVDGSL: public SVD {
public:
SVDGSL(gsl_matrix* M): SVD(M){}
protected:
void UpdateFromMatrix() override;
};
#endif //KGS_GSLSVD_H
| {
"alphanum_fraction": 0.7148760331,
"avg_line_length": 12.7368421053,
"ext": "h",
"hexsha": "39b3f414bcec1e054b83c30c400cc3038af9a46b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <pthread.h>
#include <gsl/gsl_sf.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_roots.h>
#include "LNAbundance.h... | {
"alphanum_fraction": 0.598134227,
"avg_line_length": 22.5326530612,
"ext": "c",
"hexsha": "0700d4362e761e306e9ca66b40d58656a620b6ea",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_fit.h>
#include "cosmocalc.h"
double transfer_function(double k)
{
static int initFlag = 1;
static int currCosmoNum;
static gsl_spline *cosmocalc_transfer_function_spline = NULL;
st... | {
"alphanum_fraction": 0.5930627306,
"avg_line_length": 29.329004329,
"ext": "c",
"hexsha": "81c616fafd3b75978fec8cf9c138c03d967d6b9e",
"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:3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.