Search is not available for this dataset
text string | meta dict |
|---|---|
/* specfunc/bessel_Jn.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 op... | {
"alphanum_fraction": 0.5817212791,
"avg_line_length": 25.33,
"ext": "c",
"hexsha": "3d5c9581566427aa2aa277597e8ad9b4c440ae33",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47:52.000Z... |
#include "../EngineTest.h"
#include <Catch2>
#include <gsl/gsl_math.h>
TEST_CASE("kurtosis Function Evaluation Tests", "[kurtosis]") {
// SECTION("Empty Test"){
// requireIsEqual("kurtosis()", "Insufficient Number of Arguments for Function: kurtosis");
// }
SECTION("`kurtosis` Test 1"){
... | {
"alphanum_fraction": 0.5543551654,
"avg_line_length": 26.9272727273,
"ext": "h",
"hexsha": "6c88708943224b103dc6cd3199bac0c3b3c623cc",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/**
*
* @file qwrapper_sgemm.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.4330254953,
"avg_line_length": 34.8049450549,
"ext": "c",
"hexsha": "f9fe5e9f635baf06f6d20d89d8a1544d321debeb",
"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.6525587602,
"avg_line_length": 46.2430730479,
"ext": "c",
"hexsha": "e9b2fa25a05b1083c2d649bf7e63b97b95b48e83",
"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":... |
/*************************************************************************
description:
This file contains the class that can do the actual radiative transport,
including routines for grid calculation, physics and the actual transport
Copyright Jan-Pieter Paardekooper and Chael Kruip October 2011
This file is part ... | {
"alphanum_fraction": 0.6711671024,
"avg_line_length": 38.3151183971,
"ext": "h",
"hexsha": "97cba342ca031f998462c166ae25bcf6b40b29b2",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41:... |
#include <stdio.h>
#include <gsl/gsl_blas.h>
int main()
{
double a[] = { 0.11, 0.12, 0.13,
0.21, 0.22, 0.23 };
double b[] = { 1011, 1012,
1021, 1022,
1031, 1032 };
double c[] = { 0.00, 0.00,
0.00, 0.00 };
gsl_matrix_view A = gsl_matrix_view_... | {
"alphanum_fraction": 0.4861407249,
"avg_line_length": 24.0512820513,
"ext": "c",
"hexsha": "58ff15383212cedf0ce62763b73c3ad0e1fa7b83",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-02-25T06:53:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-04-21T08:25:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include <builtin_types.h>
#include "intT.h"
#include <fenv.h>
#include <signal.h>
//electron mass squared
double m2 = 1.0;
//electron charge
double e = 0.30282212;
//double m2=1.0;
//double e=1... | {
"alphanum_fraction": 0.5912857276,
"avg_line_length": 26.1975609756,
"ext": "c",
"hexsha": "a4e2a0b0e5fac134a1eb53df5be4acec9da03243",
"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 CTETRA_NUMSTATES_H
#define CTETRA_NUMSTATES_H
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_vector.h>
#include "input.h"
#include "submesh.h"
#include "ecache.h"
#include "tetra.h"
double NumStates(double E, EnergyCache *Ecache);
double NumStatesContrib(double E, double E1, double E2, double E3, do... | {
"alphanum_fraction": 0.7619047619,
"avg_line_length": 22.2352941176,
"ext": "h",
"hexsha": "f58841333521df7d463a6f7a2a8f178882fed210",
"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 OPENMC_TALLIES_FILTER_ENERGY_H
#define OPENMC_TALLIES_FILTER_ENERGY_H
#include <gsl/gsl>
#include "openmc/tallies/filter.h"
#include "openmc/vector.h"
namespace openmc {
//==============================================================================
//! Bins the incident neutron energy.
//=================... | {
"alphanum_fraction": 0.5074300699,
"avg_line_length": 30.1052631579,
"ext": "h",
"hexsha": "c820f28fb4b9632044ffbb187293867002049a44",
"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
///
/// @author Angelika Schwarz (angies@cs.umu.se), Umeå University
/// @author Mirko Myllykoski (mirkom@cs.umu.se), Umeå University
///
/// @internal LICENSE
///
/// Copyright (c) 2019-2020, Umeå Universitet
///
/// Redistribution and use in source and binary forms, with or without
/// modification, are... | {
"alphanum_fraction": 0.591299772,
"avg_line_length": 31.8491620112,
"ext": "c",
"hexsha": "df42b5f13a8d5456f1b294564150b8a90011c8d6",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-04-14T09:41:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-30T12:14:1... |
/*****************************************************************\
__
/ /
/ / __ __
/ /______ _______ / / / / ________ __ __
/ ______ \ /_____ \ / / / / / _____ | / / / /
/ / | / _______| / / / / / / /____/ / / / / /
/ / / /... | {
"alphanum_fraction": 0.6475061903,
"avg_line_length": 29.9153439153,
"ext": "h",
"hexsha": "4e299ec984f5c7c085a768d9a3c1db96eabf7fe8",
"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":... |
/**
* Last modified: Tue Aug 30 16:29:05 CST 2016
* @author: Lie Yan
* @email: robin.lie.yan@outlook.com
*
*/
#pragma once
#include <gsl.h>
#include <iostream>
namespace grund {
template<int TypeTag, typename ValueType>
class Unit {
public:
using intrinsic_type = ValueType;
Unit() = default;
Unit(const ... | {
"alphanum_fraction": 0.6446067899,
"avg_line_length": 21.9528301887,
"ext": "h",
"hexsha": "a0076d67d7127a8787bb635f3cf0be11ff742b2e",
"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":... |
/* population genetics tools- mainly for working with site frequency spectrum
/
/
/ Andrew Kern
*/
#include "stdio.h"
#include "math.h"
#include "popGenTools.h"
#include "numerical.h"
#include "assert.h"
#include <gsl/gsl_randist.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_roots.h>
#include... | {
"alphanum_fraction": 0.6796950499,
"avg_line_length": 27.5328898744,
"ext": "c",
"hexsha": "71b0bcff1d74893f69ca40a52abebccddb298536",
"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/balance.c
*
* Copyright (C) 2001 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
*... | {
"alphanum_fraction": 0.5921259843,
"avg_line_length": 22.4117647059,
"ext": "c",
"hexsha": "3257095cf06b92af32692b1657c232c0580162c7",
"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:... |
/*
+---------------------------------------------------------------------------+
| Juzhen: C++ library for linear algebra |
+---------------------------------------------------------------------------+
| |
| Co... | {
"alphanum_fraction": 0.4955537591,
"avg_line_length": 31.9913793103,
"ext": "h",
"hexsha": "98c5e45fc66c5717f61cab36f3957ef38336f9cd",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-01-30T20:18:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-07T10:42:... |
#include <nlopt.h>
#include <stdio.h>
#include <math.h>
/****************************************************************************/
/* test function from M. J. Box, "A new method of constrained optimization
and a comparison with other methods," Computer J. 8 (1), 42-52 (1965) */
int testfuncs_verbose = 1;
int ... | {
"alphanum_fraction": 0.4609090909,
"avg_line_length": 38.4615384615,
"ext": "c",
"hexsha": "3f92320779b872b96d1e78b3fff9ad534f4be5c6",
"lang": "C",
"max_forks_count": 1126,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T16:43:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-04T11:... |
/*********************************************************************************/
/* Matrix product program with MPI on a virtual ring of processors */
/* S. Vialle - October 2014 */
/****************************************************************... | {
"alphanum_fraction": 0.4503116978,
"avg_line_length": 37.3561643836,
"ext": "c",
"hexsha": "5db53b6d78e359cf5694e41b78470772757d6304",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_blas.h>
static int
hilbert_matrix(gsl_matrix * m)
{
const size_t N = m->size1;
const size_t M = m->size2;
size_t i, j;
for (i = 0; i < N; i++)
{
for (j = 0; j < M; j++)
... | {
"alphanum_fraction": 0.5902417962,
"avg_line_length": 32.3916083916,
"ext": "c",
"hexsha": "8f448d67371fb546e42c058ec245f37ff9ced79e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#include <config.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_fft_complex.h>
#include <gsl/gsl_fft_complex_float.h>
#define BASE_DOUBLE
#include "templates_on.h"
#include "bitreverse.c"
#include "templates_o... | {
"alphanum_fraction": 0.7552588997,
"avg_line_length": 20.9491525424,
"ext": "c",
"hexsha": "9aa0da77b10e56473f5de226b97a573aae771eaa",
"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 L_1_LASSO_D_H
#define L_1_LASSO_D_H
#include "Matrix.h"
#include "APPROX2.h"
#include "ALM_APG.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 ... | {
"alphanum_fraction": 0.5891375409,
"avg_line_length": 21.6141304348,
"ext": "h",
"hexsha": "a2f7abe7a11cabc2709039cf1e6035a959b897fc",
"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:... |
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <signal.h>
#include <gsl/gsl_rng.h>
#include "allvars.h"
#include "proto.h"
#define TAG_DATAIN 100
#define TAG_DATAOUT 101
static void serial_s... | {
"alphanum_fraction": 0.5816367265,
"avg_line_length": 22.466367713,
"ext": "c",
"hexsha": "803686b65732557e9d72421082dd295454c36c83",
"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": ... |
/* Initialize topic and POV assignments uniformly at random, and set
various hyper-parameters needed for inference. Assignments must be
initialized before doing inference for the first time. */
#include <assert.h>
#include <gsl/gsl_rng.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "index.... | {
"alphanum_fraction": 0.7085324232,
"avg_line_length": 28.7254901961,
"ext": "c",
"hexsha": "afbe147ebf1d0f72378278986f5d6f5c9de164fc",
"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":... |
/*
* GaussianMixtureModel.h
* Provides implementation of Gaussian Mixture Model return type.
*
Copyright 2017 Michal Gallus
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
h... | {
"alphanum_fraction": 0.6636125654,
"avg_line_length": 30.56,
"ext": "h",
"hexsha": "7ef2eedcb322dcfd6ce0888377f4ac60517c3a03",
"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": "e5e4a6... |
#ifndef FIT_GSL_H
#define FIT_GSL_H
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
class Fit;
//! Structure for fitting data
struct FitData {
size_t n;// number of points to be fitted (size of X, Y and sigma arrays)
size_t p;// number of fit parameters
double * X;// the data to be fitted (abscissae) ... | {
"alphanum_fraction": 0.7252208047,
"avg_line_length": 47.0307692308,
"ext": "h",
"hexsha": "9d3b4d22a10251a0899bae7ce687812b26326f21",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-12-06T12:16:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-25T15:50:... |
/*
** 1st level statistical inference using LISA
** GLM (general linear modeling) using precoloring
**
** G.Lohmann, MPI-KYB, 2018
*/
#include <viaio/Vlib.h>
#include <viaio/VImage.h>
#include <viaio/mu.h>
#include <viaio/option.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include ... | {
"alphanum_fraction": 0.6660280971,
"avg_line_length": 22.6956521739,
"ext": "c",
"hexsha": "b478e8befafca063c9eb16bc1a13ae778709aa9b",
"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:... |
#ifndef STRUCTS_H
#define STRUCTS_H
#include <gsl/gsl_randist.h>
#include <stdint.h>
#define N_FEATURES 32
#define BOARD_WIDTH 10
#define BOARD_HEIGHT 20
struct genotype {
float * feature_weights;
int * feature_enabled;
};
struct phenotype {
int fitness;
int has_fitness;
struct genotype* genoty... | {
"alphanum_fraction": 0.6899038462,
"avg_line_length": 16.9795918367,
"ext": "h",
"hexsha": "81027ba8c9544d1c8d5779b7628877234ec8886c",
"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 __HCORE__
#define __HCORE__
#ifdef MKL
#include <mkl.h>
#include <mkl_lapack.h>
//#pragma message("MKL is used")
#else
#ifdef ARMPL
#include <armpl.h>
#else
#include <cblas.h>
#endif
#ifdef LAPACKE_UTILS
#include <lapacke_utils.h>
#endif
#include <lapacke.h>
//#pragma message("M... | {
"alphanum_fraction": 0.6264367816,
"avg_line_length": 18.9130434783,
"ext": "h",
"hexsha": "ea4033365ed26f9f3f6740bc8402c85f77855df9",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-03-01T14:44:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-01T14:44:... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#define COMPEARTH_PRIVATE_DET3X3 1
#define COMPEARTH_PRIVATE_CROSS3 1
#define COMPEARTH_PRIVATE_NORM3 1
#define COMPEARTH_PRIVATE_GEM3 1
#define COMPEARTH_PRIVATE_GEMT3 1
#include "compearth.h"
#ifdef COMPEARTH_USE_MKL
#ifde... | {
"alphanum_fraction": 0.5101207688,
"avg_line_length": 33.5942857143,
"ext": "c",
"hexsha": "184e22a232b6a8a23ab9768b171b66a56cf9acf0",
"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:... |
/* ieee-utils/make_rep.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your opti... | {
"alphanum_fraction": 0.585198316,
"avg_line_length": 22.7929292929,
"ext": "c",
"hexsha": "59bf861243bec0fb5f8608cc489f9910ebfe60ca",
"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:... |
/*
** centrality maps using spectral coherence
**
** get cross-periodogram via multiplication of FFTs
**
** Ref: T. Subba Rao,
** On the Cross Periodogram of a Stationary Gaussian Vector Process,
** The Annals of Mathematical Statistics, Vol. 38, No. 2 (Apr., 1967),
** pp. 593-597. (2239172.pdf)
**
** Implementation ... | {
"alphanum_fraction": 0.5814501288,
"avg_line_length": 24.0442477876,
"ext": "c",
"hexsha": "0e4a6d0dea077dcff91ee782914aa14f17207c7c",
"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:... |
#pragma once
#include <mylibs/container.hpp> // pl::Vector
#include <initializer_list> // std::initializer_list
#include "FoodImpl.h" // fa::FoodWithAmount
#include "NoteImpl.h" // fa::NoteImpl
#include "PlanEntry.h" // fa::PlanEntryDynamicDelegator
#include "Date.h" // fa::Date
#include "GlobalHeader.h" // fa::... | {
"alphanum_fraction": 0.6365178067,
"avg_line_length": 42.119047619,
"ext": "h",
"hexsha": "0aa8c4ef17c2037beccc95b902e40bcf7723bdcd",
"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 gets polynomial coeffs for each row/col of X using the Burg method.
//An opt mean0 is added to zero the mean of each row/col of X first.
//In this case, this is mean0 -> autocov_fft -> sig2ar_burg.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#ifdef __cplusplus
namespace codee {... | {
"alphanum_fraction": 0.4026666667,
"avg_line_length": 39.9408284024,
"ext": "c",
"hexsha": "15ea179538e0bec94f453f07d1c3fff860a9c23e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-10-05T13:50:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-10-05T13:50:... |
#include <cblas.h>
#include <stdio.h>
#include <assert.h>
/*
* y = alpha*A*x + beta*y,
* where alpha and beta are scalars, x and y are vectors and A is an
* m by n matrix.
*/
void cblas_dgemv(const enum CBLAS_ORDER order,
const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
... | {
"alphanum_fraction": 0.5856515373,
"avg_line_length": 25.2962962963,
"ext": "c",
"hexsha": "cb773e4694758e9a16daa9feb5bd7ed3fa410af4",
"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 OPENMC_TALLIES_FILTER_COLLISIONS_H
#define OPENMC_TALLIES_FILTER_COLLISIONS_H
#include <vector>
#include <unordered_map>
#include <gsl/gsl>
#include "openmc/tallies/filter.h"
namespace openmc {
//==============================================================================
//! Bins the incident neutron ene... | {
"alphanum_fraction": 0.4938608458,
"avg_line_length": 26.6545454545,
"ext": "h",
"hexsha": "45e6d940546529b513cbce55b37e52221c273a2a",
"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":... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2018 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | {
"alphanum_fraction": 0.6883217324,
"avg_line_length": 34.0263157895,
"ext": "h",
"hexsha": "b87926b177e497f8ffc9937bf0e219d315dc4cc2",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-06T09:20:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-10-11T14:00:... |
// This matrix class is a C++ wrapper for the GNU Scientific Library
// Copyright (C) ULP-IPB Strasbourg
// 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.7337768778,
"avg_line_length": 51.5970149254,
"ext": "h",
"hexsha": "6858c596f0b71945fad8b23b07a5b328e29a5041",
"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:... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#if SEAL_COMPILER == SEAL_COMPILER_GCC
// We require GCC >= 6
#if (__GNUC__ < 6) || not defined(__cplusplus)
#pragma GCC error "SEAL requires __GNUC__ >= 6"
#endif
// Read in config.h
#include "seal/util/con... | {
"alphanum_fraction": 0.5799752015,
"avg_line_length": 39.3414634146,
"ext": "h",
"hexsha": "c41873770f49f7735f0c31a8a3032a97d02001df",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-09T08:38:44.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-09T08:38:... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Inspired by Chromium video capture interface
// Simplified and stripped from internal base code
#ifndef S3D_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DECKLINK_H
#define S3D_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_DECKLINK_H
#include <s3d/video/capture/video_capture_... | {
"alphanum_fraction": 0.7670454545,
"avg_line_length": 29.9574468085,
"ext": "h",
"hexsha": "84081849e7b785cd0d3a88ccdf70f22bab5cec45",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-05-18T16:22:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-13T21:51:... |
/* linalg/test_ql.c
*
* Copyright (C) 2019 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
... | {
"alphanum_fraction": 0.6529133858,
"avg_line_length": 30.5288461538,
"ext": "c",
"hexsha": "cab793e87f601aacafe7383abdc30209d390c547",
"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:... |
//cmc_stateSpace.c --
// this program creates and outputs a coalescent markov chain's complete state space
// given a particular model
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include "AFS.h"
int n1, n2;
void getParameters(int argc,const char **argv);... | {
"alphanum_fraction": 0.6659850034,
"avg_line_length": 19.56,
"ext": "c",
"hexsha": "998eb74ac2993b89ce5557f8368c90e05afcab40",
"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": "e1643d... |
/*
Excited States software: KGS
Contributors: See CONTRIBUTORS.txt
Contact: kgs-contact@simtk.org
Copyright (C) 2009-2017 Stanford University
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software with... | {
"alphanum_fraction": 0.7447435246,
"avg_line_length": 49.225,
"ext": "h",
"hexsha": "32e36b11ee5a7a586dca6e4d74edac69d18a8ad8",
"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": "117c4... |
/* Copyright 2017. The Regents of the University of California.
* Copyright 2016. Martin Uecker.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*
* Authors:
* 2016 Martin Uecker <martin.uecker@med.uni-goettingen.de>
* 2017 Jon Tamir <jt... | {
"alphanum_fraction": 0.6373713381,
"avg_line_length": 24.7647058824,
"ext": "c",
"hexsha": "04e864f99e17d77f46e450e563b4ee6e8fe6cd19",
"lang": "C",
"max_forks_count": 153,
"max_forks_repo_forks_event_max_datetime": "2022-03-28T07:03:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-25T02:3... |
#include "ccv.h"
#include "ccv_internal.h"
#include <sys/time.h>
#ifdef HAVE_GSL
#include <gsl/gsl_rng.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_randist.h>
#endif
#ifdef USE_OPENMP
#include <omp.h>
#endif
#ifdef HAVE_LIBLINEAR
#include <linear.h>
#endif
const ccv_dpm_param_t ccv_dpm_default_params = {
.inter... | {
"alphanum_fraction": 0.6445675348,
"avg_line_length": 39.4993652137,
"ext": "c",
"hexsha": "33aac11bb7e2029ce73fb6ee038494b9512a3d86",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* poly.c - Polynomial (de)compression routines
*
* Copyright (c) 2015 Maurizio Tomasi
*
* 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 limita... | {
"alphanum_fraction": 0.6414807109,
"avg_line_length": 31.79790238,
"ext": "c",
"hexsha": "f0f526dd28f3d39f7bf6bb79a5cb454407ebc67c",
"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 FUNCTIONS_H
#define FUNCTIONS_H
#include <point2d.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_multimin.h>
#include <QVector>
#define PI 3.1415926535
#define R2 33000
#define PARAM_COUNT 6
struct param_struct {
QVector<Point2D> *data;
int resi;
int aresi;
double f_min;
double f_max;
... | {
"alphanum_fraction": 0.6952380952,
"avg_line_length": 21,
"ext": "h",
"hexsha": "5191a89e72257d39143d4cabe97faa431bf1fd3e",
"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": "e08dd73e8... |
#pragma once
#ifndef __GREEK_LETTERS_H__
#define __GREEK_LETTERS_H__
#include <cstring>
#include <string>
#include <gsl/gsl_math.h>
#include "../../Utils/BinarySearch.h"
constexpr const int numGreekLetters = 49;
constexpr const char* greekLetterNames[numGreekLetters] = {
"Alpha", "Beta", "Chi", "Delta", "Epsilon"... | {
"alphanum_fraction": 0.6384471469,
"avg_line_length": 36.8620689655,
"ext": "h",
"hexsha": "1717bfe0670ab81ace43f2fd2a39ef934f027738",
"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) 2020 Felix Kutzner (github.com/fkutzner)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | {
"alphanum_fraction": 0.7283448556,
"avg_line_length": 30.3580246914,
"ext": "h",
"hexsha": "600be576742e1351c1c5055856fbfb9e060af7d9",
"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 "ShaderCompiler.h"
#include <gsl/gsl>
#include <spirv_cross.hpp>
#include <spirv_parser.hpp>
#include <unordered_map>
#include <string>
namespace Babylon::ShaderCompilerCommon
{
template<typename AppendageT>
inline void AppendBytes(std::vector<uint8_t>& bytes, const AppendageT appendage... | {
"alphanum_fraction": 0.6621230896,
"avg_line_length": 34.0985915493,
"ext": "h",
"hexsha": "1242354a995c9c9f4140e42e5b91aee9d5359a56",
"lang": "C",
"max_forks_count": 114,
"max_forks_repo_forks_event_max_datetime": "2022-03-11T21:13:27.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-10T18:0... |
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "allvars.h"
#include "proto.h"
#include "domain.h"
#include <gsl/gsl_heapsort.h>
static struct peano_hilbert_data
{
peanokey key;
int index;
}
*mp;
static int *Id;
void peano_hilbert_order(void)
{
int i... | {
"alphanum_fraction": 0.474176527,
"avg_line_length": 21.6401384083,
"ext": "c",
"hexsha": "903be2b2dc2dcb4b97a382d7ed7dc510b1ae554c",
"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/lognormal.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.6358441558,
"avg_line_length": 27.1126760563,
"ext": "c",
"hexsha": "2dc215ae96c729144138383aba6c27510ef56436",
"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) 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.5146386093,
"avg_line_length": 32.9547738693,
"ext": "c",
"hexsha": "e951bc25eb5ba2111c94df4baa6e46ed895b9765",
"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) 2008 by Regis Behmo,,, *
* regis.behmo@ecp.fr *
* *
* This program is free software; you can redistribute it and/or modify *
* it under t... | {
"alphanum_fraction": 0.5537677234,
"avg_line_length": 30.033492823,
"ext": "h",
"hexsha": "f148348df34e5c2f2be8e9d2144330627aa35de4",
"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 2017 NVIDIA 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 ... | {
"alphanum_fraction": 0.5608438384,
"avg_line_length": 31.6016260163,
"ext": "h",
"hexsha": "86bb75b5bf349e13d171a8926fee898a36b092a7",
"lang": "C",
"max_forks_count": 22,
"max_forks_repo_forks_event_max_datetime": "2021-05-08T13:45:44.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-04-23T20:20... |
/*
ODE: a program to get optime Runge-Kutta and multi-steps methods.
Copyright 2011-2019, Javier Burguete Tolosa.
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.6281577326,
"avg_line_length": 27.5084745763,
"ext": "c",
"hexsha": "94e2fc5d13dbc0950cb3267527be911308039fe8",
"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":... |
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
/*
* Copyright (C) 2009 RobotCub Consortium
* Author: Alessandro Scalzo alessandro.scalzo@iit.it
* CopyPolicy: Released under the terms of the GNU GPL v2.0.
*
*/
#include <gsl/gsl_math.h>
#include <memory.h>
#include <stdio.h>
#ifndef __A... | {
"alphanum_fraction": 0.5049687155,
"avg_line_length": 26.7027027027,
"ext": "h",
"hexsha": "167fef0bd8dd71d1e3a82060986eff521aa71e28",
"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 OPS_REDUCERS_H
#define OPS_REDUCERS_H
#include <fundamental/tensor.h>
#include <nn/container.h>
#ifdef TENSOR_USE_CUBLAS
#include <cublas_v2.h>
#endif
#ifdef TENSOR_USE_OPENBLAS
#include <cblas.h>
#endif
#include <ops/transform.h>
namespace operators{
template<typename xpu, index_t stream_id, typena... | {
"alphanum_fraction": 0.5229162638,
"avg_line_length": 34.7046979866,
"ext": "h",
"hexsha": "33ccb85a9c0f95a657d304ccd72b8c1c4c0346fb",
"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 <bindings.cmacros.h>
#include <gsl/gsl_sf.h>
BC_INLINE1(GSL_MODE_PREC,gsl_mode_t,unsigned)
| {
"alphanum_fraction": 0.801980198,
"avg_line_length": 20.2,
"ext": "c",
"hexsha": "a6740f437e4b9709c4e200fceb2bae528032593d",
"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",... |
#ifndef __GSL_BLOCK_H__
#define __GSL_BLOCK_H__
#if !defined( GSL_FUN )
# if !defined( GSL_DLL )
# define GSL_FUN extern
# elif defined( BUILD_GSL_DLL )
# define GSL_FUN extern __declspec(dllexport)
# else
# define GSL_FUN extern __declspec(dllimport)
# endif
#endif
#include <gsl/gsl_block_c... | {
"alphanum_fraction": 0.7378984652,
"avg_line_length": 24.2,
"ext": "h",
"hexsha": "cb9752d48510e051148e5bc93c79de4d98b51361",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z",... |
#ifndef DATA_H
#define DATA_H
#include <gsl/gsl_vector.h>
typedef struct {
int imageIdx;
int labelerId;
int workflowId;
int workerPoolId;
int label;
double trueLabel;
double trueDifficulty;
} Label;
typedef struct {
Label *labels;
int numLabels;
int numLabelers;
int numImages;
int numWorkflow... | {
"alphanum_fraction": 0.7202380952,
"avg_line_length": 18.6666666667,
"ext": "h",
"hexsha": "a6d190696c01a4ee5a364f586e51b12a901d991b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-25T18:59:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-25T18:59:... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C header for structures for EOBNRv2HM reduced order model (non-spinning version).
* See CQG 31 195010, 2014, arXiv:1402.4146 for details on the reduced order method.
* See arXiv:1106.1021 for the EOBNRv2HM model.
*
* Borrows from the S... | {
"alphanum_fraction": 0.6703936284,
"avg_line_length": 35.1021505376,
"ext": "h",
"hexsha": "1fbb2f13689e693b9157c798fe9722a1df7a7f4e",
"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:... |
/* movstat/test_mean.c
*
* Copyright (C) 2018 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
... | {
"alphanum_fraction": 0.7082896118,
"avg_line_length": 35.0367647059,
"ext": "c",
"hexsha": "dbb5c6da7113b7e816e4d906405aa62241c764da",
"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:... |
/* histogram/add2d.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your op... | {
"alphanum_fraction": 0.6523972603,
"avg_line_length": 26.1492537313,
"ext": "c",
"hexsha": "3d77c5c4ed657c2d019a8c111c02f7e635e8c0b3",
"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... |
/* rng/types.c
*
* Copyright (C) 2001, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
... | {
"alphanum_fraction": 0.7466567608,
"avg_line_length": 26.3921568627,
"ext": "c",
"hexsha": "071edcf635a9937597742111c219973e4fcd7ac2",
"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_math.h>
#include "gsl_cblas.h"
#include "cblas.h"
void
cblas_dscal (const int N, const double alpha, double *X, const int incX)
{
#define BASE double
#include "source_scal_r.h"
#undef BASE
}
| {
"alphanum_fraction": 0.7333333333,
"avg_line_length": 17.5,
"ext": "c",
"hexsha": "eab8367842264b0137d1df81ea23bad40937357f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z",... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Data/Data.h"
#include <gsl/gsl>
// forward declare cv::KeyPoint
namespace cv
{
class KeyPoint;
}
namespace mage
{
struct InitializationData;
struct FrameData;
class AnalyzedImage;
class Introspecto... | {
"alphanum_fraction": 0.6742209632,
"avg_line_length": 21.3939393939,
"ext": "h",
"hexsha": "d58fbb642c8c9ba2c9e6dd3c83b10726751094f4",
"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... |
/**
*
* @file core_zgessm.c
*
* PLASMA core_blas kernel
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Hatem Ltaief
* @author Mathieu Faverge
* @author Jakub Kurzak
* @date 2010-11-15
* @precisions n... | {
"alphanum_fraction": 0.4846912299,
"avg_line_length": 26.951048951,
"ext": "c",
"hexsha": "08a840da304653867360d4ab596b46ffe99c9584",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C header for functions windowing and computing FFT/IFFT of time/frequency series.
*
*/
#ifndef __COMPUTELISASNR_H__
#define __COMPUTELISASNR_H__ 1
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
#defi... | {
"alphanum_fraction": 0.6716847465,
"avg_line_length": 50.1888888889,
"ext": "h",
"hexsha": "9589158303fbd220a84fdbee0d7bce502f344a26",
"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:... |
#include <vector>
#include <string>
#include <math.h>
#include <cmath>
#include <memory>
#include <iostream>
#include "hdf5.h"
#include "hdf5_hl.h"
#include "H5Gpublic.h"
#include "H5Fpublic.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_... | {
"alphanum_fraction": 0.664462978,
"avg_line_length": 39.171314741,
"ext": "h",
"hexsha": "e8ab574449a11a00286c8fbcdb430400d8abe866",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2021-01-18T18:14:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-21T22:22:52... |
#pragma once
#include "halley/support/logger.h"
#include "halley/net/connection/network_message.h"
#include <gsl/gsl>
namespace Halley
{
class Serializer;
class String;
class MessageQueue;
namespace DevCon
{
void setupMessageQueue(MessageQueue& queue);
enum class MessageType
{
Log,
ReloadAssets
... | {
"alphanum_fraction": 0.7064220183,
"avg_line_length": 18.4461538462,
"ext": "h",
"hexsha": "5316df2566bc3bf86ac828c1e6e8f38d59abe27e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdlib.h>
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include "kautodiff.h"
typedef struct {
uint64_t s[2];
double n_gset;
int n_iset;
volatile int lock;
} kad_rng_t;
/**********************
* Graph construction *
**********************/
static in... | {
"alphanum_fraction": 0.5365121662,
"avg_line_length": 30.2417582418,
"ext": "c",
"hexsha": "9e578fe6973361e4d28654ea336a0adeb5c07464",
"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 <petsc.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <mpfr.h>
#include "ellipsoid/ellipsoid.h"
int main() {
EllipsoidalSystem e;
initEllipsoidalSystem(&e, 3.0, 2.0, 1.0);
ellipsoidInitToOrderN(&e, 10);
int n = 6;
//double *coefs = (double*) malloc(sizeof(doub... | {
"alphanum_fraction": 0.614973262,
"avg_line_length": 26.7142857143,
"ext": "c",
"hexsha": "5be9a5447d65e1a72e9fa4fbb41990980f8ea9b0",
"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": ... |
/* histogram/ntuple.c
*
* Copyright (C) 2000 Simone Piccardi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
... | {
"alphanum_fraction": 0.6493112304,
"avg_line_length": 21.0985221675,
"ext": "c",
"hexsha": "cf7b2f5ea9283b2105a2327f73c9730134b2c2b0",
"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 <math.h>
#include <stdlib.h>
#if !defined(__APPLE__)
#include <malloc.h>
#endif
#include <stdio.h>
#include <assert.h>
#include <time.h>
#include <string.h>
#include <fftw3.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_sf_erf.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl... | {
"alphanum_fraction": 0.7032421884,
"avg_line_length": 49.8044496487,
"ext": "c",
"hexsha": "b822bfccb1eb180dd7e98cdd699c753db321a8a5",
"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 <math.h>
#include <stdlib.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_histogram.h>
#include"mpi.h"
const double PI = 3.14159;
double rz(double red);
struct galaxy {
double x, y, z, d, w;
};
void N2divide( int * n, int N, int Ntot);
int main (int argc, char **argv) {
FILE... | {
"alphanum_fraction": 0.5531780994,
"avg_line_length": 22.8086124402,
"ext": "c",
"hexsha": "7779a5d92387eefd21378b1b47b033afdd423ba6",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-02-22T09:24:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-26T17:30... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C code headers for the implementation of the Fourier domain response for LIGO-VIRGO detectors
*
*
*/
#ifndef _LLVFDRESPONSE_H
#define _LLVFDRESPONSE_H
#define _XOPEN_SOURCE 500
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#e... | {
"alphanum_fraction": 0.6423076923,
"avg_line_length": 52.5252525253,
"ext": "h",
"hexsha": "19219f44074ce48b49cca1649f35bc3ce93fcf3a",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:... |
#ifndef __DIRECT_KNN_H__
#define __DIRECT_KNN_H__
#include <mpi.h>
#include <utility>
#include <cmath>
#include <vector>
#include <string>
#include <blas.h>
#include <omp.h>
#include <utility>
#define KNN_MAX_BLOCK_SIZE 512
#define KNN_MAX_MATRIX_SIZE 2e7L
// MPI message tags
enum {
TAG_R,
TAG_Q,
TAG_KMIN,
T... | {
"alphanum_fraction": 0.6970719805,
"avg_line_length": 48.7896825397,
"ext": "h",
"hexsha": "44c57ab57ce35712378cb7b2c735d4bdd118bf7e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-10-08T20:02:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-11T22:29:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_errno.h>
#include "ccl.h"
/*----- ROUTINE: dc_NakamuraSuto -----
INPUT: cosmology, scale factor
TASK: Computes the peak threshold: d... | {
"alphanum_fraction": 0.6832180166,
"avg_line_length": 31.9090909091,
"ext": "c",
"hexsha": "f121d77326dfc7c5ac0a0fc7b0e08f8d507bd5ad",
"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 <string>
#include <type_traits>
#include <tuple>
#include <gsl.h>
#include "roster.h"
#include "timestamp.h"
#include <boost/multi_index/sequenced_index.hpp>
class Grade
{
public:
class Key
{
private:
Roster const& roster_;
std::string grader_email_;
std::string student_name_;
private:... | {
"alphanum_fraction": 0.7010238908,
"avg_line_length": 20.6338028169,
"ext": "h",
"hexsha": "9be8018ecbd3dc25662204aa25d89df931283bd1",
"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 <string.h>
#include "parmt_utils.h"
#ifdef PARMT_USE_INTEL
#include <mkl_lapacke.h>
#include <mkl_cblas.h>
#else
#include <lapacke.h>
#include <cblas.h>
#endif
#include "iscl/array/array.h"
#include "iscl/memory/memory.h"
#include "iscl/random/random.h"
#include "iscl/sig... | {
"alphanum_fraction": 0.544584602,
"avg_line_length": 29.7284482759,
"ext": "c",
"hexsha": "ec678c1f495efc56311121a7fa066308a08ee90b",
"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 <float.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <cblas.h>
#include "funcsfa.h"
#define min(x, y) ((x)>(y)?(y):(x))
#define max(x, y) ((x)>(y)?(x):(y))
#define DEBUG 0
#define debug_print(fmt, ...) \
do { if (DEBUG) fprintf(stderr,... | {
"alphanum_fraction": 0.5956525875,
"avg_line_length": 26.0843672457,
"ext": "c",
"hexsha": "b71e9da8c2d226c9e7f0e9fe1afc3c9fab547a4a",
"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":... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | {
"alphanum_fraction": 0.6748768473,
"avg_line_length": 39.0106761566,
"ext": "h",
"hexsha": "0c337f129259a259f7099fd852c0dfd7e6144a4d",
"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. Pfizer Inc. All rights reserved.
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "numpy/arrayobject.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_movstat.h>
#include <gsl/gsl_vector.h>
PyObject * moving_median(PyObject *NPY_UNUSE... | {
"alphanum_fraction": 0.60951285,
"avg_line_length": 23.2767857143,
"ext": "c",
"hexsha": "4be4206c98e89dadfbfeea433601c3d9eda5d198",
"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 LIC_TYPE_DEFINITION
#define LIC_TYPE_DEFINITION
#include <gsl/gsl>
#include "Metadata.h"
namespace lic
{
class MethodDefinition;
class TypeDefinition : Metadata
{
public:
TypeDefinition(Assembly& assembly, MetadataTable table, size_t rid, gsl::byte* row);
~TypeDefinition();
const char* Name() ... | {
"alphanum_fraction": 0.7233606557,
"avg_line_length": 16.2666666667,
"ext": "h",
"hexsha": "a80d199beac4d5f9b586e435767870b4df451078",
"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 ModellerFilter.h
*/
#ifndef ATK_MODELLING_MODELLERFILTER_H
#define ATK_MODELLING_MODELLERFILTER_H
#include <ATK/Modelling/config.h>
#include <ATK/Modelling/Types.h>
#include <ATK/Core/TypedBaseFilter.h>
#include <gsl/gsl>
#include <Eigen/Eigen>
#include <tuple>
#include <unordered_set>
#include <vec... | {
"alphanum_fraction": 0.7101332257,
"avg_line_length": 30.2073170732,
"ext": "h",
"hexsha": "3af324e70ae4155d01967028f4f491eea351e13b",
"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_errno.h>
#include <math.h>
#include "acceleration.h"
int func(double t, const double y[], double f[], void *params) {
/*
y[0], y[1], y[2] are x, y, z
y[3], y[4], y[5] are v_x, v_y, v_z
*/
(void)(t); /* avoid unused parameter warning */
struct HernquistParams pars = *(... | {
"alphanum_fraction": 0.5413436693,
"avg_line_length": 24.1875,
"ext": "c",
"hexsha": "65aca17613c0ba93a615b95341875149112cd41c",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2021-09-03T14:37:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-10T09:26:47.00... |
/* specfunc/test_sf.c
*
* Copyright (C) 2007 Brian Gough
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004 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; ... | {
"alphanum_fraction": 0.694777597,
"avg_line_length": 57.2719393283,
"ext": "c",
"hexsha": "cf472bf953f28dd84a22604a426224b801223dfa",
"lang": "C",
"max_forks_count": 224,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-11-12T21:17... |
/*
** Copyright (C) 2004 Jonathan G. Underwood <j.underwood@open.ac.uk>
**
** 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.6530172414,
"avg_line_length": 43.5,
"ext": "h",
"hexsha": "4585bcfc883683af48333761179546ef7f6c61e3",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z",... |
#pragma once
#include <optional>
#include <gsl/span>
#include "Ds4InputData.h"
/**
* \brief Serialized input report from a \c Ds4Device
* \sa Ds4Device
*/
class Ds4Input
{
public:
Ds4Input() = default;
/**
* \brief Indicates if button press state has changed since the last poll.
*/
bool buttonsChanged =... | {
"alphanum_fraction": 0.6951788491,
"avg_line_length": 23.8148148148,
"ext": "h",
"hexsha": "a61aeddaf0e4320817cd7f46fb7aca627788b318",
"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 Exceptions.h
* \brief header file that defines exceptions
*/
// Function.h
#ifndef NBODYEXCEPTION_H
#define NBODYEXCEPTION_H
#include <exception>
#include <string>
#include <utility>
#include <gsl/gsl_errno.h>
namespace Math
{
class gsl_error : public std::exception {
private:
int gsl_errno;
std::s... | {
"alphanum_fraction": 0.6881578947,
"avg_line_length": 13.8181818182,
"ext": "h",
"hexsha": "d5915010e901e059865e82b623404bf88b34efca",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-10-23T00:21:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-23T02:58:... |
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <gbpLib.h>
#include <gbpMCMC.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_interp.h>
void add_MCMC_DS(MCMC_info *MCMC, const char *name, int n_D, int *D, double *DS, double *dDS, void *params, int n_arrays... | {
"alphanum_fraction": 0.623255814,
"avg_line_length": 25.5952380952,
"ext": "c",
"hexsha": "a71e19ac1dfdfacc6d80c24ee745476378ebe00a",
"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:4... |
//===--- Sudoku/Board.h ---===//
//
// Data container for sudoku puzzles
//===----------------------------------------------------------------------===//
//
// accepts only squared dimensions
// gives full, row, column and block access
// no processing functionality
//
//... | {
"alphanum_fraction": 0.6530257255,
"avg_line_length": 31.5693641618,
"ext": "h",
"hexsha": "10fec4523a44736ae8dc5f1f74f6aec5381115d8",
"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/beta.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (a... | {
"alphanum_fraction": 0.511627907,
"avg_line_length": 25.8,
"ext": "c",
"hexsha": "03826f1e036b3b0cd92195a3d926b8b7d407db4f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z",
... |
# ifndef __HEADER__GA__
# define __HEADER__GA__
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_math.h>
#include "utils.h"
# define UL_SIZE sizeof(unsigned long)
# define GENES_C1 3
# define GENES_C2 11
// we are going to use a two chromosome genome,
typedef struct Genome {
unsigned lo... | {
"alphanum_fraction": 0.7519214347,
"avg_line_length": 26.6136363636,
"ext": "h",
"hexsha": "837a03a2c4445025e127083ce9788579ad955959",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-02-23T11:40:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-23T11:40:... |
/* specfunc/gsl_sf_bessel.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 2 of the License, or (at
* you... | {
"alphanum_fraction": 0.747153669,
"avg_line_length": 27.6272727273,
"ext": "h",
"hexsha": "b208e3cbb8bda6459e556bc26574aee61c63b8af",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
/**
*
* @file core_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.6603023071,
"avg_line_length": 20.95,
"ext": "h",
"hexsha": "c6a1e777d03c72e7886c06720669a74e157f8ca6",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2021-01-21T11:17:28.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-22T18:44:35.000Z"... |
/* Author: Romain "Artefact2" Dal Maso <artefact2@gmail.com> */
/* This program is free software. It comes without any warranty, to the
* extent permitted by applicable law. You can redistribute it and/or
* modify it under the terms of the Do What The Fuck You Want To Public
* License, Version 2, as published by Sa... | {
"alphanum_fraction": 0.6311895276,
"avg_line_length": 25.9655172414,
"ext": "c",
"hexsha": "9dddfbff3f445bb522da1ee05eec6e687e983d4d",
"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/gsl_chebyshev.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 2 of the License, or (at
* your op... | {
"alphanum_fraction": 0.7156050201,
"avg_line_length": 32.7364341085,
"ext": "h",
"hexsha": "65dbc2e923f79aa256fece6c580e918e3bce8630",
"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:... |
/*
* File: particle.h
* Author: adithya
*
* Created on December 15, 2014, 7:23 PM
*/
#ifndef PARTICLE_H
#define PARTICLE_H
//#include "myVector.h"
//#include "quaternion.h"
//#include "species.h"
//#include "simulationParameters.h"
//
//#include <fstream>
//#include <sstream>
//#include <vector>
//
//#include... | {
"alphanum_fraction": 0.6423357664,
"avg_line_length": 34.5037037037,
"ext": "h",
"hexsha": "6617dcc3a0fff797aed709a6c720d6975de45e1e",
"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 _GP_H_
#define _GP_H_
#include "armadillo"
using namespace arma;
#include "myTypes.h"
#include "KernelFunction.h"
#include "MeanFunction.h"
#include <gsl/gsl_math.h>
#include <gsl/gsl_multimin.h>
double f_eval_mean(const gsl_vector *x, void *param);
void df_eval_mean(const gsl_vector *x, void *param, gsl_ve... | {
"alphanum_fraction": 0.7294520548,
"avg_line_length": 31.2857142857,
"ext": "h",
"hexsha": "2b82f66550300336af9e1411d6a75a4b8b5d7c85",
"lang": "C",
"max_forks_count": 25,
"max_forks_repo_forks_event_max_datetime": "2022-03-15T15:01:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-28T23:03... |
#ifndef PyGSL_COMPLEX_HELPERS_H
#define PyGSL_COMPLEX_HELPERS_H 1
#include <pygsl/utils.h>
#include <pygsl/intern.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_errno.h>
/*
* These macros convert a PyObect to a complex if numeric
* Input recieved. If complex, accessing the data, otherwise
* reverting to a f... | {
"alphanum_fraction": 0.6219319082,
"avg_line_length": 44.3157894737,
"ext": "h",
"hexsha": "1719003716c8f38ffc1546da07d53affdaadaa58",
"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:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.