Search is not available for this dataset
text string | meta dict |
|---|---|
/* linalg/test_tri.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.659,
"avg_line_length": 29.7619047619,
"ext": "c",
"hexsha": "cca1d280309e244501e8ff879be7ce3396a54782",
"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... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdarg.h>
#include <gbpLib.h>
#include <gbpMath.h>
#include <gbpCosmo_mass_functions.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
// Compute cumulative comoving mass function
typedef struct mass_function_cu... | {
"alphanum_fraction": 0.6519114688,
"avg_line_length": 35,
"ext": "c",
"hexsha": "bd965e2ecefbd99704919a5df49d027283704c2c",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:40.000Z",
... |
#ifndef DETERMINISTIC_NETWORK_SIR_H
#define DETERMINISTIC_NETWORK_SIR_H
#include <gsl/gsl_odeiv.h>
#include <gsl/gsl_errno.h>
#include <iostream>
#include <math.h>
#include "DiffEq_Sim.h"
using namespace std;
class Deterministic_Network_SIR_Sim : public DiffEq_Sim {
private:
const double r;
cons... | {
"alphanum_fraction": 0.4889615699,
"avg_line_length": 30.1975308642,
"ext": "h",
"hexsha": "e3c50c8f26abbf017a9affe6590a86dd9b8857a6",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2021-06-10T03:09:53.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-04-29T20:31... |
/****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Lice... | {
"alphanum_fraction": 0.4391534392,
"avg_line_length": 35.6603773585,
"ext": "h",
"hexsha": "27318c6a3ceed87547d9b973ff28cbba91aba217",
"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 "ccv.h"
#include "ccv_internal.h"
#include <sys/time.h>
#ifdef HAVE_GSL
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#endif
#ifdef USE_OPENMP
#include <omp.h>
#endif
const ccv_bbf_param_t ccv_bbf_default_params = {
.interval = 5,
.min_neighbors = 2,
.accurate = 1,
.flags = 0,
.siz... | {
"alphanum_fraction": 0.5692611324,
"avg_line_length": 36.0769230769,
"ext": "c",
"hexsha": "f0094b3fa8f4a7e4d814d68bdf38335f31edb112",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* linalg/test_ldlt.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.5911696031,
"avg_line_length": 25.2600536193,
"ext": "c",
"hexsha": "f742e72595af01b389afb272d42cee2724826a26",
"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:... |
/*****************************************
Emitting C Generated Code
*******************************************/
#include <cblas.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
/**************** Snippet ****************/
void Snippet(int x0) {
float x1[3] = { 1.0, 2.0, 3.0 };
flo... | {
"alphanum_fraction": 0.444606414,
"avg_line_length": 26.3846153846,
"ext": "c",
"hexsha": "aa664a285934a236c5b0f73fb5c89f6b01a180d6",
"lang": "C",
"max_forks_count": 20,
"max_forks_repo_forks_event_max_datetime": "2022-02-03T04:45:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-20T12:16:... |
/* -*- mode: C; c-basic-offset: 4 -*- */
/* ex: set shiftwidth=4 tabstop=4 expandtab: */
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2015, Rice University
* Copyright (c) 2018-2019, Colorado School of Mines
* All rights reserved.
*
* Author(s): Neil T. Dantam <ntd@gatech.edu>
* Geo... | {
"alphanum_fraction": 0.5811926606,
"avg_line_length": 30.4186046512,
"ext": "c",
"hexsha": "a53d432597318d55f5b230e1ee0ee3c89596b329",
"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":... |
/***********************************************************
* Program Name: conv.
*
* A program used to process the data from mcml -
* A Monte Carlo simulation of photon distribution in
* multi-layered turbid media in ANSI Standard C.
****
* Creation Date: 11/1991.
* Current Date: 6/1992.
*
* Lihong Wang, Ph... | {
"alphanum_fraction": 0.6167237834,
"avg_line_length": 30.1446280992,
"ext": "h",
"hexsha": "0da282e58b1de27e7f2a244ffa40bb4a3b1210a7",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-10-02T16:54:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-10-02T16:54:... |
#ifndef PROGRESS_BAR_OBSERVER_H_0L8ZR7QT
#define PROGRESS_BAR_OBSERVER_H_0L8ZR7QT
#include "rang.hpp"
#include <atomic>
#include <cmath>
#include <cstdint>
#include <gsl/gsl>
#include <iomanip>
#include <sens_loc/util/console.h>
#include <taskflow/core/observer.hpp>
namespace sens_loc::util {
class progress_bar_obs... | {
"alphanum_fraction": 0.7125621008,
"avg_line_length": 30.6304347826,
"ext": "h",
"hexsha": "b9db10fe050e876fdc8e978d64cfee4eb5d3ca65",
"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_cblas.h"
#include "cblas.h"
void
cblas_drotm (const int N, double *X, const int incX, double *Y,
const int incY, const double *P)
{
#define BASE double
#include "source_rotm.h"
#undef BASE
}
| {
"alphanum_fraction": 0.7016806723,
"avg_line_length": 18.3076923077,
"ext": "c",
"hexsha": "0c0142a11baefa6b6b2165c2317966d83be791c1",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#include <stdio.h>
#include <gsl/gsl_statistics.h>
#include <stdlib.h>
#include <float.h>
#ifndef N
#define N 32
#endif
#define K N/2
#include <klee/klee.h>
int
main(void)
{
double data[K], w[K];
float input[N];
// symbolic inputs
klee_make_symbolic(&input, sizeof(input), "input");
int i;
for (i ... | {
"alphanum_fraction": 0.5791925466,
"avg_line_length": 17.4054054054,
"ext": "c",
"hexsha": "4d1d213be361bc06d95b767e7bb4cfbbd3db97bd",
"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:... |
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_integration.h>
void integral_gen (int nmin, int nmax, double vals[]);
double f (double x, void *params);
double f (double x, void *params)
{
double n = (double) *(int *) params;
double f = exp (-x) * pow (x, n);
return f;
}
void integral_gen (int nm... | {
"alphanum_fraction": 0.5828343313,
"avg_line_length": 23.8571428571,
"ext": "c",
"hexsha": "6944771946bc5fe578df5825ef36bb4f5d7e9559",
"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":... |
// Standard libraries.
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Libraries from packages outside ASF.
#include <glib.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_statistics_double.h>
// Libraries develope... | {
"alphanum_fraction": 0.6127188282,
"avg_line_length": 24.3391304348,
"ext": "c",
"hexsha": "ce2ad7cfd61cdbe381541b7ea204e34abb2e798f",
"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:... |
/* Cholesky Decomposition
*
* Copyright (C) 2000 Thomas Walter
* Copyright (C) 2000, 2001, 2002, 2003, 2005, 2007 Brian Gough, Gerard Jungman
* Copyright (C) 2016, 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 publish... | {
"alphanum_fraction": 0.604971298,
"avg_line_length": 24.7489655172,
"ext": "c",
"hexsha": "24a58b44f4a1ec6c1fb530b8491555f30e8b1c3d",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:5... |
#include "ll.h"
#include "gslsupp.h"
#include <math.h>
#include <gsl/gsl_sf.h>
double log_fact(size_t n)
{
gsl_sf_result res;
if (n <= UINT_MAX)
{
if (gsl_sf_lnfact_e((unsigned) n, &res) == GSL_SUCCESS) return res.val;
}
else
{
if (gsl_sf_lngamma_e((double) n + 1., &res) == GS... | {
"alphanum_fraction": 0.6060606061,
"avg_line_length": 25.4262295082,
"ext": "c",
"hexsha": "8b01f181c7ab73e4605cbb099c4f5a0c2024b7c4",
"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 KGS_GSL_HELPERS_H
#define KGS_GSL_HELPERS_H
#include <string>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
/** Print matrix to cout */
void gsl_matrix_cout ( const gsl_matrix *m);
/** Print matrix to file specified by `filename` */
void gsl_matrix_outtofile ( const gsl_matrix *m, const std::s... | {
"alphanum_fraction": 0.7662573897,
"avg_line_length": 33.8307692308,
"ext": "h",
"hexsha": "68ad83408515aafcfa10c2f98c63739731e6de44",
"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":... |
/* tz_fcmp.c
*
* 19-Nov-2007 Initial write: Ting Zhao
*/
#include <gsl/gsl_math.h>
#include "tz_mexutils.h"
void check_argin(int nrhs, const mxArray *prhs[])
{
if (nrhs > 3 || nrhs < 2)
mxErrMsgTxt("TZ_FCMP takes 2~3 arguments.");
if (!(mxIsDouble(prhs[0]) && mxIsDouble(prhs[1])))
mxErrMsgTxt("The fi... | {
"alphanum_fraction": 0.6038961039,
"avg_line_length": 26.5517241379,
"ext": "c",
"hexsha": "44a5a2759bd8dc4e61416818eac4b8f9ee9880dd",
"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 <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cerrno>
#include <chrono>
#include <climits>
#include <cmath>
#include <csignal>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iomanip>
#include ... | {
"alphanum_fraction": 0.7631483497,
"avg_line_length": 23.1680672269,
"ext": "h",
"hexsha": "b03c37cb6c34c51f598f8f18ed2c8fcc2c0a7913",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2022-01-20T13:44:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-11-21T09:58... |
#pragma once
#include "Sampler.h"
#include "GradUtil.h"
#ifndef _NOGSL
#include <gsl/gsl_vector.h>
#else
#include "FakeGSL.h"
#endif
#include "ActualEvaluators.h"
class BasicSampler : public Sampler {
Interface* interf;
BooleanDAG* dag;
ActualEvaluators* actualEval;
doublereal* xlow;
doublereal* xupp;
int ... | {
"alphanum_fraction": 0.5345152773,
"avg_line_length": 28.8152173913,
"ext": "h",
"hexsha": "04e1ee83898f0b0bd9e98a0fa348b4d2ae8b7517",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:... |
#include <math.h>
#include <stdio.h>
#include <gsl/gsl_rng.h>
#include "matrix_operations.c"
#include "ellipsoid/parametric_function_roots.c"
#include "polynomial.c"
void characteristic_ellipsoid_matrix(double *X, double *R, double phi, double *rotax, double exponent)
{
double w, x, y, z;
w = cos(phi / 2.... | {
"alphanum_fraction": 0.476223995,
"avg_line_length": 19.8540372671,
"ext": "c",
"hexsha": "f8af763794094503799982eed71447a152965448",
"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/span>
#include "halley/data_structures/vector.h"
#include "component_schema.h"
#include "custom_type_schema.h"
#include "halley/data_structures/hash_map.h"
#include "halley/text/halleystring.h"
#include "message_schema.h"
#include "system_message_schema.h"
#include "system_schema.h"
namespac... | {
"alphanum_fraction": 0.7486204782,
"avg_line_length": 27.6440677966,
"ext": "h",
"hexsha": "e53befdc4674af2306603ab78c8450f6e645c3ed",
"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 __INTEGRAL_H__
#define __INTEGRAL_H__
#include "basis.h"
#include "gslextra.h"
#include <math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_sf.h>
typedef struct gaussian_chain{
double R[3];
int a[3];
double exponent;
double coefficient;
gaussian_chain... | {
"alphanum_fraction": 0.7539756782,
"avg_line_length": 26.0731707317,
"ext": "h",
"hexsha": "befbfeda1bc974f9259c2f868a7350ac9ac17a8a",
"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 2018 The Apollo Authors. All Rights Reserved.
*
* 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.6607245543,
"avg_line_length": 32.2037037037,
"ext": "h",
"hexsha": "37b194c0d21180f39f2b703b19931cee4bf341bc",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-24T06:20:29.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-24T06:20:... |
/* specfunc/hyperg.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 optio... | {
"alphanum_fraction": 0.612823819,
"avg_line_length": 29.9333333333,
"ext": "c",
"hexsha": "a13950fb99ea69c3099e1f32f9bb618a26e7bfaf",
"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... |
/*
* 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.6976345561,
"avg_line_length": 31.0319148936,
"ext": "h",
"hexsha": "9a9914978254afce6a374b3d1f4b246d83ef9a95",
"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_test.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_math.h>
#include "gsl_cblas.h"
#include "tests.h"
void
test_syrk (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int order = 101;
int uplo = 121;
int trans = 111;
int N = 2;
int K = 1;
float alpha = -1.0f;
float b... | {
"alphanum_fraction": 0.511018078,
"avg_line_length": 27.4843096234,
"ext": "c",
"hexsha": "5f4b5fd2b3233a45444120725acb8d84c77cc55b",
"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... |
/***
* Copyright 2019 The Katla Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | {
"alphanum_fraction": 0.7029728344,
"avg_line_length": 32.2479338843,
"ext": "h",
"hexsha": "3f37b631039ca9b1ec10068cc0e157a03a7797d2",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-26T13:32:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-26T13:32:... |
/* histogram/add.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 opti... | {
"alphanum_fraction": 0.6850828729,
"avg_line_length": 25.8571428571,
"ext": "c",
"hexsha": "634c7186af1c754bb583e48469d75493b98541ea",
"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... |
/*********************************************************************
* Program: psimci.c
* Author: Mauricio Caceres Bravo <caceres@nber.org>
* Created: Sun Feb 12 19:28:43 EST 2017
* Updated: Tue May 30 18:11:50 EDT 2017
* Purpose: Stata plugin to simulate a CI under H0: b = 0 for a
* treatment effect... | {
"alphanum_fraction": 0.6074022224,
"avg_line_length": 30.7231182796,
"ext": "c",
"hexsha": "5f18a743ef85b40ed0e321c329d5d0dabfae36ef",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2020-11-05T17:05:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-06T16:32:... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "compearth.h"
#ifdef COMPEARTH_USE_MKL
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#pragma clang diagnostic ignored "-Wstrict-prototypes"
#endif
#include <mkl_cblas.h>
#ifdef _... | {
"alphanum_fraction": 0.5216834791,
"avg_line_length": 35.8220524017,
"ext": "c",
"hexsha": "3daf615666ea4e0ae60fe7636ede859a15eee727",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2017-10-26T19:49:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-26T19:49:... |
#include <stdio.h>
#include <gsl/gsl_block.h>
int
main (void)
{
gsl_block * b = gsl_block_alloc (100);
printf ("length of block = %zu\n", b->size);
printf ("block data address = %p\n", b->data);
gsl_block_free (b);
return 0;
}
| {
"alphanum_fraction": 0.6198347107,
"avg_line_length": 16.1333333333,
"ext": "c",
"hexsha": "ca6e80e3d733baf32b3090b7b78f1d66270204da",
"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 "rev/gl/Context.h"
#include "rev/gl/Resource.h"
#include <gsl/span>
namespace rev {
using Buffer = Resource<singleCreate<gl::genBuffers>, singleDestroy<gl::deleteBuffers>>;
} // namespace rev
| {
"alphanum_fraction": 0.7305936073,
"avg_line_length": 16.8461538462,
"ext": "h",
"hexsha": "f4fd4547f95588980fc0a1429eea81c639d76b65",
"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 UniquePtr.h
/// @author Braxton Salyer <braxtonsalyer@gmail.com>
/// @brief This includes Hyperion's `constexpr` equivalents and extensions to the C++ standard
/// library's `std::unique_ptr<T, Deleter>`
/// @version 0.1
/// @date 2021-11-05
///
/// MIT License
/// @copyright Copyright (c) 2021 Braxton Salyer... | {
"alphanum_fraction": 0.7077128746,
"avg_line_length": 42.541864139,
"ext": "h",
"hexsha": "48789ec95ea449c192aada384a86c91d318179b9",
"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 <cassert>
#include <functional>
#include <map>
#include <type_traits>
#include <vector>
#include <gsl/assert>
namespace xmol::utils {
class DeadObserverAccessError : public std::runtime_error {
public:
using std::runtime_error::runtime_error;
};
template <typename Observer>
class DeadObserv... | {
"alphanum_fraction": 0.7,
"avg_line_length": 27.8021978022,
"ext": "h",
"hexsha": "01508b77aa2c6cd9517b3a47239f80f66f125a1d",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2022-03-12T11:05:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-04T09:16:26.000Z",... |
/*
Copyright [2017-2020] [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.6876550868,
"avg_line_length": 30.8025477707,
"ext": "h",
"hexsha": "b77983ba1712bba0ad70c148e89a3696db8be530",
"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":... |
/*
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.4639576143,
"avg_line_length": 27.7638326586,
"ext": "c",
"hexsha": "9e3438664d501d13220fce89a4c50e21b3d46ca2",
"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 <vector>
#include <boost/random.hpp>
#include <cblas.h>
namespace con {
using std::vector;
using std::cout;
using std::cerr;
using std::endl;
using std::string;
static boost::mt19937 rng(0);
#define BUG(x) std::cout<<#x<<" = "<<(x)<<std::endl;
typedef doubl... | {
"alphanum_fraction": 0.5440194293,
"avg_line_length": 23.034965035,
"ext": "h",
"hexsha": "4ac832f5ca6c25116efe44dbc1298fb7088078b2",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gbpLib.h>
#include <gbpMath.h>
#include <gbpCosmo_core.h>
#include <gbpCosmo_NFW_etc.h>
#include <gsl/gsl_sf_expint.h>
// From Alam et al '02
double R_half_V_max_NFW(double M_vir, double z, int mode, cosmo_info **cosmo) {
double c_vir;
double R... | {
"alphanum_fraction": 0.66,
"avg_line_length": 20.8333333333,
"ext": "c",
"hexsha": "cf691eb10dcead249572fb05fa052cc354be3442",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:40.000Z"... |
/*
** LISA, 2nd level using design matrix
**
** G.Lohmann, July 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 <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/g... | {
"alphanum_fraction": 0.6402128644,
"avg_line_length": 22.8677248677,
"ext": "c",
"hexsha": "032eed4adffa69d01d0d649e8dfacda50efa746a",
"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:... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <glib.h>
#include <omp.h>
// libgsl0-dev
#include <gsl/gsl_math.h>
#include <gsl/gsl_rng.h>
#include <sys/time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_sort_double.h>
double pi(int n, int batch) {
const gsl_rng_type * T;
gsl_rng * r;
... | {
"alphanum_fraction": 0.5368314834,
"avg_line_length": 20.6458333333,
"ext": "c",
"hexsha": "432f1a9667a5e1fa0224af8f723d9b417c6c5430",
"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":... |
// Authors: David Blei (blei@cs.princeton.edu)
// Sean Gerrish (sgerrish@cs.princeton.edu)
//
// Copyright 2011 Sean Gerrish and David Blei
// All Rights Reserved.
//
// See the README for this package for details about modifying or
// distributing this software.
#ifndef LDA_H
#define LDA_H
#include <gsl/gsl... | {
"alphanum_fraction": 0.7188221709,
"avg_line_length": 27.4920634921,
"ext": "h",
"hexsha": "ea2ba7629ce9a88e88b1e3bcfe3c98710412c742",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-07-10T09:29:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-15T04:11:... |
/* ode-initval2/driver.c
*
* Copyright (C) 2009, 2010 Tuomo Keskitalo
*
* 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.5928805237,
"avg_line_length": 24.8879837067,
"ext": "c",
"hexsha": "d0db988a592d6b17cff7dc141bb4e54db752df1f",
"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:... |
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif /* HAVE_CONFIG_H */
#ifndef DO_WITH_GSL
/* This test is not performed */
int main()
{
return 0;
}
#else
#include <stdio.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_histogram.h>
int main(void)
{
FILE* out_file; /* output stream... | {
"alphanum_fraction": 0.6658333333,
"avg_line_length": 21.4285714286,
"ext": "c",
"hexsha": "5f61af109d36e9166463f43db530cd75f841bfe0",
"lang": "C",
"max_forks_count": 25,
"max_forks_repo_forks_event_max_datetime": "2020-12-29T13:23:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-18T03:31... |
#ifndef __GSL_VECTOR_H__
#define __GSL_VECTOR_H__
#include <gsl/vector/gsl_vector_double.h>
#endif /* __GSL_VECTOR_H__ */
| {
"alphanum_fraction": 0.792,
"avg_line_length": 15.625,
"ext": "h",
"hexsha": "2b15303aede2fc801c85668d70ad625b6b1b8e86",
"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": "58778f148e65... |
/**
*
* @file pclarft_blgtrd.c
*
* 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 Azzam Haidar
@date 2011-05-15
* @generated c Tue Jan 7 11:45:13 2014
*
**/
#include "comm... | {
"alphanum_fraction": 0.4843628845,
"avg_line_length": 31.4552845528,
"ext": "c",
"hexsha": "fa0c8abac2e99053e06b3acc1ddb47f86bb621a0",
"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 to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | {
"alphanum_fraction": 0.5609493493,
"avg_line_length": 31.3685756241,
"ext": "c",
"hexsha": "7c752ce432f2b268cc7d11b2efd1f770a2c2482b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-06-07T13:49:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-07T13:49:... |
// Copyright (c) 2013-2014 Anton Kozhevnikov, Thomas Schulthess
// 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 notic... | {
"alphanum_fraction": 0.4346539315,
"avg_line_length": 34.8990610329,
"ext": "h",
"hexsha": "ed00cdd80c7e3648a62d82aa80b883f70f16d7f6",
"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 NUFFTW_PLAN_H
#define NUFFTW_PLAN_H
#include <complex>
#include <cmath>
#include <limits> // st::numeric_limits
#include <algorithm> // std::max
#include <gsl/gsl_sf_bessel.h> // Bessel functions
#include <gsl/gsl_sf_lambert.h> // Lambert W functions
#include <fftw3.h>
#include "timer... | {
"alphanum_fraction": 0.4148132606,
"avg_line_length": 32.3118644068,
"ext": "h",
"hexsha": "5a1be68070ebec8530a21fbfccae3ab6d84e022a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-08T07:19:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-08T07:19:... |
#ifndef AMICI_HDF5_H
#define AMICI_HDF5_H
#include <string>
#include <memory>
#include <vector>
#include <H5Cpp.h>
#include <gsl/gsl-lite.hpp>
#undef AMI_HDF5_H_DEBUG
/* Macros for enabling/disabling HDF5 error auto-printing
* AMICI_H5_SAVE_ERROR_HANDLER and AMICI_H5_RESTORE_ERROR_HANDLER must be called
* withi... | {
"alphanum_fraction": 0.6042230644,
"avg_line_length": 34.523364486,
"ext": "h",
"hexsha": "49f27f890569bfed54a0a061770925f426c3dc3d",
"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 "options.h"
#include "predict.h"
#include "progress.h"
#include <gsl/gsl-lite.hpp>
namespace angonoka::cli {
namespace detail {
/**
Check if an event is the final one.
@param evt Event
@return True if this is the final event.
*/
bool is_final_event(ProgressE... | {
"alphanum_fraction": 0.6562916852,
"avg_line_length": 22.9489795918,
"ext": "h",
"hexsha": "4706f630cb8eb3aaaa169d41fbe49021f79bab1e",
"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":... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2006-2013 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This ... | {
"alphanum_fraction": 0.6015357897,
"avg_line_length": 33.3246622303,
"ext": "c",
"hexsha": "2b570c85d8933d05b1985be7984d23a39a8ad929",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T12:16:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-29T15:12:... |
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include "allvars.h"
#include "proto.h"
/*! \file second_order.c
* \brief produce actual ICs from special 2nd order lpt ICs
*/
double F1_Omega(double a)
{
double omega_a;
omega_a = All.Om... | {
"alphanum_fraction": 0.5883092395,
"avg_line_length": 23.9248120301,
"ext": "c",
"hexsha": "f98e0e56ba4c07c3763649b671d2d5e7742d5a98",
"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 <lapacke.h>
void inverse(double* A, lapack_int N)
{
lapack_int *IPIV = (lapack_int *) malloc(N * sizeof(lapack_int));
int INFO;
/*
DGETRF computes an LU factorization of a general M-by-N matrix A
using partial pivoting with row interchanges.
... | {
"alphanum_fraction": 0.5978090767,
"avg_line_length": 29.953125,
"ext": "c",
"hexsha": "a6b4fe7840a17cf8733700b933a8d3df72f7769b",
"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": "84... |
/* poly/zsolve_cubic.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option... | {
"alphanum_fraction": 0.5181150241,
"avg_line_length": 25.6298701299,
"ext": "c",
"hexsha": "4fcf2931a1aab06d12037733853eb47426818ad0",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
// Copyright 2019, Winfield Chen and Lloyd T. Elliott.
#ifndef __STATISTICS_H_
# define __STATISTICS_H_
#include <gsl/gsl_sf.h>
#include "matrix.h"
double tcdf1m(double t, double nu);
double log_tcdf1m(double t, double nu);
void regression(t_matrix g,
t_matrix y,
t_matrix... | {
"alphanum_fraction": 0.5144694534,
"avg_line_length": 25.9166666667,
"ext": "h",
"hexsha": "f749440310e9d52365110257aa753ff146b92b7d",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
/*
* (C) Copyright 2020-2021 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
/*! \addtogroup ioda_cxx_variable
*
* @{
* \file FillPolicy.h
* \brief Default fill values for ioda files.
*/... | {
"alphanum_fraction": 0.7260989856,
"avg_line_length": 26.024,
"ext": "h",
"hexsha": "322fef2cc1eb48d40c67abd0bcc02510a57527aa",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-11-14T09:19:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-09T16:12:02.000Z... |
/**
* Subroutines to correct for the intra-pixel sensitivity
* variation in e.g. NICMOS pixels. There are routines
* to corect both, an extracted SPC's and a list
* of PET pixels.
*
*/
#include "fitsio.h"
#include <gsl/gsl_interp.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_multifit_nlin.h>
#include "aXe_grism... | {
"alphanum_fraction": 0.6769606152,
"avg_line_length": 28.0983379501,
"ext": "c",
"hexsha": "d6445280e6b6d347db19d066df931d60a38251a8",
"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":... |
/**
*
* RV-GOMEA
*
* If you use this software for any purpose, please cite the most recent publication:
* A. Bouter, C. Witteveen, T. Alderliesten, P.A.N. Bosman. 2017.
* Exploiting Linkage Information in Real-Valued Optimization with the Real-Valued
* Gene-pool Optimal Mixing Evolutionary Algorithm. In Proceedi... | {
"alphanum_fraction": 0.733482922,
"avg_line_length": 32.088,
"ext": "h",
"hexsha": "99031d848cddb355fec72a2374376daeb3385a26",
"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": "c765ca... |
/*
Written by John MacCallum, The Center for New Music and Audio Technologies,
University of California, Berkeley. Copyright (c) 2006-09, The Regents of
the University of California (Regents).
Permission to use, copy, modify, distribute, and distribute modified versions
of this software and its documentation without ... | {
"alphanum_fraction": 0.6913730255,
"avg_line_length": 30.7663551402,
"ext": "c",
"hexsha": "27eea858202630e6a04f03ffe04681ec776ad92b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... | {
"alphanum_fraction": 0.6201040811,
"avg_line_length": 28.0846153846,
"ext": "c",
"hexsha": "b3ba18150aedf0a49ed5ed9fcb3c7b159a6911ca",
"lang": "C",
"max_forks_count": 68,
"max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57... |
/* siman/siman.c
*
* Copyright (C) 2007 Brian Gough
* 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 L... | {
"alphanum_fraction": 0.5871672187,
"avg_line_length": 29.7481751825,
"ext": "c",
"hexsha": "65b9177fe074f08ea0082ddbfe7908b39c6a3404",
"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 DOCH
#define DOCH
#include <gsl/gsl_vector.h>
#include <assert.h>
#include "utils.h"
#include "topic.h"
#include "typedefs.h"
#define OFFSET 0
#define MH_GEM_STDEV 0.05
#define MH_GEM_MEAN_STDEV 0.05
#define MH_GEM_STDEV 0.05
/*
* resample the levels of a document
*
*/
void doc_sample_levels(doc* d, shor... | {
"alphanum_fraction": 0.7125645439,
"avg_line_length": 15.2894736842,
"ext": "h",
"hexsha": "308922e8bb0018875105a4fe1be88592d5ed7295",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef __GSL_VERSION_H__
#define __GSL_VERSION_H__
#include <gsl/gsl_types.h>
#undef __BEGIN_DECLS
#undef __END_DECLS
#ifdef __cplusplus
# define __BEGIN_DECLS extern "C" {
# define __END_DECLS }
#else
# define __BEGIN_DECLS /* empty */
# define __END_DECLS /* empty */
#endif
__BEGIN_DECLS
#define GSL_VERSION "2.2... | {
"alphanum_fraction": 0.7717391304,
"avg_line_length": 17.037037037,
"ext": "h",
"hexsha": "c5bac549d166fff750f05f0c28c423fa12b1dcd8",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-02-20T15:50:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-02-20T15:50:0... |
/* Copyright (c) Kyrylo Polezhaiev and contributors. All rights reserved.
Released under the MIT license. See LICENSE file in the project root for full license information. */
#include "leopenblas.h"
#include <assert.h>
#include <le/le.h>
#include <le/tensors/letensor-imp.h>
#include <cblas.h>
LeTensor *
le_openbl... | {
"alphanum_fraction": 0.6342281879,
"avg_line_length": 36.5964912281,
"ext": "c",
"hexsha": "74420ae2c6e29cf893c8ada81735bcb6d00ba765",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-04-02T17:49:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-23T05:37:... |
// Copyright Jean Pierre Cimalando 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <gsl/gsl>
#include <string>
struct fmidi_smf;
struct SMF_Encoding_Detector {
publi... | {
"alphanum_fraction": 0.7321899736,
"avg_line_length": 27.0714285714,
"ext": "h",
"hexsha": "cb1f2fbbb9a4546ae9577181fb6cb668abe2b971",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:... |
/* specfunc/legendre_P.c
*
* Copyright (C) 2009-2013 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 ver... | {
"alphanum_fraction": 0.6937660668,
"avg_line_length": 27.0608695652,
"ext": "c",
"hexsha": "45e26fa22d691fc10f4bfd3cb5b1fe986f04f0ec",
"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
#ifndef _NOSNOPT
#include <fstream>
#include <iostream>
#include "BasicError.h"
#ifndef _NOGSL
#include <gsl/gsl_vector.h>
#else
#include "FakeGSL.h"
#endif
#include "OptSolver.h"
#include "snopt.hh"
#include "snoptProblem.hh"
using namespace std;
class SnoptSolver : public OptSolver {
snoptProblem ... | {
"alphanum_fraction": 0.6833702882,
"avg_line_length": 19.7807017544,
"ext": "h",
"hexsha": "b92fd49fafb7516eb6b0181216f882234ec5e15b",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:... |
/* vector/gsl_vector_ulong.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.6793712616,
"avg_line_length": 31.6696035242,
"ext": "h",
"hexsha": "3269205933ae0315d30f963782ef42c13b0e7e6b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#pragma once
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES3/gl3.h>
#include <GLES3/gl3ext.h>
#include <GLES3/gl3platform.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <gsl/gsl>
namespace android::OpenGLHelpers
{
constexpr GLint GetTextureUnit(GLenum texture)
{
return textu... | {
"alphanum_fraction": 0.636931621,
"avg_line_length": 37.4155844156,
"ext": "h",
"hexsha": "743801ce16965de5afd2d3fc1b74ebb83a5d6c48",
"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 : muParserScript.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2006 by Ion Vasilief, Knut Franke
Email (use @ for *) : i... | {
"alphanum_fraction": 0.5512756378,
"avg_line_length": 45.4318181818,
"ext": "h",
"hexsha": "685d6737580789bd6b94c8221ab93cd9b36811d9",
"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:... |
#include <math.h>
#include <cblas.h>
#ifdef _MSC_VER
# define inline __inline
#endif
/*
* General Cholesky Delete.
* Remove an element from the cholesky factorization
* m = columns
* n = rows
*
* TODO: put transpose as an option
*/
static inline void cholesky_delete_dbl(int m, int n, double *L, int go_out)
{
... | {
"alphanum_fraction": 0.430471584,
"avg_line_length": 21.4805194805,
"ext": "h",
"hexsha": "6e20a2b003ed72af3c03d740b966b463b3078a0b",
"lang": "C",
"max_forks_count": 1228,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T05:57:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-18T09:0... |
/**
*
* @file core_zgetrf_reclap.c
*
* PLASMA core_blas kernel
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.8.0
* @author Hatem Ltaief
* @author Mathieu Faverge
* @author Piotr Luszczek
* @date 2009-11-15
*
* @... | {
"alphanum_fraction": 0.5226373626,
"avg_line_length": 31.4516129032,
"ext": "c",
"hexsha": "8883762f5ec0b1e8f16507e543602ecd81e943e6",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T01:53:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-02-28T21:24:... |
#ifndef COMPUTE_SIGNAL_H
#define COMPUTE_SIGNAL_H
#include <gsl/gsl_rng.h>
#include <gsl/gsl_histogram.h>
void compute_signal(double * signal, const size_t length, const double delta,
gsl_rng * r, gsl_histogram * hist);
#endif
| {
"alphanum_fraction": 0.764957265,
"avg_line_length": 21.2727272727,
"ext": "h",
"hexsha": "2de39cc48d2fdcad30f91b02e295f4573d1fddb6",
"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": ... |
// Data Structure and Routines for peak fiting
#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 <errno.h>
#include "grid.h"
#include "grid_operations.h"
#inc... | {
"alphanum_fraction": 0.7232250301,
"avg_line_length": 22.4594594595,
"ext": "h",
"hexsha": "9631c18c10ea512a572a4ebdbef6310924d57942",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-01-21T17:48:28.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-21T17:48:... |
/*
learn.h
*/
#ifndef LEARN_H
#define LEARN_H
#include <stdlib.h>
#include <gsl/gsl_rng.h>
#include "feature.h"
//#define RANDOM ((double)rand()/(double)RAND_MAX)
int sampling_multinomial(gsl_rng *r, double *p, double *cum_sum_p, int len_p);
extern void mvslda_learn(document *data,
double **resp,
... | {
"alphanum_fraction": 0.6287519747,
"avg_line_length": 23.4444444444,
"ext": "h",
"hexsha": "2cccbda38880dc853ee21aff27de172b653c54ee",
"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 <unistd.h> /* for getopt */
#include <string.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_odeiv2.h>
#include "defaults.h"
#include "h2ocalc.h"
//#include"h2ocalc_test.h"
/* gcc h2ocalc.c -o h2ocalc -lgsl -lgslcblas -lm -Wall */
/* struct ... | {
"alphanum_fraction": 0.4488722845,
"avg_line_length": 26.7666666667,
"ext": "c",
"hexsha": "59e6eeba0ada657c0b880bba90f7f1c90bcaa09e",
"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 libCV_ellipse
#define libCV_ellipse
#include <objc/Object.h>
#include "cvtypes.h"
#include "util.h"
#include "Array.h"
#include "math.h"
#include <gsl/gsl_math.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_eigen.h>
@interface Ellipse : Object {
f64 x_axis;
f64 y_axis;
f64 x_c... | {
"alphanum_fraction": 0.68,
"avg_line_length": 18.75,
"ext": "h",
"hexsha": "ead855260ec2c6946884f0abd7086eb3f080c88e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-09-05T20:58:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-05T20:58:37.000Z",
"max... |
// Copyright (c) 2021 Stig Rune Sellevag
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#ifndef SCILIB_LINALG_LAPACK_TYPES_H
#define SCILIB_LINALG_LAPACK_TYPES_H
//-----------------------... | {
"alphanum_fraction": 0.6440306681,
"avg_line_length": 26.0857142857,
"ext": "h",
"hexsha": "6b6cd5f894d1170839dbb4b5d6599c9d6acfe43b",
"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 <time.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_sort_vector.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_sort_double.h>
#include "inout_aper.h"
#include "aXe_grism.h"
#include "spce_sect.h"
#include "spc_back.h"
#include "spce_PET.h"
#include "sp... | {
"alphanum_fraction": 0.6797450542,
"avg_line_length": 27.7087155963,
"ext": "c",
"hexsha": "99c2c3a04edd345cbafbb91068d5b1cbb3ea2533",
"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 "datastructures/PointBuffer.h"
#include "io/PointsPersistence.h"
#include "math/AABB.h"
#include "point_source/PointSource.h"
#include "pointcloud/FileStats.h"
#include "pointcloud/PointAttributes.h"
#include "tiling/Sampling.h"
#include "util/Definitions.h"
#include "util/Transformation.h"
#incl... | {
"alphanum_fraction": 0.751819676,
"avg_line_length": 28.9727891156,
"ext": "h",
"hexsha": "8ee93ac35a1f53408705117635439af0dfedf144",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-02-08T11:45:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-03T13:50:4... |
/*
* Implement Heap sort -- direct and indirect sorting
* Based on descriptions in Sedgewick "Algorithms in C"
*
* Copyright (C) 1999 Thomas Walter
*
* 18 February 2000: Modified for GSL by Brian Gough
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Pub... | {
"alphanum_fraction": 0.586244943,
"avg_line_length": 23.6434782609,
"ext": "c",
"hexsha": "9e86ab0b076ab1b13c3a82238d529b9ef7e7e984",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:... |
#include <cblas.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
/**
* C BLAS function wrappers.
*/
inline void copy_vector_cblas(
const double* const x, double* const y,
const unsigned int rows )
{
cblas_dcopy( rows, x, 1, y, 1 );
}
inline double inner_product_cblas(
const double* const x, con... | {
"alphanum_fraction": 0.6168043593,
"avg_line_length": 26.0963302752,
"ext": "h",
"hexsha": "39c7335acb79bd77f463317880c72f88d75fd728",
"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 and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... | {
"alphanum_fraction": 0.5806887719,
"avg_line_length": 46.6910299003,
"ext": "h",
"hexsha": "b3682e36ed471b0a562cc8fecddc0048f7d979ea",
"lang": "C",
"max_forks_count": 572,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T16:46:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-12T22:1... |
/*
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.6409719313,
"avg_line_length": 27.9508196721,
"ext": "c",
"hexsha": "aaca8a38d0e829acb199bbf7f372a339530f80fb",
"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 __INTERP_2D_H__
#define __INTERP_2D_H__
#include <string.h>
//#include <gsl/gsl_vector.h>
//#include <gsl/gsl_matrix.h>
//#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include "cubic_bspline_2d_coeffs.h"
#include "cubic_bspline_2d_interpol.h"
enum
{
INTERP_2D_LINEAR=0,
INTERP_2D_CUBIC_BSPLIN... | {
"alphanum_fraction": 0.7315175097,
"avg_line_length": 25.7,
"ext": "h",
"hexsha": "c254bdef8f92c50b207aaeb1f091462ae0869d5b",
"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": "93a1b6f... |
//
// Created by robin on 2018/9/1.
// Copyright (c) 2018 Robin. All rights reserved.
//
#pragma once
#include <gsl/gsl>
namespace satz {
template <typename P>
const P zero = P::ZERO;
template <typename P>
const P one = P::ONE;
template <typename P>
const P X = P::X;
/**
* @brief Compute $b^e$.
* @param b base... | {
"alphanum_fraction": 0.5563654033,
"avg_line_length": 17.8956521739,
"ext": "h",
"hexsha": "03fbc522b69ab5f05176ff15e330f47d46e09271",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-03-26T11:41:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-26T11:41:... |
#ifndef LADMM_H
#define LADMM_H
#include "Matrix.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 "cmd_line.h"
//This class impl... | {
"alphanum_fraction": 0.5470835278,
"avg_line_length": 21.092519685,
"ext": "h",
"hexsha": "1e42c801399a8f17b690fe0eb72ac2d72c6e1f77",
"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... |
/**
*
* @file qwrapper_spotrf.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
* @g... | {
"alphanum_fraction": 0.5350790514,
"avg_line_length": 29.7647058824,
"ext": "c",
"hexsha": "3ade8abb0bd9c50bb0cc4d811bae9a26ef2a53f5",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
Copyright (C) 2019-2020 JingWeiZhangHuai <jingweizhanghuai@163.com>
Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri... | {
"alphanum_fraction": 0.6086755884,
"avg_line_length": 33.236196319,
"ext": "c",
"hexsha": "2eb044f8852e81ab201ad0c353e86cdb6d6879f4",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-06-23T08:08:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-23T08:08:0... |
#include "spinodal_spect.h"
#include <gsl/gsl_rng.h>
// Generate array of random numbers between 0 and 1
double *rand_ZeroToOne(int Nx, int Ny, int seed, double *random_ZeroToOne_array) {
const gsl_rng_type *T;
gsl_rng *r;
int i,
NxNy = Nx * Ny;
gsl_rng_env_setup();
T ... | {
"alphanum_fraction": 0.5915492958,
"avg_line_length": 24.5769230769,
"ext": "c",
"hexsha": "a7ef702cc9eb1ccf3050ccaa4b6057f5bb403da9",
"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/test_coulomb.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... | {
"alphanum_fraction": 0.6721193168,
"avg_line_length": 40.2615012107,
"ext": "c",
"hexsha": "85dff620dd87fe27c6526db3c3d44fe40d2ca28e",
"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... |
//A one-stop wrapper for Quadrature calculations
//https://scicomp.stackexchange.com/questions/20786/c-library-for-numerical-intergration-quadrature
#ifndef __FIXEDPOINT_QUADRATURE_H__
#define __FIXEDPOINT_QUADRATURE_H__
#include <iostream>
#include <cmath>
#include <functional>
#include <memory>
#include <utility>
... | {
"alphanum_fraction": 0.6368068251,
"avg_line_length": 28.2931034483,
"ext": "h",
"hexsha": "3881ab8aa90c4443ff1112161bc131d1270c4a77",
"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) 2018-2021 Aleksas Mazeliauskas, Stefan Floerchinger,
* Eduardo Grossi, and Derek Teaney
* All rights reserved.
*
* FastReso is distributed under MIT license;
* see the LICENSE file that should be present in the root
* of the source distribution, or alternately available at:... | {
"alphanum_fraction": 0.7049056604,
"avg_line_length": 53,
"ext": "h",
"hexsha": "ed2530c6d21a0cbd54723fed9bb720cb782a602b",
"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": "a694de368... |
/**
*
* @file core_zpltmg_chebvand.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 Mathieu Faverge
* @date 2010-11-15
* @precisions normal z -> c d s
*
**/
#include <lapa... | {
"alphanum_fraction": 0.4892307692,
"avg_line_length": 29.3785310734,
"ext": "c",
"hexsha": "fde1e84c699be492446d182a75a820ea4d4c497d",
"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 <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include "allvars.h"
#include "proto.h"
/*! \file b_from_rot_a.c
* \brief calculates ror(b) to aloow an initial vector potential
*
* This file is only called once after reading the initial con... | {
"alphanum_fraction": 0.5681988642,
"avg_line_length": 24.4319371728,
"ext": "c",
"hexsha": "cca8a0fe8155fc3da45ae100cdb68837260cc218",
"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":... |
/**
* Various binning and weighting routines for aperture pixel tables.
*/
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include "aXe_grism.h"
#include "aper_conf.h"
#include "spc_driz.h"
#include "spce_output.h"
#include "spc_optimum.h"
#include "spce_binning.h"
#define SQR(x) ((x)*(x))
#define MIN(x,y) ... | {
"alphanum_fraction": 0.5981650456,
"avg_line_length": 27.6260387812,
"ext": "c",
"hexsha": "efa8003cc91e456f2044012f40ae59056b112005",
"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 "nkg_point.h"
#include "nkg_rect.h"
#include "utility/types.h"
#include <stb_image.h>
#include <gsl/gsl>
#include <memory>
#include <vector>
#include <stdlib.h>
namespace cws80 {
class im_image {
public:
im_image();
~im_image();
void load(const char *filename, uint desired_channels)... | {
"alphanum_fraction": 0.6657608696,
"avg_line_length": 25.3793103448,
"ext": "h",
"hexsha": "9b3310e3c5ea72a930f96127abbd9d63b3565759",
"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: Achim Gaedke
* created: January 2001
* file: pygsl/src/histogrammodule.c
* $Id: matrixmodule.c,v 1.2 2003/07/25 17:15:16 schnizer Exp $
*/
#include <Python.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <pygsl/error_helpers.h>
/*
* matrix
*/
/* my typedef */
staticforward PyTy... | {
"alphanum_fraction": 0.6438153586,
"avg_line_length": 26.9715099715,
"ext": "c",
"hexsha": "4de5f02ada0b1e7dc806ac81d09e59ff84e51d23",
"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:... |
/* 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.6676225235,
"avg_line_length": 33.9469026549,
"ext": "c",
"hexsha": "682f7ff433585c6862b33848283520dfbda88d86",
"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.