Search is not available for this dataset
text string | meta dict |
|---|---|
/* cheb/test.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any... | {
"alphanum_fraction": 0.6049578897,
"avg_line_length": 28.7351598174,
"ext": "c",
"hexsha": "1e1a2906f11faf6412ae9de535413bf2a490388f",
"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 <petsc.h>
#include <petsc/private/petscimpl.h>
#if PETSC_VERSION_LT(3,17,0)
#undef SETERRQ
#define SETERRQ(comm,ierr,...) return PetscError(comm,__LINE__,PETSC_FUNCTION_NAME,__FILE__,ierr,PETSC_ERROR_INITIAL,__VA_ARGS__)
#endif
PETSC_EXTERN PetscErrorCode IGA_Partition(PetscInt,PetscInt,PetscInt,const Petsc... | {
"alphanum_fraction": 0.5582733813,
"avg_line_length": 34.236453202,
"ext": "c",
"hexsha": "053f5488c4c41a2925790cd0e16ec663a3bcebbe",
"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 "rev/Utilities.h"
#include "rev/geometry/Tools.h"
#include <array>
#include <glm/glm.hpp>
#include <gsl/gsl_assert>
#include <iostream>
#include <limits>
#include <set>
#include <unordered_set>
#include <variant>
#include <vector>
namespace rev {
template <typename SurfaceData>
struct Triangle ... | {
"alphanum_fraction": 0.5502468829,
"avg_line_length": 35.9527458493,
"ext": "h",
"hexsha": "b7d1d70a9ead2a0fe18e3804318ab2b14a0bb4d0",
"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 András Vukics 2006–2020. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
/// \briefFile{Random & related}
#ifndef CPPQEDCORE_UTILS_RANDOM_H_REENTRANT
#ifndef CPPQEDCORE_UTILS_RANDOM_H_INCLUDED
#define CPPQEDCORE_UTILS_RANDOM_H_INCLUDED
#include "Pars.h"
#in... | {
"alphanum_fraction": 0.7519429025,
"avg_line_length": 25.8401639344,
"ext": "h",
"hexsha": "6fcfe0db8005d46d6e96069fa4112c60aed2545f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-01-28T18:29:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-25T10:16:... |
/*** Some usefull math macros ***/
#define SIGN(a,b) ((b) >= 0.0 ? fabs(a) : -fabs(a))
static double mnarg1,mnarg2;
#define FMAX(a,b) (mnarg1=(a),mnarg2=(b),(mnarg1) > (mnarg2) ?\
(mnarg1) : (mnarg2))
static double mnarg1,mnarg2;
#define FMIN(a,b) (mnarg1=(a),mnarg2=(b),(mnarg1) < (mnarg2) ?\
(mnarg1) : (mnarg2))
#d... | {
"alphanum_fraction": 0.6358573758,
"avg_line_length": 39.551338766,
"ext": "c",
"hexsha": "8c1d7299ee4945b55692b74e0336a44afd47885f",
"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-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... | {
"alphanum_fraction": 0.6084126189,
"avg_line_length": 39.1568627451,
"ext": "h",
"hexsha": "de1a2e0a56efe0b43e794f82f853657dfd2fac3b",
"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 program evaluates the differential equations for a photon's geodesic in a perturbed spacetime in SPHERICAL coordinates and restricted to RADIAL MOTION with a Runge-Kutta-Fehlberg 45 method.*/
/*This program solves the particular case for flat FRW perturbed spacetime with metric: $g_{ab} = {[g]}_{ab} + h_{ab}$. ... | {
"alphanum_fraction": 0.6630372856,
"avg_line_length": 50.9580645161,
"ext": "c",
"hexsha": "f3a686ad231070dd5be506b7f3493b3082c3abb0",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/**
* Copyright 2016 BitTorrent Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | {
"alphanum_fraction": 0.696879088,
"avg_line_length": 31.2923976608,
"ext": "h",
"hexsha": "304cf324257501f2322ec7f57eadfb325a65a1d6",
"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": ... |
/* integration/gsl_integration.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (a... | {
"alphanum_fraction": 0.6292313244,
"avg_line_length": 35.4347826087,
"ext": "h",
"hexsha": "1e8b38ac4cb3826cc627917637f5a9b101902574",
"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:... |
/* specfunc/test_sincos_pi.c
*
* Copyright (C) 2017 Konrad Griessinger
*
* 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.5888946015,
"avg_line_length": 24.5580808081,
"ext": "c",
"hexsha": "c650903db12129c2bb0f7d5a7c1e6a8a56545f29",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#pragma once
#include <cstring>
#include <string>
#include <sstream>
#include <iomanip>
#include <array>
#include <string_view>
#include <iterator>
#include <random>
#include <memory>
#include <functional>
#include <type_traits>
#include <assert.h>
#include <gsl/span>
#ifdef _WIN32
#include <objbase.h>
#elif defined(... | {
"alphanum_fraction": 0.4908955502,
"avg_line_length": 30.7265446224,
"ext": "h",
"hexsha": "23c82c09c067e2bf151a90c7540ac38a9c1641e3",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-03-23T23:47:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-20T02:42:... |
#pragma once
#include <boost/variant.hpp>
//#include <gsl/span>
#include <gsl/gsl>
#include <boost/system/system_error.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/write.hpp>
namespace mothbus
{
template<class ...T>
using variant = boost::variant<T...>;
template<class T>//, std::ptrdiff_t Extent=gsl:... | {
"alphanum_fraction": 0.7530791789,
"avg_line_length": 27.5,
"ext": "h",
"hexsha": "f34f0930f2ee4b33eaa1b17122bc711112fcbfc9",
"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": "0bd94c2... |
#pragma once
#include <gsl/gsl>
#include "halley/utils/utils.h"
#include "halley/data_structures/vector.h"
#include "halley/file/path.h"
#include "halley/data_structures/maybe.h"
namespace Halley {
class String;
class Path;
class FileSystem
{
public:
static bool exists(const Path& p);
static bool createDir(... | {
"alphanum_fraction": 0.7478991597,
"avg_line_length": 26.8709677419,
"ext": "h",
"hexsha": "f9d8dc6c2dee2aa3f762ac3a8a1ac440940b53db",
"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 _INOUT_APER_H
#define _INOUT_APER_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <gsl/gsl_vector.h>
#include "aXe_grism.h"
#include "aXe_utils.h"
#include "aXe_errors.h"
#include "spc_cfg.h"
#include "spc_trace_functions.h"
#define APER_MAXL... | {
"alphanum_fraction": 0.727216367,
"avg_line_length": 22.095890411,
"ext": "h",
"hexsha": "0dec138306cedb0be5dec3bd65262a25bfe19ef6",
"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) 2017 Michele Segata <msegata@disi.unitn.it>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser 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.7203706265,
"avg_line_length": 30.6398305085,
"ext": "h",
"hexsha": "7d471a1b8658b95ca2a618f1f4d435de9234a108",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:16:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-02-03T15:22... |
/*
Copyright [2017-2021] [IBM Corporation]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | {
"alphanum_fraction": 0.7328298324,
"avg_line_length": 33.3622047244,
"ext": "h",
"hexsha": "0709690f47969b99c824ab37e8e937ab4bbeba0c",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C header for the geometric coefficients entering the response for LIGO-VIRGO detectors.
*
*
*/
#ifndef _LLVGEOMETRY_H
#define _LLVGEOMETRY_H
#define _XOPEN_SOURCE 500
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#else
#defin... | {
"alphanum_fraction": 0.7263982103,
"avg_line_length": 66.2222222222,
"ext": "h",
"hexsha": "603a15f6760a287f3389f34c866f23ce37c291a8",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:... |
/* igraph library headers */
#include <igraph/igraph.h>
/* gsl headers */
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_histogram.h>
#include <gsl/gsl_histogram2d.h>
/*headers for hashing */
#include "uthash.h" /* hash table macros */
#include <stddef.h> /* ... | {
"alphanum_fraction": 0.6085786455,
"avg_line_length": 26.1326341764,
"ext": "c",
"hexsha": "b1245edae049abfb0513e7da0d891f070c9945de",
"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":... |
/*
VEGAS_TABLE Version 1. 5/27/16
report issues to Tim Waters,
waters@lanl.gov
**** Basic code description:
Input: An ascii table with entries
on a uniform grid of (x,y) values
and a (x,y) value for which an
interpolated value is sought
Output: The interpolated value
corresponding to that (x,y) pair
... | {
"alphanum_fraction": 0.601525941,
"avg_line_length": 27.8470254958,
"ext": "h",
"hexsha": "20f20398ada1208dafa8b12d98014be85c92b013",
"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 TAYLORSERIES_H
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <gsl/gsl_block.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <common/refcount.h>
#include "common/jexception.h"
#include <list>
#includ... | {
"alphanum_fraction": 0.7044836957,
"avg_line_length": 23,
"ext": "h",
"hexsha": "b97bf8ad661ff5bb2c951521420ad88708dc5b44",
"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:30.000Z",
... |
/*
* dgl.c -- Loesung einer DGL mit der GNU scientific library
*
* (c) 2016 Prof Dr Andreas Mueller, Hochschule Rapperswil
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_odeiv2.h>
static long evalcounter = 0;
int f(double x, const double y[], double f[], ... | {
"alphanum_fraction": 0.5944148936,
"avg_line_length": 27.3454545455,
"ext": "c",
"hexsha": "c6876c45e060b26bb1449cb65051646d1729ae45",
"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 __MATH_VECTOROPS_INCLUDED
#define __MATH_VECTOROPS_INCLUDED
#include <cmath>
#include <limits>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
<<<<<<< vectorops.h
#include <gsl/gsl_cblas.h>
#include "math/specialfunc.h"
=======
#include <gsl/gsl_blas.h>
#include "specialfunc.h"
>>>>>>> 1.27
#ifndef M_... | {
"alphanum_fraction": 0.6082997118,
"avg_line_length": 25.2915451895,
"ext": "h",
"hexsha": "e31484893d4d9004c4e2ffc6063869de6fabdae0",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-11-27T01:35:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-11-27T01:35:... |
/* This file is part of the KDE project
Copyright (C) 2006 Stefan Nikolaus <stefan.nikolaus@kdemail.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the... | {
"alphanum_fraction": 0.696151924,
"avg_line_length": 22.4831460674,
"ext": "h",
"hexsha": "9898b18d723cad768eda093e82574c2e94ae10ca",
"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 "Cesium3DTiles/BoundingVolume.h"
#include "Cesium3DTiles/Library.h"
#include "Cesium3DTiles/Tile.h"
#include "Cesium3DTiles/TileContext.h"
#include "Cesium3DTiles/TileID.h"
#include "Cesium3DTiles/TileRefine.h"
#include <gsl/span>
#include <spdlog/fwd.h>
#include <cstddef>
#include <memory>
na... | {
"alphanum_fraction": 0.6851820491,
"avg_line_length": 32.0923913043,
"ext": "h",
"hexsha": "215ebd26dfba6d8db39030d49c7eaea2336b7b40",
"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":... |
/* cheb/eval.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any... | {
"alphanum_fraction": 0.5759507584,
"avg_line_length": 21.9758454106,
"ext": "c",
"hexsha": "9d5acda57961ecf493a59c2c0a7811d86c91f970",
"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.6843944099,
"avg_line_length": 39.6307692308,
"ext": "h",
"hexsha": "8a6ddb268a7ee32a374b73b9691cc7e8cb834648",
"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 FILE_PROCESSINGUNIT
#define FILE_PROCESSINGUNIT
#include "../devicedata/memorymanager.h"
#include "timer.h"
#ifndef CPU_ONLY
#include "gpu_handle.h"
#ifdef MAGMA
#include "GpuMagma_queue.h"
#include "magma_v2.h"
#endif
#else
#pragma message("Cpu only mode is activated. Gpu sup... | {
"alphanum_fraction": 0.6896774684,
"avg_line_length": 48.0658135283,
"ext": "h",
"hexsha": "266c7db1d6dc847bb3ab05b2c2b4c4309acdbe14",
"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 <list>
#include <vector>
#include <optional>
#include <memory>
#include <functional>
#include <gsl/gsl-lite.hpp>
#include "UtilMacros.Namespace.h"
#include "util.std_aliases.h"
#include "zstring_view.h"
NAMESPACE_BEGIN( cpp )
using vlr::string;
using vlr::wstring;
using vlr::tstring;
using vl... | {
"alphanum_fraction": 0.7456978967,
"avg_line_length": 15.8484848485,
"ext": "h",
"hexsha": "33e48bd391399197aa1ca96027d0f659a4347f9f",
"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) 2021 FISCO BCOS.
* SPDX-License-Identifier: Apache-2.0
* 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
*
* Unl... | {
"alphanum_fraction": 0.5655316721,
"avg_line_length": 28.2634408602,
"ext": "h",
"hexsha": "18c411a922791d42b4731d958a66f792422c596b",
"lang": "C",
"max_forks_count": 9,
"max_forks_repo_forks_event_max_datetime": "2021-12-06T06:41:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-22T03:47:... |
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <gsl/gsl_ntuple.h>
#include <gsl/gsl_test.h>
#include <gsl/gsl_ieee_utils.h>
struct data
{
int num;
double x;
double y;
double z;
};
int sel_func (void *ntuple_data, void * params);
double val_func (void *ntuple_data, void * params);
int
mai... | {
"alphanum_fraction": 0.5078299776,
"avg_line_length": 21.4131736527,
"ext": "c",
"hexsha": "0827c131c162be8e6bc811797914b0023579faa0",
"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:1... |
#include <math.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
double t_test(const double *data1, int n1, const double *data2, int n2)
{
double mean1, mean2, var1, var2, num, sp, denom, t, dof, p;
mean1 = gsl_stats_mean(data1, 1, n1);
mean2... | {
"alphanum_fraction": 0.5916666667,
"avg_line_length": 32.7272727273,
"ext": "c",
"hexsha": "3b360ddc5e11c2fa16d74e6344068ef0500b6637",
"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":... |
/* siman/test.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Mark Galassi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any ... | {
"alphanum_fraction": 0.6146249212,
"avg_line_length": 29.1963190184,
"ext": "c",
"hexsha": "e7c5e02a440369e1ae07c0849867d5cb4cae8238",
"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:1... |
#ifndef SYNAPSE_H_
#define SYNAPSE_H_
#include "spike_train.h"
#include <gsl/gsl_rng.h>
namespace neurophys {
class DynamicSynapse {
public:
virtual SpikeTrain filter(const SpikeTrain& in) = 0;
};
class FDSynapse: public DynamicSynapse {
public:
static const int STATIC = 0;
static const int DEPRESSING = 1;
stat... | {
"alphanum_fraction": 0.7330981775,
"avg_line_length": 26.1692307692,
"ext": "h",
"hexsha": "46308e04d7644a31b60c292ae8805c28ec59ceed",
"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":... |
static char help[] = "Broker for DYNHELICS\n";
#include <stdio.h>
#include <unistd.h>
#include <helics.h>
#include <petsc.h>
int main(int argc,char **argv)
{
helics_broker broker;
const char* helicsversion;
int isconnected;
char initstring[PETSC_MAX_PATH_LEN];
PetscInt nfederate... | {
"alphanum_fraction": 0.6911764706,
"avg_line_length": 24.3773584906,
"ext": "c",
"hexsha": "d6940b2bc7d1eed59dc92a46f6b8ce3674692668",
"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:... |
/**
*
* @file qwrapper_cgemm.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 Hatem Ltaief
* @author Mathieu Faverge
* @author Jakub Kurzak
* @date 2010-11-15
* @ge... | {
"alphanum_fraction": 0.4855321587,
"avg_line_length": 38.3571428571,
"ext": "c",
"hexsha": "7e43294973da722db6102826aeaba3140a5d5d8f",
"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 TETRA_DOS_ELHAMILTONIAN_H
#define TETRA_DOS_ELHAMILTONIAN_H
#include <gsl/gsl_math.h>
#include <gsl/gsl_sf_trig.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include "environment.h"
void ElHamiltonian_Recip(Environment *env, double k... | {
"alphanum_fraction": 0.7826725404,
"avg_line_length": 27.24,
"ext": "h",
"hexsha": "eeae60fd78a29af10873c7151eae0d22acc02905",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-18T15:11:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-18T15:11:23.000Z"... |
/* rng/ranlux.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
* you... | {
"alphanum_fraction": 0.6558603491,
"avg_line_length": 23.3766816143,
"ext": "c",
"hexsha": "8628579ae543427c73cf0df526bf9ab15a391b79",
"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:... |
#ifndef HYPER_CONST
#define HYPER_CONST
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_blas.h>
class Hyper_Const
{
public :
static const int dim0 = 120; // max_clause
static const int dim1 = 20; // max_var
static const int dim2 = 2; // nc
stat... | {
"alphanum_fraction": 0.6360153257,
"avg_line_length": 31.32,
"ext": "h",
"hexsha": "aad59f792b17b912ae8eeb5ffc9572a1d8831014",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-07-12T16:13:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-01T16:09:28.000Z"... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
/*#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit_nlin.h>*/
#include "ral_nlls.h"
/* define the usertype */
struct usertype {
double y_data[67];
double x_data[67];
};
voi... | {
"alphanum_fraction": 0.6049697356,
"avg_line_length": 24.0536398467,
"ext": "c",
"hexsha": "aff76f638cfff6a4afa5b21496eb6d75825e1661",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-08-23T17:12:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-02T12:24:... |
/* chii - CHIsq test integers belonging to a given contiguous range. C
* not R because a) a second opinion is good and b) I'm too lazy to
* figure out how to make R honor sparse input, where a particular
* bucket might have no values. otherwise, use the "chisq.test" in R or
* the "equichisq" arlet of my r-fu script... | {
"alphanum_fraction": 0.5585960738,
"avg_line_length": 29.8402366864,
"ext": "c",
"hexsha": "ae8732378a621c9699c24abac5090bdf0d82ea36",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-17T09:25:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-01-03T15:58:... |
// 2019-05-16 by Liya Ding
#include <string>
#include <math.h>
#include <gsl/gsl_poly.h>
#include <algorithm>
#include <stdlib.h>
#include <iostream>
//#include "convolver.h"
static double approxZero(double n);
static double opposite(double theta);
static int getTemplateN(int M);
double* getWeights(int M, double sigm... | {
"alphanum_fraction": 0.7457922229,
"avg_line_length": 55.5806451613,
"ext": "h",
"hexsha": "0b36b33f7f3418c411dca805d1cd9a8572a119d3",
"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 __STATS_H__
#define __STATS_H__
#include <stdint.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
#include <gsl/gsl_rstat.h>
typedef uint64_t word;
#define TIMER_STACK 8
enum Timer{MutTimer, Gen0Timer, Gen1T... | {
"alphanum_fraction": 0.6674201752,
"avg_line_length": 26.6090225564,
"ext": "h",
"hexsha": "e04d814d7f906a629701bf7fb91dde7a3c206d72",
"lang": "C",
"max_forks_count": 19,
"max_forks_repo_forks_event_max_datetime": "2021-02-13T21:01:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-05-12T13:25... |
/*This program evaluates the differential equations for a photon's geodesic in Minkowski spacetime.
The equations are written in the form $\frac{d(x or p)^{\alpha}}{d\lambda}=f(x^{\alpha},p^{\alpha})$.
Where $p^{\alpha}={\dot{x}}^{\alpha}$*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_er... | {
"alphanum_fraction": 0.6464837591,
"avg_line_length": 39.6375,
"ext": "c",
"hexsha": "e628338802c6966aff1826a3bdd06744280cc9bc",
"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": "4a74... |
static char help[] = "Solve a 2-variable polynomial optimization problem.\n"
"Implements an objective function and its gradient (the residual). The \n"
"Jacobian (Hessian) is not implemented. Usage is either objective-only\n"
" ./cartoon -snes_[fd|mf] -snes_fd_function\n"
"or with gradient\n"
" ./cartoon -snes_... | {
"alphanum_fraction": 0.6451612903,
"avg_line_length": 37.2,
"ext": "c",
"hexsha": "2fcd0aa4a1f4cf8f47e4c2327473768fc12fe4db",
"lang": "C",
"max_forks_count": 46,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26:58.000Z"... |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* */
/* Linear Algebra Data and Routines File */
/* */
/* Generated by KPP-2.2 symbolic ch... | {
"alphanum_fraction": 0.4348082814,
"avg_line_length": 46.6385542169,
"ext": "c",
"hexsha": "834fa20bc8b6718b139fe68f065637ee8cd30ba0",
"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: diffimage
ALGORITHM DESCRIPTION:
Calculates statistics in each input file
Calculates PSNR between the two input files
Performs an fftMatch between the two input files
Checks for differences in stats, a PSNR that is too low, ... | {
"alphanum_fraction": 0.5832417247,
"avg_line_length": 34.8382978723,
"ext": "c",
"hexsha": "5f0e2cbf3b5b227c67a5d2970ca2b6592e2777db",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:... |
/* dwt_undec.h
* Paul Demorest, 2007/10
*/
#ifndef _DWT_UNDEC_H_
#define _DWT_UNDEC_H_
#include <gsl/gsl_wavelet.h>
#ifdef __cplusplus
extern "C" {
#endif
int dwt_undec_transform(double *in, double *out, size_t n, const gsl_wavelet *w);
int dwt_undec_inverse(double *in, double *out, size_t n, const gsl_wavelet *w);
#... | {
"alphanum_fraction": 0.7514124294,
"avg_line_length": 22.125,
"ext": "h",
"hexsha": "c4ae43b6e164049c3a278481a164c70bb901cc21",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-02-13T20:08:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-02-13T20:08:14.000Z... |
/**
*
* @file core_csetvar.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 Mark Gates
* @date 2010-11-15
* @generated c Tue Jan 7 11:44:49 2014
*
**/
#include <lapacke.h... | {
"alphanum_fraction": 0.5204178538,
"avg_line_length": 25.6829268293,
"ext": "c",
"hexsha": "be849ee98ba23a66a78388726fdeaf20138636e8",
"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":... |
/*****************************************************************\
__
/ /
/ / __ __
/ /______ _______ / / / / ________ __ __
/ ______ \ /_____ \ / / / / / _____ | / / / /
/ / | / _______| / / / / / / /____/ / / / / /
/ / / /... | {
"alphanum_fraction": 0.60236822,
"avg_line_length": 30.6796875,
"ext": "h",
"hexsha": "32529e8d6908379a563faca0ef64b3f4bb0bf981",
"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": "16b... |
/*
ferrers.c
Ferrers bar model.
*/
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#include "utils.h"
#include "potential.h"
#include <gsl/gsl_sf.h>
#include "ferrers.h"
#define Sq(X) ((X) * (X))
double
_lambda(double x_sq, double y_sq, double z_sq, double a_sq, double b_sq, double c_sq)
{
#def... | {
"alphanum_fraction": 0.4810960068,
"avg_line_length": 35.265917603,
"ext": "c",
"hexsha": "41fdda9d420d9453972356e0668add0bef3adeb0",
"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": ... |
/*==================BEGIN ASF DOCUMENTATION==================*/
/*
ABOUT EDITING THIS DOCUMENTATION:
If you wish to edit the documentation for this program, you need to change the
following defines.
*/
#define ASF_NAME_STRING \
"asf_export"
#define ASF_USAGE_STRING \
" "ASF_NAME_STRING" [-format <output_format>] [-... | {
"alphanum_fraction": 0.6148048048,
"avg_line_length": 38.9929742389,
"ext": "c",
"hexsha": "741e84e43cace25509e3e19cd433309d5192387c",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:... |
/* Copyright (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.6896149358,
"avg_line_length": 35.4132231405,
"ext": "c",
"hexsha": "875761b0097b56b6bd6b311a553cf29a027db0ad",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later versio... | {
"alphanum_fraction": 0.6625922023,
"avg_line_length": 28.7575757576,
"ext": "c",
"hexsha": "bb229553ae6cf37364ef585adeae52c8dbdc4380",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:... |
/*
* PIXON
* A Pixon-based method for reconstructing velocity-delay map in reverberation mapping.
*
* Yan-Rong Li, liyanrong@mail.ihep.ac.cn
*
*/
/*!
* \file mathfun.c
* \brief mathematic functions.
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <lapacke.h>
#i... | {
"alphanum_fraction": 0.5244817199,
"avg_line_length": 22.2776315789,
"ext": "c",
"hexsha": "4c5941e10e9d5849f5c5d41c7bba68056b1dc26e",
"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:... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <Eigen/Geometry>
#include <gsl/gsl>
namespace mage
{
inline void ToEuler(const Eigen::Quaternionf& quat, float& xRad, float& yRad, float& zRad)
{
Eigen::Matrix3f eigenMat = quat.toRotationMatrix();
... | {
"alphanum_fraction": 0.6199312715,
"avg_line_length": 27.9807692308,
"ext": "h",
"hexsha": "2e3488fa2d1b01077bcdb8a280d0f8418bb43cb6",
"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... |
//This takes the output of STFT, X, and a transform matrix, T,
//and outputs a T*X or X*T', depending on orientation of X.
//X is either WxF or FxW.
//T must be BxF, as from get_spectrogram_T_mat.
//Y is either WxB or BxW.
#include <stdio.h>
#include <math.h>
#include <cblas.h>
//#include <time.h>
#ifdef __cplusplus
... | {
"alphanum_fraction": 0.5403669725,
"avg_line_length": 35.9340659341,
"ext": "c",
"hexsha": "cd4141f15620bc3474c9ddf8bcb30d59b6e7428e",
"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 "sphere.h"
#include <petsc.h>
#undef __FUNCT__
#define __FUNCT__ "CartesianToSpherical"
PetscErrorCode CartesianToSpherical(Vec xyz, Vec sph)
{
PetscErrorCode ierr;
PetscScalar *xyzPt, *sphPt;
PetscInt size;
PetscReal x, y, z, r, theta, phi;
Pe... | {
"alphanum_fraction": 0.6108735492,
"avg_line_length": 23.3857142857,
"ext": "c",
"hexsha": "479dbfaaf5234ce91d0eeaa974e85e2b57e44888",
"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":... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef VRNA_WITH_GSL
#include <gsl/gsl_multimin.h>
#endif
#include "ViennaRNA/eval.h"
#include "ViennaRNA/fold_vars.h"
#include "ViennaRNA/constraints/hard.h"
#include "Vie... | {
"alphanum_fraction": 0.5231000914,
"avg_line_length": 31.8919382504,
"ext": "c",
"hexsha": "2c612f0415ec2b8c9ac95aa740d19c8d43d043d7",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | {
"alphanum_fraction": 0.7134292566,
"avg_line_length": 30.1445783133,
"ext": "h",
"hexsha": "d8518e77fa7b4abdbcf08b7983013c24806e14ca",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-06-04T04:27:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-06-04T04:27:... |
#ifndef __INC_OPTSTRUCT__
#define __INC_OPTSTRUCT__
#include <gsl/gsl_matrix.h>
/**
* @file optstruct.h
* \brief defines the optstruct which holds all the mundane options and dimensions etc
*/
#define POWEREXPCOVFN 1
#define MATERN32 2
#define MATERN52 3
/**
* \struct optstruct
* \brief holds the main parame... | {
"alphanum_fraction": 0.7130469058,
"avg_line_length": 23.9339622642,
"ext": "h",
"hexsha": "82ffed2366cf437ffe42326d3383a21935a39cc0",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:... |
#pragma once
#include <queue>
#include <vector>
#include <gsl/gsl>
#define EMPTY_NODE '\0'
class minqueue_node {
public:
minqueue_node(char value, unsigned int score);
~minqueue_node();
unsigned int score;
char value;
minqueue_node* left;
minqueue_node* right;
};
struct cmp_minqueue_n... | {
"alphanum_fraction": 0.6589041096,
"avg_line_length": 17.8048780488,
"ext": "h",
"hexsha": "68c6887c45360fe00ad679bd07f0128b94aefa21",
"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 "cosmocalc.h"
#include "weaklens.h"
cosmocalcData cosmoData;
weaklensData wlData;
#include <gsl/gsl_errno.h>
void turn_off_gsl_errs(void) {
gsl_set_error_handler_off();
}
| {
"alphanum_fraction": 0.777173913,
"avg_line_length": 16.7272727273,
"ext": "c",
"hexsha": "7f99f567fa302f3319cb8d0f7f8e8b43e22494b2",
"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... |
//This is a simple example meant to test your capabilities with basic library linking functionality. All you have to do is return the output to modelica.
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
double sf_bessel(double x)
{
double y = gsl_sf_bessel_J0 (x);
return y;
}
//The main function has been prov... | {
"alphanum_fraction": 0.7158878505,
"avg_line_length": 20.5769230769,
"ext": "c",
"hexsha": "69788a540169bba9b4255e8f57e7d4839eb268f7",
"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/bspline.c
*
* Copyright (C) 2006, 2007, 2008, 2009 Patrick Alken
* Copyright (C) 2008 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 Lic... | {
"alphanum_fraction": 0.5937677054,
"avg_line_length": 27.9603960396,
"ext": "c",
"hexsha": "cf19574129d7fc1ee6ca6673fc99ee1637d98f3c",
"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:... |
// The various memcached commands that we support.
#include "commands.h"
#include "connections.h"
#include "locking.h"
#include "protocol.h"
#include "server.h"
#include "threads.h"
#include "utils.h"
#include <assert.h>
#include <gsl/gsl_randist.h>
#include <stdio.h>
#include <stdlib.h>
static const char* default_k... | {
"alphanum_fraction": 0.6000251953,
"avg_line_length": 28.0494699647,
"ext": "c",
"hexsha": "dd7a3091797bec9f9a0eadb1e5c7521bc6983f65",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Lice... | {
"alphanum_fraction": 0.4265335235,
"avg_line_length": 32.6046511628,
"ext": "h",
"hexsha": "1e79cc1a30e0f1b1f61278f76aebc1708994fd92",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-05-31T07:40:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-15T06:14:... |
/* matrix/gsl_matrix_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, ... | {
"alphanum_fraction": 0.6490677497,
"avg_line_length": 33.85625,
"ext": "h",
"hexsha": "1b42b59ef32046427672c1c66ffe41e203cfdc1f",
"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": "587... |
/* roots/newton.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 (at
... | {
"alphanum_fraction": 0.6887573964,
"avg_line_length": 23.691588785,
"ext": "c",
"hexsha": "e2df7a700f0bf57fc5bea8e871aa8bfbccb2ee53",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:5... |
/*
File Name: grad.c
Last Modification Date: 3/9/94 10:03:45
Current Version: grad.c 1.7
%File Creation Date: 26/10/91
Author: Ramesh Gopinath <ramesh@dsp.rice.edu>
Copyright: All software, documentation, and related files in this distribution
are Copyright (c) 1993 Rice University
Permission is gra... | {
"alphanum_fraction": 0.673821642,
"avg_line_length": 30.2274247492,
"ext": "h",
"hexsha": "e5b1b9ce4d8a88d61f30490bc922d4d5ef2123d7",
"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:... |
#include <stdio.h>
#include <gsl/gsl_fit.h>
int
main (void)
{
int i, n = 4;
double x[4] = { 1970, 1980, 1990, 2000 };
double y[4] = { 12, 11, 14, 13 };
double w[4] = { 0.1, 0.2, 0.3, 0.4 };
double c0, c1, cov00, cov01, cov11, chisq;
gsl_fit_wlinear (x, 1, w, 1, y, 1, n,
&c... | {
"alphanum_fraction": 0.4154929577,
"avg_line_length": 24.6956521739,
"ext": "c",
"hexsha": "5c3696971028b093ea6d806deed68fed1089dfc0",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "iterators.h"
#include "macros.h"
#include "type_traits.h"
#include "string.h"
#include "path.h"
#include <cereal/cereal.hpp>
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <gsl/gsl>
#include <iterat... | {
"alphanum_fraction": 0.4726459095,
"avg_line_length": 34.1204301075,
"ext": "h",
"hexsha": "dcd138fe3faa67501296e090fb08203bb6913d66",
"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... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C code headers for the geometric coefficients entering the response for LISA-like detectors.
*
*/
#ifndef _LISAGEOMETRY_H
#define _LISAGEOMETRY_H
#define _XOPEN_SOURCE 500
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#else
#d... | {
"alphanum_fraction": 0.6234689414,
"avg_line_length": 53.3177842566,
"ext": "h",
"hexsha": "149e4a69607facaff56731321ca306f6dfa3265a",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:... |
#pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include "DrawableGameComponent.h"
#include "MatrixHelper.h"
namespace Rendering
{
class AmbientLightingMaterial;
class AmbientLightingDemo final : public Library::DrawableGameComponent
{
public:
AmbientLightingDemo(Librar... | {
"alphanum_fraction": 0.7720970537,
"avg_line_length": 28.1463414634,
"ext": "h",
"hexsha": "d95008d06ea422bdf876f71863d4e808885c7d99",
"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_blas_ddot: test gsl_blas_ddot (vector . vector)
*
* Copyright (c) 2012 Jérémie Decock
*
* Required: GSL library (libgsl0-dev)
* Usage: gcc gsl_blas_ddot.c -lgsl -lgslcblas -lm
* or: gcc gsl_blas_ddot.c $(pkg-config --libs gsl)
*/
#include <stdio.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_vecto... | {
"alphanum_fraction": 0.6426332288,
"avg_line_length": 18.7647058824,
"ext": "c",
"hexsha": "133bbf2a5e2afa441861d821436d94dae070872b",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2022-01-04T15:59:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-31T09:48:... |
#ifndef __DUMMY_H__
#define __DUMMY_H__
#include<stdio.h>
//#define NDEBUG
#include<stdint.h>
#include<omp.h>
#include<float.h>
#include<assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <math.h>
#include<string.h>
#include<dirent.h>
#include<sys/stat.h>
#include<sys/param.... | {
"alphanum_fraction": 0.7880434783,
"avg_line_length": 37.1228070175,
"ext": "h",
"hexsha": "5db466b9fcfdfb379ada71f3ee7469c1b0381b57",
"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 <functional>
#include <gsl/gsl_util>
#include <vector>
struct Executor;
namespace detail {
Executor*& get_current_executor_holder();
}
struct Executor {
using WorkQueue = std::vector<std::function<void()>>;
void add_work(std::function<void()> fn) {
work_.emplace_back(std::move(fn));
... | {
"alphanum_fraction": 0.6351351351,
"avg_line_length": 20.35,
"ext": "h",
"hexsha": "6e17f689b9b78d312ec3dd41a7e7bc0fcf9bbeda",
"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": "d6fad3... |
/* 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.5981824661,
"avg_line_length": 27.5098039216,
"ext": "c",
"hexsha": "1dfac77b736d30a78678934d3e1cfc5e14aec906",
"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":... |
/*
* GSLIntegrator.h
*
* Created on: 6 cze 2020
* Author: tomhof
*/
#ifndef SRC_GSLINTEGRATOR_H_
#define SRC_GSLINTEGRATOR_H_
#include <stdlib.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_monte.h>
#include <gsl/gsl_monte_plain.h>
#include <gsl/gsl_monte_miser.h>
#include <gsl/gsl_monte_vegas.h>
class GS... | {
"alphanum_fraction": 0.7098844673,
"avg_line_length": 21.0540540541,
"ext": "h",
"hexsha": "d24de5aad7309fdd6125da094391f6c7d8a70393",
"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_sf_zeta.h>
#include <cmath>
double real_trigamma_cmplxarg(double x, double y, int m, int l){
//compute the real part of the trigamma function at z = x + iy using
//my accelerated series formula
//argument should have positive real part (x > 0)
//m gives the number of zet... | {
"alphanum_fraction": 0.5357142857,
"avg_line_length": 38.1111111111,
"ext": "h",
"hexsha": "b676ff5973f69a2e2ef80da02a3b644b0127086b",
"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/invtri.c
*
* Copyright (C) 2016, 2017, 2018, 2019 Patrick Alken
*
* This 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 option) any
* later version.
*
* This s... | {
"alphanum_fraction": 0.5645206635,
"avg_line_length": 24.615916955,
"ext": "c",
"hexsha": "e3e5dd300624a102ecead005140a8ff07f941782",
"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... |
/*
* C functions for the NIG marginal distribution.
*
* This file is part of Fieldosophy, a toolkit for random fields.
*
* Copyright (C) 2021 Anders Gunnar Felix Hildeman <fieldosophySPDEC@gmail.com>
*
* This Source Code is subject to the terms of the BSD 3-Clause License.
* If a copy of the license was not distribute... | {
"alphanum_fraction": 0.4943912129,
"avg_line_length": 31.9328358209,
"ext": "c",
"hexsha": "f7f52d63ecf8a94df1cf3be48ab5b41ab6811197",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-01-27T11:49:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-27T11:49:... |
#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 init_MCMC_arrays(MCMC_info *MCMC) {
int i_DS;
MCMC_DS_info *current_DS;
M... | {
"alphanum_fraction": 0.5978028685,
"avg_line_length": 48.9104477612,
"ext": "c",
"hexsha": "c945b627eecb1d325e7e6bd95be4da6b1371a3fe",
"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:... |
/**
* This file is part of yasimSBML (http://www.labri.fr/perso/ghozlane/metaboflux/about/yasimSBML.php)
* Copyright (C) 2010 Amine Ghozlane from LaBRI and University of Bordeaux 1
*
* yasimSBML is free software: you can redistribute it and/or modify
* it under the terms of the Lesser GNU General Public License as... | {
"alphanum_fraction": 0.6659512363,
"avg_line_length": 33.3276108727,
"ext": "c",
"hexsha": "f36531ea27ecc2d93e36923141f6c1124b2e6149",
"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 lpc.h
* @brief Speech recognition front end.
* @author John McDonough, Matthias Woelfel, Kenichi Kumatani
*/
#include <gsl/gsl_vector.h>
#include "feature/feature.h"
#ifndef LPC_H
#define LPC_H
// ----- definition for class `BaseFeature' -----
//
class BaseFeature {
protected:
BaseFeature(unsigned ... | {
"alphanum_fraction": 0.6632468316,
"avg_line_length": 28.4871060172,
"ext": "h",
"hexsha": "011351d3c0a4647ad8324a1375819b4b7f572e7a",
"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... |
#include <gsl/gsl_rng.h>
#include "gsl-sprng.h"
#include <gsl/gsl_randist.h>
#include <mpi.h>
int main(int argc,char *argv[])
{
int k,i,iters; double x,can,a,alpha; gsl_rng *r;
FILE *s; char filename[15];
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD,&k);
if ((argc != 3)) {
if (k == 0)
fprint... | {
"alphanum_fraction": 0.6217882837,
"avg_line_length": 27.0277777778,
"ext": "c",
"hexsha": "b566f70135c7fc522b7e3602ea93d656bb043bd5",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-01-15T12:22:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-15T12:22:... |
#include <pthread.h>
#include <math.h>
#include <fftw.h>
#include <stdio.h>
//C -> Very ugly code
//DEFINITION OF COMPLEX NUMBERS
typedef struct {
double re, im;
} mycom;
//DEFINITION OF DATA ARRAY NEEDED FOR THE TRANSFORMATION (small space)
typedef struct {
double* m;
double* vi;
double* vo;
int* nrop;... | {
"alphanum_fraction": 0.5655594406,
"avg_line_length": 25.0054644809,
"ext": "c",
"hexsha": "29b08ed6a267f0b14e5aa8ae8a06e3fce5a0bf7b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above cop... | {
"alphanum_fraction": 0.6676581936,
"avg_line_length": 33.6181818182,
"ext": "c",
"hexsha": "82c1e3441c65854122053e4b31a0071cdee785ec",
"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":... |
/*
* knnring_sequential.c
*
* Created on: Nov 21, 2019
* Author: Lambis
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cblas.h>
#include "knnring.h"
knnresult kNN(double * X, double * Y, int n, int m, int d, int k) {
knnresult knn;
// Allocating memory for... | {
"alphanum_fraction": 0.5763057325,
"avg_line_length": 28.2374100719,
"ext": "c",
"hexsha": "19dc26f3d62f733355dc4357da647be1f0684a23",
"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":... |
/* specfunc/elljac.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 3 of the License, or (at
* your optio... | {
"alphanum_fraction": 0.5334302326,
"avg_line_length": 26.6666666667,
"ext": "c",
"hexsha": "340306e485d506799c8772c8fc910e176400e22f",
"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... |
#ifndef L_Katyusha_H
#define L_Katyusha_H
#include <string>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <stdio.h> /* printf */
#include <time.h>
#include <fstream>
#include <algorithm>
#include <iomanip>
#include <ctime>
#include <sstream>
#include <math.h>
//This class implements the loople... | {
"alphanum_fraction": 0.576844071,
"avg_line_length": 21.5927419355,
"ext": "h",
"hexsha": "ca5a0ba212632b796cf86577a7cc9e71a989aef7",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:2... |
/* -*- linux-c -*- */
/* triple.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) any l... | {
"alphanum_fraction": 0.624734879,
"avg_line_length": 33.5945945946,
"ext": "c",
"hexsha": "121c82a7c67101757b39ce356a314ad15261a818",
"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) 2015, Patrick Weltevrede
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow... | {
"alphanum_fraction": 0.6713558007,
"avg_line_length": 41.8390966831,
"ext": "c",
"hexsha": "a1cb26e03ae91facc7a33aad8b259c1335cd1f83",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-06-16T15:24:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-09T09:04:... |
#include <stdio.h>
#include <gsl/gsl_matrix.h>
int
main (void)
{
int i, j, k = 0;
gsl_matrix * m = gsl_matrix_alloc (100, 100);
gsl_matrix * a = gsl_matrix_alloc (100, 100);
for (i = 0; i < 100; i++)
for (j = 0; j < 100; j++)
gsl_matrix_set (m, i, j, 0.23 + i + j);
{
FILE * f = fopen ("... | {
"alphanum_fraction": 0.4969097651,
"avg_line_length": 19.7317073171,
"ext": "c",
"hexsha": "b05ffbd03f899d3987655987815d8dbea9eeee45",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
static char help[] = "Load a collection of PETSc vectors and stack them into a tall-skinny matrix\n\n";
#include <petsc.h>
#include <petscvec.h>
#include <petscmat.h>
/* Mesh size (129, 33, 257) <xdmf reverse order>, so ni = 257, nk = 129 */
PetscErrorCode SnapshotView(Vec u,const char suffix[])
{
const PetscInt M... | {
"alphanum_fraction": 0.6828417841,
"avg_line_length": 36.0366492147,
"ext": "c",
"hexsha": "b25c60e8f8c818916ce58b005275fad3cc03ab57",
"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 SAMPLER_H
#define SAMPLER_H
#include <gsl/gsl_rng.h>
#include <stdlib.h>
typedef struct sampler {
gsl_rng *internal_rng_state;
unsigned long int seed;
double (*generate)(void *samplerp);
} Sampler;
Sampler *new_sampler(unsigned long int seed);
void free_sampler(Sampler *p);
double generate_method(void... | {
"alphanum_fraction": 0.7565982405,
"avg_line_length": 17.9473684211,
"ext": "h",
"hexsha": "b326c2635d84303da7d3b56ba5930d8c79b46753",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-02-08T18:18:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-08T18:18:... |
/* specfunc/gsl_sf_gamma.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your... | {
"alphanum_fraction": 0.693598348,
"avg_line_length": 26.3537414966,
"ext": "h",
"hexsha": "a06b74edd456d2220d8614fd20fdacb58890a997",
"lang": "C",
"max_forks_count": 30,
"max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12:... |
/**
*
* @file core_blas.h
*
* PLASMA auxiliary 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 Jakub Kurzak
* @author Hatem Ltaief
* @date 2010-11-15
*
**/
#ifndef _PLASMA_CORE_BLAS_H_
#defin... | {
"alphanum_fraction": 0.6300734441,
"avg_line_length": 28.1195652174,
"ext": "h",
"hexsha": "6f77a2f95250ba83cb99cbf02ecfb08df090898e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Licensed under the Apache License, Version 2.0 (the 'License');
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed... | {
"alphanum_fraction": 0.6512483836,
"avg_line_length": 30.556231003,
"ext": "h",
"hexsha": "eacb75b2f49154d3127f826748c81713c3824ac3",
"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 <assert.h>
#include <gsl/gsl_nan.h>
#include "csm_all.h"
int minmax(int from, int to, int x) {
return GSL_MAX(GSL_MIN(x,to),from);
}
void possible_interval(
const double *p_i_w, LDP ld,
double max_angular_correction_deg, double max_linear_correction, int*from, int*to, int*start_cell)
{
double angle_re... | {
"alphanum_fraction": 0.6403718834,
"avg_line_length": 25.2633451957,
"ext": "c",
"hexsha": "275aabf2e00d4e4951cd4d13855f07b72f0ae3b9",
"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 "cell.h"
#include <boost/mp11/algorithm.hpp>
#include <array>
#include <gsl/span>
#include <type_traits>
#include <tuple>
using ColumnId = CellId;
template <typename T>
constexpr ColumnId GetColumnId() {
return CellMetaT<T>().id;
}
template <typename T>
constexpr auto storage_required_v = ... | {
"alphanum_fraction": 0.6242905789,
"avg_line_length": 27.1076923077,
"ext": "h",
"hexsha": "8dc8c1f5a66570e004f2c49803a6d5069d2c77f7",
"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.