Search is not available for this dataset
text string | meta dict |
|---|---|
/*
* 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.7254601227,
"avg_line_length": 33.0126582278,
"ext": "h",
"hexsha": "3f1d42137d390340375fa265457dd71c140989b7",
"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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
//#include "gsl-sprng.h"
#include <mpi.h>
#include <time.h>
#include <unistd.h>
const int SAMPLENUM = 1000;
int obsnum;
gsl_rng * r;
int procnum;
typedef struct {
int prey;
int preda... | {
"alphanum_fraction": 0.6250235656,
"avg_line_length": 26.3897180763,
"ext": "c",
"hexsha": "49ee4774541cb3ed43323953ccdb7b0b939d2862",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// The MIT License (MIT)
//
// Copyright (c) 2018 Mateusz Pusz
//
// 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, co... | {
"alphanum_fraction": 0.7339548225,
"avg_line_length": 34.012195122,
"ext": "h",
"hexsha": "bf44bbbcaa948ba002d7e196223e9c36d3d48803",
"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 <glib.h>
#include <gsl/gsl_matrix.h>
struct _CLArgumentEntry {
GString *block;
char *label;
};
struct _LabeledMatrix {
gsl_matrix *mat;
char **labels1;
char **labels2;
};
typedef struct _LabeledMatrix LabeledMatrix ;
typedef struct _CLArgumentEntry CLArgumentEntr... | {
"alphanum_fraction": 0.8092715232,
"avg_line_length": 32.1276595745,
"ext": "h",
"hexsha": "ec0c8ba6de675f7de21fc27b4158e8b72ed64f56",
"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 <array>
#include <gsl/span>
#include <sam.h>
namespace mcu {
#define EEPROM [[gnu::section(".eeprom")]]
class FlashEEPROM
{
public:
FlashEEPROM() = delete;
template <typename T>
static void write(const T* flashAddress, const T& src) noexcept
{
write(flashAddress, gsl::span(&src, 1));
}
... | {
"alphanum_fraction": 0.7134866377,
"avg_line_length": 24.7538461538,
"ext": "h",
"hexsha": "df76f5232c4201504f94ac9746c8d90259e36055",
"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) 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.5977090809,
"avg_line_length": 38.9569892473,
"ext": "c",
"hexsha": "2cd03eb6e3eb5ce7a26c47426cb94e10d2a0fe10",
"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 "ridc.h"
#include <stdlib.h>
#include <stdio.h>
#include <cmath>
#include <gsl/gsl_linalg.h>
#ifndef _BRUSSELATOR_H_
#define _BRUSSELATOR_H_
class Brusselator_GSL : public ODE {
public:
Brusselator_GSL(int my_neq, int my_nt, double my_ti, double my_tf, double my_dt) {
neq = my_neq;
nt = my_nt;
... | {
"alphanum_fraction": 0.5515880844,
"avg_line_length": 25.0940594059,
"ext": "h",
"hexsha": "f1ac954190677774cba4bfa3699ec07180dae822",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-10-27T09:56:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-22T19:06:... |
/* gsl_splinalg.h
*
* Copyright (C) 2012-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.
... | {
"alphanum_fraction": 0.7111289675,
"avg_line_length": 31.1125,
"ext": "h",
"hexsha": "265b6ae60b659991dd6f0a242ee354bae9476373",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2022-01-04T19:22:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-06-27T11:11:07.000... |
// Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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 b... | {
"alphanum_fraction": 0.6272958463,
"avg_line_length": 27.1534526854,
"ext": "c",
"hexsha": "16f6d5dd32ac9f849ad90607ff9d835b60065fbe",
"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>
// params is not used at the moment but we must allow for
// it to meet the required ADaPS function definition
void free_interpolate(void **interp, void *params) {
if((*inte... | {
"alphanum_fraction": 0.6602254428,
"avg_line_length": 32.6842105263,
"ext": "c",
"hexsha": "9956115ec58b01bf6b583f69989396569ffde763",
"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 <gsl/gsl_spline.h>
#include "param.h"
#include "root_func.h"
#include "eos_pres.h"
#include "global.h"
double
root_func (double rho, void *params)
{
struct param *root_func_params = (struct param *) params;
double (*pres) (double, void *);
pres = &eos_pres;
return (tmp_pres - pres (rho, root_func_para... | {
"alphanum_fraction": 0.6951219512,
"avg_line_length": 21.8666666667,
"ext": "c",
"hexsha": "2a50fd589d383237c854cf3e55473bc5deb72bae",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
#include "iparam.h"
#include "iparamlist.h"
#include "iflag.h"
#include "iarg.h"
#include "iarglist.h"
#include "icommand.h"
#include "optioninfo.h"
#include "format.h"
#include <sfun/string_utils.h>
#include <cmdlime/usageinfoformat.h>
#include <gsl/gsl>
#include <utility>
#include <vector>
#include <memo... | {
"alphanum_fraction": 0.5743567692,
"avg_line_length": 35.5038167939,
"ext": "h",
"hexsha": "d9c6b6d0a0ef1923fa425eda5cbc14f36cffcb2f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:... |
#include <bindings.cmacros.h>
#include <gsl/gsl_multiset.h>
BC_INLINE2(gsl_multiset_get,gsl_multiset*,size_t,size_t)
| {
"alphanum_fraction": 0.813559322,
"avg_line_length": 23.6,
"ext": "c",
"hexsha": "9ef9e5f443fb55d72ee21813543235cc87086684",
"lang": "C",
"max_forks_count": 19,
"max_forks_repo_forks_event_max_datetime": "2021-09-10T19:31:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T20:43:08.000Z",... |
#pragma once
#include <d3d11.h>
#include <DirectXMath.h>
#include <map>
#include <gsl\gsl>
#include "DrawableGameComponent.h"
#include "GaussianBlur.h"
#include "FullScreenRenderTarget.h"
#include "FullScreenQuad.h"
#include <winrt\Windows.Foundation.h>
namespace Library
{
class FullScreenQuadMaterial;
struct Bloo... | {
"alphanum_fraction": 0.7661068702,
"avg_line_length": 28.4782608696,
"ext": "h",
"hexsha": "5357e22958712a83524cd67b5ede590ca68c114f",
"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 SIMULATION_STEPS
#define SIMULATION_STEPS
#include <gsl/gsl_matrix.h>
extern void calculateLIFTVolMat(int N, int Np, gsl_matrix **LIFT, gsl_matrix **VolMat, gsl_matrix** MassMatrix);
extern void store_mesh(char *Mesh);
extern void initialize();
extern void time_evolution(double FinalTime);
extern void bound... | {
"alphanum_fraction": 0.7942028986,
"avg_line_length": 24.6428571429,
"ext": "h",
"hexsha": "99ad90b3bece4af4488412a3f6bffb6bfed3fba9",
"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:... |
#pragma once
#include <gsl/gsl_assert>
#include <src/util/Logging.h>
#ifndef NDEBUG
//#define MI_EXPECTS(x) Expects(x)
//#define MI_ENSURES(x) Ensures(x)
#define MI_EXPECTS(x) \
do { \
if (!(x)) { \
LOG(ERROR) << "assertion failed: " << #x; \
std::terminate(); \
} \
} while (0)
... | {
"alphanum_fraction": 0.530726257,
"avg_line_length": 18.5172413793,
"ext": "h",
"hexsha": "066712388bd696d0760e9a9a20f0d6733d23551f",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <math.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_multimin.h>
#include <gsl/gsl_sf.h>
#include <gsl/gsl_randist.h>
#include <gsl... | {
"alphanum_fraction": 0.5971597763,
"avg_line_length": 29.7035830619,
"ext": "c",
"hexsha": "5d9211fa95927de958d8d36386ee48eeb2cdda3c",
"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":... |
/////////////////////////////////////////////////////////////////////////////////
//
// Levenberg - Marquardt non-linear minimization algorithm
// Modified and simplified by Ted Laurence to use for MLE of Poisson-distributed data; Used only for
// double precision, without constraints
// Copyright (C) 2004 Manol... | {
"alphanum_fraction": 0.5604730735,
"avg_line_length": 31.337995338,
"ext": "c",
"hexsha": "d443e8b9217edabcce85b25eb74e8d42ee1c629f",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2019-10-31T07:28:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-04T18:52:3... |
/***************************************************************************
misc.h - description
-------------------
copyright : (C) 2005 by MOUSSA
email : mmousa@liris.cnrs.fr
**************************************************... | {
"alphanum_fraction": 0.4290229885,
"avg_line_length": 41.4285714286,
"ext": "h",
"hexsha": "d0402ae1e9f917a8e4dfafc5b200a445f464e48b",
"lang": "C",
"max_forks_count": 77,
"max_forks_repo_forks_event_max_datetime": "2022-03-24T01:03:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-24T22:36... |
#include <gsl/gsl_multiset.h>
#include <gsl/gsl_errno.h>
#include <stdio.h>
int mgsl_multiset_fwrite(const char *filename, const gsl_multiset *p)
{
FILE *fp;
if((fp = fopen(filename, "w")) == NULL) return GSL_EFAILED;
if(gsl_multiset_fwrite(fp, p) != GSL_SUCCESS) return GSL_EFAILED;
fclose(fp);
return GSL_SU... | {
"alphanum_fraction": 0.7128623188,
"avg_line_length": 27.6,
"ext": "c",
"hexsha": "8f6f994ce3ecd821dfe503473c85fefbc70f0a5d",
"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": "44a0425... |
//#include <gsl/gsl_sf_gamma.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_roots.h>
#define NSPLINELD 1001
#define NSPLINEEZ 1001
#define NSPLINERR 10001
#define NSPLINEDF 10001
gsl_interp_accel *accLD, *accRed, *accEz, *accDF;
gsl_spline *splineLD, *splin... | {
"alphanum_fraction": 0.675862069,
"avg_line_length": 24.4959128065,
"ext": "c",
"hexsha": "b7f6782a938020d1feb6ded6f5a0c986de07d6a8",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T13:20:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-03-06T20:20:4... |
/****************************************************************************
** Copyright (c) 2021, Fougue Ltd. <http://www.fougue.pro>
** All rights reserved.
** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt
****************************************************************************/
#pragma... | {
"alphanum_fraction": 0.4505747126,
"avg_line_length": 27.1875,
"ext": "h",
"hexsha": "7fc492f398e4d9afd21f70deb5261b8e1f04c857",
"lang": "C",
"max_forks_count": 124,
"max_forks_repo_forks_event_max_datetime": "2022-03-28T08:57:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-22T23:40:13.0... |
/*
* C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer
*
* Yan-Rong Li, liyanrong@mail.ihep.ac.cn
* Jun 30, 2016
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include <gsl/gsl_rng.h>
#include "dnestvars.h"
/*! \file... | {
"alphanum_fraction": 0.621226718,
"avg_line_length": 26.9028077754,
"ext": "c",
"hexsha": "679934e06db28fb5048975237b2fe0455469db9c",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-06T11:26:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-05T02:01:5... |
//===------------------------------------------------------------*- C++ -*-===//
//
// This file is distributed under MIT License. See LICENSE.txt for details.
//
//===----------------------------------------------------------------------===//
//
// Copyright (c) 2017 University of Kaiserslautern.
//
#pragma once
#in... | {
"alphanum_fraction": 0.6263678999,
"avg_line_length": 24.9220779221,
"ext": "h",
"hexsha": "b81deef4007325fd6c61375f40f95160d7a67c36",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-01-13T08:54:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-27T21:11:... |
// ${_warning_in_the_generated_file_not_to_edit}
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_errno.h>
#include <math.h>
#include "neqsys.h"
// Global counters
int NFEV = 0;
int NJEV = 0;
int NFJEV = 0;
int
func (const gsl_vector * x, void * params, gsl_vector * f)
{
/*
Best is to name all parameters k[0] ..... | {
"alphanum_fraction": 0.6393875396,
"avg_line_length": 19.3265306122,
"ext": "c",
"hexsha": "adeb37743480c0d18367cea66119644b786526e9",
"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 "types/MT3_MathChar.h"
#include "types/MT3_Radical.h"
#include "types/MT3_Accent.h"
#include "types/MT3_VCenter.h"
#include "types/MT3_Overline.h"
#include "types/MT3_Underline.h"
#include "types/MT3_GenFraction.h"
#include "types/MT3_LeftRight.h"
#include "types/MT3_Script.h"
#... | {
"alphanum_fraction": 0.7644927536,
"avg_line_length": 25.0909090909,
"ext": "h",
"hexsha": "1e19dabf72f39b7274e11879c070a7aead30ad19",
"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 FORCE_H
#define FORCE_H
#include <functional>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include <vector>
#include "jspec2/electron_beam.h"
#include "jspec2/constants.h"
using std::vector;
enum class ForceFormula {PARKHOMCHUK, NONMAG_DERBENEV, NONMAG_MESHKOV, NONMAG_NUM1D, NONMAG_NUM3D, MES... | {
"alphanum_fraction": 0.6829382774,
"avg_line_length": 39.946875,
"ext": "h",
"hexsha": "b995bc52d28147236ee66e0a797bab9fddb4b467",
"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": "c8... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <unordered_map>
#include <mutex>
#include <gsl/gsl>
#include <typeindex>
#include "arcana/containers/ticketed_collection.h"
#include "arcana/string.h"
#if NDEBUG
#define FIRE_OBJECT_TRACE(...)
#else
#define OBJECT_TRAC... | {
"alphanum_fraction": 0.6473988439,
"avg_line_length": 34.9680851064,
"ext": "h",
"hexsha": "d250ec1baab267e9bb541eb9b966255236090925",
"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... |
#pragma once
// View structures
// STATUS: prototype, NSC
#include <vector>
#include <gsl.h>
namespace duck {
/* span<T> represents a reference to a segment of a T array.
* Equivalent to a (T* base, int len).
*/
using gsl::span;
/* string_view: Const reference (pointer) to a sequence of char.
* Does not own the... | {
"alphanum_fraction": 0.7285714286,
"avg_line_length": 26.25,
"ext": "h",
"hexsha": "06e9eb56421d44de0a48fc6fce247e78471b9492",
"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": "dc419c... |
/* gsl_histogram2d_maxval.c
* Copyright (C) 2000 Simone Piccardi
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version... | {
"alphanum_fraction": 0.5970243748,
"avg_line_length": 22.5642857143,
"ext": "c",
"hexsha": "163d69fec0675e450139bd2be0ac148f26660941",
"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 <jni.h>
#include <assert.h>
#include <lapacke.h>
extern void dtrmv_(char *uplo, char *trans, char *diag, int *n, double *A,
int *lda, double *x, int *incx);
#define jniRowMajor 101
#define jniColMajor 102
#define jniNoTrans 111
#define jniTrans 112
#define jniConjTrans 113
#define j... | {
"alphanum_fraction": 0.6707487754,
"avg_line_length": 33.6235294118,
"ext": "c",
"hexsha": "241c8dfdb858299aa375c95ced92a5102a28779c",
"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 NonLinearLSQ_h
#define NonLinearLSQ_h
/**
* @file
* $Revision: 4928 $
* $Date: 2012-12-21 10:44:12 -0700 (Fri, 21 Dec 2012) $
* $Id: NonLinearLSQ.h 4928 2012-12-21 17:44:1... | {
"alphanum_fraction": 0.5837546343,
"avg_line_length": 36.6296296296,
"ext": "h",
"hexsha": "35356bd2560a0fab1a1647c2f8bb4e8f494ebb22",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-07-12T06:05:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-12T06:05:... |
/******************************************************************************
(c) 2017 - 2019 Scientific Computation Research Center,
Rensselaer Polytechnic Institute. All rights reserved.
This work is open source software, licensed under the terms of the
BSD license as described in the LICENSE file in ... | {
"alphanum_fraction": 0.6273100616,
"avg_line_length": 30.4375,
"ext": "h",
"hexsha": "272b1cb5f1527c54e0250d54b15509ac7f9aff34",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2018-04-19T18:31:27.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-01-09T19:00:36.000... |
/*
* 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
*/
#ifdef SpecAstro
#include <math.h>
#include <stddef.h>
#include <string.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <fftw3.h>
#include "brains... | {
"alphanum_fraction": 0.6361022364,
"avg_line_length": 27.577092511,
"ext": "c",
"hexsha": "e0999f98927103963dcff9560eac0f6280291506",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-11-22T12:54:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-12T13:51:2... |
/*#include <fftw.h>*/
#include <fftw3.h>
#include <stdio.h>
#include <stdlib.h>
#define N 16
main()
{
int i;
fftw_complex in[N], out[N];
float fact;
fftw_plan p,p2;
printf(" stuff in data\n");
for (i=0;i<N;i++) {
/* in[i].re=(i*i); in[i].im=1; */
in[i][0]=(i*i); in[i][1]=1;
}
pr... | {
"alphanum_fraction": 0.5487437186,
"avg_line_length": 25.5128205128,
"ext": "c",
"hexsha": "4b99ac355e10423f8049907ee16851e767515224",
"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 <viaio/VImage.h>
#include <viaio/mu.h>
#include <viaio/option.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_blas.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int DNorm(double *data,siz... | {
"alphanum_fraction": 0.5633404105,
"avg_line_length": 22.2519685039,
"ext": "c",
"hexsha": "bb5d5299d6079ac4977dabd748df72ad935f1067",
"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:... |
///////////////////////////////////////////////////////////////////////////////
//
// File eigen_mm.h
//
// MIT License
// Copyright (c) 2020 EigenMM
// 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.6613156307,
"avg_line_length": 33.4072580645,
"ext": "h",
"hexsha": "6005989cc5c776e95e59735732d1212b782e0fef",
"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":... |
/** Fit a set of points to a model that is subject to rotation and translation.
*
* The model is defined by a set of primitive faces such as plane, cylinder, sphere, etc.
* The measured points are first translated by (xt, yt, zt),
* then rotated about x-y-z axes by g, b, a angles in sequence,
*
* These 6 paramete... | {
"alphanum_fraction": 0.5238815375,
"avg_line_length": 32.387755102,
"ext": "c",
"hexsha": "7b2df659d8fd84215b8ebcd4fc50438185fdd353",
"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_linux_SqParamSchemaImpl_h_
#define SQ_INCLUDE_GUARD_system_l... | {
"alphanum_fraction": 0.6742493176,
"avg_line_length": 28.9210526316,
"ext": "h",
"hexsha": "43b7658b55b04afd61c11363cf78f80f17a4ac1b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 2010-2018 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2013 Inria. All rights reserved.
*
* @precisions normal z -> c d s
*
*/
#include <lapacke.h>
#include "dpl... | {
"alphanum_fraction": 0.5159005275,
"avg_line_length": 32.5245098039,
"ext": "c",
"hexsha": "a1ffbff245743fc1eddb8ff5d3d3329619567484",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer
*
* Yan-Rong Li, liyanrong@mail.ihep.ac.cn
* Jun 30, 2016
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>
#include <gsl/gsl_rng.h>
#include "dnestvars.h"
/* output files */
FILE *fs... | {
"alphanum_fraction": 0.7422490804,
"avg_line_length": 31.1967213115,
"ext": "c",
"hexsha": "967369f9f266b0a10198cc7b9eaaa287470c8279",
"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":... |
// get some values from a GNU scienctific library random number generator.
// CK 2014
#include <stdio.h>
#include <gsl/gsl_rng.h>
void rantest(long seed,int N,double* out){
gsl_rng* rng = gsl_rng_alloc (gsl_rng_taus); // initialize a tausworthe rng
gsl_rng_set(rng, seed); // seed it
double number = -1;
... | {
"alphanum_fraction": 0.6192307692,
"avg_line_length": 24.7619047619,
"ext": "c",
"hexsha": "c2e73f77521c832616b56f9b484d07b7da4e399c",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-12-21T13:40:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-19T14:21:... |
/* roots/test_funcs.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 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 3 of the License... | {
"alphanum_fraction": 0.5672888016,
"avg_line_length": 17.7043478261,
"ext": "c",
"hexsha": "9b8f05e05e3eb9b3a8cfa248f72fe4329b8bd0a7",
"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... |
/**
*
* @file core_zlantr.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 Mathieu Faverge
* @date 2010-11-15
* @precisions normal z -> c d s
*
**/
#include <lapacke.h>
#i... | {
"alphanum_fraction": 0.474346748,
"avg_line_length": 28.650273224,
"ext": "c",
"hexsha": "a0c4c056e0b1d18a3106040669716187ee5a5a7d",
"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:37... |
/*
* 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.6391039174,
"avg_line_length": 30.8913043478,
"ext": "c",
"hexsha": "b7c1374b81aa3329f83fb046c5d81f8ecd0e9d9e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-07-09T00:20:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-07-09T00:20:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "compearth.h"
#ifdef COMPEARTH_USE_MKL
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#pragma clang diagnostic ignored "-Wstrict-prototypes"
#endif
#include <mkl_cblas.h>
#ifdef __clang__
#pragma cla... | {
"alphanum_fraction": 0.5300573709,
"avg_line_length": 27.6482758621,
"ext": "c",
"hexsha": "3ddeaabd04e0dc6da3ae98631b3ffbc6277ae08b",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-02-28T13:42:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-08T00:13:... |
#ifndef H_EASY_GSL
#define H_EASY_GSL
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#ifdef __cplusplus
extern "C" {
#endif
struct egsl_val {
gsl_matrix * gslm;
int cid : 16;
int index : 16;
};
typedef struct egsl_val val;
/* Core functions */
/* Push a new context. */
void egsl_push();
void egsl_pus... | {
"alphanum_fraction": 0.7364106989,
"avg_line_length": 22.7254901961,
"ext": "h",
"hexsha": "0b8c17cd77f2c66fcd93fcd00d6d0906e82e7782",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-12-06T12:39:31.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-24T20:11:... |
#pragma once
#include <gsl.h>
#include <ImmutableRanges.h>
#include <qobject.h>
#include <mitkBaseData.h>
#include <FaceIdentifier.h>
class QWidget;
namespace crimson
{
class QtPropertyStorage;
/*! \brief An interface for data associated with model faces.
*
* This includes boundary conditions and materials.
... | {
"alphanum_fraction": 0.6848623853,
"avg_line_length": 26.265060241,
"ext": "h",
"hexsha": "93c288e2a9be706fb883a0664ca092096b327179",
"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:2... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "arcana/utils/serialization/base_stream.h"
#include "arcana/utils/serialization/serializable.h"
#include "arcana/analysis/determinator.h"
#include "Proxies/Proxy.h"
#include "arcana/analysis/binary_iterator.h"
#include "M... | {
"alphanum_fraction": 0.6646833829,
"avg_line_length": 33.4549763033,
"ext": "h",
"hexsha": "50b4e1ccb984455858a0860faf33b7c5fb941c4e",
"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... |
#ifndef MSHADOW_TENSOR_BASE_H
#define MSHADOW_TENSOR_BASE_H
/*!
* \file tensor_base.h
* \brief definitions of base types, macros functions
*
* \author Bing Xu, Tianqi Chen
*/
#include <cmath>
#include <cstdio>
#include <cfloat>
#include <climits>
#include <algorithm>
// macro defintiions
/*!\brief if this macro i... | {
"alphanum_fraction": 0.5945919077,
"avg_line_length": 33.6421404682,
"ext": "h",
"hexsha": "b251cbadf4fc705161901ca45d2808bdc205f3fb",
"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":... |
/*
* read_parameters.h
* Spike
* parse simple name/value pairs
*
* Created by Ben Evans on 28/11/2008.
* Copyright 2008 University of Oxford. All rights reserved.
*
*/
#ifndef _READ_PARAMETERS_H
#define _READ_PARAMETERS_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#includ... | {
"alphanum_fraction": 0.7185332012,
"avg_line_length": 24.6097560976,
"ext": "h",
"hexsha": "ab17ba2a5bfacca0803f048a14379fd99afa9274",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#pragma once
#define NOMINMAX
#pragma warning(disable : 6221) // Disable implicit cast warning for C++/WinRT headers (tracked by Bug 17528784: C++/WinRT hea... | {
"alphanum_fraction": 0.7546523017,
"avg_line_length": 28.3611111111,
"ext": "h",
"hexsha": "e99222be962ad5590773d25d6186393834af0eff",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-28T10:29:11.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-28T10:29:... |
/* specfunc/bessel_sequence.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* y... | {
"alphanum_fraction": 0.5742690058,
"avg_line_length": 27.5806451613,
"ext": "c",
"hexsha": "c816a33ce53a6754f34d52cf00c65adb9bf8799a",
"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 <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#include "qdm.h"
#define TAU_RESET_L_SIZE 11
#define TAU_RESET_M_SIZE 8
#define TAU_RESET_H_SIZE 11
#define TAU_RESET_SIZE (TAU_RESET_L_SIZE + TAU_RESET_M_SIZE + TAU_RESET_H_SIZE)
#define TAU_RESET_STEP 0.0001
#defi... | {
"alphanum_fraction": 0.6499590835,
"avg_line_length": 20.1983471074,
"ext": "c",
"hexsha": "509c910cee385e795d77e375cf5234b41310b31d",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <gsl/gsl_linalg.h>
int
main (void)
{
double a_data[] = { 0.18, 0.60, 0.57, 0.96,
0.41, 0.24, 0.99, 0.58,
0.14, 0.30, 0.97, 0.66,
0.51, 0.13, 0.19, 0.85 } ;
double b_data[] = { 1.0, 2.0, 3.0, 4.0 };
gsl_matrix_view m
= gsl_matrix_vi... | {
"alphanum_fraction": 0.5634218289,
"avg_line_length": 20.5454545455,
"ext": "c",
"hexsha": "c49ab2ef6ae45fd7fd100ad9f7f7b01e5d9770be",
"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 2021 atframework
// Created by owent
#pragma once
#include <config/atframe_utils_build_feature.h>
#include <config/compiler_features.h>
#include <design_pattern/nomovable.h>
#include <design_pattern/noncopyable.h>
#include <time/time_utility.h>
#include <gsl/select-gsl.h>
#include <list>
#include <ve... | {
"alphanum_fraction": 0.7738868275,
"avg_line_length": 36.5423728814,
"ext": "h",
"hexsha": "6147e48b35453820eb9f63b599c5c9065a5cd0ce",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2020-04-19T10:06:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-04T06:14:... |
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root
// for more information.
#ifndef NOVELRT_EXPERIMENTAL_GRAPHICS_H
#define NOVELRT_EXPERIMENTAL_GRAPHICS_H
// Graphics dependencies
#include "../../Graphics/RGBAColour.h"
#include "../../Maths/Maths.h... | {
"alphanum_fraction": 0.7870499581,
"avg_line_length": 31.4298245614,
"ext": "h",
"hexsha": "1727869d4a1930926ed0fb66369e492925481c2f",
"lang": "C",
"max_forks_count": 56,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T19:52:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-22T15:57... |
#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_hpmv (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int order = 101;
int uplo = 121;
float alpha[2] = {-0.3f, 0.1f};
float beta[2] = {0.0f, 1.0f};
int N = 2;
... | {
"alphanum_fraction": 0.5113066432,
"avg_line_length": 29.9078947368,
"ext": "c",
"hexsha": "9dd11c92cafd936b3986c9ce8a7b2d72644388ed",
"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:... |
/* WidiPadi is a motif discovery tool for DNA sequences */
/* Copyright (C) 2006 Bioinformatics Centre */
/* Author: Eivind Valen and Ole Winther */
/* 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... | {
"alphanum_fraction": 0.603535586,
"avg_line_length": 26.9503722084,
"ext": "c",
"hexsha": "a0ca57bdbffa564c2fc93f260eff9a5ecec34ff2",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
/* vector/gsl_vector_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of... | {
"alphanum_fraction": 0.6403441192,
"avg_line_length": 32.049382716,
"ext": "h",
"hexsha": "82b3aad35a6bf4a85532e98e6d6bbc2a0a38c5bc",
"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 <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "cblas.h"
void
cblas_dger (const enum CBLAS_ORDER order, const int M, const int N,
const double alpha, const double *X, const int incX,
const double *Y, const int incY, double *A, const int lda)
{
#define BASE double
#include "source... | {
"alphanum_fraction": 0.6842105263,
"avg_line_length": 24.4285714286,
"ext": "c",
"hexsha": "d9596ae52bd4f550f344f64d57e25d414c94a255",
"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... |
/*
* Subroutines that deal with the aXe configuration file.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gsl/gsl_vector.h>
#include "aper_conf.h"
#include "disp_conf.h"
#include "aXe_grism.h"
#include "spc_cfg.h"
#include "disp_conf.h"
#include "aXe_utils.h"
#define MAX(x,y) (((x)>(y))?... | {
"alphanum_fraction": 0.5481941438,
"avg_line_length": 28.6830065359,
"ext": "c",
"hexsha": "c5e740373e38f8ca929b02d00bc78ca65aa1d063",
"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_multifit_nlinear.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_cdf.h>
#include <QVector>
#include <algorithm>
#include <tuple>
class Gaussian2DFit
{
struct data
{
double* x;
double* y;
size_t n;
double* z;
size_t width;
size_t h... | {
"alphanum_fraction": 0.6131097561,
"avg_line_length": 36.8539325843,
"ext": "h",
"hexsha": "9401b03c36f5582b00ac8c97de8ee51f868b542e",
"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 OPENDSS_H
#define OPENDSS_H
#include <petsc.h>
#include <complex.h>
extern PetscErrorCode OpenDSSRunCommand(const char*);
extern PetscErrorCode OpenDSSVsourcesSetPU(PetscScalar);
extern PetscErrorCode OpenDSSVsourcesSetAngleDeg(PetscScalar);
extern PetscErrorCode OpenDSSSolutionGetSolve(PetscInt*);
extern Petsc... | {
"alphanum_fraction": 0.8541666667,
"avg_line_length": 34.9090909091,
"ext": "h",
"hexsha": "5ae71ffc6aeb3d1d9e510129f57cf52dcaa3a778",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-09-23T19:30:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-01T21:49:... |
#include <petsc.h>
int main(int argc, char **argv) {
PetscErrorCode ierr;
PetscMPIInt rank;
PetscInt i;
PetscReal localval, globalsum, x;
ierr = PetscInitialize(&argc,&argv,NULL,
"Compute exp in parallel with PETSc.\n\n"); if (ierr) return ierr;
ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&r... | {
"alphanum_fraction": 0.6550522648,
"avg_line_length": 32.8,
"ext": "c",
"hexsha": "14733056fa5bfd53fac6af32257cbce545b4b138",
"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": "421fd3d... |
/** @file */
#ifndef __CCL_F1D_H_INCLUDED__
#define __CCL_F1D_H_INCLUDED__
#include <gsl/gsl_spline.h>
CCL_BEGIN_DECLS
typedef enum ccl_f1d_extrap_t {
ccl_f1d_extrap_0 = 0, // No extrapolation
ccl_f1d_extrap_const = 410, // Constant extrapolation
ccl_f1d_extrap_linx_liny = 411, // Linear x, linear y
ccl... | {
"alphanum_fraction": 0.7556521739,
"avg_line_length": 23.9583333333,
"ext": "h",
"hexsha": "d1d15a457e0cb8cef8f37e75aebd5da5f88aa76b",
"lang": "C",
"max_forks_count": 54,
"max_forks_repo_forks_event_max_datetime": "2022-02-06T13:12:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-12T13:08... |
#ifndef AFS_H
#define AFS_H
#include <gsl/gsl_matrix.h>
#include <glib.h>
//afsObject represents a two population coalescent
typedef struct afsObject
{
int npops,nalleles;
int aCounts[2]; //this keeps track of popn specific allele counts
gsl_matrix_int **popMats;
char *matString;
}
afsObject;
typedef struct ... | {
"alphanum_fraction": 0.7824252431,
"avg_line_length": 36.8310810811,
"ext": "h",
"hexsha": "157eef99546a53b836894c30a59fd87210f1d92d",
"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_multilarge.h
*
* 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.569026058,
"avg_line_length": 38.1056338028,
"ext": "h",
"hexsha": "e99c1e1c02f6a072b9ac720bf5cb09491b5bd673",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-06-13T05:31:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-12-20T16:50:5... |
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <valgrind/callgrind.h>
#include <gsl/gsl_histogram.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_statistics.h>
#include "betree.h"
#include "debug.h"
#... | {
"alphanum_fraction": 0.6361913257,
"avg_line_length": 31.804964539,
"ext": "c",
"hexsha": "de69b1900a8decfc8ddd89c450633ef5fe8ae829",
"lang": "C",
"max_forks_count": 11,
"max_forks_repo_forks_event_max_datetime": "2020-10-02T14:17:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-06T14:57:... |
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include "ccl.h"
// Error handling policy: whether to exit on error (C default) or continue
// (Python or other binding default)
static CCLErrorPolicy _ccl_error_policy = CCL_ERROR_POLICY_EXIT;
// Debug mode pol... | {
"alphanum_fraction": 0.7346972447,
"avg_line_length": 38.6050955414,
"ext": "c",
"hexsha": "e83167c2feec4367b86d32c61d1cd19ed6d48cbf",
"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 __GSL_STATISTICS_H__
#define __GSL_STATISTICS_H__
#include <gsl/gsl_statistics_long_double.h>
#include <gsl/gsl_statistics_double.h>
#include <gsl/gsl_statistics_float.h>
#include <gsl/gsl_statistics_ulong.h>
#include <gsl/gsl_statistics_long.h>
#include <gsl/gsl_statistics_uint.h>
#include <gsl/gsl_statisti... | {
"alphanum_fraction": 0.8111753372,
"avg_line_length": 24.7142857143,
"ext": "h",
"hexsha": "ac175638f3dc1aeb3dbdffc453e1158d6135176a",
"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:... |
#pragma once
#include <stdio.h>
#include <stdbool.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#define SIM_SUCCESS 0
#define SIM_FAILURE -1
#define SIM_INFO(...) do {fprintf(stdout,##__VA_ARGS__);} while(0)
#define SIM_ERROR(...) do {fprintf(stdout,##__VA_ARGS__);} while(0)
#define SHUTDOWN_MESSAGE "s... | {
"alphanum_fraction": 0.716904277,
"avg_line_length": 20.4583333333,
"ext": "h",
"hexsha": "0ada760a937c6a1f1877ac9e1d892099f9efa6a3",
"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/cauchy.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.6836158192,
"avg_line_length": 27.2307692308,
"ext": "c",
"hexsha": "7fffd6826f0fba5a4ec8c26c4467b313666c99c8",
"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 BRATU3D_H
#define BRATU3D_H
#include <petsc.h>
typedef struct Params {
double lambda_;
} Params;
PetscErrorCode FormInitGuess(DM da, Vec x, Params *p);
PetscErrorCode FormFunction(DM da, Vec x, Vec F, Params *p);
PetscErrorCode FormJacobian(DM da, Vec x, Mat J, Params *p);
#endif/*BRATU3D_H*/
| {
"alphanum_fraction": 0.737012987,
"avg_line_length": 20.5333333333,
"ext": "h",
"hexsha": "10709d04e5e73aabed0ea9dfbaadfb99f70c2004",
"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": ... |
/**
* Subroutines used in the "aXe_AF2PET.c" for the task aXe_AF2PET
*/
#include <stdarg.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_nan.h>
#include <gsl/gsl_sys.h>
#include "spc_wl_calib.h"
#include "aXe_grism.h"
#include "aXe_errors.h"
#include "disp_conf.h"
/**
* The function performs a wavelength calib... | {
"alphanum_fraction": 0.6211775992,
"avg_line_length": 27.0746753247,
"ext": "c",
"hexsha": "ec6ddbb89000adfb0d55faf275f0d009cdd1d555",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* interpolation/steffen.c
*
* Copyright (C) 2014 Jean-François Caron
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later ... | {
"alphanum_fraction": 0.6018108264,
"avg_line_length": 26.826873385,
"ext": "c",
"hexsha": "1c9ce1046c0d21cf9778dba690c3824e4da8d8b2",
"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 <Python.h>
#include <numpy/arrayobject.h>
#include <gsl/gsl_linalg.h>
#include <sys/time.h>
#define ARRAYD(p) ((double *) (((PyArrayObject *)p)->data))
/*
* [INITIALIZATION]
* ------------------ PROTOTYPES FOR FUNCTIONS AND EXTERNAL VARIABLES -----------------------
*
*/
... | {
"alphanum_fraction": 0.5253341559,
"avg_line_length": 41.1944091487,
"ext": "c",
"hexsha": "02796a1f2b004152e0bb53d5d1eee78c0cf74626",
"lang": "C",
"max_forks_count": 26,
"max_forks_repo_forks_event_max_datetime": "2022-02-20T17:50:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-09T23:58... |
//
// her.h
// Linear Algebra Template Library
//
// Created by Rodney James on 12/23/11.
// Copyright (c) 2011 University of Colorado Denver. All rights reserved.
//
#ifndef _her_h
#define _her_h
/// @file her.h Performs complex vector outer product.
#include <cctype>
#include "latl.h"
namespace LATL
{
///... | {
"alphanum_fraction": 0.4729493892,
"avg_line_length": 25.8983050847,
"ext": "h",
"hexsha": "5ce9e1b2dd42402b66158e74ec511e39e6292a58",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-02-09T23:18:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-01T06:46:... |
// many-small-dgemms.c:
// Mini-app which investigates different ways to perform many small dgemm operations.
// Looping over thousands of rocblas calls is slow, so looking into other solutions.
// This functionality is very interesting to several applications, including nuccor.
// Date: Oct 15th, 2019
// Author: Justi... | {
"alphanum_fraction": 0.6144670051,
"avg_line_length": 30.78125,
"ext": "c",
"hexsha": "2c227ba2eee44a06b39fd004b08b2d6b3d99ac06",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-12-22T01:26:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-01T23:33:57.00... |
/***
* Copyright 2019 The Katla Authors
*
* 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 agr... | {
"alphanum_fraction": 0.6628056628,
"avg_line_length": 28.7777777778,
"ext": "h",
"hexsha": "a6063c02be5477959cf5041afbbc428011c3d5db",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-26T13:32:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-26T13:32:... |
static char help[] = "Newton's method for a three-variable system.\n"
"The system is from fitting logistic population model\n"
"P(t) = N / (1 + A exp(-Nbt)) to 3 points (t,P) from census data in\n"
"D. Zill, 11th ed., exercise 4 in section 3.2. The points are\n"
"(1790,3.929), (1850,23.192), (1910,91.972); populations... | {
"alphanum_fraction": 0.6294492319,
"avg_line_length": 33.7848101266,
"ext": "c",
"hexsha": "9f1d01a1dccc638701844594d66682e12a2eae47",
"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":... |
/* multimin/simplex.c
*
* Copyright (C) 2007 Brian Gough
* Copyright (C) 2002 Tuomo Keskitalo, Ivo Alxneit
*
* 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 Lice... | {
"alphanum_fraction": 0.5971178499,
"avg_line_length": 24.1688034188,
"ext": "c",
"hexsha": "0d05b1b6a9b37147eb851abd2e1092d8dc3da649",
"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... |
// Copyright The Authors 2018.
// Distributed under the 3-Clause BSD License.
// (See accompanying file LICENSE or copy at
// https://opensource.org/licenses/BSD-3-Clause)
#pragma once
#include <cstdint> // for std::uint8_t
#include <gsl/gsl> // for gsl::span<std::uint8_t>
#include <vector> // for ... | {
"alphanum_fraction": 0.7115151515,
"avg_line_length": 30.5555555556,
"ext": "h",
"hexsha": "217e4f6cf6dcb02882a1a3d0eaf9802f5852d858",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-11-27T19:37:05.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-13T17:55:... |
#include <stdio.h>
#include <gsl/gsl_const_mksa.h>
int
main (void)
{
double c = GSL_CONST_MKS_SPEED_OF_LIGHT;
double au = GSL_CONST_MKS_ASTRONOMICAL_UNIT;
double min = GSL_CONST_MKS_MINUTE;
double r_earth = 1.00 * au;
double r_mars = 1.52 * au;
double tmin, tmax;
tmin = (r_mars - r_earth)/c;
tmax ... | {
"alphanum_fraction": 0.6720321932,
"avg_line_length": 20.7083333333,
"ext": "c",
"hexsha": "5c302e9662456efa3df2dddb6959a5eb6257d431",
"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:... |
/* matrix/gsl_matrix_ushort.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the L... | {
"alphanum_fraction": 0.6728784617,
"avg_line_length": 37.3102493075,
"ext": "h",
"hexsha": "300e23b46ece49af649092839db4731d9ec32b09",
"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 <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES3/gl3.h>
#include <GLES3/gl3ext.h>
#include <GLES3/gl3platform.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <gsl/gsl>
namespace android::OpenGLHelpers
{
constexpr GLint GetTextureUnit(GLenum texture)
{
return textu... | {
"alphanum_fraction": 0.7235636969,
"avg_line_length": 36.3939393939,
"ext": "h",
"hexsha": "d97af33bace18bf7df463d0a8a0f92b4b22f05bf",
"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/svd.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, ... | {
"alphanum_fraction": 0.5090480841,
"avg_line_length": 27.6301587302,
"ext": "c",
"hexsha": "32033d860ef7f3c9f699693b40eb43a9cb8a08bb",
"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 <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_odeiv.h>
#include <math.h>
#ifndef CRANESUB
char *fn1="crane1io.dat";
char *fn2="crane2io.dat";
FILE *fp;
#endif//#ifndef CRANESUB
typedef struct{
double g;//gravity
double M;//mass of the car
double m;//mass of the load
double r;//length ... | {
"alphanum_fraction": 0.5547534644,
"avg_line_length": 32.5945378151,
"ext": "c",
"hexsha": "45e470f3d848d9f2e5b0fb974e293ee1a0b15abe",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-12-01T00:54:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-01T00:54:... |
/*
copied from http://www.gnu.org/software/gsl/manual/html_node/Basis-Splines.html
*/
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_bspline.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_sf_erf.h>
void geterf_(double *xanderfx) {
xanderfx[1] =... | {
"alphanum_fraction": 0.6481687014,
"avg_line_length": 25.0277777778,
"ext": "c",
"hexsha": "66ebec0529766415d7f06c19a212b8fceb839f18",
"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":... |
/*
NAME:
calc_splitnmerge
PURPOSE:
calculates the split and merge hierarchy after an proj_EM convergence
CALLING SEQUENCE:
calc_splitnmerge(struct datapoint * data,int N,
struct gaussian * gaussians, int K, gsl_matrix * qij,
int * snmhierarchy){
INPUT:
data - the data
N ... | {
"alphanum_fraction": 0.6641395909,
"avg_line_length": 35.3617021277,
"ext": "c",
"hexsha": "645bcb5889c458081422ba8a18c9d2fc8150c305",
"lang": "C",
"max_forks_count": 26,
"max_forks_repo_forks_event_max_datetime": "2021-12-13T03:37:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-05T22:21... |
/* -*- linux-c -*- */
/* fewbody_ks.c
Copyright (C) 2002-2004 John M. Fregeau
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.5248618785,
"avg_line_length": 22.2706935123,
"ext": "c",
"hexsha": "e7966c3b9a59d0ece0a95983ff3cbe852c717080",
"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":... |
/*
* iaf_cond_alpha_mc.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, or
*... | {
"alphanum_fraction": 0.6764256897,
"avg_line_length": 31.5154639175,
"ext": "h",
"hexsha": "0a2199c257fe19953a8af1a1d3e64fa398f382ff",
"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... |
/*!
\file fasttransforms.h
\brief fasttransforms.h is the main header file for FastTransforms.
*/
#ifndef FASTTRANSFORMS_H
#define FASTTRANSFORMS_H
#include <cblas.h>
#include <fftw3.h>
typedef double ft_complex[2];
#ifdef _OPENMP
#include <omp.h>
#define FT_GET_THREAD_NUM() omp_get_thread_num()
#defin... | {
"alphanum_fraction": 0.7723035615,
"avg_line_length": 60.7353846154,
"ext": "h",
"hexsha": "cf0d6e148be9135f4fa9ec497c817ed98677570d",
"lang": "C",
"max_forks_count": 9,
"max_forks_repo_forks_event_max_datetime": "2022-01-28T21:29:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-11T15:21:... |
/*
** False disovery rate (FDR)
**
** G.Lohmann, Jan 2017
*/
#include <viaio/VImage.h>
#include <viaio/Vlib.h>
#include <viaio/mu.h>
#include <viaio/option.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_errno.h... | {
"alphanum_fraction": 0.6259572753,
"avg_line_length": 22.5545454545,
"ext": "c",
"hexsha": "e833b46491f89ec772a1302af52bf7eac56a5fa6",
"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:... |
// Copyright (c) 2013 Vasili Baranau
// Distributed under the MIT software license
// See the accompanying file License.txt or http://opensource.org/licenses/MIT
#ifndef Generation_PackingGenerators_Headers_BaseConjugateGradientStep_h
#define Generation_PackingGenerators_Headers_BaseConjugateGradientStep_h
#ifdef GSL... | {
"alphanum_fraction": 0.7391147895,
"avg_line_length": 33.8902439024,
"ext": "h",
"hexsha": "e03b6f2fdb7e8e10faec9a0d16f9dd887f9c37de",
"lang": "C",
"max_forks_count": 36,
"max_forks_repo_forks_event_max_datetime": "2022-03-18T12:51:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-14T02:43... |
/**
* author: Jochen K"upper
* created: Jan 2002
* file: pygsl/src/statistics/longmodule.c
* $Id: shortmodule.c,v 1.7 2004/03/24 08:40:45 schnizer Exp $
*
* "
*/
#include <Python.h>
#include <pygsl/error_helpers.h>
#include <pygsl/block_helpers.h>
#include <gsl/gsl_statistics.h>
/* include real functions for... | {
"alphanum_fraction": 0.7033426184,
"avg_line_length": 17.95,
"ext": "c",
"hexsha": "7b61f83a2b6fa4ca06881d14397179fb83bc01ea",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:07.000Z"... |
/* hka chi-square stat estimation
based on original Hudson, Kreitman, Aguade 1987 implementation.
The parameters of the model are calculated by solving the system of equations numerically.
A. D. Kern 6/2005
*/
#include "stdio.h"
#include "stdlib.h"
#include "math.h"
#include "string.h"
#include "hka.h"
#include "c... | {
"alphanum_fraction": 0.6133790085,
"avg_line_length": 30.638483965,
"ext": "c",
"hexsha": "287d019038e5ad5447b7cead421bb7e372991a6d",
"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 <stdint.h>
#include <gbpLib.h>
#include <gbpSort.h>
#include <gbpRNG.h>
#include <gbpMCMC.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_interp.h>
void analyze_MCMC(MCMC_info *MCMC) {
char file... | {
"alphanum_fraction": 0.5346089012,
"avg_line_length": 51.9810298103,
"ext": "c",
"hexsha": "3cdf38caf8da04584422b4fe1710743b7424adf9",
"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:... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Shahriar Rezghi <shahriar25.ss@gmail.com>
* 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 reta... | {
"alphanum_fraction": 0.3453592313,
"avg_line_length": 53.0676691729,
"ext": "h",
"hexsha": "e1e5027c51786dded286ceff030f471f7a545c3e",
"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 TRIANGLES_H_XWPDRVKT
#define TRIANGLES_H_XWPDRVKT
#include <cmath>
#include <gsl/gsl>
#include <iostream>
#include <limits>
#include <sens_loc/math/constants.h>
#include <type_traits>
namespace sens_loc::math {
/// This function calculates the bearing angle between two neighbouring range
/// measurements.
//... | {
"alphanum_fraction": 0.6260242543,
"avg_line_length": 29.9117647059,
"ext": "h",
"hexsha": "2353d4826fd72718ed0f410db1ff9c1d30651589",
"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":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.