Search is not available for this dataset
text string | meta dict |
|---|---|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <nlopt.h>
typedef struct {
int N;
double *x, *y; /* length N; */
} lorentzdata;
static double sqr(double x) { return x * x; }
static int count = 0;
static double lorentzerr(int n, const double *p, double *grad, void *data)
{
lorentzda... | {
"alphanum_fraction": 0.4828741623,
"avg_line_length": 25.1028037383,
"ext": "c",
"hexsha": "afa957aa8424ace7a6990a4404dfb2b3f7c2eec3",
"lang": "C",
"max_forks_count": 35,
"max_forks_repo_forks_event_max_datetime": "2019-09-13T07:06:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-01T17:26... |
// Test program for comparison with brighten_float_image.
#include <assert.h>
#include <stdlib.h>
#include <glib.h>
#include <gsl/gsl_blas.h>
#include <asf_meta.h>
int
main (int argc, char **argv)
{
assert (argc == 3);
// Image to be brightened.
GString *input_image_basename = g_string_new (argv[1]);
// B... | {
"alphanum_fraction": 0.7070707071,
"avg_line_length": 32.1428571429,
"ext": "c",
"hexsha": "7371001d90c583e831ba24227698aa4af2811607",
"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:... |
/* matrices.c */
// 8.4.13 Example programs for matrices of gsl-ref.pdf
// GNU GSL GNU Scientific Library reference book
#include <stdio.h>
#include <gsl/gsl_matrix.h>
int main (void) {
int i, j;
gsl_matrix * m = gsl_matrix_alloc (10, 3);
for (i = 0; i < 10; i++)
for (j = 0; j < 3; j++)
gsl_matrix_s... | {
"alphanum_fraction": 0.5449541284,
"avg_line_length": 19.4642857143,
"ext": "c",
"hexsha": "86a2ce1ad52507c38322fdd46118a909d4318b3b",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2021-03-01T07:13:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-01-24T19:18... |
#include <stdio.h>
#include <gsl/gsl_poly.h>
int
main (void)
{
int i;
/* coefficients of P(x) = -1 + x^5 */
double a[6] = { -1, 0, 0, 0, 0, 1 };
double z[10];
gsl_poly_complex_workspace * w
= gsl_poly_complex_workspace_alloc (6);
gsl_poly_complex_solve (a, 6, w, z);
gsl_poly_complex_works... | {
"alphanum_fraction": 0.5268817204,
"avg_line_length": 17.2222222222,
"ext": "c",
"hexsha": "6debbd54b63a37bfdeb04ea0b0de0c8369fda1e6",
"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... |
/* movstat/mvacc.c
*
* Moving window mean/variance accumulator - based on a modification
* to Welford's algorithm, discussed here:
*
* https://stackoverflow.com/a/6664212
*
* Copyright (C) 2018 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | {
"alphanum_fraction": 0.6452624974,
"avg_line_length": 23.2087378641,
"ext": "c",
"hexsha": "14f08944d25c57806824825dff45e0bf0c44c6f1",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#include <stdio.h>
#include <gsl/gsl_statistics.h>
#include <assert.h>
extern "C" {
#include <quadmath.h>
}
#ifndef N
#define N 64
#endif
#define K N/2
#ifndef FB
#define FB 64
#endif
#if(FB==64)
#define FT double
#elif(FB==80)
#define FT long double
#endif
int
main(int argc, char *argv[])
{
assert(argc == 3);
... | {
"alphanum_fraction": 0.6082397004,
"avg_line_length": 18.0405405405,
"ext": "c",
"hexsha": "82f1c95ab4ab0c16a78d18b9c4281aa24b141edc",
"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:... |
/*
Copyright [2020] [IBM Corporation]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | {
"alphanum_fraction": 0.7147154095,
"avg_line_length": 37.2586206897,
"ext": "h",
"hexsha": "6fee0c69438faed6159cf16c4969591b51c4fc9f",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30... |
#ifndef ARRUS_CORE_DEVICES_TXRXPARAMETERS_H
#define ARRUS_CORE_DEVICES_TXRXPARAMETERS_H
#include <gsl/gsl>
#include <utility>
#include <ostream>
#include "arrus/core/api/common/Interval.h"
#include "arrus/core/api/common/Tuple.h"
#include "arrus/core/api/common/types.h"
#include "arrus/common/format.h"
#include "arru... | {
"alphanum_fraction": 0.6011519078,
"avg_line_length": 32.3023255814,
"ext": "h",
"hexsha": "fb53f16aee4c6e9aa0e8ea05b202f1cf6e54075c",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-12-13T08:53:31.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-22T16:13:... |
/*=========================================================================
Library : Image Registration Toolkit (IRTK)
Module : $Id$
Copyright : Imperial College, Department of Computing
Visual Information Processing (VIP), 2008 onwards
Date : $Date$
Version : $Revision$
Changes ... | {
"alphanum_fraction": 0.6132313147,
"avg_line_length": 18.0117647059,
"ext": "h",
"hexsha": "1b58babdd7e7219c1a17763b3ebffa27ac462357",
"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":... |
//
// lu2lib.c
//
// J. Makino
// Time-stamp: <2019-05-06 22:08:30 makino>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <timerlib.h>
#ifndef NOBLAS
#ifdef MKL
#include <mkl_cblas.h>
#else
#include <cblas.h>
#endif
#endif
#ifdef USEGDR
#include "gdrdgemm.h"
#endif
#define FTYPE double
#include <... | {
"alphanum_fraction": 0.5161925646,
"avg_line_length": 22.5508241758,
"ext": "c",
"hexsha": "8d95c01f221f72d5381dd5da5966d5b93f03def2",
"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) 2006-2012 University of Houston. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
*/
#ifndef __SL_INTERNAL__
#define __SL_INTERNAL__
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
//#include <gsl/gsl_fit.h>
#include <sy... | {
"alphanum_fraction": 0.6594225888,
"avg_line_length": 26.9401709402,
"ext": "h",
"hexsha": "674a20c2298a53c6b933b0eb97265cc39b14291b",
"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 t... | {
"alphanum_fraction": 0.6054932735,
"avg_line_length": 37.7966101695,
"ext": "h",
"hexsha": "f8000809ea63ded0658b0586108200b5131a2745",
"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:... |
/* specfunc/beta_inc.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 opt... | {
"alphanum_fraction": 0.5568490493,
"avg_line_length": 26.5670103093,
"ext": "c",
"hexsha": "ac1d34032f31d23ee5580362a7ced8ec1a6a38d2",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_interp.h>
typedef double (*eval_func)(const gsl_interp*,const double *x,const double *y,
double,gsl_interp_accel*);
static const double EPSILON = 0.00000001;
static co... | {
"alphanum_fraction": 0.6245714286,
"avg_line_length": 28.6885245902,
"ext": "c",
"hexsha": "f41b5983a3f701e063435a627f9683da0db2e07a",
"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:... |
//
// Created by Harold on 2020/9/16.
//
#ifndef M_MATH_M_INTERP_H
#define M_MATH_M_INTERP_H
#include <gsl/gsl_interp.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_interp2d.h>
#include <gsl/gsl_spline2d.h>
#include <vector>
#include <algorithm>
namespace M_MATH {
class Interpolation1D {
public:
en... | {
"alphanum_fraction": 0.5091143041,
"avg_line_length": 40.3722943723,
"ext": "h",
"hexsha": "50e75a5bc14d2dd71a8e7a7b627669389d13c648",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-07-04T12:26:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-04T12:26:... |
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/file.h>
#include <unistd.h>
#include <gsl/gsl_rng.h>
#include "allvars.h"
#include "proto.h"
#include "domain.h"
static FILE *fd;
static void in... | {
"alphanum_fraction": 0.6282818044,
"avg_line_length": 27.5558659218,
"ext": "c",
"hexsha": "e0922ae597bbec67280ea5d18d564bbdfdfcb66a",
"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_poly.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
/* 0 + 2x - 3x^2 + 1x^3 */
double p[] = {0, 2, -3, 1};
double z[6];
gsl_poly_complex_workspace *w = gsl_poly_complex_workspace_alloc(4);
gsl_poly_complex_solve(p, 4, w, z);
gsl_poly_complex_workspace_free(w);
f... | {
"alphanum_fraction": 0.5775,
"avg_line_length": 22.2222222222,
"ext": "c",
"hexsha": "3bc63c8f43cb4f93d5542105ad7abf4e7b8f5c5d",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-11-09T22:08:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-11-09T22:08:40.000... |
#include "../include/paralleltt.h"
#include <stdio.h>
#include <stdlib.h>
#include <cblas.h>
#include <lapacke.h>
#include <time.h>
flattening_info* flattening_info_init(const MPI_tensor* ten, int flattening, int iscol, int t_v_block)
{
// Tensor info
flattening_info* fi = (flattening_info*) malloc(sizeof(fla... | {
"alphanum_fraction": 0.554265097,
"avg_line_length": 31.1493027071,
"ext": "c",
"hexsha": "f839fadf2b29677c37488abe76ddcb5c097db805",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <gsl/gsl_errno.h>
#include <gsl/matrix/gsl_matrix.h>
#define BASE_DOUBLE
#include <gsl/templates_on.h>
#include <gsl/matrix/matrix_source.c>
#include <gsl/templates_off.h>
#undef BASE_DOUBLE
| {
"alphanum_fraction": 0.7772277228,
"avg_line_length": 20.2,
"ext": "c",
"hexsha": "1b965a5eaa1520e0a4057b71f20027175511f7c8",
"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": "58778f1... |
/**
* Copyright 2016 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.6557326793,
"avg_line_length": 22.8111888112,
"ext": "c",
"hexsha": "b5ce4d4327e97835f94d0f300fcbe0171bc0f2f2",
"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 <Hypo/Config.h>
#include <Hypo/System/Exports.h>
#include <gsl/span>
#include <Hypo/System/Streams/MemoryStream.h>
#include <Hypo/System/Buffer/Buffer.h>
namespace Hypo
{
class HYPO_SYSTEM_API BinaryReader
{
public:
BinaryReader(std::istream& stream);
BinaryReader& operator >>(uInt8& val... | {
"alphanum_fraction": 0.672815534,
"avg_line_length": 19.8076923077,
"ext": "h",
"hexsha": "7d1c3a8adf687f2550618655d56d05c960174f8c",
"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
* Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
/// The LinearSolverLibrarySetup tak... | {
"alphanum_fraction": 0.6849385246,
"avg_line_length": 25.6842105263,
"ext": "h",
"hexsha": "8ae299b6627698d65661538100560a71333ae379",
"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":... |
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; e... | {
"alphanum_fraction": 0.7277936963,
"avg_line_length": 27.5526315789,
"ext": "h",
"hexsha": "689f2e8699ece5f0e8ce8730ff1f641541dd7049",
"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_multiset.h>
void
print_all_multisets ( size_t n, size_t k );
int
main (void)
{
gsl_multiset * c;
size_t i;
printf("all multisets of {0,1,2,3} by size (lex. order)\n") ;
for(i = 0; i <= 4; i++)
{
c = gsl_multiset_calloc (4, i);
do
{
printf... | {
"alphanum_fraction": 0.5655478151,
"avg_line_length": 21.6301369863,
"ext": "c",
"hexsha": "3c4749ad945bc3160a4e6d3467045777734f93cf",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#pragma once
#include <gsl/span>
#include "halley/text/halleystring.h"
#include "halley/resources/resource.h"
#include "halley/maths/range.h"
#include "halley/maths/vector4.h"
#include "halley/data_structures/maybe.h"
#include <map>
#include <vector>
#include "halley/utils/type_traits.h"
#if defined(DEV_BUILD)
#def... | {
"alphanum_fraction": 0.6981875493,
"avg_line_length": 27.9926470588,
"ext": "h",
"hexsha": "a5404eed9d2202f30bf77cd81d40312816c7fc62",
"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, 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 RN_TEOSLats95p... | {
"alphanum_fraction": 0.6460746461,
"avg_line_length": 31.3939393939,
"ext": "h",
"hexsha": "83e48a33971897b4721d58643f27a0aceea30642",
"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) Kresimir Fresl 2002
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Author acknowledges the support of the Faculty of Civil Engineering,
* University of Zagreb, Croatia.
*
*/... | {
"alphanum_fraction": 0.7858108108,
"avg_line_length": 24.262295082,
"ext": "h",
"hexsha": "f0538233207fbadbdfa168e0651699e909b1b533",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-07T19:35:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-07T19:35:1... |
#pragma once
#ifndef _NOGSL
#include <gsl/gsl_vector.h>
#else
#include "FakeGSL.h"
#endif
#include <fstream>
#include <iostream>
#include <vector>
#include <map>
#include <math.h>
#include "FloatSupport.h"
#include "BooleanDAG.h"
#include "Interface.h"
#include "ConflictGenerator.h"
#include "ActualEvaluators.h"
#in... | {
"alphanum_fraction": 0.7232447171,
"avg_line_length": 22.5692307692,
"ext": "h",
"hexsha": "0864ecdf7fc87eea1e8a9e91f19a449cf5fbf0e3",
"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) [2017] [Vinay Yuvashankar]
// 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, c... | {
"alphanum_fraction": 0.6082074147,
"avg_line_length": 28.0997679814,
"ext": "c",
"hexsha": "3a15538b5fbee523ab89dab74697303ab28bb470",
"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 <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
#include <clapack.h>
#include <cblas.h>
#include <omp.h>
#define DIM 16
#define NB 256
//#define DIM 96
//#define NB 128
extern void spotrf_(char *, int *, float *, int *, int *)... | {
"alphanum_fraction": 0.5486873508,
"avg_line_length": 18.5398230088,
"ext": "c",
"hexsha": "d1a12d0e051f6ec942c511ad321b67a80106ff15",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef MATH_FNS_H
#define MATH_FNS_H
#ifdef USE_OPENBLAS
extern "C"
{
#include <cblas.h>
}
#endif
struct QuantizationParams
{
float scale;
uint8_t zero_point;
};
template<typename Dtype>
void cpu_gemm(bool transA, bool transB, uint64_t M, uint64_t N, uint64_t K, Dtype alpha, Dtype* A, Dtype* B, Dtype beta, Dtyp... | {
"alphanum_fraction": 0.7582543565,
"avg_line_length": 45.7482517483,
"ext": "h",
"hexsha": "36ef3008f89d4c7161ee97929d043a66e0b4535c",
"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 _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include "core_allvars.h"
#include "core_proto.h"
#... | {
"alphanum_fraction": 0.6740514905,
"avg_line_length": 29.7580645161,
"ext": "c",
"hexsha": "9c9428dc3ed01889d230e5ab816c187df1725f63",
"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/hyperg.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your optio... | {
"alphanum_fraction": 0.6841409692,
"avg_line_length": 28.7341772152,
"ext": "h",
"hexsha": "37d11b046509880969de3b6bd8b807cf1c37f310",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_qrng.h>
#include <gsl/gsl_errno.h>
/* Setup */
gsl_qrng *mgsl_qrng_alloc(int type, unsigned int d)
{
const gsl_qrng_type *types[] = { gsl_qrng_niederreiter_2, gsl_qrng_sobol, gsl_qrng_halton, gsl_qrng_reversehalton };
const gsl_qrng_type *T;
gsl_qrng *q;
... | {
"alphanum_fraction": 0.7157894737,
"avg_line_length": 23.75,
"ext": "c",
"hexsha": "b71c27378a5278f795b47def22bc7eebf26a6a46",
"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": "595e2f... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C code for example generation of waveforms with the EOBNRv2HM reduced order model,
* processing through the Fourier-domain LISA response and SNR calculation.
*
*/
#define _XOPEN_SOURCE 500
#ifdef __GNUC__
#define UNUSED __a... | {
"alphanum_fraction": 0.6024803084,
"avg_line_length": 39,
"ext": "c",
"hexsha": "30fb12cfe7504993998ceefed58acaa900e92c19",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:13.000Z",
... |
/*
* Partition.h
* Provides class prototype that simplifies partition vectors.
*
Copyright 2017 Dariusz Kuchta
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... | {
"alphanum_fraction": 0.6779289162,
"avg_line_length": 30.3866666667,
"ext": "h",
"hexsha": "4598561dd7c51e3f905a4a252652fa066602f804",
"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/golden.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) any l... | {
"alphanum_fraction": 0.6922180122,
"avg_line_length": 28.3553719008,
"ext": "c",
"hexsha": "49dfddb36cc7aacb1de17bbdb60f3d6c6204ae83",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#ifndef DIRICHLETSAMPLE_H
#define DIRICHLETSAMPLE_H
#include <stdio.h>
#include <iostream>
#include <vector>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <sys/time.h>
using namespace std;
std::vector<double> DirSample(std::vector<double> alpha, int k, int N);
#endif
| {
"alphanum_fraction": 0.7474048443,
"avg_line_length": 18.0625,
"ext": "h",
"hexsha": "bb95e20964554d4002557f9d0d8d8424717e0be8",
"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": "b512... |
/** @file matrix.h
* @author T J Atherton
*
* @brief Veneer class over the objectmatrix type that interfaces with blas and lapack
*/
#ifndef matrix_h
#define matrix_h
#include <stdio.h>
#include "veneer.h"
/** Use Apple's Accelerate library for LAPACK and BLAS */
#ifdef __APPLE__
#ifdef MORPHO_LINALG_USE_ACCELE... | {
"alphanum_fraction": 0.7102489019,
"avg_line_length": 41.6463414634,
"ext": "h",
"hexsha": "04f61b843d779b580956ff079e63deb21f5fd7e3",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
#ifndef _NOGSL
#include <gsl/gsl_vector.h>
#else
#include "CustomSolver.h"
#endif
#include "ValueGrad.h"
#include "BooleanNodes.h"
#include "BooleanDAG.h"
#include "NodeVisitor.h"
#include "VarStore.h"
#include <map>
#include <set>
#include "SymbolicEvaluator.h"
#include "Interface.h"
#include <iostream>... | {
"alphanum_fraction": 0.6181553575,
"avg_line_length": 24.1626373626,
"ext": "h",
"hexsha": "edcd5a2df596100602b2c437d6e33e5c1547361c",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:... |
#include <gsl/gsl_rng.h>
struct ising
{
int Lx; // number of spins in x direction
int Ly; // number of spins in y direction
int N; // total number of spins
int steps; // steps so far
int **s; // the ... | {
"alphanum_fraction": 0.4684210526,
"avg_line_length": 36.1904761905,
"ext": "h",
"hexsha": "cffcd76af545d7e5a0e5bc7eced96e8ea16993aa",
"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 _WAVELET_H_
#define _WAVELET_H_
#include "gsl/gsl_wavelet.h"
//#include <gsl/gsl_wavelet2d.h>
// N-to-M conversion helper functions
template <typename T> T *** arrayto3D(T * data, size_t x, size_t y, size_t z);
template <typename T> T ** arrayto2D(T * data, size_t x, size_t y);
template <typename T> T * array... | {
"alphanum_fraction": 0.7596735187,
"avg_line_length": 61.2592592593,
"ext": "h",
"hexsha": "ed243b69d9302818c3d44b3260f33a611f109b63",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-19T07:14:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-07-22T16:14:... |
/*
* Monte Carlo
*/
#include <gsl/gsl_rng.h>
double mc_pi(long m, gsl_rng *r);
double mc_pi(long m, gsl_rng *r)
{
unsigned long seed = 1UL;
double p[NP], mean, sd;
int i;
/* allocate random number generator */
r = gsl_rng_alloc (gsl_rng_taus2);
/* seed the random number generator */
gsl_rng_set (r, ... | {
"alphanum_fraction": 0.5332446809,
"avg_line_length": 16,
"ext": "c",
"hexsha": "03c0475834929ef00a050e7b6e53bba59d4d94c6",
"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": "4829666b4... |
/* vector/gsl_vector_complex_float.h
*
* 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 versi... | {
"alphanum_fraction": 0.6779980178,
"avg_line_length": 38.3650190114,
"ext": "h",
"hexsha": "5341cfbfa551d6793dc49a0d1e41669606000467",
"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:... |
//changes to version glm_popdyn_1.0_test2:
//lookuptable for G(x)=exp(-0.5*DT*c*exp(x/deltaV)) instead of lambda and Plam
#ifndef GLM
#define GLM 0
#endif
#ifndef GLM2
#define GLM2 2
#endif
#ifndef GLIF
#define GLIF 10
#endif
#ifndef GLIF1
#define GLIF1 11
#endif
#ifndef GLIF2
#define GLIF2 12
#endif
#ifndef GL... | {
"alphanum_fraction": 0.5577619945,
"avg_line_length": 25.5755329008,
"ext": "c",
"hexsha": "8fc5e76b51eaef5169ef2a5429282c448a0a25de",
"lang": "C",
"max_forks_count": 9,
"max_forks_repo_forks_event_max_datetime": "2022-03-08T12:18:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-09-14T20:52:... |
#pragma once
#include "mexObjectiveFunction.h"
#include <nlopt.h>
#include <mex.h>
struct mexConstraintFunction
{
static double con_fun(unsigned n, const double *x, double *gradient, void *d_);
static void vcon_fun(unsigned m, double *result, unsigned n, const double* x, double* grad, void* f_data);
bool isve... | {
"alphanum_fraction": 0.7162393162,
"avg_line_length": 39,
"ext": "h",
"hexsha": "12772a0aaf5accb415bc75b833471c94e79dbec2",
"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:50.000Z",
... |
#ifndef __INTERPOLATOR_H__
#define __INTERPOLATOR_H__
#include <vector>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
namespace RHEHpt{
class Interpolator
{
public:
Interpolator (unsigned choice = 0);
virtual ~Interpolator ();
double operator()(unsigned order, double xp) const;
void set_choice(u... | {
"alphanum_fraction": 0.7129485179,
"avg_line_length": 18.8529411765,
"ext": "h",
"hexsha": "29b5e507dd38dcc7662220d3a905309b7d1e08e0",
"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 <petsc.h>
#include <petscmath.h>
#include "compressibleFlow.h"
#include "mesh.h"
#include "petscdmplex.h"
#include "petscts.h"
typedef struct {
PetscInt dim;
PetscReal rc;
PetscReal xc;
PetscReal yc;
PetscReal L;
PetscReal Tinf;
PetscReal rhoInf;
PetscReal Mac;
PetscReal Ma... | {
"alphanum_fraction": 0.6586619323,
"avg_line_length": 35.4370860927,
"ext": "c",
"hexsha": "62f7bcce60b97dc81dfebd579a3a9b4cb3d11780",
"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 "imd.h"
#include <sys/time.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
// #define USEFLOAT // hauptsächlich in der funktion genexptint. Profiling zeigte, dass
// hier die meiste zeit verbraucht wird -> float verdoppelt performance
#ifdef USEFLOAT
typedef float Real;
#de... | {
"alphanum_fraction": 0.5735985138,
"avg_line_length": 29.1897926635,
"ext": "h",
"hexsha": "3b0f212278c8120ec4b14091fbe8454a2202a2a6",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
static char help[] =
"Solve a hyperbolic system in one space dimension (1D):\n"
" q_t + F(t,x,q)_x = g(t,x,q)\n"
"where solution q(t,x), flux F(t,x,q), and source g(t,x,q) are column vectors\n"
"of length n. The domain is (t,x) in [0,T] x [a,b]. The initial condition is\n"
"q(0,x) = f(x). The flux may be of the f... | {
"alphanum_fraction": 0.5749173582,
"avg_line_length": 44.9181818182,
"ext": "c",
"hexsha": "dd7fecb3f6d2acbc7bf50cb3dbf43cb23d30dc7d",
"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 <QuEST.h>
#include "QuEST_debug.h"
#include "QuEST_tn.h"
#include <cblas.h>
#define DEBUG 0
#if DEBUG
# define DEBUG_PRINT(x) printf x
#else
# define DEBUG_PRINT(x) do {} while (0)
#endif
int* getTensorIndexPermutation(int* contractionIndices, int numContractions,
... | {
"alphanum_fraction": 0.6773544406,
"avg_line_length": 30.6748971193,
"ext": "c",
"hexsha": "9c04570e25d0df05e260ec31f1e8ec3fe6cca076",
"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_errno.h>
#include <gsl/block/gsl_block.h>
#define BASE_DOUBLE
#include <gsl/templates_on.h>
#include <gsl/block/fwrite_source.c>
#include <gsl/block/fprintf_source.c>
#include <gsl/templates_off.h>
#undef BASE_DOUBLE | {
"alphanum_fraction": 0.7755905512,
"avg_line_length": 25.4,
"ext": "c",
"hexsha": "38aee3fc0085763ec0a4632e2d1b3a04aa402f26",
"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": "58778f1... |
#pragma once
#include "file_descriptor.h"
#include <filesystem>
#include <gsl/span>
#include <random>
namespace dogbox
{
inline void create_randomness(gsl::span<std::byte> const into)
{
file_descriptor const random = open_file_for_reading("/dev/urandom").value();
ptrdiff_t written = 0;
... | {
"alphanum_fraction": 0.5754857997,
"avg_line_length": 25.7307692308,
"ext": "h",
"hexsha": "390f56cbcd58f53383594df9b05a544a1c68f043",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-08-29T22:01:48.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-29T22:01:... |
#include "jobqueue.h"
#include "degnome.h"
#include "fitfunc.h"
#include "flagparse.c"
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <time.h>
#include <pthread.h>
#include <unistd.h>
#include <limits.h>
typedef struct JobData JobData;
struct JobData... | {
"alphanum_fraction": 0.6262939959,
"avg_line_length": 26.2857142857,
"ext": "c",
"hexsha": "4a78b2c653390f7ff4bc2b39b328cebc08c90666",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-27T23:28:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-27T23:28:... |
#pragma once
#include <memory>
#include <gsl/gsl_rng.h>
extern std::unique_ptr<gsl_rng, decltype(&gsl_rng_free)> rng;
| {
"alphanum_fraction": 0.7438016529,
"avg_line_length": 15.125,
"ext": "h",
"hexsha": "69d0ea2d37efb9e7cf3a0b9f627892f6f82ebd83",
"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": "33ced... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "arcana/type_traits.h"
#include "arcana/utils/serialization/base_stream.h"
#include "arcana/utils/serialization/serializable.h"
#include <gsl/gsl>
#include <memory>
#include <type_traits>
namespace mira
{
template<t... | {
"alphanum_fraction": 0.5417923691,
"avg_line_length": 26.961722488,
"ext": "h",
"hexsha": "8f8b1d129cb15b6cc04258ee8f87db0ca343899a",
"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:... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#ifdef _WIN32
#include "blas.c"
#else
#include "blas.c"
// #include <cblas.h>
#endif
#include <moss.h>
#include <objects/string.h>
#include <objects/list.h>
#include <modules/bs.h>
#include <modules/la.h>
double mf_float(mt_object* x, int* e);
exter... | {
"alphanum_fraction": 0.4949240972,
"avg_line_length": 26.4260797342,
"ext": "c",
"hexsha": "86ff9781726f1319affde781c1b59221b6d4f1e3",
"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 batchg_zgemv.c
*
* Part of API test for Batched BLAS routines.
*
* @author Samuel D. Relton
* @author Pedro V. Lara
* @author Mawussi Zounon
* @date 2016-06-01
*
* @precisions normal z -> c d s
*
**/
#include <cblas.h>
#include "bblas.h"
#define COMPLEX
void batch_zgemv(
const enum BBLA... | {
"alphanum_fraction": 0.6342899191,
"avg_line_length": 19.9852941176,
"ext": "c",
"hexsha": "87b7ab7355a35a6a4c485b5f4c1849221c5904f0",
"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 "sqlite3.h"
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
// returned row
static int callback(void *NotUsed, int argc, char **argv, char **azColName){
int i;
for(i=0; i<argc; i++){
printf("%s = %s\t",... | {
"alphanum_fraction": 0.6422804013,
"avg_line_length": 22.456043956,
"ext": "c",
"hexsha": "d9fe652049d60d38988983be2b08c27463e394f5",
"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
#include <opencv2\core\core.hpp>
#include <opencv2\features2d\features2d.hpp>
#include <utility>
#include <gsl\gsl>
#include <vector>
namespace mage
{
class CameraCalibration;
struct Projection
{
cv::Point2f... | {
"alphanum_fraction": 0.7193877551,
"avg_line_length": 29.696969697,
"ext": "h",
"hexsha": "b0982ee3c894ef7b0543c4b2d5b1e30705b7a721",
"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:... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_filter.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_vector.h>
int
main(void)
{
const size_t N = 1000; /* length of time series */
const size_t K = 61; /* w... | {
"alphanum_fraction": 0.5876623377,
"avg_line_length": 29.9444444444,
"ext": "c",
"hexsha": "9db707f097fb56b0eb5c8200249dfc051da58bea",
"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 2021 Jonathan Haigh
* SPDX-License-Identifier: MIT
* ---------------------------------------------------------------------------*/
#ifndef SQ_INCLUDE_GUARD_parser_TokenView_h_
#define SQ_INCLUDE_GUARD_parser_TokenView_h_
#... | {
"alphanum_fraction": 0.6558206797,
"avg_line_length": 27.66,
"ext": "h",
"hexsha": "a66b73db69abe9a6eb41753520bfafcf92a8a9dc",
"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": "6ca366... |
/* rng/gsl_rng.h
*
* 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
* yo... | {
"alphanum_fraction": 0.7697841727,
"avg_line_length": 30.0351758794,
"ext": "h",
"hexsha": "6a48bb1a1e2db060fac02a380e2dd9bac0e72d4b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
/**
* File: specmodel_utils.h
* Header file for specmodel_utils.c
*
*/
#ifndef _SPECMODEL_UTILS_H
#define _SPECMODEL_UTILS_H
#include <gsl/gsl_interp.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include "fitsio.h"
#include "aXe_grism.h"
// interpolation type used for the
// spectral models
#define ... | {
"alphanum_fraction": 0.7714494341,
"avg_line_length": 22.2682926829,
"ext": "h",
"hexsha": "ce00be86d5b32d93215db527d9046f0011ccf2cc",
"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/tridiag.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
... | {
"alphanum_fraction": 0.5075905606,
"avg_line_length": 25.6872586873,
"ext": "c",
"hexsha": "106f171659336c595aee91cbabb2f2c3d78f0328",
"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 <gsl/gsl_spline.h>
typedef struct FastPMFDInterp{
size_t size;
gsl_interp * F;
gsl_interp * DF;
gsl_interp * DDF;
gsl_interp_accel * acc;
} FastPMFDInterp;
void fastpm_fd_interp_init(FastPMFDInterp * FDinterp);
double fastpm_do_fd_interp(FastPMFDInterp * FDinterp, int F_id, double y);
v... | {
"alphanum_fraction": 0.7559681698,
"avg_line_length": 23.5625,
"ext": "h",
"hexsha": "28cf54b10c5279fcf321495d795dea01ec077489",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-14T23:24:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-14T23:24:19.000... |
#ifndef _MASSINTEGRAND__H
#define _MASSINTEGRAND__H
#include <vector>
#include <algorithm>
#include <numeric>
#include <functional>
#include <cstdint>
#ifdef HAS_MKL
#include <mkl.h>
#else
#include <cblas.h>
#endif
#ifdef __SSE4_2__
#include <emmintrin.h>
#include <mm_malloc.h>
#endif
#include "SparseAssemblyNative... | {
"alphanum_fraction": 0.5294882511,
"avg_line_length": 33.0952868852,
"ext": "h",
"hexsha": "8f7f5d35158f83dbb6644f23bf8103337f682261",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-05-18T08:06:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-05-30T09:44... |
/* multiset/gsl_multiset.h
* based on combination/gsl_combination.h by Szymon Jaroszewicz
* based on permutation/gsl_permutation.h by Brian Gough
*
* Copyright (C) 2009 Rhys Ulerich
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | {
"alphanum_fraction": 0.734029484,
"avg_line_length": 31.3076923077,
"ext": "h",
"hexsha": "f77cd1646d578ec9e2f4422092bb2f33fb4959c4",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:5... |
/**
*
* @file testing_dposv.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, Hatem Ltaief
* @date 2010-11-15
* @generated d Tue Jan 7 11:45:18 2014
*
**/
#in... | {
"alphanum_fraction": 0.4913523901,
"avg_line_length": 33.7085020243,
"ext": "c",
"hexsha": "0c2b34abc3dfa8078aae5d70290ca8390d6cb1c8",
"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":... |
/////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// == Copyright Inf... | {
"alphanum_fraction": 0.6659000121,
"avg_line_length": 55.0733333333,
"ext": "c",
"hexsha": "8f540ee319feeaa021d95c99e838085dce9cc30c",
"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 XYWEBSERVER_TEST_UTILS_H_
#define XYWEBSERVER_TEST_UTILS_H_
#include <gtest/gtest.h>
#include <gsl/pointers>
#include "runtime/runtime.h"
#define CO_ASSERT_EQ(val1, val2) \
({ \
auto f = [&]() { ASSERT_EQ(val1, val2); }; \
f(); ... | {
"alphanum_fraction": 0.6293785311,
"avg_line_length": 29.8314606742,
"ext": "h",
"hexsha": "72ba8d9bb15639cf0fcff2c0e0e62e8fa71b0702",
"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":... |
/* multifit_nlin/gsl_multifit_nlin.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, o... | {
"alphanum_fraction": 0.7046099291,
"avg_line_length": 32.6011560694,
"ext": "h",
"hexsha": "96bd014005615ef87951a48a73b678d75d69b5a9",
"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... |
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <math.h>
#include <libgen.h>
#include <options/options.h>
#include "../csm/csm_all.h"
struct ld_noise_params {
int seed;
double discretization;
double sigma;
const char* file_input;
const char* file_output;
int lambertian;
};
int main(int argc, co... | {
"alphanum_fraction": 0.6403626595,
"avg_line_length": 26.1228070175,
"ext": "c",
"hexsha": "9bc41814e0b11f35ade86ebfb0c04c0fcd451857",
"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":... |
/* interpolation/bicubic.c
*
* Copyright 2012 David Zaslavsky
*
* 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.6206556569,
"avg_line_length": 35.2344913151,
"ext": "c",
"hexsha": "7db14feee0a05b106360de1a6186f28411a2fb0f",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#include <iostream>
#define ARMA_64BIT_WORD
#include <armadillo>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_sf_psi.h>
#include <list>
#include "utils.h"
#include "eval.h"
using namespace std;
using namespace arma;
#include "data.h"
struct model_settings {
bool verbose;
string outdir;
string datadir;
... | {
"alphanum_fraction": 0.5462074405,
"avg_line_length": 29.71484375,
"ext": "h",
"hexsha": "e0d0b9b90fba4fbf31a272074d847825923e1de0",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-04-06T20:17:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-08-13T00:22:2... |
#ifndef _RandomHistObject_H
#define _RandomHistObject_H
#include <gsl/gsl_histogram.h>
#include <QObject>
#include <QVector>
#include "src_config.h"
class RandomNumberGen;
class _HIST_EXPORT_ RandomHistObject : public QObject
{
public:
static RandomHistObject * getRandomHistObject (QObject * parent=0);
void ... | {
"alphanum_fraction": 0.6788537549,
"avg_line_length": 20.24,
"ext": "h",
"hexsha": "3d64ddfaa7da5fb00ddc5e5ce1415530ff912962",
"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": "76aff0... |
#pragma once
#include <gsl/span>
#include <cstddef>
namespace imageview {
// Class representing a color in RGBA32 color space.
class RGBA32 {
public:
constexpr RGBA32() noexcept = default;
constexpr RGBA32(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) noexcept
: red(re... | {
"alphanum_fraction": 0.7159318637,
"avg_line_length": 35.0175438596,
"ext": "h",
"hexsha": "3d209c75d7987f05ed64c10b5dd1cc9fa0936d6a",
"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 "matrix.h"
#include <cblas.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
Matrix *create_mat(char *path) {
Matrix *m = malloc(sizeof(Matrix));
m->row_len = 0;
m->col_len = 0;
FILE *myfile = fopen(path, "r");
int ch = 0;
while (ch != EOF) {
ch = fgetc(myfile);
if (m->row_len ... | {
"alphanum_fraction": 0.5219092332,
"avg_line_length": 24.735483871,
"ext": "c",
"hexsha": "84b44490bc990c46c11dbb56b94d5abf29aee154",
"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/permutation.c
*
* Copyright (C) 2001, 2002 Nicolas Darnis
*
* 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 lat... | {
"alphanum_fraction": 0.5210643016,
"avg_line_length": 18.5025641026,
"ext": "c",
"hexsha": "080c8eebc09254cc69d1878db29cf0afa734950d",
"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... |
/**
*
* @file qwrapper_slaswp.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 s Tue Jan 7 11:44:58 2014
*
**/
#inc... | {
"alphanum_fraction": 0.4739958551,
"avg_line_length": 35.9326241135,
"ext": "c",
"hexsha": "ccc69716a8e765ede97ecaa30375037557d5b05f",
"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":... |
//
// rope.hpp
// Fans
//
// Created by tqtifnypmb on 06/12/2017.
// Copyright © 2017 tqtifnypmb. All rights reserved.
//
#pragma once
#include <memory>
#include <functional>
#include <vector>
#include <string>
#include <gsl/gsl>
#include "RopeNode.h"
#include "Range.h"
#include "RopeIter.h"
#include "../types.h... | {
"alphanum_fraction": 0.6383844709,
"avg_line_length": 24.196969697,
"ext": "h",
"hexsha": "638df980d5fa71f4a6f3bf0a48e5ae4e88bc04be",
"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": ... |
//
// Autogenerated based on code by L. J. Feldstein
//
#include <stdio.h>
#include <gsl/gsl_matrix.h>
#include "cimple_controller.h"
| {
"alphanum_fraction": 0.7111111111,
"avg_line_length": 16.875,
"ext": "c",
"hexsha": "5ca87dc09ccd06b208cc27e39f4a0ddd1ca74a7c",
"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:52.000Z... |
/*
** profile.c
**
** Program written in order to calculate profile, characteristic scales and shapes of haloes
**
** Written by Marcel Zemp
*/
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <assert.h>
#include <sys/time.h>
#include <omp.h>
#include <gsl/gsl_... | {
"alphanum_fraction": 0.5774980125,
"avg_line_length": 36.2586762754,
"ext": "c",
"hexsha": "d91d6b2934c8082f22ed8792b72d14014964153b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-10-10T13:16:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-10-10T13:16:... |
/* integration/rational.c
*
* Copyright (C) 2017 Konrad Griessinger, 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 optio... | {
"alphanum_fraction": 0.6366223909,
"avg_line_length": 32.5979381443,
"ext": "c",
"hexsha": "b6f1960fd06de0267c5a6205888313a2fee74497",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#include <jni.h>
#include <assert.h>
#include <lapacke.h>
/* LU */
JNIEXPORT jint Java_JAMAJni_LUDecomposition_dgetrf (JNIEnv *env, jclass klass, jint matrix_layout, jint m, jint n, jdoubleArray a, jint lda, jintArray ipiv){
double *aElems;
lapack_int *ipivElems;
int info;
aElems = (*env)-> ... | {
"alphanum_fraction": 0.6684749849,
"avg_line_length": 31.3018867925,
"ext": "c",
"hexsha": "b843ee9f2e6cc1ed71118bfffd06ec6a62ddbbbe",
"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 <errno.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_l... | {
"alphanum_fraction": 0.6392219947,
"avg_line_length": 21.8466453674,
"ext": "c",
"hexsha": "1ac4a12fac1f94e6f2bc2c04b4045d861c8ba7bf",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-09-15T10:37:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-15T10:37:... |
#include <cblas.h>
void openblas_mul_double(double *a, double *b, double *c, int m, int k, int n)
{
cblas_dgemm(
CblasRowMajor, CblasNoTrans, CblasNoTrans,
m, n, k,
1.,
a, k,
b, n,
0.,
c, n
);
}
| {
"alphanum_fraction": 0.4923076923,
"avg_line_length": 17.3333333333,
"ext": "c",
"hexsha": "7052e4bcdbc7f90082aabd961d57607b16775523",
"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":... |
/* Useful general-purpose functions.
*
* Krzysztof Chalupka, 2017.
*/
#include <stdio.h>
#include <gsl/gsl_blas.h>
#include "utils.h"
void crit_err(char *msg){
fprintf(stderr, "%s, exiting.\n", msg);
exit(1);
}
int get_nlines(char *fname){
/* Check how many lines there are in a file. */
int nlines = 0;
... | {
"alphanum_fraction": 0.6036866359,
"avg_line_length": 22.1931818182,
"ext": "c",
"hexsha": "bb945d4f6eb92ecf4f1551ee80e85031105b5479",
"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.5974080019,
"avg_line_length": 47.6515580737,
"ext": "c",
"hexsha": "690c22241cbe497c38271f6237aebd93e4434ca2",
"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 (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 t... | {
"alphanum_fraction": 0.7174317618,
"avg_line_length": 32.24,
"ext": "h",
"hexsha": "03d84723c2b05fb8bbe367e49d5609d8785e3312",
"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"... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_interp.h>
#include "allvars.h"
#include "proto.h"
void line_convolution()
{
FILE *fp;
int info, i, j, nq;
double flux, err, tline, taup, tcon, fcon, fcon_err, dtau;
double *yrec_line;
// double sigma, taud;
... | {
"alphanum_fraction": 0.6190193165,
"avg_line_length": 25.6870229008,
"ext": "c",
"hexsha": "4bed5a9433db4a813de0df7265c55cdb9c906978",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:... |
#ifndef TFDH_GSL_WRAPPERS_H
#define TFDH_GSL_WRAPPERS_H
#include <gsl/gsl_spline.h>
#include <vector>
namespace GSL {
// simple functor class to help interfacing with gsl_function.
// derived classes representing a function f(x) should hold any needed
// parameters as member variables, and operator()(double ... | {
"alphanum_fraction": 0.6949934124,
"avg_line_length": 29.7647058824,
"ext": "h",
"hexsha": "083613107f2cb25d58921a5ac40a4192136c7597",
"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 <sys/types.h>
#include <time.h>
#include <complex.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_sf_gamma.h>
#define FALSE 0
#define TRUE 1
#ifndef M_PI
#define M_PI 3.141592653589793238462643383280 /*... | {
"alphanum_fraction": 0.7133449545,
"avg_line_length": 36.8785714286,
"ext": "h",
"hexsha": "ae790a3938b4758f53122d0bfffee4ff3583d7bf",
"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":... |
/* multifit/test.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 3 of the License, or (at
* your option) any later version.
*
* ... | {
"alphanum_fraction": 0.5910423887,
"avg_line_length": 26.4154929577,
"ext": "c",
"hexsha": "309efcf5835be820cc66b8cf110840180493117a",
"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... |
/* specfunc/legendre_H3d.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.6122156649,
"avg_line_length": 30.6731107206,
"ext": "c",
"hexsha": "8b58423dd8dc60738858af3833d0fe10d006e60d",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47... |
/**
*/
#include "aXe_grism.h"
#include <gsl/gsl_spline.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_sort_vector.h>
#include "fringe_conf.h"
#include "fringe_model.h"
#include "fringe_utils.h"
#define MIN(x,y) (((x)<(y))?(x):(y))
#define MAX(x,y) (((x)>(y))?(x):(y))
/**
* Function: fring... | {
"alphanum_fraction": 0.6940071959,
"avg_line_length": 26.6686656672,
"ext": "c",
"hexsha": "7864cd54dddb9eb694f0d47818aecff7f2c0945c",
"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_dgemm_tile.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 Mark Gates
* @date 2010-11-15
* @generated d Tue Jan 7 11:44:59 2014
*
**/
#incl... | {
"alphanum_fraction": 0.4886083744,
"avg_line_length": 36.4943820225,
"ext": "c",
"hexsha": "08a5a574802c28c40f2b6ef39f9e51b40f3c45f0",
"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":... |
//Converts LSFs (line spectral frequencies) to polynomial representation along cols or rows of X.
//Works by getting p_sym and p_asym and then roots and then lsf2poly.
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#ifdef __cplusplus
namespace ov {
extern "C" {
#endif
int lsf2poly_s (flo... | {
"alphanum_fraction": 0.4142721819,
"avg_line_length": 43.2354948805,
"ext": "c",
"hexsha": "d614a9441e224b5280af478a9f5f9710aa99f8ae",
"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":... |
/*
Excited States software: KGS
Contributors: See CONTRIBUTORS.txt
Contact: kgs-contact@simtk.org
Copyright (C) 2009-2017 Stanford University
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software with... | {
"alphanum_fraction": 0.7815489047,
"avg_line_length": 36.0111111111,
"ext": "h",
"hexsha": "4cbd7c6edf6d56e7b0b4753c2fa4b01f8864e200",
"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 PRECISION_RECALL_H_G2FJDYVV
#define PRECISION_RECALL_H_G2FJDYVV
#include <gsl/gsl>
#include <opencv2/core/base.hpp>
#include <opencv2/core/types.hpp>
#include <opencv2/imgproc.hpp>
#include <optional>
#include <string_view>
#include <util/common_structures.h>
namespace sens_loc::apps {
/// Defines the color ... | {
"alphanum_fraction": 0.6826538769,
"avg_line_length": 33.36,
"ext": "h",
"hexsha": "295e8f6734e2bda945214c4d6f3c23c9f953b288",
"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": "5c8338... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.