Search is not available for this dataset
text string | meta dict |
|---|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "compearth.h"
#ifdef COMPEARTH_USE_MKL
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#pragma clang diagnostic ignored "-Wstrict-prototypes"
#endif
#include <mkl_cblas.h>
#ifdef _... | {
"alphanum_fraction": 0.4770571152,
"avg_line_length": 35.8680555556,
"ext": "c",
"hexsha": "931b71af7e4926e83d0bc215a0c0f2db21d95680",
"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:... |
#ifndef BATCH_EXTRACTOR_H_IVH3CLLQ
#define BATCH_EXTRACTOR_H_IVH3CLLQ
#include <algorithm>
#include <gsl/gsl>
#include <opencv2/core/types.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/xfeatures2d.hpp>
#include <optional>
#include <sens_loc/util/correctness_util.h>
using namespace std;
using namespace cv;
... | {
"alphanum_fraction": 0.6706197399,
"avg_line_length": 36.3055555556,
"ext": "h",
"hexsha": "016faa725d9629c154719ab2cec092bab63979d3",
"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 "fg_interface.h"
#include <gsl/gsl_rng.h>
#include <math.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
fg_func test = fg_init_7_4096(log, 1E-15, 1000, 1E-12, 1E-15, 0);
int n_el = 100000;
gsl_rng *r = gsl_rng_alloc(gsl_rng_taus);
gsl_rng_set(r, 1);
double *x = (double *)malloc... | {
"alphanum_fraction": 0.5386996904,
"avg_line_length": 22.275862069,
"ext": "c",
"hexsha": "5c47525a24a34e0af1c3bd3fed2a7490460d0128",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-11-09T01:07:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-11-13T18:17:4... |
/* integration/test.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
* Copyright (C) 2017, 2018 Patrick Alken
* Copyright (C) 2017 Konrad Griessinger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by... | {
"alphanum_fraction": 0.583750463,
"avg_line_length": 39.8648239303,
"ext": "c",
"hexsha": "5cc008544c3dbc390740519e6cbe486e837b826e",
"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... |
#pragma once
#include <string_view>
#include <gsl/span>
namespace kab_advent {
auto day(gsl::span<std::string_view const> args) -> int;
} | {
"alphanum_fraction": 0.7214285714,
"avg_line_length": 17.5,
"ext": "h",
"hexsha": "733c19fe53d22bffa2454a13a5cd861af00ae4c6",
"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": "204da8c... |
#ifndef VEC_WRAPPER_H
#define VEC_WRAPPER_H
#include <atomic>
#include <gsl/gsl_vector.h>
class Vector {
public:
Vector(); // null
Vector(gsl_vector *wrap);
Vector(const size_t length);
Vector(const Vector& copy);
virtual ~Vector();
gsl_vector *get() const;
void set(gsl_vector *newVec... | {
"alphanum_fraction": 0.6603295311,
"avg_line_length": 17.152173913,
"ext": "h",
"hexsha": "e410c41ce21b7556d5575b8acf38566273c03075",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:3... |
#ifndef SNPINFER_DATASTRUCTURE
#define SNPINFER_DATASTRUCTURE
#define NUMPRECISION 1e-6
#include <iostream>
#include <fstream>
#include <sstream>
#include <string.h>
#include <vector>
#include <algorithm>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <iterator>
#include <omp.h>
#include <sys/stat.... | {
"alphanum_fraction": 0.711053316,
"avg_line_length": 31.2601626016,
"ext": "h",
"hexsha": "487c223b8856c26aed0bdda1abf42d94369f662e",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2022-01-17T23:26:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-07-13T21:03:2... |
//im_clam.c --
// A. Kern 3/20/15
//
// Composite Likelihood estimation of canonical IM models via AFS
//going to use NLopt for optimization
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_ran... | {
"alphanum_fraction": 0.6825837411,
"avg_line_length": 37.3567662566,
"ext": "c",
"hexsha": "0780e0251d4480b37b2425d6c972baa2bd8db582",
"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) 2017 Jelmer Ypma. All Rights Reserved.
* This code is published under the L-GPL.
*
* This program 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, either version 3 of the License... | {
"alphanum_fraction": 0.7132733715,
"avg_line_length": 39.8804347826,
"ext": "h",
"hexsha": "74585eac0b9d3d0c692b879fad58de26eeaa1b12",
"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 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIM... | {
"alphanum_fraction": 0.670044882,
"avg_line_length": 32.1255813953,
"ext": "h",
"hexsha": "d5add5ca0543d8c2cf125d49cb238b17c868c56d",
"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": ... |
/*
* BRAINS
* (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling
* Yan-Rong Li, liyanrong@ihep.ac.cn
* Thu, Aug 4, 2016
*/
/*!
* \file dnest_con.c
* \brief run dnest for continuum analysis
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
#include <str... | {
"alphanum_fraction": 0.6492015968,
"avg_line_length": 25.5612244898,
"ext": "c",
"hexsha": "6e95e7238972b59b00aed7d740496f1f6d836ce5",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 2018-2021 Aleksas Mazeliauskas, Stefan Floerchinger,
* Eduardo Grossi, and Derek Teaney
* All rights reserved.
*
* FastReso is distributed under MIT license;
* see the LICENSE file that should be present in the root
* of the source distribution, or alternately available at:... | {
"alphanum_fraction": 0.7539097079,
"avg_line_length": 47.7323943662,
"ext": "h",
"hexsha": "d0aa1033203d4d8e91de367ad908576d54dd3b79",
"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 TETRA_DOS_DOS_VALUES_H
#define TETRA_DOS_DOS_VALUES_H
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_sort_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_eigen.h>
#include "ctetra/dos.h"
#include "elHamiltonian.h"
#include "environment.h"
gsl_matrix* cubicRecipLat(double a);
... | {
"alphanum_fraction": 0.7769953052,
"avg_line_length": 23.6666666667,
"ext": "h",
"hexsha": "ec88f7fa7d6637b5e9cdb9d07ebf02cf0a22eb4c",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-08-18T15:11:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-08-18T15:11:... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Map.h"
#include "MapPoint.h"
#include "MappingKeyframe.h"
#include "InitializationData.h"
#include "Tracking\KeyframeBuilder.h"
#include "Mapping\MapPointKeyframeAssociations.h"
#include "BoW\OnlineBow.h"
#include "B... | {
"alphanum_fraction": 0.6617891241,
"avg_line_length": 35.4264705882,
"ext": "h",
"hexsha": "383dff40232a2f5697dfc34ae81bbfd487c3dd0c",
"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 <gsl/gsl_vector.h>
#include <math.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include "verif.h"
#include "data.h"
#include "prob_functions.h"
void EM (Dataset *data)
{
int i, j;
const double THRESHOLD = 1E-10;
double Q, lastQ;
srand(time(NULL));
/* Initialize parameters to starting va... | {
"alphanum_fraction": 0.5916230366,
"avg_line_length": 22.3828125,
"ext": "c",
"hexsha": "63134ca34f4c78c69361ce90cd94250c74e8fc88",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-25T18:59:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-25T18:59:03.... |
static char help[] = "ODE system solver example using TS. Models two\n"
"equal-mass balls (particles) moving in the plane with either no\n"
"connection (free) or connected by a spring. Solved via a Newtonian\n"
"formulation in cartesian coordinates (x,y) and velocities\n"
"(v=dx/dt,w=dy/dt). The system has dimension ... | {
"alphanum_fraction": 0.5544925663,
"avg_line_length": 38.4825870647,
"ext": "c",
"hexsha": "516b1cf86cfd9fb10ac21021eb7458bd06aecf58",
"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 NOVUGNO_IMI_INCLUDE_GNOIMI_H_
#define NOVUGNO_IMI_INCLUDE_GNOIMI_H_
#include <algorithm>
#include <cassert>
#include <cmath>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <string>
#include <thread>
#include <functional>
#include <vector>
#include <ctime>
#include <chrono... | {
"alphanum_fraction": 0.6926509476,
"avg_line_length": 35.0424710425,
"ext": "h",
"hexsha": "b1abdac519ddb0b771bbbd7dbd101e5ccd8abbb1",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-06-02T06:49:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-01T08:18:... |
#ifndef KEYPOINT_TRANSFORM_H_ARXFM8VJ
#define KEYPOINT_TRANSFORM_H_ARXFM8VJ
#include <gsl/gsl>
#include <sens_loc/camera_models/pinhole.h>
#include <sens_loc/camera_models/projection.h>
#include <sens_loc/math/pointcloud.h>
namespace sens_loc::apps {
template <template <typename> typename Model = sens_loc::camera_mo... | {
"alphanum_fraction": 0.6405529954,
"avg_line_length": 39.06,
"ext": "h",
"hexsha": "fed380f82342617fb7de966f36f23dbac37220dd",
"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... |
/*
** Copyright (C) 2004 Jonathan G. Underwood <j.underwood@open.ac.uk>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later ... | {
"alphanum_fraction": 0.5835949502,
"avg_line_length": 33.7184684685,
"ext": "c",
"hexsha": "9754d7bf37ee1fce52bf61f35682a68a6e7fb853",
"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:... |
/* matrix/test.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
* y... | {
"alphanum_fraction": 0.7388864912,
"avg_line_length": 22.2788461538,
"ext": "c",
"hexsha": "cffc98911cb1ca5ccdffad54aecccd2239c1b5a5",
"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 <config.h>
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_fft_halfcomplex.h>
#include <gsl/gsl_fft_halfcomplex_float.h>
#define BASE_DOUBLE
#include "templates_on.h"
#include "hc_pass.h"
#include "hc_init.c"
#include "hc_ma... | {
"alphanum_fraction": 0.7482352941,
"avg_line_length": 20.7317073171,
"ext": "c",
"hexsha": "284e864c26bfa52cf42aa9f0c68176b15264aa33",
"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 <stdlib.h>
#include <string.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_statistics_double.h>
#include <math.h>
#include "tz_error.h"
#include "tz_constant.h"
#include "tz_voxel_linked_list.h"
#include "tz_stack_sampling.h"
#include "tz_voxel_graphics.h"
#include "tz_neurotrace.h"
#inclu... | {
"alphanum_fraction": 0.7060794639,
"avg_line_length": 25.7901234568,
"ext": "c",
"hexsha": "65e6b6a1a1ac467b717b63d8422e6b60dc195660",
"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":... |
/* blas/gsl_blas.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option)... | {
"alphanum_fraction": 0.5915238954,
"avg_line_length": 28.6810344828,
"ext": "h",
"hexsha": "d8b6a2084f847aa70c0dd82b478bc43144c25245",
"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 2020 Makani Technologies LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | {
"alphanum_fraction": 0.6773722628,
"avg_line_length": 29.7826086957,
"ext": "h",
"hexsha": "dde812e030b103635de3508d0c75c29b5f22c1ac",
"lang": "C",
"max_forks_count": 107,
"max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2... |
#ifndef __CCL_CONSTANTS_H_INCLUDED__
#define __CCL_CONSTANTS_H_INCLUDED__
#include <gsl/gsl_const_mksa.h>
//Spline types
#define A_SPLINE_TYPE gsl_interp_akima
#define K_SPLINE_TYPE gsl_interp_akima
#define L_SPLINE_TYPE gsl_interp_akima
#define M_SPLINE_TYPE gsl_interp_akima
#define D_SPLINE_TYPE gsl_interp_akima
#d... | {
"alphanum_fraction": 0.7363013699,
"avg_line_length": 21.816091954,
"ext": "h",
"hexsha": "33e7889f23c8f99085580d091ee459a952093296",
"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": ... |
/* movstat/madacc.c
*
* Copyright (C) 2018 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
... | {
"alphanum_fraction": 0.6753480018,
"avg_line_length": 28.0125786164,
"ext": "c",
"hexsha": "ad0595c411bd0608446ba537b0895d3bfff9a3bc",
"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 <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_errno.h>
#include "ccl.h"
/*
* Spline the linear power spectrum for mu-Sigma MG cosmologies.
* @param cosmo Cosmological parameter... | {
"alphanum_fraction": 0.5938468603,
"avg_line_length": 32.3828996283,
"ext": "c",
"hexsha": "344f85a89e03597af0bda10978d8b8220b726a9d",
"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 <string.h>
#include <mpi.h>
#include <pfft.h>
#include <gsl/gsl_rng.h>
#include <fastpm/libfastpm.h>
#include <fastpm/logging.h>
#include "pmpfft.h"
#define HAS(a, b) ((a & b) != 0)
static void
pack_any(FastPMStore * p, ptrdiff_t index, int ci, void * packed)
{
size_t elsize = p->_column_info[ci].elsiz... | {
"alphanum_fraction": 0.5471130278,
"avg_line_length": 29.1419529837,
"ext": "c",
"hexsha": "520d999737bc533abdcc8f30c8482e567a050681",
"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:... |
/*
Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch
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, or (at your option)
any later version.
This program is distr... | {
"alphanum_fraction": 0.5570826868,
"avg_line_length": 22.8984771574,
"ext": "c",
"hexsha": "b1dd98f258c11b7c27f106785ec5be933ce8b366",
"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) 1997-1999 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later versio... | {
"alphanum_fraction": 0.6295545038,
"avg_line_length": 29.7785234899,
"ext": "c",
"hexsha": "b12e4ad52f8f7126b74fa5d7a3044771356c9009",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-07-09T00:20:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-07-09T00:20:... |
#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 free_MCMC_arrays(MCMC_info *MCMC) {
int i_DS;
MCMC_DS_info *current_DS;
M... | {
"alphanum_fraction": 0.6271744241,
"avg_line_length": 32.7230769231,
"ext": "c",
"hexsha": "852e847540704dd0cf0bdcd38208c6a471a01caf",
"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:... |
/* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2021 INRIA.
*
* 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.7564439769,
"avg_line_length": 26.4027777778,
"ext": "h",
"hexsha": "8edac9622ae8fa8ac1d34c59e1224345264bcfbe",
"lang": "C",
"max_forks_count": 30,
"max_forks_repo_forks_event_max_datetime": "2022-03-02T20:30:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-08-06T22:57... |
/******************************************************************************
* myrng.h: header for abstract random number generator *
* Author: Yan Y. Liu <yanliu@illinois.edu> *
* Date: 2014/08/17 *
... | {
"alphanum_fraction": 0.5175276753,
"avg_line_length": 36.1333333333,
"ext": "h",
"hexsha": "d9c7b9922b992cde23f2b341810d1ebc9d2a80d1",
"lang": "C",
"max_forks_count": 20,
"max_forks_repo_forks_event_max_datetime": "2021-06-17T14:29:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-28T15:28... |
/* linalg/lu.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
* you... | {
"alphanum_fraction": 0.6026575225,
"avg_line_length": 22.3610223642,
"ext": "c",
"hexsha": "4b83c82995844be4dc4e7dfa0d9f4ea195befcb2",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#include "stdio.h"
#include "gsl/gsl_integration.h"
#include "gsl/gsl_errno.h"
#include "limber.h"
#include <gsl/gsl_interp2d.h>
//#include <gsl/gsl_spline2d.h>
//#include <gsl/gsl_spline.h>
// This is a workspace size for the gsl integrator
#define LIMBER_FIXED_TABLE_SIZE 4096
// data that is passed into the integr... | {
"alphanum_fraction": 0.699739098,
"avg_line_length": 34.6640826873,
"ext": "c",
"hexsha": "4a64ea7f76e1b8def2916d857b95842d2f210e5a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:4... |
/* ################################################################################## */
/* ### ### */
/* ### Gadgetmp2 ### */
/* ### ... | {
"alphanum_fraction": 0.3321212121,
"avg_line_length": 51.5625,
"ext": "h",
"hexsha": "040f6887cc61fb37647f02e4abaf1f95f01f578f",
"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": "ff9e... |
//! \file heat_driver.h
//! Driver for Magnolia's heat transfer solver
#ifndef ENRICO_SURROGATE_HEAT_DRIVER_H
#define ENRICO_SURROGATE_HEAT_DRIVER_H
#include "enrico/geom.h"
#include "enrico/heat_fluids_driver.h"
#include <gsl/gsl>
#include <mpi.h>
#include <pugixml.hpp>
#include <xtensor/xtensor.hpp>
#include <cstd... | {
"alphanum_fraction": 0.71087181,
"avg_line_length": 33.895,
"ext": "h",
"hexsha": "4fa134e88c81e6b5de66c28e254de49c266845b8",
"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": "edd04f1... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include <alloca.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_statistics_float.h>
#include "rank.h"
#include "stattest.h"
#include "num.h"
typedef float con_t;
struct ConCovars {
/**
* Maximu... | {
"alphanum_fraction": 0.631154572,
"avg_line_length": 22.76953125,
"ext": "c",
"hexsha": "cfacd9060e5d05270c34ed3a948f23fd7de5b93e",
"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": "9... |
/** \file
* This file contains an implementation of a MPMC queue by Dmitry Vyukov. It is
* largely the same as the original source except for: minor formatting
* changes, movement to a namespace, use of alignas(X) instead of pad variables,
* and use of dyn_array from the guideline support library instead of
* `new... | {
"alphanum_fraction": 0.5848256362,
"avg_line_length": 38.5818181818,
"ext": "h",
"hexsha": "cf0a861f8db935b48c204804753e31e8793e99cb",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
#include <gsl/gsl>
#include <memory>
#include <atlcomcli.h>
#include "textures.h"
struct ID3D11Texture2D;
struct ID3D11DeviceContext;
struct ID3D11RenderTargetView;
struct ID3D11ShaderResourceView;
struct ID3D11DepthStencilView;
namespace gfx {
enum class BufferFormat;
class DynamicTexture : publ... | {
"alphanum_fraction": 0.7451033732,
"avg_line_length": 21.880952381,
"ext": "h",
"hexsha": "663755e52fb07f240867ccb699dfe29af15b9722",
"lang": "C",
"max_forks_count": 25,
"max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19:... |
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/**
@file pgp.c
@brief Interface to pgplot
Some usage of pgplot.Functionality goes like this: With filling the
struct pgp_gdsc the user defines a layout of a plot, which consists
of a number of viewgraphs with the same x-axis range. A de... | {
"alphanum_fraction": 0.5677798325,
"avg_line_length": 26.9431418523,
"ext": "c",
"hexsha": "feadd592f47730b0f5c5b58aeb93846ea908dde0",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-01-03T15:02:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-28T03:17:... |
/* linalg/bidiag.c
*
* Copyright (C) 2001, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
... | {
"alphanum_fraction": 0.54785313,
"avg_line_length": 28.3181818182,
"ext": "c",
"hexsha": "d2a15e0317b18dd2b7db2ed46294ac1b88ace725",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_statistics.h>
#define N (4096*4*16)
double g (double *x, int dim);
int
main (void)
{
double sum;
double s = 12.;
int dim = 4;
double x[4];
gsl_rng *r;
r = gsl_rng_alloc (gsl_rng_taus2);
gsl_rng_set (r, 1UL);
long i, j... | {
"alphanum_fraction": 0.4871794872,
"avg_line_length": 15.6,
"ext": "c",
"hexsha": "c6e656d9f0774f7b8bddff576b55770532fe8e47",
"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": "25ce6ca... |
// Created by BlurringShadow at 2021-02-27-下午 10:24
#pragma once
#include <algorithm>
#include <chrono>
#ifdef __cpp_lib_concepts
#include <concepts>
#include <ranges>
#endif
#include <execution>
#include <optional>
#include <string>
#include <type_traits>
#include <utility>
#include <nameof.hpp>
#include <boost/... | {
"alphanum_fraction": 0.6572594356,
"avg_line_length": 26.4954954955,
"ext": "h",
"hexsha": "a5ff54db34b182b6b87ebae4fc570172a876ed1e",
"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 COMMON_HEADER_H
#define COMMON_HEADER_H
//Include Standard Headers
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdbool.h>
//Math Libraries
//#include <math.h>
#include <limits.h>
//#include <gsl/gsl_sf_bessel.h>
//RNG Libraries... | {
"alphanum_fraction": 0.7222222222,
"avg_line_length": 17.3076923077,
"ext": "h",
"hexsha": "224e52c60bf05527712a9fe4e3aaa2ad88ebf72c",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stddef.h>
#include <unistd.h>
#include <math.h>
#include "bigfile-mpi.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
void usage() {
fprintf(stderr, "usage: bigfile-sample-mpi [-r ratio] [-N Nfile] [-f newfilepath] fi... | {
"alphanum_fraction": 0.5500061812,
"avg_line_length": 28.7864768683,
"ext": "c",
"hexsha": "3dcf31b6a65d8724fb895c60333ce8bd6af06a67",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2016-10-18T21:31:01.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-02-28T02:59:... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include "utils.h"
#include "norm.h"
/*
* * Program that reads reference spectra and measure spectra data
* and linearly unmixes the data using me... | {
"alphanum_fraction": 0.6698858648,
"avg_line_length": 33.1747572816,
"ext": "c",
"hexsha": "602d782d5cb56a477e24316ab17c57fb1049b532",
"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":... |
/*
* kjg_fpca.c
*
* Created on: Apr 28, 2014
* Author: Kevin
*/
#include <stdio.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_blas.h>
#include "kjg_fpca.h"
#include "kjg_gsl.h"
#include "admutils.h"
#include "gval.h"
size_t KJG_FPCA_ROWS = 256;
vo... | {
"alphanum_fraction": 0.628225994,
"avg_line_length": 24.0279329609,
"ext": "c",
"hexsha": "4fb16ce86baecc5bb7a6a3f0afd280314d48ae8d",
"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/gsl_spline2d.h
*
* 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 ver... | {
"alphanum_fraction": 0.6523623754,
"avg_line_length": 40.4736842105,
"ext": "h",
"hexsha": "2349813e9351698e0f3cf11045f0f4ad590215b1",
"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 <argp.h>
#include <string.h>
#include <assert.h>
#include <stdint.h>
#include "utils.h"
#ifdef USE_MKL
#pragma message "Using the MKL for BLAS."
#include <mkl.h>
#else
#pragma message "Not using the MKL for BLAS."
#include <cblas.h>
#endif
#define MAX_LINES 2000
#define... | {
"alphanum_fraction": 0.646051905,
"avg_line_length": 26.5347985348,
"ext": "c",
"hexsha": "7c43bbec5ea4df22297fa0a846a0fe0a1fd60af6",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-11-07T15:52:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-11-07T15:52:0... |
#if !defined(UTIL_H)
#define UTIL_H
#include <gsl/gsl_matrix.h>
// Flag to set if the program should exit on GSL error
const static bool EXIT_ON_GSL_ERROR = false;
struct stability_params {
double lambda[8];
double l;
double u;
double m;
double v;
};
struct integration_params {
double M;
double m1;
... | {
"alphanum_fraction": 0.7087818697,
"avg_line_length": 17.8282828283,
"ext": "h",
"hexsha": "eaddaaeac2048da1ff46d5bb92a79577955289d0",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-11-27T14:59:29.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-27T14:59:... |
/*
* 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.6360496153,
"avg_line_length": 33.6984126984,
"ext": "h",
"hexsha": "1bbc52eff3699a0db79ff19bd53cec6470276f2f",
"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:... |
// matrix/snowboy-blas.h
// Copyright 2016 KITT.AI (author: Guoguo Chen)
#ifndef SNOWBOY_MATRIX_SNOWBOY_BLAS_H_
#define SNOWBOY_MATRIX_SNOWBOY_BLAS_H_
#ifdef HAVE_ATLAS
extern "C" {
#include <cblas.h>
#include <clapack.h>
}
#elif defined(HAVE_CLAPACK)
#ifdef __APPLE__
#ifndef __has_extension
#... | {
"alphanum_fraction": 0.6704750451,
"avg_line_length": 23.7571428571,
"ext": "h",
"hexsha": "9d9c76ade062f1b4bf4afebdc0f1cbd1b26e0dce",
"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":... |
/*****************************************************************\
__
/ /
/ / __ __
/ /______ _______ / / / / ________ __ __
/ ______ \ /_____ \ / / / / / _____ | / / / /
/ / | / _______| / / / / / / /____/ / / / / /
/ / / / / _____ / / / / / / _______/ / / ... | {
"alphanum_fraction": 0.6435986159,
"avg_line_length": 27.0287769784,
"ext": "h",
"hexsha": "60a26ef432ddc9d826a7b6093c7f94671d32bc68",
"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 DATA_PROCESS_H
#define DATA_PROCESS_H
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_statistics.h>
#include <math.h>
void support_degree_generator(gsl_matrix*, double*);
void eigenvec_calc(gsl_vector*, gsl_matrix*, gsl_... | {
"alphanum_fraction": 0.7865329513,
"avg_line_length": 31.7272727273,
"ext": "h",
"hexsha": "4f8915e994dbd38fd5e2121b90e2d83f91778a4b",
"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 "airsar.h"
#include "asf_meta.h"
#include <ctype.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_multiroots.h>
#define SQR(x) (x*x)
static char *get_airsar(char *buf, char *str)
{
char *p, *q;
static char value[51];
memset(value,0,51);
q = (cha... | {
"alphanum_fraction": 0.6456763109,
"avg_line_length": 36.5059171598,
"ext": "c",
"hexsha": "b6bdadc179b72e7f484c521e4405a1f74ca1e67f",
"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 <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
void
setupInitialSeed(
int id,
gsl_rng *rgen );
void createInitialSample(
double *x,
long N,
gsl_rng *rgen,
int state_dim );
| {
"alphanum_fraction": 0.6380952381,
"avg_line_length": 15,
"ext": "h",
"hexsha": "0c3e81d76437b3e60d18aa72f66ba94a33b5f59e",
"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": "2b7d74519... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <time.h>
#define PI 3.1416
#define USAGE "./mcmc_solar.x n_steps n_burn"
void likelihood(float *chi, float *y_obs, float *y_model, int n_puntos);
void my_model(float *mine, float *anio ,float a, floa... | {
"alphanum_fraction": 0.611133122,
"avg_line_length": 21.4808510638,
"ext": "c",
"hexsha": "95c52158e089bc47abb78976c48dc7232315c369",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <gsl/gsl_sf_expint.h>
#include "SE_trans.h"
#define ALPHA 0.99
#define DOMD 3.14
double f(double t)
{
return 0.25 * ((1+t) * log1p(t) + (1-t) * log1p(-t) - 2 * M_LN2) / M_LN2;
}
double G(double x)
{
return 0.25 * x * SE_trans_div(-1, 1, x) / M_LN2... | {
"alphanum_fraction": 0.5223285486,
"avg_line_length": 17.4166666667,
"ext": "c",
"hexsha": "7f730e569d99cd4b20465e9f8ab7d35c80905c5c",
"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":... |
// Diagonalization Routines using LAPACK(E)
#include <stdio.h>
#include <stdlib.h>
#include <emscripten.h>
#include <lapacke.h>
// void ssyevr_(char *jobz, char *range, char *uplo, int *n, float *a, int *lda,
// float *vl, float *vu, int *il, int *iu, float *abstol, int *m,
// float *w, floa... | {
"alphanum_fraction": 0.5818181818,
"avg_line_length": 28,
"ext": "c",
"hexsha": "7cbdf6ee7f939d771182536d5ad3eb02ba534488",
"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": "cb63218e4... |
static const char help[] =
"Build and view a tiny three-triangle mesh using DMPlex, and integrate a\n"
"scalar function over it. Option prefixes tny_ and plex_view_.\n\n";
/* either build DMPlex via call to DMPlexCreateFromCellList()
./tiny
or by directly setting cones "by hand":
./tiny -tny_by_hand
compute ... | {
"alphanum_fraction": 0.5996365129,
"avg_line_length": 43.7358974359,
"ext": "c",
"hexsha": "bb051d0384b5b33cd93fc167b424dd66c3ec3d82",
"lang": "C",
"max_forks_count": 46,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <omp.h>
#include <timerlib.h>
#ifndef NOBLAS
#ifdef MKL
#include <mkl_cblas.h>
#else
#include <cblas.h>
#endif
#endif
#include "gdrdgemm.h"
#define NMAT 2048
void gdr_check_and_restart(double a[][NMAT],
double b[][NMAT],
double c[][NMAT])
... | {
"alphanum_fraction": 0.5300266448,
"avg_line_length": 24.395,
"ext": "c",
"hexsha": "ad967758bc3124aabedff6dd06d2a4cfe10f7077",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-12-13T15:31:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-13T15:31:32.000Z... |
#ifndef STDAFX__H
#define STDAFX__H
#if defined(_WIN32)
#include <SDKDDKVer.h>
#if !defined(_STL_EXTRA_DISABLED_WARNINGS)
#define _STL_EXTRA_DISABLED_WARNINGS 4061 4324 4365 4514 4571 4582 4583 4623 4625 4626 4710 4774 4820 4987 5026 5027 5039
#endif
#if !defined(_SCL_SECURE_NO_WARNINGS)
#define _SCL_SE... | {
"alphanum_fraction": 0.7501096395,
"avg_line_length": 64.7784090909,
"ext": "h",
"hexsha": "96cd0edf7421232b3c36892d316e7828e745ec14",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* ode-initval/odeiv.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.6395214203,
"avg_line_length": 24.6761904762,
"ext": "c",
"hexsha": "0ee5421877b37076e4f1e5bfbd75c0a7cd61906d",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above cop... | {
"alphanum_fraction": 0.7163284133,
"avg_line_length": 35.5409836066,
"ext": "h",
"hexsha": "aff427db49d615cc32361829901abb4543bb51b2",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef GSL_WRAPER_H
#define GSL_WRAPER_H
#include <gsl/gsl_errno.h>
#include <gsl/gsl_min.h>
#include <gsl/gsl_multimin.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_bspline.h>
#include <gsl/gsl_multifit.h>
#include "VTypes.h"
typedef double (*root_func)(double,void*);
typedef double (*... | {
"alphanum_fraction": 0.6896445131,
"avg_line_length": 27.8879310345,
"ext": "h",
"hexsha": "377735749b4024b306891d63b0d5dc1b2ce12970",
"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>
//#ifndef DARWIN
//#include <malloc.h>
//#endif
#include <stddef.h>
#include <Python.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <string.h>
#include <math.h>
/*
* A simple helper function to display the contents of a 2-D gsl matrix
*/
int print... | {
"alphanum_fraction": 0.629146301,
"avg_line_length": 30.7635036496,
"ext": "c",
"hexsha": "7e814159d945777f6a3ef0d9526fa4dcc3ad7a80",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-02-25T06:53:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-04-21T08:25:2... |
/* rng/knuthran2.c
*
* 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.
*
* This program is distributed in the hop... | {
"alphanum_fraction": 0.6577916993,
"avg_line_length": 24.5576923077,
"ext": "c",
"hexsha": "6835672e6edd8a882fcff8e8d47502a148f07af3",
"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
#include <gsl/gsl>
#include <fmt/format.h>
#include "temple_enums.h"
// Define objHndl as a struct that contains just the handle value
#pragma pack(push, 1)
struct objHndl {
uint64_t handle;
explicit operator bool() const {
return !!handle;
}
objHndl& operator=(uint64_t handle) {
this->handle ... | {
"alphanum_fraction": 0.7003191181,
"avg_line_length": 20.2764705882,
"ext": "h",
"hexsha": "024ac1f5b999f6376c5beb32041ce89529c05423",
"lang": "C",
"max_forks_count": 25,
"max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "eigenmap.h"
#include <cblas.h>
#include <lapacke.h>
#include <matio.h>
#include <memory.h>
#include <time.h>
/*
* lanczos computes the smallest n_eigs eigenvalues for L and the
* corresponding eigenvectors using the Lanczos algorithm.
*
* F: an arra... | {
"alphanum_fraction": 0.5459877992,
"avg_line_length": 33.5590551181,
"ext": "c",
"hexsha": "7f5086471146faf7540eb1fd6f121b0cb1250d4e",
"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_dgels.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
* @generated d Tue Jan 7 11:45:18 2014
... | {
"alphanum_fraction": 0.4888899373,
"avg_line_length": 32.2633181126,
"ext": "c",
"hexsha": "1fc930995b3b165d7398944f9424d4a18a015ff5",
"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":... |
// Ref:
// G.P. Lepage, LQCD for Novices
#include "su3_utils.c"
#include <stdlib.h>
#include <stdio.h>
#include <gsl/gsl_fit.h>
// globals
const gsl_rng_type *T;
gsl_rng *r; // random generator
su3_matrix links[4*N*N*N*N]; // link variables
su3_matrix rands[50]; // random unitary matrices
FILE *output;
// prototypes... | {
"alphanum_fraction": 0.627534182,
"avg_line_length": 23.5666666667,
"ext": "c",
"hexsha": "39252f3492e66d654cda74d07dd7e14ce304dde4",
"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": ... |
/*
* library_def.h
*
* Created on: 2019. 9. 3.
* Author: Misun Yu, Dongsik Choi
*/
#ifndef LIBRARY_H_
#define LIBRARY_H_
//#define _DEBUG
//#define THREAD_MATMUL
//#define _USE_OPENBLAS_MATMUL
//#define _USE_OPENBLAS_CONV
//#define _CONV_ORIGINAL
//#define _CONV_GROUP_ORIGINAL
//#define _USE_LLVM 1
#ifde... | {
"alphanum_fraction": 0.4898793527,
"avg_line_length": 28.6822468225,
"ext": "h",
"hexsha": "39cdf54b444f40018385fe1ff6131992ff87f5f7",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2022-02-23T02:03:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-08T01:36... |
/*
** libproj -- library of cartographic projections
**
** Copyright (c) 2003, 2006 Gerald I. Evenden
*/
static const char
LIBPROJ_ID[] = "Id";
/*
** 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 ... | {
"alphanum_fraction": 0.6530317613,
"avg_line_length": 26.4713375796,
"ext": "c",
"hexsha": "8c0b83c5d20af24ae2186077b7b9c3e7a234f7b1",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2022-01-03T11:15:39.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-23T21:13:... |
#include <stdio.h>
#include <gsl/gsl_vector.h>
int
main (void)
{
int i;
gsl_vector * v = gsl_vector_alloc (100);
for (i = 0; i < 100; i++)
{
gsl_vector_set (v, i, 1.23 + i);
}
{
FILE * f = fopen ("test.dat", "w");
gsl_vector_fprintf (f, v, "%.5g");
fclose (f);
}
gsl_vec... | {
"alphanum_fraction": 0.5143678161,
"avg_line_length": 14.5,
"ext": "c",
"hexsha": "f25468b895b8be25038a7054e7006e20436c6336",
"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:16.000Z"... |
#ifndef GMM_AGGREGATE_NEWCOMP_H
#define GMM_AGGREGATE_NEWCOMP_H
#include "Object.h"
#include "PDBVector.h"
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
// By Tania, October 2017
using namespace pdb;
// This class contains the partial results for the ... | {
"alphanum_fraction": 0.7010368664,
"avg_line_length": 25.1594202899,
"ext": "h",
"hexsha": "ec5a23c9804eec3627fbd3be875274ca266e9050",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-06T19:28:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-18T02:13:... |
#include <stdio.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_chebyshev.h>
double
f (double x, void *p)
{
if (x < 0.5)
return 0.25;
else
return 0.75;
}
int
main (void)
{
int i, n = 10000;
gsl_cheb_series *cs = gsl_cheb_alloc (40);
gsl_function F;
F.function = f;
F.params = 0;
gsl_cheb_in... | {
"alphanum_fraction": 0.5409309791,
"avg_line_length": 15.1951219512,
"ext": "c",
"hexsha": "58a0c5469914fefb7a50561b6885748a79960df5",
"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 OPENMC_TALLIES_FILTER_POLAR_H
#define OPENMC_TALLIES_FILTER_POLAR_H
#include <cmath>
#include <vector>
#include <gsl/gsl>
#include "openmc/tallies/filter.h"
namespace openmc {
//==============================================================================
//! Bins the incident neutron polar angle (relativ... | {
"alphanum_fraction": 0.4734513274,
"avg_line_length": 25.5849056604,
"ext": "h",
"hexsha": "9659504568819c1ef1240040e0adae5c191c7df2",
"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_nlinear/nielsen.c
*
* Copyright (C) 2016 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later ver... | {
"alphanum_fraction": 0.6696750903,
"avg_line_length": 27.1568627451,
"ext": "c",
"hexsha": "73c0f15031f5f1aeb4944ee69c12a2109a56a361",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#ifndef MAT_H
#define MAT_H
#include <cstdio>
#include <sstream>
#include <string>
#include <cstring>
#include <cmath>
extern "C" {
#include <cblas.h>
};
namespace mat {
struct Mat {
size_t n_row;
size_t n_col;
float *dptr;
Mat() { dptr = NULL; }
Mat(float *dptr, size_t n_row, size_t n_col) : n_ro... | {
"alphanum_fraction": 0.5454159593,
"avg_line_length": 27.0804597701,
"ext": "h",
"hexsha": "28ec1f8a2705bb5d97b099067e6580f3db23b2cc",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2021-06-15T09:36:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-12-17T14:14:... |
// Copyright (C) 2015 Vincent Lejeune
// For conditions of distribution and use, see copyright notice in License.txt
#pragma once
#include <vector>
#include <tuple>
#include <array>
#include <memory>
#include <gsl/gsl>
#include <variant>
#include <optional>
#include "..\Core\SColor.h"
namespace irr
{
namespace video... | {
"alphanum_fraction": 0.8121549382,
"avg_line_length": 34.7896341463,
"ext": "h",
"hexsha": "ce6fe09ef845b3925e6325e6d8d5b1192f010e4e",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-10-31T04:40:05.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-11-18T16:23:... |
/* spprop.c
*
* Copyright (C) 2014 Patrick Alken
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This ... | {
"alphanum_fraction": 0.5133843212,
"avg_line_length": 26.8205128205,
"ext": "c",
"hexsha": "50419a38121d6d0cf308d21db766714c7a2d77d8",
"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 2016 BitTorrent 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | {
"alphanum_fraction": 0.7026515152,
"avg_line_length": 31.0588235294,
"ext": "h",
"hexsha": "05fe754da28c4e4291c910bfd3fbf32a4ef3c1c3",
"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":... |
/* multimin/fdfminimizer.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi
*
* 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 ... | {
"alphanum_fraction": 0.6502087939,
"avg_line_length": 23.3965517241,
"ext": "c",
"hexsha": "4029c375e9caa3353d8f3304163ed6b707161b24",
"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:... |
#ifndef __EXECUTE_PLUGIN_H__
#define __EXECUTE_PLUGIN_H__
#include <memory>
#include <optional>
#include <stdexcept>
#include <string>
#include <vector>
#include <gsl/gsl>
#include "config/commandLineOptions.h"
#include "config/fleetingOptionsInterface.h"
#include "config/pattern.h"
#include "config/patternsHandler.... | {
"alphanum_fraction": 0.6736542903,
"avg_line_length": 32.726744186,
"ext": "h",
"hexsha": "b3f1ce5dcdb075c1b381919a06ac2d9a35d15a89",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:1... |
/* roots/fdfsolver.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Reid Priedhorsky, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (a... | {
"alphanum_fraction": 0.6907066796,
"avg_line_length": 23.2134831461,
"ext": "c",
"hexsha": "7f4146e48bc41b7f04e68da85c4fd95c24ee1df9",
"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:... |
/*
* -----------------------------------------------------------------
* Pairwise Mixing Stirred Reaction Library --- pmsr_lib.h
* Version: 1.6180
* Date: Nov 16, 2010
* -----------------------------------------------------------------
* Programmer: Americo Barbosa da Cunha Junior
* americo.cunhajr@g... | {
"alphanum_fraction": 0.4534813926,
"avg_line_length": 26.656,
"ext": "h",
"hexsha": "a6f4ccaba20e70bc4c39037b6cc344ffbc97bf35",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:44.000Z... |
/**
*
* @file example_dpotrf.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @brief Example of Cholesky factorization
*
* @version 2.6.0
* @author Bilel Hadri
* @date 2010-11-15
* @generated d Tu... | {
"alphanum_fraction": 0.6357243319,
"avg_line_length": 25.0941176471,
"ext": "c",
"hexsha": "a618461c741ee887bb97fc3cf0c0978f18f488c6",
"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 <iostream>
#include <limits>
#include <cuda/define_specifiers.hpp>
#include <cuda/runtime_api.hpp>
#include <gsl-lite/gsl-lite.hpp>
#include <cub/cub.cuh>
#include <thrustshift/fill.h>
#include <thrustshift/math.h>
#include <thrustshift/not-a-vector.h>
namespace thrustshif... | {
"alphanum_fraction": 0.6381134038,
"avg_line_length": 36.5,
"ext": "h",
"hexsha": "ec4c9e7c89a72f1b57c59febd0b267700a2ea098",
"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": "763805f... |
#pragma once
#include "utility/types.h"
#include "utility/c++std/optional.h"
#include <gsl/gsl>
#include <vector>
#include <string>
namespace cws80 {
enum class FileChooserMode {
Open,
Save,
};
struct FileChooserFilter {
const char *name;
std::vector<const char *> patterns;
};
class NativeUI {
publi... | {
"alphanum_fraction": 0.7070063694,
"avg_line_length": 24.53125,
"ext": "h",
"hexsha": "2b714afcea3553b4eb8b877e7c849e7efc375bf8",
"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": "ce3... |
//====---- Sudoku/Location.h ----====//
//
// class Location: represent locations within a board,
// and calculate location related properties.
//====--------------------------------------------------------------------====//
//
// Everything is `constexpr` and `noexcept`.
// All... | {
"alphanum_fraction": 0.6595170977,
"avg_line_length": 26.7508196721,
"ext": "h",
"hexsha": "36c838817a2c7ffda833a5667b237c452ea37a9d",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-04-20T16:26:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-04-20T16:26:... |
/* permutation/gsl_permutation.h
*
* 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
* y... | {
"alphanum_fraction": 0.7651031895,
"avg_line_length": 29.6111111111,
"ext": "h",
"hexsha": "6f3a413c157afc869156b6b0a86980bbd34eee61",
"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:... |
/*This program evaluates the differential equations for a photon's geodesic in a FRW perturbed spacetime in SPHERICAL coordinates and restricted to photon RADIAL MOTION only.*/
/*This program solves the particular case for flat FRW perturbed spacetime with metric: $g_{ab} = {[g]}_{ab} + h_{ab}$. Where ${[g]}_{ab}$ cor... | {
"alphanum_fraction": 0.6802342606,
"avg_line_length": 50.780669145,
"ext": "c",
"hexsha": "deda15df223363a42ec8b763a77d0d472aa64382",
"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 __REGIONAL_H_
#define __REGIONAL_H_
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include "defs.h"
typedef struct stochasticity_grid {
t_float *arr;
int height, width;
double weight_factor;
double stddev;
double mean;
int depth;
gsl_rng *rng;
double *weights;
} t_stoch... | {
"alphanum_fraction": 0.7596153846,
"avg_line_length": 26,
"ext": "h",
"hexsha": "5d624260e45ec9e21a8ce6b3df59235225467886",
"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": "77b6e1abf... |
#pragma once
#include <vector>
#include <algorithm>
#include <gsl/gsl.h>
#include "utils/linear_algebra.h"
namespace util{
namespace math{
template<typename T, int64_t dim_1>
struct VecLoop_void{
template<typename OP, typename... Args>
void operator()(OP const&fun, Args&&... args) const {
#pragma cl... | {
"alphanum_fraction": 0.61496695,
"avg_line_length": 29.2137931034,
"ext": "h",
"hexsha": "d4c5165fe6670e4bf8ae949b2afc39ce8ea11666",
"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": "... |
//
// Created by daeyun on 4/11/17.
//
#pragma once
#ifndef NDEBUG
#define USE_OMP false
#else
#define USE_OMP true
#endif
#include <iostream>
#include <limits>
#include <cstdlib>
#include <vector>
#include <array>
#include <string>
#include <map>
#include <set>
#include <memory>
#include <gsl/gsl_assert>
#include ... | {
"alphanum_fraction": 0.729843562,
"avg_line_length": 24.0869565217,
"ext": "h",
"hexsha": "dd2a83f400570c0e664675511dac45c47a07d27c",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-26T13:53:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-26T13:53:0... |
/*
CUDA speed test without the memory overhead
gcc-mp-4.8 -O3 cudadgemmtest.c common.c -o cudadgemmtest -I../../../../netlib/CBLAS -I/usr/local/cuda/include/ -L/usr/local/cuda/lib -lcublas
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib
./cudadgemmtest > ../../../results/mac_os_x-x86_64-dgemm-cuda_nooh.csv
*/
#includ... | {
"alphanum_fraction": 0.5724465558,
"avg_line_length": 23.2047244094,
"ext": "c",
"hexsha": "b100e772bd602325aa0eaadbcbbc9044c86014bc",
"lang": "C",
"max_forks_count": 154,
"max_forks_repo_forks_event_max_datetime": "2021-09-07T04:58:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-03T22:4... |
static char help[] = "Solves the Liouville-Bratu reaction-diffusion problem in 1D. Option prefix lb_. Solves\n"
" - u'' - lambda e^u = 0\n"
"on [0,1] subject to homogeneous Dirichlet boundary conditions. Optionally uses manufactured solution to problem with f(x) on right-hand-side.\n\n";
#include <petsc.h>
type... | {
"alphanum_fraction": 0.5860335196,
"avg_line_length": 39.7777777778,
"ext": "c",
"hexsha": "9ef6257f3267b670cc98e7dd54e81bafb0c5ccc4",
"lang": "C",
"max_forks_count": 46,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26... |
/// @file mlr.h
/// @brief multiple linear regression support
/// @author Jeff Perry <jeffsp@gmail.com>
/// @version 1.0
/// @date 2013-06-13
#ifndef MLR_H
#define MLR_H
#include "raster_utils.h"
//#include <lapacke.h>
namespace horny_toad
{
/// @brief helper function
template<typename T>
T matrix_multi... | {
"alphanum_fraction": 0.4623131904,
"avg_line_length": 26.7652173913,
"ext": "h",
"hexsha": "0d2e937d74aa91ff78d2aec8edf9d03677cdf442",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Lice... | {
"alphanum_fraction": 0.5322141561,
"avg_line_length": 31.4857142857,
"ext": "h",
"hexsha": "a28faf8aec0e65f5599060e20614d723319b3e52",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-05-31T07:40:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-15T06:14:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.