Search is not available for this dataset
text string | meta dict |
|---|---|
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <gbpLib.h>
#include <gbpRNG.h>
#include <gbpMCMC.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_interp.h>
void compute_MCMC(MCMC_info *MCMC) {
... | {
"alphanum_fraction": 0.5463290658,
"avg_line_length": 48.5594002307,
"ext": "c",
"hexsha": "2fa8edc54ad393305d784a970270ce2dcf1b3e19",
"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:... |
/*
main.h: contains all forward declarations and necessary includes
*/
#ifndef MAIN_H
#define MAIN_H
#define DEBUG false
#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
#include <list>
#include <ctime>
#include <unistd.h>
#include <gsl/gsl_rng.h>
using namespace std;
extern gsl_rng *r;... | {
"alphanum_fraction": 0.7578796562,
"avg_line_length": 25.3818181818,
"ext": "h",
"hexsha": "871d7d353b1451d5f2d0955ddf6b0d42695a2e37",
"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 2002
* file: pygsl/src/multiminmodule.c
* $Id: multiminmodule.c,v 1.5 2004/03/08 08:42:16 schnizer Exp $
*/
#include <setjmp.h>
#include <pygsl/block_helpers.h>
#include <pygsl/error_helpers.h>
#include <pygsl/function_helpers.h>
#include <gsl/gsl_errno.h>
#include <gs... | {
"alphanum_fraction": 0.6160266501,
"avg_line_length": 31.6168981481,
"ext": "c",
"hexsha": "96e6562364d3b6e3cd22b2de8d2fb6f5605f115c",
"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:... |
//
// Created by L. Jonathan Feldstein
//
#ifndef CIMPLE_CIMPLE_CONTROLLER_H
#define CIMPLE_CIMPLE_CONTROLLER_H
#include <stddef.h>
#include <math.h>
#include "cimple_system.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include "cimple_polytope_library.h"
#include <pthread.h>
#include "cimple_mpc_computat... | {
"alphanum_fraction": 0.6582976118,
"avg_line_length": 26.7704918033,
"ext": "h",
"hexsha": "c6a3bff11833747d06a7f59a5d2259b6a03f522b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:... |
#pragma once
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
gsl_rng *RandomNumberGenerator; /* Random number generator. */
unsigned RandomSeed; /* Random seed. */
unsigned GetRandomSeed()
{
FILE *random_file;
unsigned seed;
int error;
seed = 0;
random_file = fopen("/dev/urandom", "rb");
if (!rand... | {
"alphanum_fraction": 0.6907216495,
"avg_line_length": 20.0158730159,
"ext": "h",
"hexsha": "69b218ed8776e3eb9fa141350173bd85a0c9de8c",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// -*- C++ -*-
//
// michael a.g. aïvázis
// orthologue
// (c) 1998-2021 all rights reserved
//
// get the headers
#include <cblas.h>
// smallest possible driver
int main() {
// allocate the scala
double alpha = 1;
// allocate a vector
double x[] = {0.0, 0.0, 0.0};
double y[] = {0.0, 0.0, 0.0};
... | {
"alphanum_fraction": 0.5344418052,
"avg_line_length": 15.0357142857,
"ext": "c",
"hexsha": "d95c07eece28afc2797dae4a583a3eabb37db93b",
"lang": "C",
"max_forks_count": 12,
"max_forks_repo_forks_event_max_datetime": "2022-02-20T17:27:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-23T22:50... |
#pragma once
#include <gsl.h>
#include <boost/optional.hpp>
#include <mitkDataStorage.h>
#include <mitkNodePredicateBase.h>
#include <mitkOperationActor.h>
#include "uk_ac_kcl_HierarchyManager_Export.h"
#define DECLARE_HIERARCHY_MANAGER_NODE_TYPE(nodeTypeName) static const crimson::HierarchyManager::NodeType& nod... | {
"alphanum_fraction": 0.63920953,
"avg_line_length": 39.8125,
"ext": "h",
"hexsha": "464d4379d51f32bf16ec1b64486fc9a4a1bd2196",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:21.000Z"... |
/*
* Copyright (c) 2015, Aleksas Mazeliauskas and Derek Teaney
* All rights reserved.
*
* rnavier is distributed under MIT license;
* see the LICENSE file that should be present in the root
* of the source distribution, or alternately available at:
* https://github.com/rnavier/rnavier/
*/
#ifndef RNAVIER_TBjFlu... | {
"alphanum_fraction": 0.5941300899,
"avg_line_length": 25.7278911565,
"ext": "h",
"hexsha": "9aac95043af66c239aa04cc196e7662225737cad",
"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_claswp.c
*
* PLASMA core_blas quark wrapper
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Mathieu Faverge
* @date 2010-11-15
* @generated c Tue Jan 7 11:44:58 2014
*
**/
#inc... | {
"alphanum_fraction": 0.4972172437,
"avg_line_length": 37.5921985816,
"ext": "c",
"hexsha": "2406944d837cc189a664fb27dcbcd26436ac66aa",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* eigen/gsl_eigen.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2007 Gerard Jungman, Brian Gough, 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 versio... | {
"alphanum_fraction": 0.6586560193,
"avg_line_length": 38.1436781609,
"ext": "h",
"hexsha": "146ebd23f5a04f9627603aaec2ef71ecfac9fefd",
"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 <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "allvars.h"
#include "proto.h"
#ifdef SUBFIND
#include "fof.h"
#include "subfind.h"
/*! Structure for communication during the density comp... | {
"alphanum_fraction": 0.6221002984,
"avg_line_length": 24.7357142857,
"ext": "c",
"hexsha": "4b761d5f8fdb1f112f1f46ea4f3e01da7d2193d2",
"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 _GENMAP_QUALITY_H_
#define _GENMAP_QUALITY_H_
#include <gslib.h>
void printPartStat(long long *vtx, int nel, int nv, comm_ext ce);
#endif
| {
"alphanum_fraction": 0.7718120805,
"avg_line_length": 16.5555555556,
"ext": "h",
"hexsha": "dc127097a66eecd178a51bd5777a7f7df1c46151",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-09-10T20:12:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-10T20:12:... |
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_integration.h> /* GSL Integration Library */
#include "funs.c" /* Integration functions */
#include "timing_funs.h" /* Timing functions */
#define NMAX 100
int main(void)
{
/* Declaration and initialization */
int i;
double... | {
"alphanum_fraction": 0.6434714621,
"avg_line_length": 32.3797468354,
"ext": "c",
"hexsha": "2d17f17c08234a90c3af65754b765ef3094f1679",
"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) 2011-2012, Jérémy Fix. All rights reserved. */
/* Redistribution and use in source and binary forms, with or without */
/* modification, are permitted provided that the following conditions are met: */
/* * Redistributions of source code must retain the above copyright notice, */
/* this list of cond... | {
"alphanum_fraction": 0.5034231284,
"avg_line_length": 41.8629283489,
"ext": "h",
"hexsha": "f4dec0256622722ba4b754035e7cad8123d1f2f7",
"lang": "C",
"max_forks_count": 52,
"max_forks_repo_forks_event_max_datetime": "2021-09-13T02:47:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-10T01:02... |
// The MIT License (MIT)
//
// Copyright (c) 2018 Mateusz Pusz
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | {
"alphanum_fraction": 0.6994712103,
"avg_line_length": 34.04,
"ext": "h",
"hexsha": "e718ef8a284f3238a9131b55d413b6c0a4db8546",
"lang": "C",
"max_forks_count": 70,
"max_forks_repo_forks_event_max_datetime": "2022-03-24T01:57:29.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-14T01:04:22.000Z... |
/*
LAPACKE Example : Calling DGELS using col-major layout
=====================================================
The program computes the solution to the system of linear
equations with a square matrix A and multiple
right-hand sides B, where A is the coefficient matrix
and b is the right-hand side ma... | {
"alphanum_fraction": 0.6061452514,
"avg_line_length": 31.7215189873,
"ext": "c",
"hexsha": "2c1196f3630495d8bd91ae685cccdb238b50c3d7",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2021-02-27T20:52:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-25T20:49... |
#pragma once
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <gsl\gsl>
namespace Library
{
class RasterizerStates final
{
public:
inline static winrt::com_ptr<ID3D11RasterizerState> BackCulling;
inline static winrt::com_ptr<ID3D11RasterizerState> FrontCulling;
inline static winrt::com_ptr<I... | {
"alphanum_fraction": 0.778319123,
"avg_line_length": 29.3214285714,
"ext": "h",
"hexsha": "7e9b075a8b875476a3fabe343e09855bca1afdc3",
"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 <gsl/gsl_statistics.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
#include <Python.h>
static char module_docstring[] = "GSL Statistics module";
static char t_test_docstring[] = "Perform an independent samples t-test";
double t_test(con... | {
"alphanum_fraction": 0.611090296,
"avg_line_length": 26.1666666667,
"ext": "c",
"hexsha": "8fdbf7866560a425da33fe9a76a35c2298b7e260",
"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 <stdint.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <mpi.h>
#include "compearth.h"
#include "parmt_mtsearch.h"
#ifdef PARMT_USE_INTEL
#include <mkl_lapacke.h>
#include <mkl_cblas.h>
#else
#include <lapacke.h>
#include <cblas.h>
#endif
#include "is... | {
"alphanum_fraction": 0.5156055402,
"avg_line_length": 40.2689969605,
"ext": "c",
"hexsha": "6d46d24907184aa6ccb517c68bd0d847a59546f9",
"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_BLOCK_H__
#define __GSL_BLOCK_H__
#include <gsl/block/gsl_block_double.h>
#endif /* __GSL_BLOCK_H__ */
| {
"alphanum_fraction": 0.7899159664,
"avg_line_length": 17,
"ext": "h",
"hexsha": "b1e1e2ab1f7a655df9ada523c9bfd6d7ad3075c9",
"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": "58778f148... |
#include <stdio.h>
#include <math.h>
#include "wf.h"
#include "alphas.h"
#include "glasma.h"
#include <gsl/gsl_integration.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_errno.h>
//workspace and global variables for integration
static double abserr = 1.e-200;
static double relerr = 1.e-20;
double phiKernel(double x, ... | {
"alphanum_fraction": 0.5759296054,
"avg_line_length": 28.0717131474,
"ext": "c",
"hexsha": "9d5bf334ebf6fbc66097a93f89cefcc6d6c0ff81",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/******************************************************************************
* gsl_sprng.c: rewrite of gsl-sprng.h to use sprng streams *
* Author: Yan Y. Liu <yanliu@illinois.edu> *
* Date: 2014/08/17 *
... | {
"alphanum_fraction": 0.5596389426,
"avg_line_length": 31.4923857868,
"ext": "c",
"hexsha": "048c48d9b264f6db02abc1a19875b914fa1a83c6",
"lang": "C",
"max_forks_count": 20,
"max_forks_repo_forks_event_max_datetime": "2021-06-17T14:29:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-28T15:28... |
/**
* @file batchf_zgemm_stride.c
*
* @brief BBLAS batchf_zgemm_stride double _Complex routine.
*
* BBLAS is a software package provided by Univ. of Manchester,
* Univ. of Tennessee.
*
* @version 1.0.0
* @author Samuel D. Relton
* @author Pedro V. Lara
* @author Mawussi Zounon
* @date 2016-04-06... | {
"alphanum_fraction": 0.5755173932,
"avg_line_length": 29.4935064935,
"ext": "c",
"hexsha": "53546d4cb8ba85b0137e459f2d261a187c1be77b",
"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 <time.h>
#include <gsl/gsl_linalg.h>
int DEBUG = 1;
int DEBUG_SOLUTION = 1;
int STORE_TIMING = 0;
FILE* decompFile;
FILE* solveFile;
double* generateVector(int size)
{
double* vec = calloc(sizeof(double), size);
for (int i = 0; i < size; ++i){
double va... | {
"alphanum_fraction": 0.5272010512,
"avg_line_length": 23.3435582822,
"ext": "c",
"hexsha": "a0968b6fa47972b02dd26ad87f25ab77128575b1",
"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/ldlt_band.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.5939516129,
"avg_line_length": 28.2621082621,
"ext": "c",
"hexsha": "9c78e26eeaf542c592352808668755c0d849b006",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#ifndef ALM_L_KATYUSHA_H
#define ALM_L_KATYUSHA_H
#include "L_Katyusha.h"
#include <string>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <stdio.h> /* printf */
#include <time.h>
#include <fstream>
#include <algorithm>
#include <iomanip>
#include <ctime>
#include <sstream>
//#include "cmd_line.... | {
"alphanum_fraction": 0.6352091088,
"avg_line_length": 24.2925531915,
"ext": "h",
"hexsha": "509369ffc0255ba641bd454d27c670d660cf5b7a",
"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:... |
/* -*- c -*- */
/*
* Copyright 2002-2018 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your opt... | {
"alphanum_fraction": 0.6592592593,
"avg_line_length": 23.8235294118,
"ext": "c",
"hexsha": "061fdf4970eb8e176bcb8c3d3732fbb985f78322",
"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) 2003-2013 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This... | {
"alphanum_fraction": 0.6213063764,
"avg_line_length": 38.58,
"ext": "h",
"hexsha": "868302fc26f5347db5656c47f357e73ca92a1c18",
"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:32.000Z"... |
//--------------------------------------------------------------------------------------------------
//
// WIN-BLUETOOTH
//
//--------------------------------------------------------------------------------------------------
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person ... | {
"alphanum_fraction": 0.5380727763,
"avg_line_length": 30.7564766839,
"ext": "h",
"hexsha": "5cc1a8798b14c9a597244f84098e88bc3ebcb19e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2018-07-30T08:41:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-17T12:06:... |
#include <stdio.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
#include "demo_fn.h"
#include "demo_fn.c"
int
main (void)
{
int status;
int iter = 0, max_iter = 100;
const gsl_root_fdfsolver_type *T;
gsl_root_fdfsolver *s;
double x0, x = 5.0, r_expected = sqrt (5.0);
gsl... | {
"alphanum_fraction": 0.6104218362,
"avg_line_length": 22.8113207547,
"ext": "c",
"hexsha": "fea5f110192870f94da343a123486f0c75ecfe68",
"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... |
/* randist/gumbel.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.6553980371,
"avg_line_length": 23.2151898734,
"ext": "c",
"hexsha": "65aff8d3d5b24c7d3318eff7c86cea8b5c989e93",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include "ccl.h"
//Spline creator
//n -> number of points
//x -> x-axis
//y -> f(x)-axis
//y0,yf -> values of f(x) to use beyond the interpolation range
ccl_f1d_t *ccl_f1d_t_new(int n,double *x,double *y,double y0,double... | {
"alphanum_fraction": 0.6340125392,
"avg_line_length": 19.0447761194,
"ext": "c",
"hexsha": "ba12b6463d4ab53fcdab8a88659ca0882022633b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:... |
#include "../include/paralleltt.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <mpi.h>
#include <cblas.h>
#include <string.h>
#include <lapacke.h>
#define min(a,b) ((a)>(b)?(b):(a))
#define abs(a) ((a)>(0)?(a):(-a))
#ifndef HEAD
#define HEAD (int) 0
#endif
matrix_tt* matrix_tt_init(const int m... | {
"alphanum_fraction": 0.4853993141,
"avg_line_length": 29.5369030391,
"ext": "c",
"hexsha": "da3056e2c74e7cf9beb79b1748d71c7e45554294",
"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 "utility/types.h"
#include "utility/c++std/optional.h"
#include "utility/c++std/string_view.h"
#include <fmt/format.h>
#include <gsl/gsl>
namespace cws80 {
class NkScreen;
class NativeUI;
struct Bank;
struct Program;
///
class UIController {
public:
virtual ~UIController() {}
virtual N... | {
"alphanum_fraction": 0.6346023114,
"avg_line_length": 31.6344086022,
"ext": "h",
"hexsha": "bd0832e593f0b18fb9fd55dc6d39db6e4570b656",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* gsl_sf_hermite.h
*
* Copyright (C) 2011-2014 Konrad Griessinger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any la... | {
"alphanum_fraction": 0.7510137875,
"avg_line_length": 56.5596330275,
"ext": "h",
"hexsha": "61c652fe1c87fe24fa82733c2c70a4de2e33c4ea",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
/*
* Copyright (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.6478663472,
"avg_line_length": 32.9978632479,
"ext": "h",
"hexsha": "637f537b06040647f03460adb5ee966bc9aca320",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-07-09T00:20:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-07-09T00:20:... |
/***************************************************************************
File : muParserScripting.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2006 by Ion Vasilief, Knut Franke
Email (use @ for *... | {
"alphanum_fraction": 0.5573163202,
"avg_line_length": 38.5634920635,
"ext": "h",
"hexsha": "065bca3355c74b7148fe396729913f8247332b19",
"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:... |
//
// parameter.h
// EpiGenMCMC
//
// Created by Lucy Li on 08/04/2016.
// Copyright (c) 2016 Lucy Li, Imperial College London. All rights reserved.
//
#ifndef EpiGenMCMC_parameter_h
#define EpiGenMCMC_parameter_h
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
#inc... | {
"alphanum_fraction": 0.6851008458,
"avg_line_length": 24.9918699187,
"ext": "h",
"hexsha": "73f15bb8d2d2656217107e53435bd62629ad7a8e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-16T22:17:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-03-13T16:20:... |
/*
* The MIT License is a permissive free software license, which permits reuse
* within both open source and proprietary software. The software is licensed
* as is, and no warranty is given as to fitness for purpose or absence of
* infringement of third parties' rights, such as patents. Generally use for
* resear... | {
"alphanum_fraction": 0.6823129179,
"avg_line_length": 29.4100787402,
"ext": "c",
"hexsha": "e23f9e98cfd132216bfc741f97f7629d87ab2f44",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2022-03-28T09:17:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-08-03T12:08:... |
#pragma once
/***************************************************
*************** Auto-Generated File ***************
***************************************************/
#include <cstring>
#include <string>
#include <gsl/gsl_const_mksa.h>
#include <gsl/gsl_const_num.h>
#include "../../Utils/BinarySearch.h"
enum... | {
"alphanum_fraction": 0.7092927254,
"avg_line_length": 51.4198113208,
"ext": "h",
"hexsha": "c9ab21ebaeac616bd049152213105fa3198ce11e",
"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 2007-2017 Kristjan Haule
#include <iostream>
#include <fstream>
#include <vector>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_multiroots.h>
#include "logging.h"
#include "smesh.h"
#include "sfunction.h"
#include "tanmesh.h"
#include "romberg.h"
#include <time.h>
#ifdef _MPI
#include <mpi.h>
#endif
usi... | {
"alphanum_fraction": 0.5566485867,
"avg_line_length": 32.9811111111,
"ext": "h",
"hexsha": "dca1ce474a38e7a146233eb1dc5649a7c99b27c0",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2016-08-02T15:05:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-22T15:46:... |
/* Author: G. Jungman */
/* Convenience header */
#ifndef __GSL_SPECFUNC_H__
#define __GSL_SPECFUNC_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... | {
"alphanum_fraction": 0.6995073892,
"avg_line_length": 19.3333333333,
"ext": "h",
"hexsha": "f52c4e2f387413b4da691d6fcbf6d4e3bfa3024e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:... |
/* -----------------------------------------------------------------------------
* Copyright 2021 Jonathan Haigh
* SPDX-License-Identifier: MIT
* ---------------------------------------------------------------------------*/
#ifndef SQ_INCLUDE_GUARD_system_linux_SqFieldSchemaImpl_h_
#define SQ_INCLUDE_GUARD_system_l... | {
"alphanum_fraction": 0.6691943128,
"avg_line_length": 28.5135135135,
"ext": "h",
"hexsha": "dffe25eaaae796556976608d08139eaac5bdddf4",
"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":... |
/*--------------------------------------------------------------------------------------------------
FUNCTION: ssblock_lu
DESCRIPTION:
--------------------------------------------------------------------------------------------------
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <omp.h>
#... | {
"alphanum_fraction": 0.5712873245,
"avg_line_length": 33.4900662252,
"ext": "c",
"hexsha": "0a871015d55f6065bce0e6d38c149cd214a772c0",
"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 <gsl_matrix.h>
#define IKFAST_HAS_LIBRARY // Build IKFast with API functions
#define IKFAST_NO_MAIN // Don't include main() from IKFast
#include "ikfast.cpp"
#include "kin.h"
int KinCalcFowardKinematics(jointAngles_t* angles, eeCoord_t* ee) {
int i;
double eetrans... | {
"alphanum_fraction": 0.6034236805,
"avg_line_length": 20.3188405797,
"ext": "c",
"hexsha": "1a68cf5c4a458a2a62ae7a09a644cc6e6ccfca9f",
"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 to run a Monte Carlo radiation transfer through the 2D
# simulations of GRB jets.
#
# Python code written by D. Lazzati at Oregonstate, C code written by Tyler Parsotan @ Oregon State
# ver 0.1 July 8, 2015
# ver 1.1 July 20, 2015: added record of number of scatterings, included
# all terms in weight. Sh... | {
"alphanum_fraction": 0.5533395797,
"avg_line_length": 51.8819444444,
"ext": "c",
"hexsha": "2effc30f3abbb7470d0829cc440344c8c3d154e5",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T09:12:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-09T16:11:... |
/*
Copyright [2017-2021] [IBM Corporation]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | {
"alphanum_fraction": 0.5580925504,
"avg_line_length": 41.1385224274,
"ext": "h",
"hexsha": "6cd25105178115cf74054b1f7c7c9b94876b9d21",
"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 raver119@gmail.com
//
#ifndef LIBND4J_BLAS_HELPER_H
#define LIBND4J_BLAS_HELPER_H
#include <pointercast.h>
#include <types/float16.h>
#include <cblas.h>
#include <helpers/logger.h>
#ifdef _WIN32
#define CUBLASWINAPI __stdcall
#else
#define CUBLASWINAPI
#endif
namespace nd4j {
typedef enum{
... | {
"alphanum_fraction": 0.355244567,
"avg_line_length": 49.3787375415,
"ext": "h",
"hexsha": "a193e52b315b3ac5114cdcb7fc34e937a2a2a681",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-25T06:48:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-25T06:48:2... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <windows.h>
// Include ABI composition headers for interop with DCOMP surface handle from MediaEngine
#include <windows.ui.composition.h>
#include <windows.ui.composition.interop.h>
// Include prior to WinRT Headers
#in... | {
"alphanum_fraction": 0.7621776504,
"avg_line_length": 25.8518518519,
"ext": "h",
"hexsha": "332f8146884f36f730a58435bea2249f24e3fa25",
"lang": "C",
"max_forks_count": 19,
"max_forks_repo_forks_event_max_datetime": "2022-02-17T09:17:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-06-08T17:18... |
/* multifit/multilinear.c
*
* Copyright (C) 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) any later version.
... | {
"alphanum_fraction": 0.5773072313,
"avg_line_length": 23.3925233645,
"ext": "c",
"hexsha": "c80cceca3941f60c11703a183dbc73b92b7071a7",
"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 <r.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include <stdlib.h>
#include <gsl/gsl_cdf.h>
static void uniformly_distributed(uint64_t (*f)(void))
{
const size_t B = 10, N = 100000;
size_t boxes[B]; memset(boxes, 0, sizeof(boxes));
for(size_t i = 0; i < N; i++) {
boxes[... | {
"alphanum_fraction": 0.5915422886,
"avg_line_length": 24.2168674699,
"ext": "c",
"hexsha": "91dd810454e8f431a9f744af9af8cf16ffdbc861",
"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/legendre_poly.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
* you... | {
"alphanum_fraction": 0.5579562249,
"avg_line_length": 25.6018018018,
"ext": "c",
"hexsha": "5c4cdaff79d2a800f73fc45e3c68375bd4e9ac74",
"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 [2017-2021] [IBM Corporation]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | {
"alphanum_fraction": 0.7110920034,
"avg_line_length": 28.7160493827,
"ext": "h",
"hexsha": "f6725c1eeeabea3f1177eafcf223aff46d24c50c",
"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":... |
/* gaussiate - generate with the GSL some Gaussian random variates */
#include <err.h>
#include <fcntl.h>
#include <float.h>
#include <getopt.h>
#include <limits.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
#include <gsl/... | {
"alphanum_fraction": 0.5923149016,
"avg_line_length": 22.4631578947,
"ext": "c",
"hexsha": "2b5a7955aec5a472cb8df81278181392a383227c",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-17T09:25:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-01-03T15:58:... |
#ifndef MKL_TEMPLATE
#define MKL_TEMPLATE
//#include <cblas.h>
#include <stddef.h>
//#include <blas.h>
#ifdef small
#undef small
#endif
//#include <lapack.h>
#include <cblas_defvar.h>
#ifdef NEW_MATLAB
typedef ptrdiff_t INTT;
#else
typedef int INTT;
#endif
/// a few static variables for lapack
static char low=... | {
"alphanum_fraction": 0.6449932034,
"avg_line_length": 37.9291084855,
"ext": "h",
"hexsha": "e1e6c58f8b5e0c94296bfd104f99cbb2f357e152",
"lang": "C",
"max_forks_count": 77,
"max_forks_repo_forks_event_max_datetime": "2022-02-18T08:37:05.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-12-18T01:35... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Data\Pose.h"
#include "Data\Data.h"
#include <gsl\gsl>
namespace mage
{
/**
* Converts the contents of a CVMat into the mage::Matrix data container by copying the values
*/
Matrix ToMageMat(const cv::M... | {
"alphanum_fraction": 0.6790617849,
"avg_line_length": 34.2745098039,
"ext": "h",
"hexsha": "77b05f893debf6c552897668d506c3e54cffa817",
"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... |
//
// particle.h
// EpiGenMCMC
//
// Created by Lucy Li on 13/04/2016.
// Copyright (c) 2016 Lucy Li, Imperial College London. All rights reserved.
//
#ifndef __EpiGenMCMC__particle__
#define __EpiGenMCMC__particle__
#include <vector>
#include <gsl/gsl_randist.h>
#include "trajectory.h"
class Particle {
int ... | {
"alphanum_fraction": 0.6743341404,
"avg_line_length": 29.5,
"ext": "h",
"hexsha": "0bed6e03b773ad1d35a9e7b22bd879bf92d13bef",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-16T22:17:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-03-13T16:20:40.000Z",... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <mpfr.h>
#include <petsc.h>
#include "../ellipsoid/ellipsoid.h"
#include "../ellipsoid/ellSolv.h"
#include "../constants.h"
#include "testFunctions.h"
#include "../tanhsinh.h"
/*
EX3 - PLOTS CONVERGENCE OF A SINGLE NORMALIZATION CONS... | {
"alphanum_fraction": 0.6741702742,
"avg_line_length": 37.0588235294,
"ext": "c",
"hexsha": "64890105b37767cc355809698d35455fcd821829",
"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 files contains some generic utilities
*/
/* ----- System includes -----*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
/* ----- IFU and GSL includes -----*/
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_sort.h>
#include "IFU_io.h"
// #include "IFU_math.h"
/* ----- Specific IFU includes ----- ... | {
"alphanum_fraction": 0.5723202926,
"avg_line_length": 27.5789473684,
"ext": "c",
"hexsha": "07424d7e61c0864035aff0f123869ffd87b6f3fb",
"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,2019, Alistair Boyle, 3-clause BSD License */
#include "config.h"
#include <string.h> /* memset */
#include <stdlib.h> /* free */
#include <lapacke.h> /* inv: dgetrf, dgetri */
#include <math.h> /* fabs, sqrt */
#include <limits.h> /* MAX_INT */
#include <assert.h> /* assert */
#include <stdio.h> /* p... | {
"alphanum_fraction": 0.4807899328,
"avg_line_length": 28.6585106383,
"ext": "c",
"hexsha": "db1e3c7e5e11fa202f6f0c9bbf26f3e6fd79bbc6",
"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_sgeqp3_update.c
*
* PLASMA core_blas kernel
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Mark Gates
* @date 2010-11-15
* @generated s Tue Jan 7 11:44:49 2014
*
**/
#include <mat... | {
"alphanum_fraction": 0.5292633703,
"avg_line_length": 32.7603305785,
"ext": "c",
"hexsha": "345c1dc722571bd63e92ca83a93aaf8e9bd3afeb",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifdef __GNUC__
#define LIBKLR_API
#else
#ifdef LIBKLR_EXPORTS
#define LIBKLR_API __declspec(dllexport)
#else
#define LIBKLR_API __declspec(dllimport)
#endif
#endif
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#ifdef __APPLE__
#include <Accelerate/Accelerate.h>
#else... | {
"alphanum_fraction": 0.6753246753,
"avg_line_length": 27.9230769231,
"ext": "h",
"hexsha": "1c28c254a2d5333a1a999578d1d1b51d11429d28",
"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 <php.h>
#include <Zend/zend_interfaces.h>
#include <Zend/zend_exceptions.h>
#include <ext/spl/spl_iterators.h>
#include <ext/spl/spl_exceptions.h>
#include <ext/standard/php_rand.h>
#include <cblas.h>
#include <stdint.h>
#include <Interop/Polite/Math/Matrix.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
... | {
"alphanum_fraction": 0.5949180266,
"avg_line_length": 32.2546998181,
"ext": "c",
"hexsha": "44f7619e4a26106dc5731e778e9603b2898fc41e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-08-11T19:59:53.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-08-11T19:59:... |
#ifndef KABSCH_RMSD
#define KABSCH_RMSD
#include <cblas.h>
#include <lapacke.h>
#include <iterator>
#include <iostream>
#include <fstream>
#include <tuple>
namespace kabsch
{
/**
Calculates the RMSD
@param P - coordinates of molecule P
@param Q - coordinates of molecule Q
@param N - number of atoms
@retu... | {
"alphanum_fraction": 0.5565947242,
"avg_line_length": 16.9512195122,
"ext": "h",
"hexsha": "9cc718d7d0cd29b5c9b2d47221c1509f50a8c9ce",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-23T15:15:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-23T15:15:... |
#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"
#ifdef RADTRANSFER
#define sigma 6.3e-18/All.UnitLength_in_cm/All.UnitLength_in_cm // in code units
#endif
#ifdef CS_MODEL
#include "cs_metals.h"
#endif
/*... | {
"alphanum_fraction": 0.6447336708,
"avg_line_length": 21.6657963446,
"ext": "c",
"hexsha": "1c8709fcf9116b4c6a796e263288c7f02d8391dc",
"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":... |
/* roots/falsepos.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Reid Priedhorsky, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at... | {
"alphanum_fraction": 0.6493227263,
"avg_line_length": 25.9832402235,
"ext": "c",
"hexsha": "d264f697a404dc274f981406006441ebfe070d2b",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "core/common/inlined_containers_fwd.h"
#include "core/framework/kernel_registry.h"
#include "core/graph/graph_viewer.h"
#include <gsl/gsl>
namespace onnxruntime {
/**
Returns a list of nodes that ... | {
"alphanum_fraction": 0.6788537549,
"avg_line_length": 37.4814814815,
"ext": "h",
"hexsha": "fda5fdb188d1eec251e213e12fceb1130305b3c2",
"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 José Manuel Abuín Mosquera <josemanuel.abuin@usc.es>
*
* This file is part of Matrix Market Suite.
*
* Matrix Market Suite 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, ei... | {
"alphanum_fraction": 0.6748413156,
"avg_line_length": 30.6725663717,
"ext": "c",
"hexsha": "970ee07fd9b6b9295b51ba9e5b6d6e719966b067",
"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 <gsl/gsl_complex.h>
#include <MathEngine.h>
extern MathEngine engine;
bool printDifference(const std::string& input, const expression expr, const double output, const double expected);
void requireIsEqual(const std::string& input, const double expected);
bo... | {
"alphanum_fraction": 0.7800480769,
"avg_line_length": 39.619047619,
"ext": "h",
"hexsha": "8b96f483ab86b083e6a9a2a208ab28b92612e8a6",
"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/luc.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.
*
* Thi... | {
"alphanum_fraction": 0.5947929808,
"avg_line_length": 26.0268656716,
"ext": "c",
"hexsha": "53606797dabfc9a30e023cf358dbe2e616a198b8",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include "kmacros.h"
#include <math.h>
#include <unistd.h>
#include <float.h>
#include <time.h>
#include <zlib.h>
//#include "lapack_wrapper.h"
#ifdef INTEL_COMPILER
#include "mkl.h"
#else
#include <cblas.h>
#endif
// ... | {
"alphanum_fraction": 0.6017150203,
"avg_line_length": 31.1652209831,
"ext": "c",
"hexsha": "24f0ea5e354f476ca930c466965b0980c871e55d",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-06-26T15:01:39.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-06-26T15:01:... |
#ifndef ALLVARSGRID_H
#define ALLVARSGRID_H
#include <stdio.h>
#include <gsl/gsl_rng.h>
#include <stdint.h>
#define ABORT(sigterm) \
do { \
printf("Error in file: %s\tfunc: %s\tline: %i\n", __FILE__, __FU... | {
"alphanum_fraction": 0.6794685721,
"avg_line_length": 23.6332453826,
"ext": "h",
"hexsha": "e6db968e8f8f0251af67f6ca9cb40e68c3d396b7",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer
*
* Yan-Rong Li, liyanrong@mail.ihep.ac.cn
* Jun 30, 2016
*
*/
#ifndef _MODEL3_H
#define _MODEL3_H
#include <stdbool.h>
#include <gsl/gsl_rng.h>
/* number of model parameters */
extern int num_params;
extern int which_particle_update; /... | {
"alphanum_fraction": 0.7715053763,
"avg_line_length": 22.5454545455,
"ext": "h",
"hexsha": "67f6a5a09c1d9b9f66fad0270a2f6f288759afec",
"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_h__
#define gsl_h__
#include <gsl/gsl_linalg.h>
namespace gsl {
// FIXME clean this up with C++0x rvalues
struct vector {
gsl_vector *p;
gsl_vector_view view;
vector(int n=1) {
p = gsl_vector_alloc(n);
view = gsl_vector_subvector_with_stride(p,0,p->s... | {
"alphanum_fraction": 0.4512195122,
"avg_line_length": 27.5818181818,
"ext": "h",
"hexsha": "c3b6384e7e2216e4acc4f09badd8ed9d283b017c",
"lang": "C",
"max_forks_count": 11,
"max_forks_repo_forks_event_max_datetime": "2020-12-01T21:26:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-06-24T09:35... |
/**
* @file libhades.c
* @author Michael Hartmann <michael.hartmann@physik.uni-augsburg.de>
* @date February, 2016
* @brief library to access low-level LAPACK functions
*/
#include <cblas.h>
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#i... | {
"alphanum_fraction": 0.6059084251,
"avg_line_length": 26.3503759398,
"ext": "c",
"hexsha": "7edbdeb1e6e70c973bd216748aaa683438aab435",
"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 <cstdint>
#include <initializer_list>
#include <iterator>
#include <sstream>
#include <string>
#include <tuple>
#include <gsl/gsl>
#include "chainerx/axes.h"
#include "chainerx/constant.h"
#include "chainerx/dtype.h"
#include "chainerx/error.h"
#include "ch... | {
"alphanum_fraction": 0.6503918023,
"avg_line_length": 30.7222222222,
"ext": "h",
"hexsha": "04c4dc9f73f9002a70a18ab73d9da548cdb74449",
"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":... |
// my_gsl.h is included in bayesMLR.c
// Contains wrapper funtions
// References:
// https://www.gnu.org/software/gsl/manual/html_node/Matrices.html
// https://github.com/Blei-Lab/diln/blob/master/gsl_wrapper.c
#include <stdio.h> // standard input/output
#include <stdlib.h> // malloc
#include <... | {
"alphanum_fraction": 0.5472055222,
"avg_line_length": 25.8847262248,
"ext": "h",
"hexsha": "69cb15d0c3d542882fe844cfd07ff035bc91f0e1",
"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 testing_zcungesv.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Emmanuel Agullo
* @date 2010-11-15
* @precisions mixed zc -> ds
*
**/
#include <stdlib.h>
#... | {
"alphanum_fraction": 0.5545706371,
"avg_line_length": 33.84375,
"ext": "c",
"hexsha": "32280598a7d90d2096e1ccc4571e61e420a6e2d0",
"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": "bcc... |
/* specfunc/sinint.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your optio... | {
"alphanum_fraction": 0.6201202549,
"avg_line_length": 27.6501240695,
"ext": "c",
"hexsha": "76a88ea00fe8b3c2ff143b4dfe467796dc285a8c",
"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 __GSL_SORT_H__
#define __GSL_SORT_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_sort_long_double.h>
#i... | {
"alphanum_fraction": 0.751497006,
"avg_line_length": 21.5483870968,
"ext": "h",
"hexsha": "2632f67efcabfafdc484c725433c49d633a2f22f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:3... |
// run with OPENBLAS_NUM_THREADS=1 and OMP_NUM_THREADS=n
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <cblas.h>
#include <omp.h>
#include <pthread.h>
#define MIN_SIZE 5
#define MAX_SIZE 60
#define NB_SIZE 10
// number of loop for a 1x1 matrix. Lower it if the test is
// too slow ... | {
"alphanum_fraction": 0.5936744186,
"avg_line_length": 27.1464646465,
"ext": "c",
"hexsha": "c5dcc58810d28a7f1e6793016e89292e4d8dbbfa",
"lang": "C",
"max_forks_count": 1564,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T07:12:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-01T01:... |
#include <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "cblas.h"
void
cblas_zaxpy (const int N, const void *alpha, const void *X, const int incX,
void *Y, const int incY)
{
#define BASE double
#include "source_axpy_c.h"
#undef BASE
}
| {
"alphanum_fraction": 0.6862745098,
"avg_line_length": 19.6153846154,
"ext": "c",
"hexsha": "d6484014f0b6cedc851aeca71e4b3158456d65ad",
"lang": "C",
"max_forks_count": 173,
"max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-08T18:0... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdint.h>
#include <limits.h> // for int limits etc.
#include <assert.h>
#include <time.h>
#include <gsl/gsl_histogram.h>
#include <omp.h>
#include "main.h"
#include "dSFMT-src-2.1/dSFMT.h"
//#include "ziggurat/ziggurat.h"
//#defin... | {
"alphanum_fraction": 0.6133305841,
"avg_line_length": 28.1552975327,
"ext": "c",
"hexsha": "f24d2e60b714cea428f0f33c9ea703d49730f4e3",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above cop... | {
"alphanum_fraction": 0.6861158433,
"avg_line_length": 33.0704225352,
"ext": "c",
"hexsha": "6b628b34998e5a42fd14206f93a720870b7eb9f2",
"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 __GSLEXTRA_H__
#define __GSLEXTRA_H__
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_sf.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_matr... | {
"alphanum_fraction": 0.7906127038,
"avg_line_length": 42.3571428571,
"ext": "h",
"hexsha": "eb404d7654c27b204c73acf9d7a808e653ff237d",
"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 <gsl/gsl_sort.h>
#include <gsl/gsl_wavelet.h>
#include <gsl/gsl_math.h>
int
main (int argc, char **argv)
{
int i, j, k, n = 256, nc = 20;
double *data = malloc (n * sizeof (double));
double *abscoeff = malloc (n * siz... | {
"alphanum_fraction": 0.4131832797,
"avg_line_length": 23.325,
"ext": "c",
"hexsha": "c698e7a8b7d86e724a5fe7b5db4be1677bb1f77b",
"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": "a1ae0... |
#pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include "DrawableGameComponent.h"
#include "MatrixHelper.h"
namespace Library
{
class Mesh;
}
namespace Rendering
{
class TexturedModelDemo final : public Library::DrawableGameComponent
{
public:
TexturedModelDemo(Library... | {
"alphanum_fraction": 0.7732634338,
"avg_line_length": 28.7924528302,
"ext": "h",
"hexsha": "680064e77a222a9f0b5362b0e2fd89f3e937876f",
"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 MSNHINFERENCECFG_H
#define MSNHINFERENCECFG_H
#include <stdint.h>
#include <float.h>
#include <string>
#include <vector>
#include <chrono>
#include "Msnhnet/utils/MsnhException.h"
#include "Msnhnet/config/MsnhnetMacro.h"
#include <math.h>
#include <string.h>
#ifdef USE_OMP
#include <omp.h>
#endi... | {
"alphanum_fraction": 0.6040515654,
"avg_line_length": 14.0129032258,
"ext": "h",
"hexsha": "ec52943320313d83be82f9cdf607d8fa93cb0b46",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#define PyGSL_NUMERIC
#define PyGSL_NUMARRAY
#include "numeric_numarray.h"
#include <gsl/gsl_errno.h>
#include <pygsl/general_helpers.h>
static int
cp_numeric_ptrs(void)
{
return GSL_SUCCESS;
}
static int
cp_numarray_ptrs(void)
{
return GSL_SUCCESS;
}
void
initnumx(void)
{
init_pygsl();
cp_numer... | {
"alphanum_fraction": 0.7234636872,
"avg_line_length": 13.2592592593,
"ext": "c",
"hexsha": "5ff99b5d3ea61a7da568496478e32d7836d25872",
"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:... |
#ifndef LIBTENSOR_CBLAS_H_H
#define LIBTENSOR_CBLAS_H_H
#ifdef USE_CBLAS
extern "C" { // Fixes older cblas.h versions without extern "C"
#include <cblas.h>
}
#endif // USE_CBLAS
#ifdef USE_GSL
#include <gsl/gsl_cblas.h>
#endif // USE_GSL
#endif // LIBTENSOR_CBLAS_H_H
| {
"alphanum_fraction": 0.7527675277,
"avg_line_length": 18.0666666667,
"ext": "h",
"hexsha": "5320c3e89bbfe40e017259da7cc17e71e73f1935",
"lang": "C",
"max_forks_count": 12,
"max_forks_repo_forks_event_max_datetime": "2021-02-24T17:35:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-05-19T18:09... |
#ifndef _B_SYSTEM_H_
#define _B_SYSTEM_H_
#include <iostream>
#include <vector>
using namespace std;
#include "Ode.h"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
class B_system{
public:
B_system(double ini_vx_pass, double ini_vy_pass,
double ini_xx_pass, double ini_xy_pass,
double t_start_p... | {
"alphanum_fraction": 0.6663013699,
"avg_line_length": 40.5555555556,
"ext": "h",
"hexsha": "05f9b51401199e3d844854f6868c8e085005df69",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include "DrawableGameComponent.h"
#include "MatrixHelper.h"
#include "PointLight.h"
namespace Rendering
{
class EnvironmentMappingMaterial;
class EnvironmentMappingDemo final : public Library::DrawableGameComponent
{
public... | {
"alphanum_fraction": 0.7866022099,
"avg_line_length": 31.4782608696,
"ext": "h",
"hexsha": "db8194d46f1899ba13ad81ae77e27c5378efa918",
"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":... |
/*
* accelerate_includes.h
*
* Created on: Sep 29, 2014
* Author: Tama
*/
#ifndef ACCELERATE_INCLUDES_H_
#define ACCELERATE_INCLUDES_H_
#ifdef __linux__
/*LINUX IMPLEMENTATION*/
/*the libraries:
*liblapacke.a
*liblapack.a
*libcblas.a
*librefblas.a
are supposed to be in some standard place*/
//!!! The con... | {
"alphanum_fraction": 0.7246931762,
"avg_line_length": 26.1825192802,
"ext": "h",
"hexsha": "fef9d007218fc2c5de68bc4abe3ab5bfb924057b",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-08-30T08:39:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-05T19:42:... |
#include <config.h>
#include <math.h>
#include <gsl/gsl_ntuple.h>
#include <gsl/gsl_histogram.h>
struct data
{
double x;
double y;
double z;
};
int sel_func (void *ntuple_data, void *params);
double val_func (void *ntuple_data, void *params);
int
main (void)
{
struct data ntuple_row;
int i;
gsl_ntuple *... | {
"alphanum_fraction": 0.6130728775,
"avg_line_length": 18.2328767123,
"ext": "c",
"hexsha": "a59ef85f3f5a371e3ab5b19903829d8d05ee0948",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#ifndef ALG_LOMV
#define ALG_LOMV
#include "string.h"
#include "assert.h"
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_linalg.h>
double linf(int d, gsl_vector * a, gsl_vector * b);
void psi(int p, int... | {
"alphanum_fraction": 0.7059496568,
"avg_line_length": 30.1379310345,
"ext": "h",
"hexsha": "40812b81fb5785008b94a6a17504a5afb3873493",
"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 Stijn Hinterding, Utrecht University
* This sofware is licensed under the MIT license (see the LICENSE file)
*/
#ifndef FAKECOMMUNICATOR_H
#define FAKECOMMUNICATOR_H
#include <phast_gui/interfaces/itimetaggercommunicator.h>
#include <gsl/gsl_rng.h>
#include <chrono>
#include <mutex... | {
"alphanum_fraction": 0.6040268456,
"avg_line_length": 23.9853658537,
"ext": "h",
"hexsha": "ecc53fb11044489c180e147f8cb55d4c39b69173",
"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":... |
//////////////////////////////////////////// Spin glass phase transition ////////////////////////////////////////
/*
Phase space of the SK model.
Please cite the following paper when you use this code.
[Ezaki T, Fonseca dos Reis E, Watanabe T, Sakaki M, Masuda N. Closer to critical resting-state neural dynamics in... | {
"alphanum_fraction": 0.5022947116,
"avg_line_length": 28.2694610778,
"ext": "c",
"hexsha": "0a5476c93fc404935a98df107ed7849a0ec5881c",
"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-initval/gear1.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 opt... | {
"alphanum_fraction": 0.6292487861,
"avg_line_length": 22.5870967742,
"ext": "c",
"hexsha": "3967f13d63f72157e093cdf16f61b7d32e285b0c",
"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... |
#ifndef PRK_PETSC_H_
#define PRK_PETSC_H_
#define PRK_PETSC_USE_MPI 1
#ifdef PRK_PETSC_USE_MPI
#include <mpi.h>
#endif
#include <petsc.h>
#include <petscsys.h>
#include <petscvec.h>
#include <petscmat.h>
#endif // PRK_PETSC_H_
| {
"alphanum_fraction": 0.7619047619,
"avg_line_length": 14.4375,
"ext": "h",
"hexsha": "3478c765e9d09095ab7efade4cef43eb101a8393",
"lang": "C",
"max_forks_count": 101,
"max_forks_repo_forks_event_max_datetime": "2022-01-13T02:56:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-06-15T22:06:46.0... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <malloc.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_linalg.h>
#define L 1 //1 2 3 4
#define LL 2 //2^(1 2 3 4)
#define LLL 4 //2^(2 3 4 5)
#define N 8
#define M 1 //# of trials
#define R 1 //the number o... | {
"alphanum_fraction": 0.443108332,
"avg_line_length": 21.7823050058,
"ext": "c",
"hexsha": "38c941bcf17722f5538b7d97ae09c149fe46f0a7",
"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.