Search is not available for this dataset
text string | meta dict |
|---|---|
/**
*
* @file core_dgeqp3_norms.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 d Tue Jan 7 11:44:49 2014
*
**/
#include <lapa... | {
"alphanum_fraction": 0.5284132841,
"avg_line_length": 29.4565217391,
"ext": "c",
"hexsha": "e2525a5eef5ef134d3334e8de2c66cfbb3fbd060",
"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 <imageview/ImageRowView.h>
#include <imageview/IsPixelFormat.h>
#include <imageview/internal/ImageViewIterator.h>
#include <imageview/internal/ImageViewStorage.h>
#include <imageview/internal/PixelRef.h>
#include <gsl/assert>
#include <gsl/span>
#include <cstddef>
#include <type_traits>
namesp... | {
"alphanum_fraction": 0.719879051,
"avg_line_length": 45.5759717314,
"ext": "h",
"hexsha": "bb8432b865371bd2fcb368739beff863303110fa",
"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 <cstddef>
#include <cstdint>
#include <functional>
#include <initializer_list>
#include <memory>
#include <numeric>
#include <set>
#include <utility>
#include <vector>
#include <absl/container/flat_hash_map.h>
#include <gsl/gsl>
#include "chainerx/array.h"
#include "chainerx/array_body.h"
#incl... | {
"alphanum_fraction": 0.7310769231,
"avg_line_length": 41.4893617021,
"ext": "h",
"hexsha": "aafa29e403c7ae51b50050d55f36c4094b8a3aca",
"lang": "C",
"max_forks_count": 1150,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T02:29:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-06-02T03:... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <gsl/gsl>
#include "core/optimizer/graph_transformer.h"
#include "core/optimizer/rule_based_graph_transformer.h"
#include "core/optimizer/rewrite_rule.h"
namespace onnxruntime {
struct FreeDimension... | {
"alphanum_fraction": 0.7063679245,
"avg_line_length": 48.4571428571,
"ext": "h",
"hexsha": "d9a0fb369b48ed148e6bc6eac2c3e95ba9b7175f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-09-09T06:55:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-09-09T06:55:... |
#ifdef HAVE_LIBGSL
/* interface_gsl.h
* Easel's interfaces to the GNU Scientific Library
*
* SRE, Tue Jul 13 15:36:48 2004
* SVN $Id: interface_gsl.h 664 2011-02-27 17:08:36Z eddys $
* SVN $URL: https://svn.janelia.org/eddylab/eddys/easel/branches/hmmer/3.1/interface_gsl.h $
*/
#ifndef eslINTERFACE_GSL_INCLUDED
... | {
"alphanum_fraction": 0.7529585799,
"avg_line_length": 27.04,
"ext": "h",
"hexsha": "ac090d60bbedbeacc26c8b3a0d99eef961c642be",
"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": "6c1beb... |
#ifndef _EM_CTX_H_
#define _EM_CTX_H_ 1
#include "em_defs.h"
#include <petsc.h>
#include <set>
#include <map>
#include <memory>
#include <vector>
class Mesh;
struct EMContext {
MPI_Comm world_comm, group_comm;
int world_size, world_rank, group_size, group_rank, group_id;
std::vector<Point> rx;
std::vector... | {
"alphanum_fraction": 0.7387218045,
"avg_line_length": 22.8,
"ext": "h",
"hexsha": "9a61faf6faf8a7be30817dde506feb95f29e61d3",
"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": "9129e28... |
// 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>
std::string get_home_directory();
std::string get_curre... | {
"alphanum_fraction": 0.777544596,
"avg_line_length": 35.2962962963,
"ext": "h",
"hexsha": "8e95320a7bdfd47d96c5d58f1d3e5d29a5b729e1",
"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:1... |
#pragma once
#include "BoundingVolume.h"
#include "Library.h"
#include "Tile.h"
#include "TileContext.h"
#include "TileID.h"
#include "TileRefine.h"
#include "TilesetOptions.h"
#include <CesiumAsync/AsyncSystem.h>
#include <CesiumAsync/IAssetAccessor.h>
#include <CesiumAsync/IAssetRequest.h>
#include <gsl/span>
#inc... | {
"alphanum_fraction": 0.7136021873,
"avg_line_length": 30.4791666667,
"ext": "h",
"hexsha": "b4f59680b7bfc2e2168e5145b6f3d8cbb13343c3",
"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 <virginian.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
int main(int argc, char **argv)
{
if(argc != 3) {
fprintf(stderr, "%s <database name> <rows>\n", argv[0]);
exit(1);
}
unlink(argv[1]);
virginian virg;
virginian *v = &virg;
... | {
"alphanum_fraction": 0.6554508748,
"avg_line_length": 22.5151515152,
"ext": "c",
"hexsha": "5323dc6968add59c11e0c8c36b64d1ba7cc4d5e1",
"lang": "C",
"max_forks_count": 30,
"max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12... |
#ifndef __INTEGRATOR_H
#define __INTEGRATOR_H
#include "autoparams.h"
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include <stack>
namespace integrator
{
double infty = 1000;
class WorkspaceHandle;
class Workspaces
{
public:
static const size_t WORKSPACE_SIZE = 1000000;
static const size_t ... | {
"alphanum_fraction": 0.6491651579,
"avg_line_length": 28.4057142857,
"ext": "h",
"hexsha": "5178ac2a2c6408a18fb5baf4298dd148b2c89530",
"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$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by Arve Kylling, Bernhard Mayer,
* Claudia Emde, Robert Buras
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program... | {
"alphanum_fraction": 0.4928968355,
"avg_line_length": 38.287175553,
"ext": "c",
"hexsha": "c128ed21b5192897ba52c0c7c4c9738fd2781e5e",
"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": ... |
/*---
Flow*: A Verification Tool for Cyber-Physical Systems.
Authors: Xin Chen, Sriram Sankaranarayanan, and Erika Abraham.
Email: Xin Chen <chenxin415@gmail.com> if you have questions or comments.
The code is released as is under the GNU General Public License (GPL).
---*/
#ifndef MATRIX_H_
#define MATRIX_... | {
"alphanum_fraction": 0.7051029261,
"avg_line_length": 25.2067594433,
"ext": "h",
"hexsha": "107ce6bbbcf1cb1aa105c514dc35afe939295749",
"lang": "C",
"max_forks_count": 12,
"max_forks_repo_forks_event_max_datetime": "2021-10-05T04:16:44.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-02-05T15:13... |
#ifndef basis_dcab07d2_8e6a_4150_b6fb_1eb09f015f76_h
#define basis_dcab07d2_8e6a_4150_b6fb_1eb09f015f76_h
#include <gslib\error.h>
//#include <gslib\string.h>
#include <gslib\std.h>
#include <rathen\config.h>
#include <rathen\buildin.h>
__rathen_begin__
class __gs_novtable type abstract
{
public:
v... | {
"alphanum_fraction": 0.6018975825,
"avg_line_length": 26.7152777778,
"ext": "h",
"hexsha": "cc998e860bfb91c1dc9adc42c5529815e467f224",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include "2d_array.h"
#include "const.h"
#include "input.h"
#include "utilities.h"
#include "misc.h"
/******************************************************************************
MODULE: greenband_test
PURPOSE: Multitemporal clo... | {
"alphanum_fraction": 0.468115942,
"avg_line_length": 30.7121661721,
"ext": "c",
"hexsha": "5ff1972e57c0244546f56bc21c3958c9c103783b",
"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 Jan Filipowicz, Filip Turobos
//
// 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, ... | {
"alphanum_fraction": 0.7184006879,
"avg_line_length": 38.7666666667,
"ext": "h",
"hexsha": "e74e1e8ab63d4ce44cbcc9a1a632446ea8912adb",
"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":... |
/* usleep, inet_aton */
#define _GNU_SOURCE
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <gsl/gsl_matrix... | {
"alphanum_fraction": 0.6313547864,
"avg_line_length": 30.2494887526,
"ext": "c",
"hexsha": "cd307fc7e4a06419fa2c7be2d50231e73d73e10b",
"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":... |
/*
Ballistic: a software to benchmam ballistic models.
AUTHORS: Javier Burguete Tolosa.
Copyright 2018, AUTHORS.
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 co... | {
"alphanum_fraction": 0.6454330974,
"avg_line_length": 27.3456221198,
"ext": "c",
"hexsha": "816e5e026cab0d5cc6bad18e759d4a895aa24494",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-06-24T07:19:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-06-24T07:19:... |
/*
* File: spce_sect.h
* External definitions for spce_sect.c
*
*
*/
#ifndef spce_sect_H
#define spce_sect_H
#include <math.h>
#include <gsl/gsl_roots.h>
#include "aXe_grism.h"
#include "spc_trace_functions.h"
/**
@package spce_sect
*/
/**
A structure to support old gsl 0.9 gsl_interval
*/
typedef stru... | {
"alphanum_fraction": 0.7103825137,
"avg_line_length": 22.875,
"ext": "h",
"hexsha": "73d7b0bd412f50f1f8e7248ad5d6dccaac3e5887",
"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": "f57de... |
/* specfunc/bessel_Inu.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 o... | {
"alphanum_fraction": 0.6299765808,
"avg_line_length": 27.7723577236,
"ext": "c",
"hexsha": "aa6d06af3b878846d7f989b5056985451df9380c",
"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... |
/** Function for dealiasing weather radar radial velocities.
* @file libdealias.c
* @author Adriaan Dokter, adapted from dealias.c RAVE functions by Gunther Haase
* @date 2016-09-22
*/
#include "libdealias.h"
#include <stdio.h>
#include <gsl/gsl_multimin.h>
#include <gsl/gsl_vector.h>
void printDealias(const floa... | {
"alphanum_fraction": 0.5928937403,
"avg_line_length": 35.4861660079,
"ext": "c",
"hexsha": "bfaff6526ac4f40eef362ed7537310b8d6d9e998",
"lang": "C",
"max_forks_count": 17,
"max_forks_repo_forks_event_max_datetime": "2022-02-11T14:38:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-04-22T09:15... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
//#include<ctype.h>
#include<string.h>
#include <gsl/gsl_fit.h>
#include "system_evol.h"
#include "initial_conditions.h"
#include "solver.h"
#include "chaotic_variables.h"
#define Distance(x, y) (sqrt((x) * (x) + (y) * (y)))
#define M 1 //masa... | {
"alphanum_fraction": 0.6930147059,
"avg_line_length": 20.9230769231,
"ext": "h",
"hexsha": "b8b3171ecbd9a9043b5bd5ccc3b83d2f200abc58",
"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 BASIS_PURSUIT_E_H
#define BASIS_PURSUIT_E_H
#include "Matrix.h"
#include "LADMM.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 <math.h>
//Th... | {
"alphanum_fraction": 0.6403846154,
"avg_line_length": 18.0869565217,
"ext": "h",
"hexsha": "9942c104f68ce4fb16317efb6cf20c0cf8697573",
"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:... |
/* randist/gauss.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006 James Theiler, Brian Gough
* Copyright (C) 2006 Charles Karney
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ... | {
"alphanum_fraction": 0.6357380688,
"avg_line_length": 31.2847222222,
"ext": "c",
"hexsha": "2ceb80487501a49b406d6c75046fc963d0573484",
"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... |
#pragma once
#include <stdlib.h>
#include <stdio.h>
#include <MathLib/MathLibDll.h>
#include <MathLib/MathLib.h>
#include <MathLib/ThreeTuple.h>
#include <gsl/matrix/gsl_matrix.h>
#define MATRIX_AT(m, i, j) (*((m->data + ((i) * m->tda + (j)))))
class Vector3d;
/*==============================================... | {
"alphanum_fraction": 0.6652202937,
"avg_line_length": 31.8723404255,
"ext": "h",
"hexsha": "bf663bcf43c9e3e289f2cd6dc604eb6e650c2ab4",
"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_complex.h>
#include <gsl/gsl_complex_math.h>
#include <stdlib.h>
/* Representation */
gsl_complex *alloc_gsl_complex(void)
{
gsl_complex *c = malloc(sizeof(gsl_complex));
return c;
}
void free_gsl_complex(gsl_complex *c)
{
free(c);
}
gsl_complex_float *alloc_gsl_complex_float(void)
{
gsl_co... | {
"alphanum_fraction": 0.7312201476,
"avg_line_length": 20.1428571429,
"ext": "c",
"hexsha": "3a62916a16c344f5c08abdb2372ab3c5775df08d",
"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 "linear.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <lauxlib.h>
#include <cblas.h>
#include <lapacke.h>
/* matrix orders */
static const char * const ORDERS[] = { "row", "col", NULL };
/* checks an order */
static CBLAS_ORDER checkorder (lua_St... | {
"alphanum_fraction": 0.5999652898,
"avg_line_length": 23.8099173554,
"ext": "c",
"hexsha": "e04cb06194fd86400dee21c3fae83e5be8cbd61e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-03-14T09:33:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-05T23:58:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "parmt_utils.h"
#ifdef PARMT_USE_INTEL
#include <mkl_cblas.h>
#else
#include <cblas.h>
#endif
#include "iscl/memory/memory.h"
/*!
* @brief Converts the NED based fundamental faults to Green's functions which
* scale the NED based moment tensor ... | {
"alphanum_fraction": 0.4882508093,
"avg_line_length": 42.4478371501,
"ext": "c",
"hexsha": "e7943f724e6e5dcc1a84d6e9b6a5fd37ef8dd60f",
"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_matrix.h>
#include <gsl/gsl_vector.h>
#include <tiny_dnn/tiny_dnn.h>
#include "defines.h"
#include "matrix_vector_ops.h"
#include "genann.h"
#define NUM_STATES 12
#define NUM_INPUTS 4
// Dynamics model from G. Gremillion, S. Humbert paper "System Identification of
// a Quadrotor Micr... | {
"alphanum_fraction": 0.4737451737,
"avg_line_length": 35.9722222222,
"ext": "h",
"hexsha": "a1335b98eaa3606832c78856715d6defdf1119ae",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/**
* Subroutines used mostly for working on catalogs
* in the tasks SEX2GOL and GOL2AF.
*
* Howard Bushouse, STScI, 04-Mar-2011, version 1.4
* Changed FATAL error to WARN3 when get_valid_entries returns no valid
* magnitudes for an object.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#includ... | {
"alphanum_fraction": 0.5981047775,
"avg_line_length": 32.6911694511,
"ext": "c",
"hexsha": "3448fc8fdf8cea18bbf4a89b7d21825cba4ee129",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Soft... | {
"alphanum_fraction": 0.7226027397,
"avg_line_length": 36.5,
"ext": "h",
"hexsha": "7497fb28da675c1e89f36bb62d8d0c1c91bee8b0",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:58.000Z",... |
#ifndef PAHEMISSIONMODEL_H_
#define PAHEMISSIONMODEL_H_
#include "Exception.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <utility>
#include <vector>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_math.h>
#i... | {
"alphanum_fraction": 0.6846092504,
"avg_line_length": 29.8571428571,
"ext": "h",
"hexsha": "68357558af6090cc35b6d0e7e026250556e86f38",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-12-23T18:00:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-12-23T18:00:... |
#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_rotm (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int N = 1;
float h[] = { -1.0f, -4.44982e+03f, -15.5826f, 7.091334e+04f, 2.95912e+04f };
float X[] = { -0.034f }... | {
"alphanum_fraction": 0.4804074126,
"avg_line_length": 23.3763227513,
"ext": "c",
"hexsha": "084b7a800988ac779f89649a2332f7af85cbc146",
"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 (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// CPUMatrix.h : template implementation of all matrix functions on the CPU side
//
#pragma once
#include "Basics.h"
#include "File.h"
#include "CPUMatrix.h"... | {
"alphanum_fraction": 0.5698053256,
"avg_line_length": 36.0776685588,
"ext": "h",
"hexsha": "aae1cae785d1ab712567c8bc79a39c7fa2615dac",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-01-06T08:41:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-23T11:42:... |
#pragma once
#include <gsl/span>
/**
* \brief Class for managing Bluetooth state.
*/
class Bluetooth
{
public:
/**
* \brief Disconnects a device with matching MAC address from
* the first Bluetooth radio it is connected to.
* \param macAddress The MAC address to search for.
* \return \c true on success.
*... | {
"alphanum_fraction": 0.7081218274,
"avg_line_length": 21.8888888889,
"ext": "h",
"hexsha": "ecdeacd520a0d31ee08aecfc0223570228cc45aa",
"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":... |
/*
MIT License
Copyright (c) 2020 Huy Vo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distrib... | {
"alphanum_fraction": 0.7533020878,
"avg_line_length": 28.2771084337,
"ext": "h",
"hexsha": "cee8004f1d47891a82f68449491ad8059afab254",
"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 energy.c
/// \brief Sort and fill energy levels to obtain occupancy of each level.
//
// Copyright (c) 2014, Christian B. Mendl
// All rights reserved.
// http://christian.mendl.net
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the Simplified BSD License
/... | {
"alphanum_fraction": 0.6933351322,
"avg_line_length": 25.3835616438,
"ext": "c",
"hexsha": "3b572ddebbb19e4b1a58c60db7f909ef1369a97e",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-03-25T22:00:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-26T21:06:... |
/** @file */
#ifndef __CCL_HALOFIT_H_INCLUDED__
#define __CCL_HALOFIT_H_INCLUDED__
#include <gsl/gsl_spline.h>
#include <gsl/gsl_spline.h>
CCL_BEGIN_DECLS
typedef struct halofit_struct {
gsl_spline *rsigma;
gsl_spline *sigma2;
gsl_spline *n_eff;
gsl_spline *C;
gsl_spline *weff;
gsl_spline *omeff;
gsl_s... | {
"alphanum_fraction": 0.7514078842,
"avg_line_length": 26.4468085106,
"ext": "h",
"hexsha": "c09956eeea929bd3390dd4788898f57b13b7f30a",
"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:... |
#pragma once
#include "HttpHeaders.h"
#include "Library.h"
#include <gsl/span>
#include <cstddef>
#include <map>
#include <string>
namespace CesiumAsync {
/**
* @brief A completed response for a 3D Tiles asset.
*/
class CESIUMASYNC_API IAssetResponse {
public:
/**
* @brief Default destructor
*/
virtual... | {
"alphanum_fraction": 0.655596556,
"avg_line_length": 17.6739130435,
"ext": "h",
"hexsha": "10519057806beb521d144c174ffdb21144ae2c85",
"lang": "C",
"max_forks_count": 66,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14:... |
//! \file openmc_driver.h
//! Driver to initialize and run OpenMC in stages
#ifndef ENRICO_OPENMC_DRIVER_H
#define ENRICO_OPENMC_DRIVER_H
#include "enrico/cell_instance.h"
#include "enrico/geom.h"
#include "enrico/neutronics_driver.h"
#include "openmc/cell.h"
#include "openmc/tallies/filter_cell_instance.h"
#include ... | {
"alphanum_fraction": 0.6880896226,
"avg_line_length": 31.7009345794,
"ext": "h",
"hexsha": "d6073e69df182dbbaa87cae89c857999eeee4fdd",
"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_zgels.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 Bilel Hadri
* @author Hatem Ltaief
* @date 2010-11-15
* @precisions normal z -> c d s
*
**/
#... | {
"alphanum_fraction": 0.5073445814,
"avg_line_length": 33.4687975647,
"ext": "c",
"hexsha": "acede7c54ce6af472428b92ac78acc2f738f56cd",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <gsl/gsl>
namespace _winml {
void LoadSpanFromDisjointBuffers(
size_t num_buffers,
std::function<gsl::span<byte>(size_t)> get_buffer,
gsl::span<byte>& buffer_span);
void StoreSpanIntoDi... | {
"alphanum_fraction": 0.7282377919,
"avg_line_length": 23.55,
"ext": "h",
"hexsha": "9e6c354e4332657d9339484f437440765320649c",
"lang": "C",
"max_forks_count": 1566,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T17:06:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-05-07T01:30:07.00... |
/* Standalone c program to use viscdisk to run the Pringle (1981) ring
problem, with a complex equation of state */
#include <math.h>
#include <stdio.h>
#include "init.h"
#include "vader.h"
#include "vader_common.h"
#include <gsl/gsl_sf_bessel.h>
/* Physical constants */
#define KB 1.3806488e-16
#defi... | {
"alphanum_fraction": 0.627039627,
"avg_line_length": 27.8055555556,
"ext": "c",
"hexsha": "6a7e0c9bb6fe0a02fa6128c9890b54369751127f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41:3... |
/*
This code is written by <albanese@fbk.it>.
(C) 2008 mlpy Developers.
See DWT in the GSL Library.
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 versi... | {
"alphanum_fraction": 0.6078141783,
"avg_line_length": 27.4833948339,
"ext": "c",
"hexsha": "a06cd28c792e3888f559b8f1bbea049562952850",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
NAME:
read_IC
PURPOSE:
read the initial conditions file
CALLING SEQUENCE:
read_IC(char ICfilename[])
INPUT:
ICfilename - initial conditions filename
OUTPUT:
sets the options and the initial conditions
REVISION HISTORY:
2008-09-21 - Written Bovy
*/
#include <stdbool.h>
#inc... | {
"alphanum_fraction": 0.5708154506,
"avg_line_length": 24.7632850242,
"ext": "c",
"hexsha": "00a6d18180c9de40345608cd0133c741452bd32b",
"lang": "C",
"max_forks_count": 26,
"max_forks_repo_forks_event_max_datetime": "2021-12-13T03:37:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-05T22:21... |
// Import a generic GeoTIFF (a projected GeoTIFF flavor), including
// projection data from its metadata file (ERDAS MIF HFA .aux file) into
// our own ASF Tools format (.img, .meta)
//
// NOTE:
// 1. At this time, only supports Albers Equal Area Conic, Lambert Azimuthal
// Equal Area, Lambert Conformal Conic, Polar... | {
"alphanum_fraction": 0.5794700347,
"avg_line_length": 42.9460249934,
"ext": "c",
"hexsha": "004e54c3fad96da70085d111d6a24d639c924375",
"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:... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_sf_bessel.h>
#include "cosmocalc.h"
#include "weaklens.h"
double chiLim;
static vo... | {
"alphanum_fraction": 0.684154883,
"avg_line_length": 25.4781144781,
"ext": "c",
"hexsha": "44ff672b1b1a51d6b925b640610e2b0178488f6f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:3... |
/**
*
* @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.5417827298,
"avg_line_length": 27.0943396226,
"ext": "c",
"hexsha": "970139f3816b8c32908f773f0b05cbabba0b66cb",
"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 AMICI_MISC_H
#define AMICI_MISC_H
#include "amici/defines.h"
#include <sunmatrix/sunmatrix_sparse.h> // SUNMatrixContent_Sparse
#include <algorithm>
#include <vector>
#include <memory>
#include <regex>
#include <gsl/gsl-lite.hpp>
namespace amici {
/**
* @brief creates a slice from existing data
*
* @par... | {
"alphanum_fraction": 0.7108390349,
"avg_line_length": 25.018018018,
"ext": "h",
"hexsha": "6284a1d8f9d7a25740ce09447fb93600c590be2e",
"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": ... |
#if !defined(FINDFILEEXT_H_INCLUDED)
#define FINDFILEEXT_H_INCLUDED
#include "FileEnumerator.h"
#include "Utils.h"
#include <filesystem>
#include <gsl/gsl>
#include <iosfwd>
#include <map>
#include <string>
#include <vector>
class FindFileExt
{
public:
static int usage(::std::ostream& strm, const ::std::string& pro... | {
"alphanum_fraction": 0.7451923077,
"avg_line_length": 23.6363636364,
"ext": "h",
"hexsha": "4b10e98be75024e4c753159b7d1cd9a408e49d7b",
"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":... |
/* min/convergence.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.6928817451,
"avg_line_length": 28.0967741935,
"ext": "c",
"hexsha": "8bb630d1b6a2618ed43e001f6fa5ad92d83d37d3",
"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) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#ifndef _HEBench_ClearText_EltMult_H_7e5fa8c2415240ea93eff148ed73539b
#define _HEBench_ClearText_EltMult_H_7e5fa8c2415240ea93eff148ed73539b
#include <gsl/gsl>
#include "hebench/api_bridge/cpp/hebench.hpp"
#include "clear_benchmark.h"
t... | {
"alphanum_fraction": 0.7309673726,
"avg_line_length": 36.3958333333,
"ext": "h",
"hexsha": "a290ca217f158c4c63f547e80bb806d7537ed47a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-11-05T18:01:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-05T18:01:... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
int i;
int max_lines=30;
double xi, yi, x[30], y[30];
const char* getfield(char* line, int num)
{
const char* tok;
for (tok = strtok(line, ",");
tok && *tok;
... | {
"alphanum_fraction": 0.5086483024,
"avg_line_length": 19.2716049383,
"ext": "c",
"hexsha": "e18bc7ffab8b8790362d71dfaf013a342a0072d0",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-05-29T10:19:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-10T09:35:... |
#include "../EngineTest.h"
#include <Catch2>
#include <gsl/gsl_math.h>
TEST_CASE("Skew Function Evaluation Tests", "[skew]") {
// SECTION("Empty Test"){
// requireIsEqual("skew()", "Insufficient Number of Arguments for Function: skew");
// }
SECTION("`skew` Test 1"){
requireIsEqual("sk... | {
"alphanum_fraction": 0.5317460317,
"avg_line_length": 27.4909090909,
"ext": "h",
"hexsha": "91410d124d2f74df2573a9d47464f55d8a0f8a1e",
"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>
namespace CesiumUtility {
/**
* @brief This function converts between span types. This function
* has the same rules with C++ reintepret_cast
* https://en.cppreference.com/w/cpp/language/reinterpret_cast. So please use it
* carefully
*/
template <typename To, typename From>
gsl::... | {
"alphanum_fraction": 0.712945591,
"avg_line_length": 28.0526315789,
"ext": "h",
"hexsha": "84fddffb03ba72e236a0aef4ffec7fb324f54c43",
"lang": "C",
"max_forks_count": 66,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14:... |
#pragma once
#include "iparamlist.h"
#include "optioninfo.h"
#include "configaccess.h"
#include "format.h"
#include "streamreader.h"
#include <sfun/string_utils.h>
#include <cmdlime/errors.h>
#include <cmdlime/customnames.h>
#include <gsl/gsl>
#include <vector>
#include <sstream>
#include <functional>
#include <memory>... | {
"alphanum_fraction": 0.5785406183,
"avg_line_length": 28.5333333333,
"ext": "h",
"hexsha": "5dfe515bd3006a285e5a9faac7f66c7cc2155be3",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:... |
#ifndef BASIC_RJMCMC_H
#define BASIC_RJMCMC_H
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include "basic_particle.h"
#include "basic_changepoint.h"
#include "multiple_processes_regime.h"
class rj{
public:
rj(const unsigned long int & start_time = 0, const unsigned long int & end_time = 1, const double... | {
"alphanum_fraction": 0.7295249841,
"avg_line_length": 68.7592076756,
"ext": "h",
"hexsha": "d9f3aa8008a7879410be73e7986951a27e3989cd",
"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 "example.h"
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int
print_gsl_sf_bessel_J0 (double x)
{
double y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
}
| {
"alphanum_fraction": 0.6565656566,
"avg_line_length": 16.5,
"ext": "c",
"hexsha": "6f2cda51f7e8302ab68c674f165db37779007c4f",
"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": "940e8c7... |
// This file is part of playd.
// playd is licensed under the MIT licence: see LICENSE.txt.
/**
* @file
* The Ring_buffer class.
*/
#ifndef PLAYD_RING_BUFFER_HPP
#define PLAYD_RING_BUFFER_HPP
#include <atomic>
#include <mutex>
#include <vector>
#undef max
#include <gsl/gsl>
namespace Playd::Audio
{
/**
* A con... | {
"alphanum_fraction": 0.6870944484,
"avg_line_length": 24.990990991,
"ext": "h",
"hexsha": "422ee667e807b6aca297a7bd3ee26de577d88e44",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-02-23T12:41:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-09-04T23:04:4... |
#ifndef BIO_GSL_H_
#define BIO_GSL_H_
#include "bio/defs.h"
#include "bio/raii.h"
#include <gsl/gsl_integration.h>
BIO_NS_START
void
gsl_init();
template <>
RAII<gsl_integration_workspace *>::~RAII();
#define BIO_GSL_EXP(x) ((x) < GSL_LOG_DBL_MIN ? 0.0 : gsl_sf_exp(x))
BIO_NS_END
#endif //BIO_GSL_H_
| {
"alphanum_fraction": 0.7211538462,
"avg_line_length": 12.48,
"ext": "h",
"hexsha": "5c4d82136d375d8142b8785c1e77faa26b4ff2b4",
"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": "1eeb71... |
/* linalg/choleskyc.c
*
* Copyright (C) 2007 Patrick Alken
* Copyright (C) 2010 Huan Wu (gsl_linalg_complex_cholesky_invert)
*
* 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 ver... | {
"alphanum_fraction": 0.5488241032,
"avg_line_length": 28.5665634675,
"ext": "c",
"hexsha": "9cff18f5fbc434192ea3a9c40ab6f8ef33d9f7bb",
"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 <nlopt.h>
#include <mex.h>
struct mexObjectiveFunction
{
static double obj_fun(unsigned n, const double *x, double *gradient, void *d_);
static void precond_fun(unsigned n, const double *x, const double *v, double *vpre, void *f_data);
mxArray *prhs[2]; // feval mexMatlabCall inp... | {
"alphanum_fraction": 0.7219078416,
"avg_line_length": 41.2333333333,
"ext": "h",
"hexsha": "7953fcf9f038cd025ca1135acf22c868cc1eae4f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-02-23T02:23:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-23T09:52:... |
#include <stdio.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_odeiv.h>
#include "Effective_Potential.h"
#define PI 3.14159265
#define G 4.30091252525*pow(10,-3) //grav constant, in (parsec*km^2)/(Ms*sec^2)
#define c 300000 //speed of light, km/sec
void Geodesic_Orbit(int* ti... | {
"alphanum_fraction": 0.676975945,
"avg_line_length": 35.487804878,
"ext": "c",
"hexsha": "fb8bdc74b213bf59fa95d6e21737f4d590c14d67",
"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/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 2 of the License, or (at
* your opti... | {
"alphanum_fraction": 0.5875656076,
"avg_line_length": 27.8131170663,
"ext": "c",
"hexsha": "7c68076f9abc1b3073d10d0594eb319370987c89",
"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... |
/* multimin/vector_bfgs2.c
*
* Copyright (C) 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 2 of the License, or (at
* your option) any later version.... | {
"alphanum_fraction": 0.6361353581,
"avg_line_length": 25.2658610272,
"ext": "c",
"hexsha": "d4f5cb3d6ca676305a6b520fe327d4709459f232",
"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) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in th... | {
"alphanum_fraction": 0.6946623302,
"avg_line_length": 33.5064102564,
"ext": "h",
"hexsha": "a38a3cfe0ddf5f38e5c4dd8c5432652ee00c9b36",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
/*
* author: Achim Gaedke
* created: January 2001
* file: pygsl/src/histogrammodule.c
* $Id: histogrammodule.c,v 1.3 2008/10/26 17:03:23 schnizer Exp $
*
*
* May 2005
* Pierre Schnizer
* maintainance: replaced direct python error calls with pygsl calls
* added CAST and GET macros to reduce code dup... | {
"alphanum_fraction": 0.6476633009,
"avg_line_length": 29.6843501326,
"ext": "c",
"hexsha": "7fc3c05679ec52d902e8228dce0defc666a735d9",
"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:... |
/* linalg/qrpt.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (a... | {
"alphanum_fraction": 0.5443609905,
"avg_line_length": 26.4627329193,
"ext": "c",
"hexsha": "df8b062a4975dc05e88a275a64707cdb1fc8af48",
"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 allvars.h
* \brief declares global variables.
*
* This file declares all global variables. Further variables should be added here, and declared as
* 'extern'. The actual existence of these variables is provided by the file 'allvars.c'. To produce
* 'allvars.c' from 'allvars.h', do the following:
*
... | {
"alphanum_fraction": 0.7091813259,
"avg_line_length": 29.5070496084,
"ext": "h",
"hexsha": "cf7f9ef4e7fdbf8635170ec114566a246a151b86",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* Copyright (C) 2015 Atsushi Togo */
/* All rights reserved. */
/* This file is part of phonopy. */
/* 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 abo... | {
"alphanum_fraction": 0.7237818452,
"avg_line_length": 30.0594795539,
"ext": "c",
"hexsha": "1a3f7eaeaa44bc9b4d844e47b0034ccc7fc0c9e9",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-01-30T08:36:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-08-02T13:53:... |
/**
*
* @file sgecon.c
*
* PLASMA computational routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Jakub Kurzak
* @author Ichitaro Yamazaki
* @author Mathieu Faverge
* @date 2012-10-04
* @genera... | {
"alphanum_fraction": 0.5516840883,
"avg_line_length": 33.035971223,
"ext": "c",
"hexsha": "049e448ce307a41b20f16d5f90a14adae1930fb0",
"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 <gsl/gsl_matrix.h>
#define MATRIX_SIZE 3
static const double matrix_1[MATRIX_SIZE][MATRIX_SIZE] = {
{1., 4., 2.},
{-1., -2., 1.},
{3., 20., 19.},
};
static const double vector_1[] = {8., 3., 71.};
static const double matrix_2[MATRIX_SIZE][MATRIX_SIZE] = {
{1., 0.1, 0.225},
... | {
"alphanum_fraction": 0.686827957,
"avg_line_length": 24.8,
"ext": "c",
"hexsha": "7c17e62eefc0819331b26d402d3551a5f9f04ad8",
"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": "e8e6c655... |
/* Internal header file for cminpack, by Frederic Devernay. */
#ifndef __CMINPACKP_H__
#define __CMINPACKP_H__
#ifndef __CMINPACK_H__
#error "cminpackP.h in an internal cminpack header, and must be included after all other headers (including cminpack.h)"
#endif
#if (defined (USE_CBLAS) || defined (USE_LAPACK)) && !de... | {
"alphanum_fraction": 0.7813876652,
"avg_line_length": 33.0181818182,
"ext": "h",
"hexsha": "1b460ec8a245da1d3cb5b0f15bc82a234e8a4025",
"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 <pygsl/solver.h>
#include <gsl/gsl_min.h>
static const char min_f_type_name[] = "F-Minimizer";
static const char min_x_minimum_doc[]= "";
static const char min_x_lower_doc[]= "";
static const char min_x_upper_doc[]= "";
static const char min_f_minimum_doc[]= "";
static const char min_f_lower_doc[]= ""... | {
"alphanum_fraction": 0.6491754123,
"avg_line_length": 34.1079545455,
"ext": "c",
"hexsha": "20c27d35c82a8c722eb47264317c33b41875587a",
"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:... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | {
"alphanum_fraction": 0.6522896699,
"avg_line_length": 26.0833333333,
"ext": "h",
"hexsha": "26c4bf6fa67ec45482202900f09418a24ca83c45",
"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":... |
//
// editor.hpp
// PretendToWork
//
// Created by tqtifnypmb on 14/12/2017.
// Copyright © 2017 tqtifnypmb. All rights reserved.
//
#pragma once
#include "../crdt/Engine.h"
#include "../types.h"
#include <memory>
#include <gsl/gsl>
#include <map>
namespace brick
{
class Rope;
class Editor {
public:
... | {
"alphanum_fraction": 0.6657859974,
"avg_line_length": 24.0317460317,
"ext": "h",
"hexsha": "f239c1c2f19a1d19dd6bf39dddb1353ff41d9158",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#pragma once
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <array>
#include <iomanip>
#include <optional>
#include <sstream>
#include <string_view>
#include <thread>
#include <unordered_map>
#include <unordered_set>
#i... | {
"alphanum_fraction": 0.7135531136,
"avg_line_length": 25.7547169811,
"ext": "h",
"hexsha": "e6ede9efed74c365c9bc5fc1a87d5e398a40319f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-10-31T06:35:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-31T06:35:... |
#ifndef __KILLDUPTRKS_H__
#define __KILLDUPTRKS_H__
#include <cstddef>
#include <vector>
#include <algorithm>
#include <functional>
#include <utility>
#include <iostream>
#include "L1Trigger/TrackFindingTMTT/interface/Settings.h"
#include "L1Trigger/TrackFindingTMTT/interface/Stub.h"
#include "L1Trigger/TrackFindingT... | {
"alphanum_fraction": 0.7052743175,
"avg_line_length": 35.261682243,
"ext": "h",
"hexsha": "fef3f2802a4161c120eb81bc87374ecf05c55356",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2020-01-09T13:33:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-08-21T16:37:5... |
/**
* \file TypedBaseFilter.h
*/
#ifndef ATK_CORE_TYPEDBASEFILTER_H
#define ATK_CORE_TYPEDBASEFILTER_H
#include <ATK/Core/BaseFilter.h>
#include <ATK/Core/TypeTraits.h>
#include <memory>
#include <vector>
#include <boost/align/aligned_allocator.hpp>
#include <gsl/gsl>
namespace ATK
{
const gsl::index ALIGNMEN... | {
"alphanum_fraction": 0.7249626308,
"avg_line_length": 36.5859375,
"ext": "h",
"hexsha": "48f7a9d888238363a7cc405c53e97889b61ac2f6",
"lang": "C",
"max_forks_count": 48,
"max_forks_repo_forks_event_max_datetime": "2021-04-07T02:33:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-08-15T12:08:13... |
#include <lapacke.h>
int main() { LAPACKE_dlapy2(0, 0); }
| {
"alphanum_fraction": 0.6551724138,
"avg_line_length": 19.3333333333,
"ext": "c",
"hexsha": "76f8ebca6147b55d2effa06acf7137813317241b",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:... |
#include <math.h>
#include <gsl/gsl_errno.h>
#include "advanceCN.h"
#include "advanceBE.h"
#include "checkpoint.h"
#include "driver.h"
#include "setup.h"
#include "userFunc.h"
/**************************************************************************/
/* Driver routine ... | {
"alphanum_fraction": 0.585479426,
"avg_line_length": 29.3938547486,
"ext": "c",
"hexsha": "b3e4b0dff41239d34f71a1fe3086e4fb24c443dd",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41:3... |
#pragma once
#include <initializer_list>
#include <list>
#include <vector>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_vector.h>
#include "../Utils/Types.h"
#include "Expression.h"
#define UNIQUE_GSL(M) \
t... | {
"alphanum_fraction": 0.6745689655,
"avg_line_length": 39.1325301205,
"ext": "h",
"hexsha": "86a4db925e4f54d582fd312a28eb7e8840aca69e",
"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 QDM_BIAS_H
#define QDM_BIAS_H
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include "evaluation.h"
gsl_matrix *
qdm_bias_values(
qdm_evaluation *h,
qdm_evaluation *f
);
gsl_matrix *
qdm_bias_correct(
const gsl_vector *years,
const double month,
const gsl_vector *days,
con... | {
"alphanum_fraction": 0.700913242,
"avg_line_length": 15.1034482759,
"ext": "h",
"hexsha": "f04eb39937584d1f6c5993c52a6fdc4b8ae0d21f",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <gbpLib.h>
#include <gbpRNG.h>
#include <gbpMCMC.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_interp.h>
void generate_MCMC_parameters(MCMC_info *MCMC) {
int i_P;
int ... | {
"alphanum_fraction": 0.5057070387,
"avg_line_length": 37.1058823529,
"ext": "c",
"hexsha": "cb58f17c05975eaf628e5ae2842536cc58f73c16",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:... |
/* This 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.
This program is distributed in the hope that it will be useful, ... | {
"alphanum_fraction": 0.6630574417,
"avg_line_length": 27.245,
"ext": "c",
"hexsha": "eac955534d7b6c6c7d0a8b42c7c3683d7c15fe55",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define COMPEARTH_PRIVATE_DET3X3 1
#include "compearth.h"
/*
#ifdef COMPEARTH_USE_MKL
#include <mkl_cblas.h>
#else
#include <cblas.h>
#endif
*/
//static double det3x3ColumnMajor(const double *__restrict__ A);
/*!
* @brief Ensure that U is a rotation matrix w... | {
"alphanum_fraction": 0.530726257,
"avg_line_length": 24.9240506329,
"ext": "c",
"hexsha": "5d0b0a0dbe0d240f6491343e5e27413bec3c3fbc",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-02-28T13:42:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-08T00:13:5... |
#pragma once
#include <winrt\Windows.Foundation.h>
#include <cstdint>
#include <d3d11.h>
#include <DirectXMath.h>
#include <dxgidebug.h>
#include <gsl\gsl>
#include "GameException.h"
namespace Library
{
enum class ShaderStages
{
IA,
VS,
HS,
DS,
GS,
SO,
RS,
PS,
OM,
CS
};
const std::array<Shad... | {
"alphanum_fraction": 0.6907177753,
"avg_line_length": 27.71875,
"ext": "h",
"hexsha": "bd13c88fa4f3bc81ac3eeb42ae6bb2a293de1b78",
"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": "05a... |
#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[K];
// random inputs
int i;
for (i = 0; i < K; i++){
if (i<2) w[i] = 1; else w[i] = 2*w[i-1]... | {
"alphanum_fraction": 0.5669421488,
"avg_line_length": 15.5128205128,
"ext": "c",
"hexsha": "5bf890e70d6c7394045c5d658bceb5dcf384c480",
"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:... |
//
// Author : github.com/luncliff (luncliff@gmail.com)
// License : CC BY 4.0
//
// Note
// Async I/O operation support for socket
//
#pragma once
// clang-format off
#if defined(FORCE_STATIC_LINK)
# define _INTERFACE_
# define _HIDDEN_
#elif defined(_MSC_VER) // MSVC or clang-cl
# define _... | {
"alphanum_fraction": 0.6246427113,
"avg_line_length": 33.6632302405,
"ext": "h",
"hexsha": "20098f7d6b06a607f903ab17776fe2decbbd8d19",
"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 <cooperative_groups.h>
#include <gsl-lite/gsl-lite.hpp>
#include <cuda/runtime_api.hpp>
#include <cub/cub.cuh>
#include <makeshift/variant.hpp>
#include <thrustshift/constant.h>
#include <thrustshift/copy.h>
#include <thrustshift/fill.h>
#include <thrustshift/histogram.h>
#include <thrustshi... | {
"alphanum_fraction": 0.5631301674,
"avg_line_length": 32.0322971336,
"ext": "h",
"hexsha": "71e9ed42d5b33eee9b230af8ae096525042ad232",
"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":... |
/* permutation/gsl_permutation.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 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,... | {
"alphanum_fraction": 0.7761866879,
"avg_line_length": 33.972972973,
"ext": "h",
"hexsha": "c6a6f1668ab8e38882835d2c4341086fbe416913",
"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... |
#include <stdio.h>
#include <glib.h>
#include <gsl/gsl_matrix.h>
#define MATRIX_SIZE 3
static double d_matrix[MATRIX_SIZE][MATRIX_SIZE] = {
{1., 4., 2.},
{-1., -2., 1.},
{3., 20., 19.},
};
static double d_vector[] = {8., 3., 71.};
int main(void) {
printf("Gauss.\n\n");
// Alloc matrix`s
gsl_matrix *matr... | {
"alphanum_fraction": 0.6065109696,
"avg_line_length": 25.5361445783,
"ext": "c",
"hexsha": "1405dfa17bce22819eff719bef72dddb013ebec2",
"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 AMDiS.h */
#pragma once
// std c++ headers
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include <cmath>
#include <cstdint>
// AMDiS includes
#include "AMDiS.hpp"
#include "MTL4Types.hpp"
#include "AdaptInfo.hpp"
#include "AdaptInstationary.hpp"
#include "AdaptStationary.hpp"
#include "Assemb... | {
"alphanum_fraction": 0.7757185066,
"avg_line_length": 25.675862069,
"ext": "h",
"hexsha": "5db64cfc3e922aba6711cff7c61eb7c7c2d1f90c",
"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 is the main simulation routine. It initializes either from given */
/* inputs or from a checkpoint, runs the simulation, and assembles the */
/* final results. */
/***********... | {
"alphanum_fraction": 0.6637941498,
"avg_line_length": 35.6666666667,
"ext": "c",
"hexsha": "2389ade5b8081c5216fdeeee9d8a563ee917d57f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41:... |
/* interpolation/linear.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.5737165423,
"avg_line_length": 22.9045226131,
"ext": "c",
"hexsha": "65ca83ea50a1750ad23cbb8d2e01490e6c8eb9a6",
"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... |
#pragma once
#define STRICT
#define NOMINMAX
#include <phnt/phnt_windows.h>
#include <phnt/phnt.h>
#pragma comment( lib, "ntdll.lib" )
#include <delayimp.h>
#ifndef _delayimp_h
#define _delayimp_h
#endif
#pragma comment( lib, "delayimp.lib" )
EXTERN_C const IMAGE_DOS_HEADER __ImageBase;
#include <stdlib.h>
#include... | {
"alphanum_fraction": 0.7676508344,
"avg_line_length": 19.9743589744,
"ext": "h",
"hexsha": "797cdcb6a5370199ccc922f174f069faad51a6e2",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-12-22T00:15:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-12-22T00:15:... |
#ifndef TOOLS_H
#define TOOLS_H
#include <iostream>
#include <string>
#include <vector>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <math.h>
using namespace std;
//required for TRACE / DEBUG
extern int indentLevel;
extern string BLANKLINE;
//how many blanks to indent
#define INDENTATION 2
... | {
"alphanum_fraction": 0.6458752515,
"avg_line_length": 26.8648648649,
"ext": "h",
"hexsha": "b31fe39815d4ce2d492bffff84e5389fdc513642",
"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_math.h>
#include <gsl/gsl_linalg.h>
#include "../vector.h"
namespace gsl_wrapper::bits
{
class MatrixRow
{
public:
// Consructor
MatrixRow(gsl_vector_view view);
// Operators
operator ::gsl_wrapper::Vector() const;
auto operator[](const size_t index) -> doub... | {
"alphanum_fraction": 0.6776119403,
"avg_line_length": 20.9375,
"ext": "h",
"hexsha": "25badfaec83094536c0d3a968cd0a52e0f0d1cc4",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-10T09:06:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-10T09:06:07.000... |
#include <stdio.h>
#include <gsl/gsl_vector.h>
int
main (void)
{
int i;
gsl_vector * v = gsl_vector_alloc (10);
{
FILE * f = fopen ("test.dat", "r");
gsl_vector_fscanf (f, v);
fclose (f);
}
for (i = 0; i < 10; i++)
{
printf ("%g\n", gsl_vector_get(v, i));
}
gsl_vector_fre... | {
"alphanum_fraction": 0.5219941349,
"avg_line_length": 14.2083333333,
"ext": "c",
"hexsha": "203986b27e445f9bdaee4b51c252c3a3ca3aebc3",
"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... |
/* rng/random.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* you... | {
"alphanum_fraction": 0.6398049375,
"avg_line_length": 24.9695585997,
"ext": "c",
"hexsha": "08697a974e874bbf49e735d6defd5cac5a146d0d",
"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... |
//-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2010 by Paul Demorest
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
#ifndef __Pulsar_SplineFit_h
#define __Pulsar_S... | {
"alphanum_fraction": 0.6291012839,
"avg_line_length": 20.4174757282,
"ext": "h",
"hexsha": "2c5daca04db580a5d74c706b194bb5b06b4e91c4",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-02-13T20:08:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-02-13T20:08:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.