Search is not available for this dataset
text
string
meta
dict
/* * test_shaw.c * * Test L-curve (Tikhonov) regression routines using Shaw * problem. See example 1.10 of * * [1] R.C. Aster, B. Borchers and C. H. Thurber, * Parameter Estimation and Inverse Problems (2nd ed), 2012. */ #include <gsl/gsl_sf_trig.h> /* alternate (and inefficient) method of computing G(lam...
{ "alphanum_fraction": 0.6159219312, "avg_line_length": 27.5, "ext": "c", "hexsha": "33c99188a8d573c1a06f1542fd5854c50bff78fe", "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": "1b4ee4c...
// lu2t.c // // test program for blocked LU decomposition // // Time-stamp: <09/08/31 00:41:24 makino> #include <stdio.h> #include <stdlib.h> #include <math.h> #ifndef NOBLAS #include <cblas.h> #endif #include <lu2tlib.h> void timer_init(); double cpusec(); double wsec(); #define FTYPE double void copymats( int n, do...
{ "alphanum_fraction": 0.5002862049, "avg_line_length": 20.674556213, "ext": "c", "hexsha": "bca1de28e72608a14bb7767551011047709a036e", "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:3...
#pragma once #include "iflag.h" #include "optioninfo.h" #include "configaccess.h" #include "format.h" #include <gsl/gsl> #include <cmdlime/customnames.h> #include <memory> #include <functional> #include <utility> namespace cmdlime::detail{ class Flag : public IFlag{ public: enum class Type{ Normal, ...
{ "alphanum_fraction": 0.5728643216, "avg_line_length": 22.8360655738, "ext": "h", "hexsha": "5195d22f7ce9cd1d252062500b881cae9aa8e6cf", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in th...
{ "alphanum_fraction": 0.7813138686, "avg_line_length": 45.0657894737, "ext": "h", "hexsha": "d26a62209c04ca1b5b5fd9d26d5a752bfbd1d99c", "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:...
/* FILE DETAILS description: header file needed for matrix operations in LCP solver, and some macros for the main LCP function project: MPT 3.0 filename: lcp_matrix.h author: Colin N. Jones, Automatic Control Laboratory, ETH Zurich, 2006 LICENSE: This program is free software; you can redistribute it and/or...
{ "alphanum_fraction": 0.6996942746, "avg_line_length": 37.0927835052, "ext": "h", "hexsha": "32ae7c03eb54be12e141e8a80a378871055d973a", "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 <math.h> #include <gsl/gsl_spline.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "spce_PET.h" #include "inout_aper.h" //#include "trace_conf.h" //#include "aper_conf.h" //#include "spc_sex.h" //#include "disp_conf.h" //#include "spc_...
{ "alphanum_fraction": 0.664333745, "avg_line_length": 26.3068592058, "ext": "c", "hexsha": "14dc9dde0be6e086fbb474f09890b06311254308", "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 __SOLVERS_H_ #define __SOLVERS_H_ #include <gsl/gsl_errno.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h> #include <gsl/gsl_multifit_nlin.h> const gsl_multiroot_fdfsolver_type * get_multiroot_fdfsolver_type(int index); int solve_multiroot(size_t dim, double * x, void * params, double atol, ...
{ "alphanum_fraction": 0.739010989, "avg_line_length": 28, "ext": "h", "hexsha": "edbfb1b75e80333c32ebfd568b4356e19679ade4", "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": "677307d6b9...
#include "gs2crmod_ext.h" #include <math.h> #include <string.h> #include <gsl/gsl_spline.h> VALUE gs2crmod_tensor_complexes_field_gsl_tensor_complex_2(VALUE self, VALUE options) { VALUE field, field_complex, field_narray; VALUE field_complex_narray; VALUE cgsl_tensor_complex; VALUE ccomplex; VALUE shape; int *c_...
{ "alphanum_fraction": 0.6239455521, "avg_line_length": 27.5250659631, "ext": "c", "hexsha": "7fa8119db142e6c1dcba0fcc17bd94cddb2f8cff", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-01T03:57:21.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-01T03:57:...
#include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <math.h> #include <options/options.h> #include "../csm/csm_all.h" struct { double interval; int seed; }p ; LDP ld_resample(LDP ld); gsl_rng * rng; int main(int argc, const char ** argv) { sm_set_program_name(argv[0]); ...
{ "alphanum_fraction": 0.5772839506, "avg_line_length": 19.4711538462, "ext": "c", "hexsha": "95b86206ca7df7d00c266fc3c26aacd327297237", "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":...
/* SO3blas.c */ // SO(3) Lie group implemented with GNU GSL // cf. wikipedia, "Rotation_group_SO(3)#Infinitesimal_rotations" // EY note : 20160519 Bizarrely, matrix multiplication isn't implemented // in a straightforward manner with the gsl_matrix class; // see blas (which I don't know what it is yet) and dgemm for ...
{ "alphanum_fraction": 0.5796074155, "avg_line_length": 23.5128205128, "ext": "c", "hexsha": "3ef1406edfc6f216f12e9ca51c339cae6fe53e3b", "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 <math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include "cconfigspace_internal.h" #include "distribution_internal.h" struct _ccs_distribution_uniform_data_s { _ccs_distribution_common_data_t common_data; ccs_numeric_t lower; ccs_numeric_t upper; ccs_scal...
{ "alphanum_fraction": 0.6086695279, "avg_line_length": 39.2255892256, "ext": "c", "hexsha": "7614572d500ec486489589efc9baecb3f6e57a4d", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-07T17:54:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-16T18:20:...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include "allvars.h" #include "proto.h" #ifdef PEDANTIC_MEMORY_HANDLER #define MAXBLOCKS 5000 #ifdef PEDANTIC_MEMORY_CEILING static size_t TotBytes; static void *Base; #endif static unsigned lon...
{ "alphanum_fraction": 0.5883338921, "avg_line_length": 18.3006134969, "ext": "c", "hexsha": "ece3f4f38ac49cf7e2deb79d2467b40b99003983", "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":...
/* fft/errs.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) a...
{ "alphanum_fraction": 0.6124777184, "avg_line_length": 24.6052631579, "ext": "c", "hexsha": "18edcfeded44e8e574ce65d5def8b3554defd7b8", "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:...
/* deriv/test.c * * Copyright (C) 2000 David Morrison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * ...
{ "alphanum_fraction": 0.6095831543, "avg_line_length": 22.1619047619, "ext": "c", "hexsha": "42463d38ef2b809af981234b7f5db9fe45916324", "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 Compute 3D shape features and moments. The following functions compute several shape features, including central moments, center of gravity, and volume size. \par Author: Gabriele Lohmann, MPI-CBS */ /* From the Vista library: */ #include <viaio/Vlib.h> #include <viaio/mu.h> #include <via/via.h> #inclu...
{ "alphanum_fraction": 0.6272682688, "avg_line_length": 21.807486631, "ext": "c", "hexsha": "41116d0df07f0e61aa17a60a4e1244af05694f51", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:5...
#pragma once // v1.2 By Ook // #include <concepts> #include <gsl/gsl> namespace EnumConcepts { template <class T> concept IsEnum = std::is_enum_v<T>; template<class _Ty> struct is_Numeric : std::integral_constant<bool, (std::is_arithmetic_v<_Ty> || std::is_same_v<_Ty, std::byte> || std::is_e...
{ "alphanum_fraction": 0.6909957361, "avg_line_length": 33.5042016807, "ext": "h", "hexsha": "cacc4ed062449d275475bf46378b24292018fd7e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2018-08-04T23:53:29.000Z", "max_forks_repo_forks_event_min_datetime": "2018-04-01T09:39:...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <sys/time.h> #include <inttypes.h> #include <omp.h> #include <gsl/gsl_math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_heapsort.h> #include "sph_data_types.h" #include "sph_linked_list.h" #include "sph...
{ "alphanum_fraction": 0.6196987411, "avg_line_length": 38.4990215264, "ext": "c", "hexsha": "de10ce042e2babba256a1fc3ec7433a5ba50230c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * (c) Author: Woongkyu Jee, woong.jee.16@ucl.ac.uk, wldndrb1@gmail.com * Created: 02.06.2019 ~ * * University College London, Department of Chemistry **/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_math.h> #include <...
{ "alphanum_fraction": 0.6490770824, "avg_line_length": 39.2282913165, "ext": "c", "hexsha": "f860481510256732fa35f546e67ba1a996d7642b", "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 header.h * */ #ifndef HEADER_H #define HEADER_H #define _GNU_SOURCE #include <time.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <float.h> #include <string.h> #include <omp.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_interp2d.h>...
{ "alphanum_fraction": 0.7032216075, "avg_line_length": 16.0052083333, "ext": "h", "hexsha": "e9020d103b3949923a284e8bd50a33e3664cb25f", "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 "cones.h" #ifdef LAPACK_LIB_FOUND #include <cblas.h> #include <lapacke.h> #endif void projectsdc(double * X, int n, Work * w); /* in place projection (with branches) */ void projCone(double *x, Cone * k, Work * w) { int i; int count; /* project onto positive orthant */ for(i = k->f; i < k->f+k->l; ++i) ...
{ "alphanum_fraction": 0.5165326184, "avg_line_length": 24.5934065934, "ext": "c", "hexsha": "65e2f6412f5d2d070a5f997d8005001c7d1fb5c6", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-12-20T19:38:22.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-26T23:10:...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6690090275, "avg_line_length": 39.978127136, "ext": "c", "hexsha": "ed6b17405b23e2d7fbbc031b072d95c1916a02b9", "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 "Common.h" #include "PEFile.h" #include "ImportedModule.h" #include <gsl/gsl> namespace winlogo::pe_parser { namespace details { /** * This is an input iterator for iterating over the imported modules of an import directory. */ class ImportDirectoryIterator { public: ImportDirectoryItera...
{ "alphanum_fraction": 0.7300613497, "avg_line_length": 24.8644067797, "ext": "h", "hexsha": "5fadf567123d447335f8475a381843bafc4770d1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-20T12:06:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-20T12:06:...
#include <jni.h> #include <assert.h> #include <lapacke.h> JNIEXPORT jint Java_JAMAJni_SingularValueDecomposition_dgesvd (JNIEnv *env, jclass klass, jint matrix_layout, jchar jobu, jchar jobvt, jint m, jint n, jdoubleArray a, jint lda, jdoubleArray s, jdoubleArray u, jint ldu, jdoubleArray vt, jint ldvt, jdoubleArray s...
{ "alphanum_fraction": 0.6786919284, "avg_line_length": 46.987804878, "ext": "c", "hexsha": "3293ac0a1caf786f80b70d3803fb01dd77fdf55b", "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": ...
/* * ctm-cvb * * CollapsedBayesEngine */ #ifndef COLLAPSED_BAYES_ENGINE_H #define COLLAPSED_BAYES_ENGINE_H #include "InferenceEngine.h" #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> namespace ctm { class CollapsedBayesEngine : public InferenceEngine { /*** * Model hyperpa...
{ "alphanum_fraction": 0.5317377732, "avg_line_length": 22.3488372093, "ext": "h", "hexsha": "5d20207ddec0f0de7dd03ac8d1e3ed43fa12cb16", "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 : MatrixModel.h Project : QtiPlot -------------------------------------------------------------------- Copyright : (C) 2007 by Ion Vasilief Email (use @ for *) : ion_vasilief*yahoo.fr De...
{ "alphanum_fraction": 0.5803846154, "avg_line_length": 39.3939393939, "ext": "h", "hexsha": "863a1c48ac2d8fb418da3bbd2cca8170287bf090", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-12-06T12:16:47.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-25T15:50:...
/* Ballistic: a software to benchmark ballistic models. AUTHORS: Javier Burguete Tolosa. Copyright 2018, AUTHORS. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above c...
{ "alphanum_fraction": 0.6214144787, "avg_line_length": 28.5856832972, "ext": "c", "hexsha": "2a0175012904007328a18b002967a7857efdd1a2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-06-24T07:19:47.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-24T07:19:...
//segSites.h #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> double my_h(double q, void * p); double my_H(gsl_vector *pVector, void * p); void siteProbMatrix(gsl_matrix *probs, gsl_vector *pVector, int maxSampleSize, gsl_vector *sampleSizeVector); double weightedLikLookSites(gsl_vector *pVector, void * p); ...
{ "alphanum_fraction": 0.768, "avg_line_length": 41.6666666667, "ext": "h", "hexsha": "6b78c9fb744b5c49892f30139763885a78ed92fe", "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": "ad97d...
/* * ----------------------------------------------------------------- * ode_lib.c * ODE Solver Library * Version: 2.0 * Last Update: Oct 1, 2019 * * This is the implementation of a computational library with * numerical tools for Ordinary Differential Equations (ODE). * ----------------------------------------...
{ "alphanum_fraction": 0.4945858731, "avg_line_length": 24.594356261, "ext": "c", "hexsha": "ad1602f605fadc38ebf8117cc6f612c833eab52e", "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:4...
#pragma once #ifndef _NOGSL #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #else #include "CustomSolver.h" #endif #include "BooleanNodes.h" #include "BooleanDAG.h" #include "NodeVisitor.h" #include <map> #include "SymbolicEvaluator.h" #include "Util.h" #include <iostream> using namespace std; // Goes throu...
{ "alphanum_fraction": 0.7118746233, "avg_line_length": 24.7611940299, "ext": "h", "hexsha": "0bb376e27aba537161e06ce71e130a0788626fe3", "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> #include <functional> #include <mutex> #include <condition_variable> #include <future> #include <thread> namespace lom { using executor_t = void (*)(std::function<void()>); auto default_executor_impl = [](std::function<void()> f) { std::thread(std::move(f)).detach(); }; extern executor_t g_d...
{ "alphanum_fraction": 0.6005219582, "avg_line_length": 28.2030456853, "ext": "h", "hexsha": "e7e3da92a932213cd1fea1697940b81f917fe6e0", "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 <vector> #include <sstream> namespace multiformats { // // Raw memory byte // using byte_t = uint8_t; // // Raw memory buffer // Represents a contiguous run of byte_t elements, or a const view of it. // using buffer_t = ...
{ "alphanum_fraction": 0.6063179348, "avg_line_length": 34.6352941176, "ext": "h", "hexsha": "2c4316de48bb3afac2077d28325c52c5b084465b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright (c) 2011-2012, Jérémy Fix. All rights reserved. */ /* Redistribution and use in source and binary forms, with or without */ /* modification, are permitted provided that the following conditions are met: */ /* * Redistributions of source code must retain the above copyright notice, */ /* this list of cond...
{ "alphanum_fraction": 0.6097100322, "avg_line_length": 37.4261954262, "ext": "h", "hexsha": "d31b4dce61828d2e12ea5fa0fadee177c83af6aa", "lang": "C", "max_forks_count": 52, "max_forks_repo_forks_event_max_datetime": "2021-09-13T02:47:35.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-10T01:02...
/* histogram/test.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your opt...
{ "alphanum_fraction": 0.5228513941, "avg_line_length": 21.5640495868, "ext": "c", "hexsha": "b7f3dee86169fc93b34e15b5b6e160e020b31fac", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:1...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "arcana/errors.h" #include "arcana/expected.h" #include "arcana/functional/inplace_function.h" #include "arcana/iterators.h" #include "arcana/type_traits.h" #include "cancellation.h" #include <gsl/gsl> #include <memory>...
{ "alphanum_fraction": 0.5541650113, "avg_line_length": 30.204, "ext": "h", "hexsha": "a6de9fc9d4158a281c4b92c24bfc2f428b75418a", "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:13.000...
/*************************************************************************** * mgl_c.h is part of Math Graphic Library * Copyright (C) 2007 Alexey Balakin <balakin@appl.sci-nnov.ru> * * * * This program is free software; you can re...
{ "alphanum_fraction": 0.6844536647, "avg_line_length": 69.4754829123, "ext": "h", "hexsha": "80b2f1fb8b765bb8ddbeba267c216b9360355870", "lang": "C", "max_forks_count": 17, "max_forks_repo_forks_event_max_datetime": "2022-01-20T15:00:57.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-08T16:38...
/** * @file DiscreteRangeDecorators.h * * @brief This file contains some decorator functions for DiscreteRange * types * * @author Stefan Reinhold * @copyright Copyright (C) 2018 Stefan Reinhold -- All Rights Reserved. * You may use, distribute and modify this code under the terms of the * AFL 3.0...
{ "alphanum_fraction": 0.6943396226, "avg_line_length": 25.2380952381, "ext": "h", "hexsha": "ec0393b7fbc87c4704527115aa6fc0513353f9e5", "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, Mina Kamel, ASL, ETH Zurich, Switzerland You can contact the author at <mina.kamel@mavt.ethz.ch> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source...
{ "alphanum_fraction": 0.7709399211, "avg_line_length": 29.4870689655, "ext": "h", "hexsha": "39ec0b604a9edc883d8afecf07efdc02a860cc1b", "lang": "C", "max_forks_count": 142, "max_forks_repo_forks_event_max_datetime": "2022-03-14T12:23:21.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-04T03:3...
/* matrix/gsl_matrix_long.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, ...
{ "alphanum_fraction": 0.6735696736, "avg_line_length": 33.2244897959, "ext": "h", "hexsha": "5344f4aafce92e8f5f09d82ce1697697776d77ba", "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":...
/* randist/mvgauss.c * * Copyright (C) 2016 Timothée Flutre, 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 l...
{ "alphanum_fraction": 0.6027415491, "avg_line_length": 30.9218106996, "ext": "c", "hexsha": "917429f463b516f26326de53061a454d05d466ea", "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:...
/* ===============================================================================*/ /* Version 1.0. Cullan Howlett */ /* Copyright (c) 2017 International Centre for Radio Astronomy Research, */ /* The MIT License (MIT) University of Western Australia ...
{ "alphanum_fraction": 0.5589691298, "avg_line_length": 49.2331983806, "ext": "c", "hexsha": "707baea25f9a009483bfcee33f81c9f939130b0d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-09-20T11:31:54.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-20T11:31:...
/* ----------------------------------------------------------------------------- * Copyright 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_core_narrow_inl_h_ #define SQ_INCLUDE_GUARD_core_narrow_inl_h_ #in...
{ "alphanum_fraction": 0.61003861, "avg_line_length": 28, "ext": "h", "hexsha": "78ef23acfcca8cbbedfd91b776b617b3ed89efcd", "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": "6ca366b86ff...
// SPDX-License-Identifier: MIT // The MIT License (MIT) // // Copyright (c) 2014-2018, Institute for Software & Systems Engineering // Copyright (c) 2018-2019, Johannes Leupolz // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the...
{ "alphanum_fraction": 0.7459147709, "avg_line_length": 36.2906976744, "ext": "h", "hexsha": "c69a88437875a9e8fb5e70429fe5149c836cf3a4", "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 Performance_h #define Performance_h 1 #include <vector> #include <gsl/gsl_errno.h> // if p0 is less than chop, then set to zero, associated with calling routine chop const double chop = 1e-3; const double p1bound = 1e-5; void debugPerformanceOn(unsigned); enum class signalType {output, controlOpen, controlC...
{ "alphanum_fraction": 0.7607305936, "avg_line_length": 43.8, "ext": "h", "hexsha": "bac9a3e6b48216f463cffdab6e2d4630fbb358d9", "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": "7f1856e...
#include <config.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_dft_complex.h> #include <gsl/gsl_dft_complex_float.h> #include "complex_internal.h" #include "urand.c" #define BASE_DOUBLE #include "templates_on.h" #include ...
{ "alphanum_fraction": 0.7613412229, "avg_line_length": 18.7777777778, "ext": "c", "hexsha": "9869abe168a6cf01f920309eeffd25706027997e", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:1...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <complex.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_inte...
{ "alphanum_fraction": 0.5679291643, "avg_line_length": 56.999146029, "ext": "c", "hexsha": "08d1b2626dde1d643119f73c4a5b13c4fac31671", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* gsl_multifit_ndlinear.h * * Copyright (C) 2006, 2007 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 2 of the License, or (at * your option) any later ...
{ "alphanum_fraction": 0.6762589928, "avg_line_length": 37.9090909091, "ext": "h", "hexsha": "df4737921a620a9e15a7ec44a2b88fd048d556f5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include "ccl.h" #ifdef HAVE_ANGPOW #include "Angpow/angpow_ccl.h" #endif #define CCL_FRAC_RELEVANT 5E-4 //#define CCL_FRAC_RELEVANT 1E-3 //Gets the x-interval where the values of...
{ "alphanum_fraction": 0.6800353227, "avg_line_length": 30.559970015, "ext": "c", "hexsha": "688cb856f420b79ec10b7822024ceb9ce620a021", "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) 2003-2018 by The University of Queensland * http://www.uq.edu.au * * Primary Business: Queensland, Australia * Licensed under the Apache License, version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Development unt...
{ "alphanum_fraction": 0.5769064437, "avg_line_length": 27.748, "ext": "h", "hexsha": "15d576e9d00c880f6c272aa581899ea179dbe745", "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": "9c616...
#include <stdio.h> #include <math.h> #include <ascii.h> #include <cdisort.h> #include <c_tzs.h> #include "locate.h" #if HAVE_LIBGSL #include <gsl/gsl_sf_expint.h> #endif // include DISORT.MXD /* nlyr = number of atmospheric layers */ /* nlev_c = number of atmospheric levels on common z grid ...
{ "alphanum_fraction": 0.4672381481, "avg_line_length": 35.354601227, "ext": "c", "hexsha": "9d75e2379bffd64903be54233468c60b25a3e01a", "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 "Data\Types.h" #include "MageSettings.h" #include "Image\ORBDescriptor.h" #include "BaseFeatureMatcher.h" #include <vector> #include <gsl\gsl> #include <memory> namespace mage { class Keyframe; class AnalyzedI...
{ "alphanum_fraction": 0.641875, "avg_line_length": 25.8064516129, "ext": "h", "hexsha": "ad69898818294baf95bb5cefba9a22a34192770e", "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:13....
/* eigen/francis.c * * Copyright (C) 2006, 2007 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.5264938756, "avg_line_length": 28.2003816794, "ext": "c", "hexsha": "96f9180e92ab8e86b829873b18b23a229c21ed65", "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/dilog.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 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.6131176601, "avg_line_length": 27.2277526395, "ext": "c", "hexsha": "15586ef0d384ec5b3adf88dfe007c9ed5758e034", "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 <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" #include "error_cblas_l2.h" void cblas_chemv (const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo, const int N, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *...
{ "alphanum_fraction": 0.6699029126, "avg_line_length": 25.75, "ext": "c", "hexsha": "a501605a3d9242abf174ed76a42ed94957f617ae", "lang": "C", "max_forks_count": 173, "max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-08T18:01:54.000...
#pragma once #include <cassert> #include <gsl/span> #include <iostream> #include <optixu/optixpp_namespace.h> namespace DeepestScatter { template<typename T> class BufferBind { public: explicit BufferBind(optix::Buffer buffer, unsigned int level = 0); ~BufferBind(); ...
{ "alphanum_fraction": 0.5748129676, "avg_line_length": 21.1052631579, "ext": "h", "hexsha": "0885fe821c7aabc032cfff29f4cbb698bb23bcd9", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-03-17T02:10:36.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-07T01:20:...
/* multifit_nlinear/qr.c * * Copyright (C) 2015, 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 ve...
{ "alphanum_fraction": 0.6232003291, "avg_line_length": 25.4111498258, "ext": "c", "hexsha": "a865baf256dab1eb90949da4e7bf1d3d382b6f3e", "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 LASER_SCANNER_H_WSZJIY40 #define LASER_SCANNER_H_WSZJIY40 #include <cmath> #include <gsl/gsl> #include <sens_loc/camera_models/concepts.h> #include <sens_loc/math/constants.h> #include <sens_loc/math/coordinate.h> #include <sens_loc/math/scaling.h> #include <stdexcept> #include <type_traits> namespace sens_lo...
{ "alphanum_fraction": 0.6386003956, "avg_line_length": 37.6186046512, "ext": "h", "hexsha": "25254a763d0055a0024584d79f6a47ab63bfa811", "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 //============================================================================= // EXTERNAL DECLARATIONS //============================================================================= #include <Core/Components/IdType.h> #include "Core/Game/IManager.h" #include <gsl/span> #include <memory> namespace engin...
{ "alphanum_fraction": 0.4336363636, "avg_line_length": 32.3529411765, "ext": "h", "hexsha": "d2eb7aa0669179e2d628e04f911df89a9fe522e2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-09-25T22:24:16.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-25T22:24:...
/* * Created on: Mar 22, 2016 * Author: Steffen Rechner <steffen.rechner@informatik.uni-halle.de> * * This file is part of the marathon software. * * Copyright (c) 2016, Steffen Rechner * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
{ "alphanum_fraction": 0.4884124427, "avg_line_length": 27.7285223368, "ext": "h", "hexsha": "664d69752a704bc212884c26d8e1dfa02f055bf8", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-10-13T10:54:55.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T07:56:...
/** * @copyright (c) 2017 King Abdullah University of Science and Technology (KAUST). * All rights reserved. **/ /** * @file auxcompute_z.h * * This file contains the declarations of computational auxiliary functions. * * HiCMA is a software package provided by King Abdullah University of Sc...
{ "alphanum_fraction": 0.6724479683, "avg_line_length": 32.0317460317, "ext": "h", "hexsha": "20434e9a11c52a1da95d9fdeac0f847d6dc630ec", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-08T11:05:38.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-08T11:05:...
/* * neuro.c * * Created on: Oct 9, 2019 * Author: alexey */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_rng.h> #include <png.h> #include <malloc.h> #include "neuro.h" typedef struct ...
{ "alphanum_fraction": 0.6297403393, "avg_line_length": 26.6222435283, "ext": "c", "hexsha": "fec902798f3eae9a53f68cb90d2ed110e4dafd07", "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":...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2018-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance...
{ "alphanum_fraction": 0.6360052562, "avg_line_length": 27.8414634146, "ext": "h", "hexsha": "5880af3ba5dcfb112bdbd9bd2b84560edb0f7740", "lang": "C", "max_forks_count": 71, "max_forks_repo_forks_event_max_datetime": "2022-03-29T10:34:32.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-22T20:41...
#include <iostream> #include <math.h> #include <Windows.h> #include <string> #include <vector> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/legacy/compat.hpp> #include <opencv2/opencv.hpp> #include <Eigen/Dense> #include <gsl/gsl_multifit.h> #include <stdbool.h> #inclu...
{ "alphanum_fraction": 0.7286036036, "avg_line_length": 22.4810126582, "ext": "h", "hexsha": "c2e743a69eba399322b45bd70b6ab80571c4d282", "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":...
// SPDX-License-Identifier: MIT // The MIT License (MIT) // // Copyright (c) 2014-2018, Institute for Software & Systems Engineering // Copyright (c) 2018-2019, Johannes Leupolz // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the...
{ "alphanum_fraction": 0.724407525, "avg_line_length": 40.1274509804, "ext": "h", "hexsha": "da7adefc857206612d2597532c8a22aa7cddf030", "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": ...
/***************************************************************************/ /* */ /* QR_decomp.c - LU Decomposition class for mruby */ /* Copyright (C) 2015 Paolo Bosetti */ /* paolo...
{ "alphanum_fraction": 0.6288196817, "avg_line_length": 38.9467680608, "ext": "c", "hexsha": "3f767de5f3058bf3d5e76d817e4bad30547638a9", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ODE: a program to get optime Runge-Kutta and multi-steps methods. Copyright 2011-2019, Javier Burguete Tolosa. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above cop...
{ "alphanum_fraction": 0.6207498836, "avg_line_length": 24.9651162791, "ext": "c", "hexsha": "85be9a9d042873a2d2d600fdf1d39113cf7423c2", "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/bessel_Ynu.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your o...
{ "alphanum_fraction": 0.6109955423, "avg_line_length": 25.4924242424, "ext": "c", "hexsha": "6453ea1ca3a89f16e85f5ad355d85365a0de3003", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
#pragma once #include <gsl/span> #include <cstddef> namespace imageview { // Class representing a color in RGB24 color space. class RGB24 { public: constexpr RGB24() noexcept = default; // Construct an RGB24 color from the given channel components. constexpr RGB24(unsigned char red, unsigned char green, unsi...
{ "alphanum_fraction": 0.71712292, "avg_line_length": 33.8727272727, "ext": "h", "hexsha": "02317de13ff5be00a6ca8ad4d7c49d58b84dced6", "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 Jean Pierre Cimalando 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <gsl/gsl> template <class Ch> bool string_starts_with(gsl::basic_string_span<const ...
{ "alphanum_fraction": 0.7418111753, "avg_line_length": 39.9230769231, "ext": "h", "hexsha": "a797da37f186189a37bbf2174d13dc452406892a", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:...
/* $Id$ */ /* * Copyright (c) 2014, 2015 Kristaps Dzonsons <kristaps@kcons.eu> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS...
{ "alphanum_fraction": 0.6498143388, "avg_line_length": 24.9181494662, "ext": "c", "hexsha": "6b8557cbfcc153baf568f540f3e8c90d89eaa203", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * This code is to merge all the files among different directories once the MCRaT simulation is complete * The input should be the main CMC directory and the sub directories of each angle range with the number of MPI processes used to start the simulation in each directory * eg call: mpiexec -np X /.merge /d...
{ "alphanum_fraction": 0.4698353397, "avg_line_length": 52.8482632541, "ext": "c", "hexsha": "274b0a5c880bae855ab279fa358ce1a9ead0bb98", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-19T09:13:42.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-19T09:13:...
/* specfunc/atanint.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 opti...
{ "alphanum_fraction": 0.6547500828, "avg_line_length": 26.0431034483, "ext": "c", "hexsha": "166c4f8dea02052ef4eb2b67e1100d778327baaa", "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:...
/* monte/plain.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth * * 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) an...
{ "alphanum_fraction": 0.5566949897, "avg_line_length": 22.4539473684, "ext": "c", "hexsha": "cab3ae2c59e7120e8445aaf70fb535ffcfdb7475", "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...
#if !defined(PETIGAGRID_H) #define PETIGAGRID_H #include <petsc.h> #if !defined(LGMap) #define LGMap ISLocalToGlobalMapping #endif typedef struct _n_IGA_Grid *IGA_Grid; struct _n_IGA_Grid { MPI_Comm comm; PetscInt dim,dof; PetscInt sizes[3]; PetscInt local_start[3]; PetscInt local_width[3];...
{ "alphanum_fraction": 0.6692913386, "avg_line_length": 43.65625, "ext": "h", "hexsha": "9ed4e980da268cc276ed790cda48dbe9b093ba84", "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": "a1f...
#include <cstdlib> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_sf_gamma.h> #include <complex> #include <ctime> #include <vector> #define MAXIT 100000000 #define EPS 1e-12 #define FPMIN 1.0e-12 using namespace std; typedef complex<double> cdouble; #define REAL(z,i) ((z)[...
{ "alphanum_fraction": 0.7214532872, "avg_line_length": 22.2307692308, "ext": "h", "hexsha": "1020d884552b72ef2e3cb7058d16689fbfcf8fc5", "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 <gsl/gsl> #include <iterator> #include <limits> #include "../math/General.h" #include "Concepts.h" namespace utils { using concepts::DefaultConstructible, concepts::Integral, concepts::Copyable, concepts::Movable, concepts::NotMovable, concepts::ConstructibleFr...
{ "alphanum_fraction": 0.6466952946, "avg_line_length": 35.6380566802, "ext": "h", "hexsha": "560a2808bb6e3d23458e2c7d3d7fc3059b13d041", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
{ "alphanum_fraction": 0.6588124411, "avg_line_length": 33.15625, "ext": "h", "hexsha": "d299d00de10be749b40dc2928475c29af785e506", "lang": "C", "max_forks_count": 572, "max_forks_repo_forks_event_max_datetime": "2022-03-31T16:46:46.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-12T22:13:57....
#pragma once //============================================================================= // EXTERNAL DECLARATIONS //============================================================================= #include "Core/Game/IManagerComponent.h" #include "Core/Game/IManager.h" #include "Core/Game/IGameEngine.h" #include "Core...
{ "alphanum_fraction": 0.5111583422, "avg_line_length": 30.3548387097, "ext": "h", "hexsha": "a25a18a23f18a89843fd8c9678b44c4c4fca77b8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-09-25T22:24:16.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-25T22:24:...
/* NAME: read_data PURPOSE: read the data from the data input file CALLING SEQUENCE: read_data(inputfilename) INPUT: inputfilename - name of the data file OUPUT: reads everything into the right structures REVISION HISTORY: 2008-09-21 - Written Bovy */ #include <stdio.h> #i...
{ "alphanum_fraction": 0.6116541353, "avg_line_length": 27.1428571429, "ext": "c", "hexsha": "89f64d63eab3c2b8abae21b1691a54f396d6cc16", "lang": "C", "max_forks_count": 26, "max_forks_repo_forks_event_max_datetime": "2021-12-13T03:37:58.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-05T22:21...
#include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_multimin.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_linalg.h> #define maxnd 10000 #...
{ "alphanum_fraction": 0.5578635015, "avg_line_length": 23.1116427432, "ext": "c", "hexsha": "417fe26be1b90db3601377d5e42f011089afe9be", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/*************************************************************************** * data_cf.h is part of Math Graphic Library * Copyright (C) 2007-2016 Alexey Balakin <mathgl.abalakin@gmail.ru> * * * * This program is free software; you can ...
{ "alphanum_fraction": 0.7380054129, "avg_line_length": 63.6710182768, "ext": "h", "hexsha": "17b1cf6fc8f4ed9b75484406cdbede91decf43c4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/******************************************************************************* * * This file is part of the General Hidden Markov Model Library, * GHMM version __VERSION__, see http://ghmm.org * * Filename: ghmm/ghmm/randvar.c * Authors: Bernhard Knab, Benjamin Rich, Janne Grunau * * Co...
{ "alphanum_fraction": 0.5614150605, "avg_line_length": 30.7944700461, "ext": "c", "hexsha": "e56b71e01e7135d101c35b16089a28c183c38051", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2020-12-29T13:23:10.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-18T03:31...
/* vector/gsl_vector_long_double.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 version 3 of ...
{ "alphanum_fraction": 0.71287359, "avg_line_length": 36.9055793991, "ext": "h", "hexsha": "369fcd53bec1aa683db3030bc26248390c5f2077", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-10T09:43:54.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-10T09:43:54...
/** * @file optimizers.h * @author Carl Boettiger <cboettig@gmail.com> * @date 22 April 2011 * * @section LICENSE * * 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 t...
{ "alphanum_fraction": 0.7269524369, "avg_line_length": 34.7551020408, "ext": "h", "hexsha": "57b5e5c3c367822fe10f3fd31ebd9ee6025a6f1b", "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_MATRIX_H__ #define __GSL_MATRIX_H__ #include <gsl/gsl_matrix_complex_long_double.h> #include <gsl/gsl_matrix_complex_double.h> #include <gsl/gsl_matrix_complex_float.h> #include <gsl/gsl_matrix_long_double.h> #include <gsl/gsl_matrix_double.h> #include <gsl/gsl_matrix_float.h> #include <gsl/gsl_matrix_...
{ "alphanum_fraction": 0.7976588629, "avg_line_length": 23, "ext": "h", "hexsha": "43c41169e56b0c5ec40d823981d9cc3df8ae606b", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:25.000Z", ...
/* Compile with: export LDLIBS="`pkg-config --libs gsl`" export CFLAGS="`pkg-config --cflags gsl` -g -Wall -std=gnu11 -O3" make gsl_erf */ #include <gsl/gsl_cdf.h> #include <stdio.h> int main(){ double bottom_tail = gsl_cdf_gaussian_P(-1.96, 1); printf("Area between [-1.96, 1.96]: %g\n", 1-2*bottom_tail); }
{ "alphanum_fraction": 0.6603773585, "avg_line_length": 24.4615384615, "ext": "c", "hexsha": "88b09605f539c6917aa30783b7ad5a08ce390e95", "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":...
// TRENTO: Reduced Thickness Event-by-event Nuclear Topology // Copyright 2015 Jonah E. Bernhard, J. Scott Moreland // TRENTO3D: Three-dimensional extension of TRENTO by Weiyao Ke // MIT License #ifndef ETA_H #define ETA_H #include <cmath> #include <vector> #include <gsl/gsl_fft_complex.h> /// GSL fft of complex arr...
{ "alphanum_fraction": 0.6506117693, "avg_line_length": 33.4350649351, "ext": "h", "hexsha": "bf683e05fc703aeeb86eb9ce368d28cdd364e2e1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// // @author raver119@gmail.com // #ifndef LIBND4J_GEMM_H #define LIBND4J_GEMM_H #include <cblas.h> #include <templatemath.h> namespace nd4j { namespace blas { template <typename T> class GEMM { protected: static inline int linearIndexC(int rows, int cols, int r, int c)...
{ "alphanum_fraction": 0.5816435432, "avg_line_length": 23.425, "ext": "h", "hexsha": "1480ae770c2db1ee8fbf13c3019c666a89cf84c5", "lang": "C", "max_forks_count": 108, "max_forks_repo_forks_event_max_datetime": "2021-03-29T05:25:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-19T15:11:03.00...
/** * Copyright 2019 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.5888494003, "avg_line_length": 24.3351351351, "ext": "c", "hexsha": "dd3e06069903e82ff588cf68e0542d39926c69c2", "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 be107admin on 9/25/17. // #ifndef CIMPLE_GSL_LIBRARY_CIMPLE_EXTENSION_H #define CIMPLE_GSL_LIBRARY_CIMPLE_EXTENSION_H #include <gsl/gsl_blas.h> #include <gurobi_c.h> //////////////////////////////////////////////////////////////////////////////// // @fn gsl_matrix_from_array() // @brief Converts an ...
{ "alphanum_fraction": 0.5023898035, "avg_line_length": 37.66, "ext": "h", "hexsha": "4230c73bb355aa009677c920e506f9ed947771cf", "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"...
#ifndef OPERATOR_H #define OPERATOR_H #include <chrono> #include <iostream> #include <utility> #include <vector> #include <memory> #include <string> #include <sstream> #include <gsl/gsl_matrix.h> #include <gsl/gsl_spmatrix.h> #include <gsl/gsl_splinalg.h> #include "constants.h" using std::array; using std::pair; u...
{ "alphanum_fraction": 0.7509328358, "avg_line_length": 21.0196078431, "ext": "h", "hexsha": "12a326efd8869ecf044b681864ef3436d27f11db", "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:...
/** * * @file core_sgetrf_rectil.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Mathieu Faverge * @author Piotr Luszczek * @date 2009-11-15 * * @...
{ "alphanum_fraction": 0.4068927418, "avg_line_length": 33.1436619718, "ext": "c", "hexsha": "fdc5eaac0c368e36ccd7d7f3cadfd1e42b316047", "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 <math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_sf_hyperg.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_odeiv2.h> #include <fastpm/libfastpm.h> #include <fastpm/logging.h> #define STEF_BOLT 2.85087e-48 // in units: [ h * (10^10Msun/h) * s^-3...
{ "alphanum_fraction": 0.5691292047, "avg_line_length": 30.8236434109, "ext": "c", "hexsha": "68c6542c4dea0ce25479401ffd68f978a3b32d15", "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:...
#ifndef _ROTATION_H__ #define _ROTATION_H__ #include <mpi.h> #include <omp.h> #include <blas.h> #include <vector> #include <stdlib.h> #include <math.h> /* ************************************************** */ // interface for FORTRAN CODE #define FORTRAN(MYFUN) (MYFUN##_) extern "C" { void FORTRAN(idd_random_transf_...
{ "alphanum_fraction": 0.6717467761, "avg_line_length": 25.0882352941, "ext": "h", "hexsha": "8eecaac5423e08633995722ea2c3773818a94bd7", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-10-08T20:02:46.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-11T22:29:...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include "allvars.h" #include "proto.h" #ifdef MHM extern struct kindata_in { MyFloat Pos[3]; MyFloat Hsml; MyFloat Density; MyFloat Energy; int Index; int Task; } *KinDataIn, *KinDa...
{ "alphanum_fraction": 0.5703042228, "avg_line_length": 21.950166113, "ext": "c", "hexsha": "7b312c6ec3e920c14940e15f21d0e7fbfa9d29e1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* specfunc/test_bessel.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.7530211679, "avg_line_length": 95.151540383, "ext": "c", "hexsha": "6810da410fa22044acc08eaba4a84154bf4f081c", "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...
#ifndef _MU_NSQ_ #define _MU_NSQ_ #include <vector> #include <iostream> #include <nuSQuIDS/nuSQuIDS.h> #include <gsl/gsl_deriv.h> #include "exCross.h" namespace musquids { using nusquids::nuSQUIDS; using nusquids::marray; /// \brief This class implements muon energy loss into nuSQuIDS. class muSQUIDS: public nuSQUIDS...
{ "alphanum_fraction": 0.6911519199, "avg_line_length": 43.4758064516, "ext": "h", "hexsha": "5dc2a6de9462507d4c273b1a535198508fab685e", "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 trace back a refined halo through a set of snapshots (contains code overhead, since it is based on a copy of trhalomult.c) icc -lm -lgsl -lgslcblas -o ../bin/altix/trace trace.c lmfit-2.2-icc/lmmin.o lmfit-2.2-icc/lm_eval.o libgad-icc.o KdTree-icc.o -I/usr/local/gsl-1.6 icc -lm -lgsl -lgslcblas -o ../bi...
{ "alphanum_fraction": 0.5354693334, "avg_line_length": 27.9664213431, "ext": "c", "hexsha": "fac1d1cf6d3081ae7767a101a29d014982d824d3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* roots/bisection.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 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 3 of the License,...
{ "alphanum_fraction": 0.6592421174, "avg_line_length": 25.6074074074, "ext": "c", "hexsha": "9665b736997c06520f5f7b9996622351a6a500dd", "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 <string.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include "aXe_grism.h" #include "aXe_utils.h" #include "spce_PET.h" #include "inout_aper.h" #include "trace_conf.h" #include "aper_conf.h" #include "spc_sex.h" #include "disp_conf...
{ "alphanum_fraction": 0.6354981036, "avg_line_length": 31.6642156863, "ext": "c", "hexsha": "b25741ee9dc011a5600926b959d0887057870b0d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpRNG.h> #include <gbpMCMC.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_interp.h> void restart_MCMC(MCMC_info *MCMC) { SID_log("Resetting MCMC structure for a fresh run...", SID_...
{ "alphanum_fraction": 0.6478733927, "avg_line_length": 28.8857142857, "ext": "c", "hexsha": "b8c6260790b3f1df569d62b1dd9773ee8cc01ac1", "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:...