Search is not available for this dataset
text
string
meta
dict
#ifndef __LIB_MATH_OPTIMIZER__ #define __LIB_MATH_OPTIMIZER__ #include <iostream> #include <limits> #include <gsl/gsl_multimin.h> #include "math/gsl_vector.h" #include "util/flags.h" using std::cout; using std::endl; DEFINE_double(multimin_convergence_threshold, 1e-5, "Convergence threshold for conjuga...
{ "alphanum_fraction": 0.6812169312, "avg_line_length": 29.9405940594, "ext": "h", "hexsha": "3a948fb84c15b239fbc2d0a36badc065ff86a421", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-11-27T01:35:33.000Z", "max_forks_repo_forks_event_min_datetime": "2018-11-27T01:35:...
/** * * @file testing_dgemm.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Emmanuel Agullo * @author Mathieu Faverge * @date 2010-11-15 * @generated d Tue Jan 7 11:45:18...
{ "alphanum_fraction": 0.5354348066, "avg_line_length": 31.0719178082, "ext": "c", "hexsha": "e4f850b553d8257dad686fbc5fb910818c61b31b", "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 S3DCV_DEMO_DEMO_UTILS_H #define S3DCV_DEMO_DEMO_UTILS_H #include <s3d/cv/disparity/disparity_analyzer_stan.h> #include <gsl/gsl> class BadNumberOfArgumentsException {}; class FileNotFoundException {}; /** * Creates dataset loader from program input arguments. * * First input argument must be the dataset ...
{ "alphanum_fraction": 0.7391304348, "avg_line_length": 28.4761904762, "ext": "h", "hexsha": "ae48d02da5524e69279c5e95f1ef2c78b417a265", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-05-18T16:22:03.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-13T21:51:...
#pragma once #include <stdio.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf_gamma.h> typedef unsigned int uint; typedef struct{ double mu; double sigma; } Gauss_params; void Gauss_params_print( Gauss_params params ); void GSLfun_setup(); double GSLfun_...
{ "alphanum_fraction": 0.7678855326, "avg_line_length": 21.6896551724, "ext": "h", "hexsha": "e9a3c06736151b5dac377836f656debacfc863b1", "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":...
/* psl.c //// Provide a library of gsl functions. Features: - request calculation via message - function lookup - inlets-on-demand Author: shakfu Repo: https://github.com/shakfu/pd-psl.git */ #include <math.h> #include <string.h> #include <gsl/gsl_math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_sf_airy.h> #inclu...
{ "alphanum_fraction": 0.5490394338, "avg_line_length": 27.2559055118, "ext": "c", "hexsha": "fe82b88a1e62f24b546326863d7cf063fa473332", "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/mcholesky.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 l...
{ "alphanum_fraction": 0.6772415483, "avg_line_length": 27.0331125828, "ext": "c", "hexsha": "6f9d1b6a74af844503a7544e024b1142e1a36674", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#pragma once #include <gsl/span> #include "halley/core/api/audio_api.h" #include "audio_buffer.h" #if defined(_M_X64) || defined(__x86_64__) #define HAS_SSE #if !defined(__linux__) #define HAS_AVX #endif #endif #if defined(_M_IX86) || defined(__i386) // Might not be available, but do we really care about such old pro...
{ "alphanum_fraction": 0.7532299742, "avg_line_length": 24.9677419355, "ext": "h", "hexsha": "2610a6677c681ac4e58f30f7a57a18fa0dd8c600", "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 __asl234n0a2__LIBRARIES_H #define __asl234n0a2__LIBRARIES_H /* Standard libraries : */ #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <time.h> #include <math.h> /* wtf ? */ #include <fcntl.h> #include <unistd.h> #include <limits.h> /* Sleeping-related */ ...
{ "alphanum_fraction": 0.6292481977, "avg_line_length": 21.1086956522, "ext": "h", "hexsha": "e62eec81d9549e41d9a3e4fa7c2fcf490a45aea7", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-06-22T14:27:12.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-22T18:51:...
/** * Provides function to fit a polynomial curve to a set of data. * Source: https://rosettacode.org/wiki/Polynomial_regression#C */ #ifndef _POLIFITGSL_H #define _POLIFITGSL_H #include <gsl/gsl_multifit.h> #include <stdbool.h> #include <math.h> bool polynomialfit(int obs, int degree, const double *dx, co...
{ "alphanum_fraction": 0.7096774194, "avg_line_length": 24.8, "ext": "h", "hexsha": "5a710de4ed08216e50c5940a042dec44acc8dcbb", "lang": "C", "max_forks_count": 15, "max_forks_repo_forks_event_max_datetime": "2021-10-04T19:06:20.000Z", "max_forks_repo_forks_event_min_datetime": "2018-03-07T05:13:07.000Z"...
/* monte/gsl_monte_plain.h * * 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 3 of the License, or (at ...
{ "alphanum_fraction": 0.6708633094, "avg_line_length": 29.2631578947, "ext": "h", "hexsha": "d6203055fc77643c724d70c73a4f0549b75fc59a", "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:...
/* ** Test for irreducibility of a symmetric matrix R = X^T X, ** i.e. there is at least one positive off-diagonal entry in each row and column. ** Since R is symmetric, it suffices to show that each row has one non-negative entry. ** i.e. (X^TX v - v)_i > 0 for all i=0,...,n-1 ** exclude main diagonal ** ** G.Lohmann...
{ "alphanum_fraction": 0.6390977444, "avg_line_length": 24.3521126761, "ext": "c", "hexsha": "f3d4b0b12df6f5284f751c37e70c379bd46da6b0", "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:...
#ifndef CONSTANTS_H #define CONSTANTS_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <limits.h> #include <math.h> #include <time.h> #include <float.h> #include <utils/version.h> #include <utils/help.h> #include <utils/error.h> #include <gsl/gsl_statistics_double.h> /* * MIN...
{ "alphanum_fraction": 0.7184235518, "avg_line_length": 16.453125, "ext": "h", "hexsha": "95cd51b66d0e1b22f968732465a91be69afb917c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T17:53:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T17:53:08.0...
/* * aplowly.h * lowly_project * * Created by Karim Benabed on 11/03/09. * Copyright 2009 Institut d'Astrophysique de Paris. All rights reserved. * */ #include "lowly_common.h" #include <gsl/gsl_vector.h> #include <gsl/gsl_vector_int.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.7127360386, "avg_line_length": 24.6435643564, "ext": "h", "hexsha": "fcd381a79f6efdbad801c3dcb734e8c69e5919ae", "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:...
#include <stdio.h> #include <gsl/gsl_sf_legendre.h> #include <gsl/gsl_sf_trig.h> #include <gsl/gsl_pow_int.h> #include <math.h> double sin_term(int l,int m,double phi,double theta){ double out = gsl_pow_int(-1.0,m)*gsl_sf_legendre_sphPlm(l,m,gsl_sf_cos(theta))*gsl_sf_sin(m*phi); return out; } double cos_term(int l...
{ "alphanum_fraction": 0.626734843, "avg_line_length": 24.8909090909, "ext": "c", "hexsha": "a85e7ef4ba4b6d49d4e43c57f0eacea63fd0bd58", "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 "arcana/finally_scope.h" #include "arcana/functional/inplace_function.h" #include "arcana/sentry.h" #include "arcana/threading/affinity.h" #include <algorithm> #include <tuple> #include <vector> #include <gsl/gsl> namespace arcana { using ticket_seed = int64_t; using ticket = gsl::fin...
{ "alphanum_fraction": 0.5363357216, "avg_line_length": 31.6864864865, "ext": "h", "hexsha": "e46a8a3af61089bfe53e08d1079c43ca25c1e292", "lang": "C", "max_forks_count": 18, "max_forks_repo_forks_event_max_datetime": "2021-12-26T14:24:29.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-09T23:07...
/* tsqr.c * * Copyright (C) 2015, 2019 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. * * T...
{ "alphanum_fraction": 0.6097541183, "avg_line_length": 25.3039014374, "ext": "c", "hexsha": "a2b197351309ea043e1e9effb0b83623f71869f1", "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 METHODS_CWA_SMD_OPT_H #define METHODS_CWA_SMD_OPT_H #include <gsl/gsl_multimin.h> #include "quartz_internal/util/gsl_converter.h" namespace method { namespace cwa_smd_opt { namespace details { inline gsl_multimin_fdfminimizer_type * minimizer_map(const std::string type) { if(type == "steepest_descent") { ...
{ "alphanum_fraction": 0.5934418495, "avg_line_length": 33.8038277512, "ext": "h", "hexsha": "a9ce0d4d8eb0238a858a663f1c48f25c4947cf8c", "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 <stdlib.h> #include <assert.h> #include <cconfigspace.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #define NUM_DISTRIBS 2 #define NUM_SAMPLES 10000 void test_create_multivariate_distribution() { const size_t num_distribs = NUM_DISTRIBS...
{ "alphanum_fraction": 0.6592507645, "avg_line_length": 29.592760181, "ext": "c", "hexsha": "0c281b110fb5542393966d4083555d8e05b174e2", "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:4...
#ifndef LIBGAD #define LIBGAD #ifndef NOPOT #define POTENTIAL #endif #include <stdio.h> #include <math.h> #ifndef NOGSL #ifndef GSL #define GSL #endif #endif #ifdef GSL #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> #include <gsl/...
{ "alphanum_fraction": 0.7188140966, "avg_line_length": 27.7875647668, "ext": "h", "hexsha": "6fd4a442db59520e5cb3f4fb4916aadbff71e511", "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 implements a Python extension, wrapping the capabilities of the "RADAR5" FORTRAN code. */ #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <math.h> #include <limits.h> #include <Python.h> #include "capsulethunk.h" #define WITH_TCC #ifdef WITH_TCC #include "tcc/libt...
{ "alphanum_fraction": 0.6197605654, "avg_line_length": 27.7987169206, "ext": "c", "hexsha": "8becc3acc80e9e2bc93a3a9e8cc53b29c5c8f2cb", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-27T10:14:46.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-27T10:14:...
#pragma once #ifdef HAVE_BLAS // HOTFIX: cblas.h from the atlas-devel package (version 3.10.1-12.el7) on CentOS 7 // does not declare the functions as `extern "C"`, which breaks name mangling. // Note that nested `extern "C"` is valid and correct: // https://stackoverflow.com/questions/48099828/what-happens-if-you-ne...
{ "alphanum_fraction": 0.60710988, "avg_line_length": 22.3298969072, "ext": "h", "hexsha": "ce30060bf399fa80c8119dc185edb84a5e3010ca", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
#include <gsl/gsl_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 ld_noise_params { int seed; double sigma_xy; double sigma_theta_deg; const char* file_input; const char* file_output; int debug; }; const char ...
{ "alphanum_fraction": 0.6656637834, "avg_line_length": 25.0849056604, "ext": "c", "hexsha": "4b834823c60656a0dccba439a39335cdbe8e0458", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_math.h> #include <gsl/gsl_multimin.h> void calcmatriceswrapper(int *Omega, int *NumTerms, int *qmax, int *pmax, int *IsTriplet, int *Ordering, int *Method, double *Alpha, double *Beta, double *Gamma, double *Energy); void testfortran(int *x) { printf("%d\n", *x); } ...
{ "alphanum_fraction": 0.6442718447, "avg_line_length": 27.3936170213, "ext": "c", "hexsha": "b105ba92054e037bc4859a350e182e0e89dd8d65", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-09-28T22:09:05.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-28T22:09:...
#ifndef ppom_57c54fa0_d309_4aad_9678_16fa29f7af42_h #define ppom_57c54fa0_d309_4aad_9678_16fa29f7af42_h #include <rathen\config.h> #include <gslib\tree.h> #include <rathen\basis.h> __rathen_begin__ class ppom { public: typedef tree<object, _treenode_wrapper<object> > ppom_tree; typedef ppom_tree...
{ "alphanum_fraction": 0.7012448133, "avg_line_length": 21.2647058824, "ext": "h", "hexsha": "afdbe29af857f6db3561c1fc69a9304d3bff0e3e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "eigenmap.h" #include <cblas.h> #include <memory.h> static void diag(double *d, const double *w, int n_patch); static void compute_l(double *w, int n_patch); static void diag_similarity_transform(double *w, int n_patch); /* * laplacian computes the L...
{ "alphanum_fraction": 0.5698663426, "avg_line_length": 23.5142857143, "ext": "c", "hexsha": "dec0d80d097b71a985dbf1e0e8f27de0e7aafdf7", "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 ALM_I_APG_H #define ALM_I_APG_H #include "Matrix.h" #include "APPROX2.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include <math.h>...
{ "alphanum_fraction": 0.5082472358, "avg_line_length": 27.5505617978, "ext": "h", "hexsha": "d84f1ee1e0f2705d2aaf02942c3bf2d0abe59b07", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:...
/* ode-initval2/modnewton1.c * * Copyright (C) 2008, 2009, 2010 Tuomo Keskitalo * * 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) ...
{ "alphanum_fraction": 0.5648296772, "avg_line_length": 26.262295082, "ext": "c", "hexsha": "1e2f973160c2861cd7f9cbc1f46c8697ac1466e3", "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...
/* multifit/covar.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * yo...
{ "alphanum_fraction": 0.5249671485, "avg_line_length": 23.6580310881, "ext": "c", "hexsha": "36591406a2a9b29ffdde49f20e271182bd93597a", "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...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
{ "alphanum_fraction": 0.5732704138, "avg_line_length": 32.2472826087, "ext": "h", "hexsha": "213ef2bd7f3893661f0e612f7b823eccdc3b7ac5", "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 "mf.h" #include <gsl/gsl_integration.h> //****************************the functions are listed below********** double func1 (double y, double T) //The self-consistent equation f(y)=0 { double res = tanh(3*y/T)-y; return res; } double func2 (double y, double T) //The fre...
{ "alphanum_fraction": 0.5466138962, "avg_line_length": 22.0776699029, "ext": "c", "hexsha": "7d96771b9a332defd4200e442c4daa3d75ff192a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-03-08T13:02:13.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-30T23:57:...
/** * * @file core_ztsrfb.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 Azzam Haidar * @date 2010-11-15 * @precisions n...
{ "alphanum_fraction": 0.4319758136, "avg_line_length": 32.7871720117, "ext": "c", "hexsha": "022273d071b019fcdac0a4d8308451c8ee9e25f6", "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 <stdio.h> #include <stdlib.h> #include <time.h> #include <mpfr.h> #include <petsc.h> #include "ellipsoid/ellipsoid.h" #include "ellipsoid/ellSolv.h" #include "sphere/sphere.h" #include "sphere/sphSolv.h" #include "constants.h" #include "testProblem.h" //compares ellipsoidal and spherical /...
{ "alphanum_fraction": 0.6603802252, "avg_line_length": 32.6631513648, "ext": "c", "hexsha": "8d6409be8e14edfd955f29390e07f6ab11513adc", "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":...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
{ "alphanum_fraction": 0.6473163304, "avg_line_length": 35.2617449664, "ext": "h", "hexsha": "3735ac8d1ebcfc79caba3ad0fa5450ac61b5fcf2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include "utility/types.h" #include <gsl/gsl> #include <array> namespace cws80 { extern std::array<gsl::span<const u8>, 11> extra_bank_data; } // namespace cws80
{ "alphanum_fraction": 0.7150837989, "avg_line_length": 16.2727272727, "ext": "h", "hexsha": "670e17db220dc4c839ad8e643e9ffc6f2bcd0ae3", "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":...
/* Simple Travelling Salesman Problem heuristics. * * Krzysztof Chalupka, 2017. */ #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_vector_double.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include "../utils/utils.h" #include "../datastructur...
{ "alphanum_fraction": 0.6146891084, "avg_line_length": 27.2310606061, "ext": "c", "hexsha": "0c1b4638feb1dfde5d7b05b79eff1d1950ebcc23", "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 "lah.h" #ifdef HAVE_LAPACK /* Use a LAPACK package to do the heavy work */ #include <cblas.h> lah_Return lah_matMul(lah_MatOp transA, lah_MatOp transB, lah_value alpha, lah_value beta, lah_mat *C, lah_mat const *A, lah_mat const *B) { CBLAS_TRANSPOSE tran...
{ "alphanum_fraction": 0.525625, "avg_line_length": 29.0909090909, "ext": "c", "hexsha": "8b557c819577de15b32342c39f13397450769f62", "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": "bd...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <mpfr.h> #include <petsc.h> #include "../ellipsoid/ellipsoid.h" #include "../ellipsoid/ellSolv.h" #include "../sphere/sphere.h" #include "../sphere/sphSolv.h" #include "../constants.h" #include "testFunctions.h" //compares ellipsoidal...
{ "alphanum_fraction": 0.7015059161, "avg_line_length": 38.7361111111, "ext": "c", "hexsha": "c3918264637cb45ef1a34739e786e5d7727a5e9c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file core_dormqr.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 Jakub Kurzak * @date 2010-11-15 * @generated d...
{ "alphanum_fraction": 0.4717440728, "avg_line_length": 27.9909090909, "ext": "c", "hexsha": "c8807d89a39481c8d2cb16dfa232e6104a8c9ec3", "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":...
/* multiroots/fdjac.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option)...
{ "alphanum_fraction": 0.6065643649, "avg_line_length": 24.1855670103, "ext": "c", "hexsha": "acb773fe05fdfff3fd6c4865e97c103be2228201", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
// Copyright The Authors 2018. // Distributed under the 3-Clause BSD License. // (See accompanying file LICENSE or copy at // https://opensource.org/licenses/BSD-3-Clause) #pragma once #include <array> // for std::array #include <bitset> // for std::bitset #include <cstdint> // for standard in...
{ "alphanum_fraction": 0.6851588093, "avg_line_length": 34.1654501217, "ext": "h", "hexsha": "6f9142b78a1d6110024b642855721feb469decad", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-11-27T19:37:05.000Z", "max_forks_repo_forks_event_min_datetime": "2018-07-13T17:55:...
#ifndef INCLUDED_TELEPATH_LAPACK_DRIVERS_LLS_H #define INCLUDED_TELEPATH_LAPACK_DRIVERS_LLS_H #include <lapacke.h> namespace telepath{ template< typename T > auto posv( int matrix_order, char uplo, std::size_t n, std::size_t nrhs, T* a, std::size_t lda, T* b, std::size_t ldb ); template<> inl...
{ "alphanum_fraction": 0.6141670991, "avg_line_length": 43.7954545455, "ext": "h", "hexsha": "3f7f85cd1d6aa0b8957b57350774fdf52261e105", "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 <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_fit.h> #include "cosmocalc.h" static double linear_corrfunc_integ_funct(double k, void *p); static double lin...
{ "alphanum_fraction": 0.7569209993, "avg_line_length": 30.8541666667, "ext": "c", "hexsha": "8ad9b788e2ce11e71ccfa1c6700eec11bbe5374e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
/*** * Copyright 2019 The Katla Authors * * 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 agr...
{ "alphanum_fraction": 0.6335844041, "avg_line_length": 28.5696202532, "ext": "h", "hexsha": "2e730124a33c4055d787c1e497e16ca904b75795", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-26T13:32:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-26T13:32:...
/* ============================================================ * * halomodel.h * * Martin Kilbinger 2006-2009 * * ============================================================ */ #ifndef __HALOMODEL_H #define __HALOMODEL_H #include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> #incl...
{ "alphanum_fraction": 0.6379454732, "avg_line_length": 32.8654434251, "ext": "h", "hexsha": "d2add04fcf6646f471973cc0fdaf3ac0bad48ce3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright 2017 RIS. * Authored by Ron Dahlgren <ron@red83.net> */ #include "greatest.h" #include "entities/entities.h" #include <stdlib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> // Alloc and free TEST test_entity_alloc_and_free() { double l, r; gsl_matrix* identity = gsl_matrix_alloc(4,4...
{ "alphanum_fraction": 0.7199738903, "avg_line_length": 24.125984252, "ext": "c", "hexsha": "3ff01fa3afae9b4d2ce3318e05a22d7b218d9c9f", "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 __INC_MULTIVARSUPPORT__ #define __INC_MULTIVARSUPPORT__ #include "multi_modelstruct.h" #include "emulator_struct.h" #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> struct multi_modelstruct; struct emulator_struct; typedef struct multi_emulator { int nt; int nr; int nparams; int nmodel_points; in...
{ "alphanum_fraction": 0.7509157509, "avg_line_length": 23.7391304348, "ext": "h", "hexsha": "835d2f6d380d50f7796782d888536763fb1689dc", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:...
/* Siconos-Numerics, Copyright INRIA 2005-2018. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a 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 Softwa...
{ "alphanum_fraction": 0.7597583643, "avg_line_length": 29.4794520548, "ext": "h", "hexsha": "06878852c3ac21672d9a191ce8bed3f8d4f19ec9", "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 __FUNCTIONLIB_H__ #define __FUNCTIONLIB_H__ #include <iostream> #include <math.h> #include <stdio.h> #include <string.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gs...
{ "alphanum_fraction": 0.7409290096, "avg_line_length": 31.3461538462, "ext": "h", "hexsha": "2e72d039fb7e61285b1283c2655ea4bed90315a3", "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":...
/* * Simultaneous ML fitting of N 3D Gaussian kernels against a volumetric image * MATLAB interface in df_mlfitN.c * * TODO: * - how to handle background, still as a constant over the * patch? * - bg not handled yet. * */ #include <assert.h> #include <inttypes.h> #include <stdint.h> #include <stdio.h> #incl...
{ "alphanum_fraction": 0.5878359528, "avg_line_length": 25.2417840376, "ext": "c", "hexsha": "5b9b3227349a6f10925df2d6ae24dbdd43bdb80c", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" void cblas_zgeru (const enum CBLAS_ORDER order, const int M, const int N, const void *alpha, const void *X, const int incX, const void *Y, const int incY, void *A, const int lda) { #define BASE double #include "source_ger...
{ "alphanum_fraction": 0.6725663717, "avg_line_length": 24.2142857143, "ext": "c", "hexsha": "d0f4b96d59b7c1eac62faf07dcb6828dc7e8608e", "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...
/* -*- Mode: c++ -*- */ // copyright (c) 2006-2010 by Christos Dimitrakakis // <christos.dimitrakakis@gmail.com> /*************************************************************************** * * * This program is free software; you can redistrib...
{ "alphanum_fraction": 0.6319951338, "avg_line_length": 29.5683453237, "ext": "h", "hexsha": "1e907875c8c4681aa5b38d42c1d47b81767bace3", "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 <type_traits> #include <vector> #include <gsl-lite/gsl-lite.hpp> namespace thrustshift { /*! \brief Make multiple spans from a range of objects which contain ranges. * * \param r * \param get_range This functor must **not** return a copy of any object * * ```cpp * struct S { * * ...
{ "alphanum_fraction": 0.6690647482, "avg_line_length": 27.0277777778, "ext": "h", "hexsha": "5575027af1769917a14da2a250db544e7aa37830", "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":...
/******************************************\ * OpenMP/SSE/BLAS Optimized Matrix Library * * * * by * * Elliott Forney * * 3.9.2010 * \******************************************/ /* ...
{ "alphanum_fraction": 0.5875151352, "avg_line_length": 23.3009404389, "ext": "c", "hexsha": "b90d5299087b8c463ea453769a0deb79bbc46efc", "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) 2019-2021 Jan BOON (Kaetemi) <jan.boon@kaetemi.be> 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 copyright notice, this lis...
{ "alphanum_fraction": 0.7678743961, "avg_line_length": 28.3561643836, "ext": "h", "hexsha": "c33021f6b0af5912f7a285f701e29681805971e6", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-14T20:01:08.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-14T20:01:...
//! \file openmc_driver.h //! Driver to initialize and run OpenMC in stages #ifndef ENRICO_OPENMC_DRIVER_H #define ENRICO_OPENMC_DRIVER_H #include "cell_instance.h" #include "geom.h" #include "neutronics_driver.h" #include "openmc/tallies/tally.h" #include <gsl/gsl> #include <mpi.h> #include <vector> namespace enri...
{ "alphanum_fraction": 0.7349693252, "avg_line_length": 28.5964912281, "ext": "h", "hexsha": "98e26d2d80ad91e8427c5cb46669e09487d1f000", "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 "datastructures/MortonIndex.h" #include <fstream> #include <gsl/gsl> #include <iostream> #include <string> struct OctreeIndexFileHeader { const char magic[4] = { 'i', 'n', 'd', 'x' }; uint32_t levels_per_index; size_t num_indices; }; template<unsigned int MaxLevels> void write_octree_ind...
{ "alphanum_fraction": 0.6870474658, "avg_line_length": 29.5952380952, "ext": "h", "hexsha": "2c78a086922c31a5bb727ef5cf6307ec5c3b3f5e", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-02-08T11:45:45.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-03T13:50:...
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include <php.h> #include <cblas.h> #include "kernel/operators.h" /** * Sets the number of threads to use when parallel processesing. * * @param return_value * @param threads */ void tensor_set_num_threads(zval * return_value, zval * threads) { int n = zephir_...
{ "alphanum_fraction": 0.7090620032, "avg_line_length": 17.9714285714, "ext": "c", "hexsha": "d4be6ae2b1cf6e48d1663e0c6c311317a5d0b67f", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2022-03-02T08:34:22.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-16T11:11...
/* population genetics tools- mainly for working with site frequency spectrum / / / Andrew Kern */ #include "stdio.h" #include <math.h> #include "snpFile.h" #include "popGenTools.h" #include "numerical.h" #include "assert.h" #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_rng.h> #include <gsl/...
{ "alphanum_fraction": 0.6834106709, "avg_line_length": 27.6447305675, "ext": "c", "hexsha": "0c801aba44d08ecc4cccf4ca72a818022bb06e98", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-09-15T10:37:33.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-15T10:37:...
#pragma once #include "icode_generator.h" #include <halley/data_structures/hash_map.h> #include <gsl/gsl> #include "halley/file/path.h" namespace YAML { class Node; } namespace Halley { class ComponentSchema; class SystemSchema; class MessageSchema; class CustomTypeSchema; class Codegen { struct Stats { ...
{ "alphanum_fraction": 0.7396103896, "avg_line_length": 26.1016949153, "ext": "h", "hexsha": "40011135ea81da0e8f1dd88ecae13dfd47c84c4d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* min/brent.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any la...
{ "alphanum_fraction": 0.5576619273, "avg_line_length": 22.6071428571, "ext": "c", "hexsha": "499e01590d0bacfeb41eaef3ca784e0d5c5db947", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "tests.h" void test_ger (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int M = 1; int N = 1; int lda = 1; float alpha = 1.0f; float A[] = { -0.515f }; floa...
{ "alphanum_fraction": 0.484939759, "avg_line_length": 23.3802816901, "ext": "c", "hexsha": "d0e86501835479f71f436ca6ab93e280a71d6e35", "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:5...
/** * * @file qwrapper_zgemm_tile.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mark Gates * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <cbl...
{ "alphanum_fraction": 0.5243553009, "avg_line_length": 39.2134831461, "ext": "c", "hexsha": "3591660ff9d13b95ba0f97259a08d3997f9455e0", "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 includeDef.h list of headers and definitions used by the program OmegaMaxEnt (main source files: OmegaMaxEnt_main.cpp, OmegaMaxEnt_data.h, OmegaMaxEnt_data.cpp, graph_2D.h, graph_2D.cpp, generique.h, generique.cpp) Copyright (C) 2015 Dominic Bergeron (dominic.bergeron@usherbrooke.ca) This program is f...
{ "alphanum_fraction": 0.7656707674, "avg_line_length": 25.1029411765, "ext": "h", "hexsha": "19e883c7ecabed1be5c53fbc70e52a595a4a3dcb", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2019-12-07T11:11:12.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-17T22:31:...
/* NAME: normalize_row PURPOSE: normalize a row (or column) of a matrix given as logs CALLING SEQUENCE: normalize_row(gsl_matrix * q, int row,bool isrow,bool noweight, double weight) INPUT: q - matrix row - row to be normalized isrow - is it a row or...
{ "alphanum_fraction": 0.6280991736, "avg_line_length": 27.3962264151, "ext": "c", "hexsha": "db4155cfa0a2f192873f0c3a1f4fc61875da99b0", "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 <list> #include <gsl/gsl_math.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include "../../../Utils/Random.h" #include "../../Expression.h" #include "../RandomDistributionDirectory.h" double rand_Gauss(const std::list<expression>& args, const Variables& vars){ if (args.size() =...
{ "alphanum_fraction": 0.6404088996, "avg_line_length": 27.262295082, "ext": "h", "hexsha": "cb12506585de1e57bdf3f6dc6e5b916cc61840c9", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <iosfwd> #include <vector> #include <algorithm> #include <string> #include <cstring> #include <gsl/gsl> #include "onnxruntime_config.h" #ifndef DISABLE_ABSEIL // Need to include abseil inlined_vector....
{ "alphanum_fraction": 0.7193592262, "avg_line_length": 32.7574257426, "ext": "h", "hexsha": "36b8110e3e0283a883b97c4992b872493af16af7", "lang": "C", "max_forks_count": 140, "max_forks_repo_forks_event_max_datetime": "2019-05-06T18:02:36.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-03T21:1...
/* permutation/init.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option)...
{ "alphanum_fraction": 0.6350364964, "avg_line_length": 22.1414141414, "ext": "c", "hexsha": "570794facdf34b9ca3c44389e068e9124593957e", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#pragma once #include "halley/net/connection/iconnection.h" #include "halley/net/connection/network_packet.h" #ifdef _MSC_VER #pragma warning(disable: 4834) #endif #define BOOST_SYSTEM_NO_DEPRECATED #define BOOST_ERROR_CODE_HEADER_ONLY #include <boost/asio.hpp> #include <deque> #include <array> #include <string> #in...
{ "alphanum_fraction": 0.7602836879, "avg_line_length": 24.7368421053, "ext": "h", "hexsha": "ae9f510babd73f060e6f9874e86f0e298b1cdec9", "lang": "C", "max_forks_count": 193, "max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-23T06:0...
//! \file heat_driver.h //! Driver for Magnolia's heat transfer solver #ifndef ENRICO_SURROGATE_HEAT_DRIVER_H #define ENRICO_SURROGATE_HEAT_DRIVER_H #include "driver.h" #include "pugixml.hpp" #include "xtensor/xtensor.hpp" #include <gsl/gsl> #include <mpi.h> #include <cstddef> namespace enrico { class SurrogateHea...
{ "alphanum_fraction": 0.691841824, "avg_line_length": 35.5316455696, "ext": "h", "hexsha": "2ccb7c9b6bc2a2b6a09f1b6241497563624fbdd2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/** * * @file qwrapper_cpotrf.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Mathieu Faverge * @author Jakub Kurzak * @date 2010-11-15 * @g...
{ "alphanum_fraction": 0.5538983051, "avg_line_length": 27.8301886792, "ext": "c", "hexsha": "494b454edeb49adc857f24cd4bc80ff77efa54bc", "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 <gbpLib.h> #include <gbpMath.h> #include <gbpCosmo_core.h> #include <gbpCosmo_NFW_etc.h> #include <gsl/gsl_sf_expint.h> void set_NFW_params(double M, double z, int mode, cosmo_info **cosmo, double *c_vir, double *R_vir) { if(mode != NFW_MODE_DEFAULT...
{ "alphanum_fraction": 0.5534173855, "avg_line_length": 37.675, "ext": "c", "hexsha": "14afb97a0feffd044bed945a05c378f03218da14", "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:40.000Z...
#ifndef NewtonRaphsonSolver_H #define NewtonRaphsonSolver_H #include <stdio.h> #include <iostream> #include <vector> #include <gsl/gsl_linalg.h> #include "Node.h" #include "ShapeBase.h" //#include <omp.h> /** * The Newton-Raphson solver class * */ class NewtonRaphsonSolver{ private: size_t nDim; ...
{ "alphanum_fraction": 0.7098153985, "avg_line_length": 113.8974358974, "ext": "h", "hexsha": "05d8e24ea7e66df11abdca4f5c5965d109536b92", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-07-28T12:26:51.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-06T11:38...
/* statistics/test_robust.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 versi...
{ "alphanum_fraction": 0.6368753198, "avg_line_length": 21.8768656716, "ext": "c", "hexsha": "b8535ae69df899d5ba7f0bbee8f4e77a3dd41270", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#pragma once #include <vector> #include <gsl/span> #include "Mouse.h" #include "Joystick.h" #include "JoystickButton.h" #include "Keyboard.h" #include "RawInput.h" #include "Xbox360Controller.h" namespace qvr { class JoystickAxisThreshold { public: JoystickAxisThreshold( const qvr::JoystickAxis axis, const fl...
{ "alphanum_fraction": 0.7355684396, "avg_line_length": 22.2865168539, "ext": "h", "hexsha": "0b48cdba36166935ae972cae2ec8d7839d9e4611", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2020-03-19T10:08:45.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-22T14:47:...
/** * APER_CHECK - create a FITS image showing the locations of * apertures. */ #include "aper_check.h" #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_vector.h> #include "spce_output.h" void mark_trace_in_aXe_mask(ap_pixel * ap_p, aXe_mask *mask) { gsl_vector_int *trace_inds; int i, ind...
{ "alphanum_fraction": 0.6271028037, "avg_line_length": 22.2916666667, "ext": "c", "hexsha": "517b06b836f99c5525417164105e68bc35d561b6", "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":...
/* bspline/gsl_bspline.h * * Copyright (C) 2006 Patrick Alken * Copyright (C) 2008 Rhys Ulerich * * 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 ...
{ "alphanum_fraction": 0.664484023, "avg_line_length": 32.0840336134, "ext": "h", "hexsha": "ecaa2dfa84ca8687d72e7f81c462dabc3c1e141b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* NAME: proj_gauss_mixtures PURPOSE: runs the full projected gaussian mixtures algorithms, with regularization and split and merge CALLING SEQUENCE: proj_gauss_mixtures(struct datapoint * data, int N, struct gaussian * gaussians, int K,bool * fixamp, bool * fixmean, bool * fixcov...
{ "alphanum_fraction": 0.6318664945, "avg_line_length": 29.2645348837, "ext": "c", "hexsha": "f6a12a3f2dc22da5cbafc7f4dd6d46d9df4bc5c6", "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 <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/matrix/gsl_matrix.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/matrix/minmax_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.7692307692, "avg_line_length": 20.0909090909, "ext": "c", "hexsha": "9309cfe66fcf1a601458ae15dba4d50b80fe4e40", "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 <stdio.h> #include <stdlib.h> #include <stdbool.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 "MZC3D64.h" #include "MZC2D64.h" #includ...
{ "alphanum_fraction": 0.5632059549, "avg_line_length": 29.892626132, "ext": "c", "hexsha": "fe79d2911e73e0fbebdc5f0eff2108f30cec1c01", "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": ...
/* * Kabsch's algorithm: compute least-square-best transformation * Copyright (C) 2003, Arno Formella (formella@ei.uvigo.es) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versio...
{ "alphanum_fraction": 0.6878664862, "avg_line_length": 28.4230769231, "ext": "h", "hexsha": "3220d18d336d58b95c951f767f4584b3639f25c4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_movstat.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_statistics.h> double func(const size_t n, double x[], void * params) { const double alpha = *(do...
{ "alphanum_fraction": 0.6186599875, "avg_line_length": 24.196969697, "ext": "c", "hexsha": "5a603140a8f25975ee921cf3b1d327a9fdf692d5", "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...
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_multifit.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <Python.h> #include <numpy/arrayobject.h> void mark_debug (void) { static int number; printf("---> Mark %d <---\n", number); ...
{ "alphanum_fraction": 0.6051323546, "avg_line_length": 25.3695014663, "ext": "c", "hexsha": "48dfd79b48030d702a6eac0045f1439c4f3d1075", "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 "constants.h" #include "artisoptions.h" #ifndef TYPES_H #define TYPES_H #include <cstdio> #include <cstdlib> #include <cmath> #include <time.h> #ifndef __CUDA_ARCH__ #include <gsl/gsl_rng.h> #endif //#include <gsl/gsl_sf_expint.h> struct time { double start; // time at start of this timestep. double wi...
{ "alphanum_fraction": 0.6651720871, "avg_line_length": 35.5044843049, "ext": "h", "hexsha": "0bd872176b11b5d49a40cbe7822782a177e75f43", "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_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_interp.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...
{ "alphanum_fraction": 0.6432796433, "avg_line_length": 30.6100278552, "ext": "c", "hexsha": "2e926747ed2bac65b89812abcde527e874862a71", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file qwrapper_claset2.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @date 2010-11-15 * @generated c Tue Jan 7 11:44:59 2014 * **/ #inclu...
{ "alphanum_fraction": 0.5421383648, "avg_line_length": 28.9090909091, "ext": "c", "hexsha": "d6c9fe9c19ec5dc11ca21b10790d8f1d6d9d1a9c", "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":...
/* matrix/gsl_matrix_ushort.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.6543335761, "avg_line_length": 38.2451253482, "ext": "h", "hexsha": "580e059e5db7b907fc6d545b58094df5e965435e", "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-initval2/cscal.c * * Copyright (C) 2002, 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 versi...
{ "alphanum_fraction": 0.633580873, "avg_line_length": 24.5377777778, "ext": "c", "hexsha": "cfec4180b69aaad5289ac2925e615a1d8b11d01c", "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": ...
/* * Gates.h * * Created on: 28 Jan 2019 * Author: jobinrjohnson */ #ifndef IMPLEMENTATION_GATES_H_ #define IMPLEMENTATION_GATES_H_ #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_math.h> #define ccout std::cout #define...
{ "alphanum_fraction": 0.7146574154, "avg_line_length": 16.2394366197, "ext": "h", "hexsha": "bf3a46b18bb669a777940ea12d2d420a7ac0b29e", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-11-12T08:04:28.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-06T09:04:...
#include <stdlib.h> #include <gsl/gsl_statistics_double.h> #include <hdf5.h> #include <hdf5_hl.h> #include "qdm.h" qdm_ijk * qdm_ijk_alloc( size_t size1, size_t size2, size_t size3 ) { qdm_ijk *t = malloc(sizeof(qdm_ijk)); t->size1 = size1; t->size2 = size2; t->size3 = size3; t->data = malloc...
{ "alphanum_fraction": 0.5718931475, "avg_line_length": 15.7116788321, "ext": "c", "hexsha": "3f9e3e8d99c929acdc462fcb93ce404dd8f69315", "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 property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
{ "alphanum_fraction": 0.675948461, "avg_line_length": 42.462006079, "ext": "h", "hexsha": "851c2c184bb9931083de09b7087cd6b7975626a9", "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 <cstdint> #include <array> #include <gsl/gsl> #include "halley/data_structures/maybe.h" #include "halley/maths/vector2.h" #include "halley/maths/colour.h" #include "halley/file_formats/image.h" namespace Halley { enum class AsepriteBlendMode; enum class AsepriteDepth { RGBA32, Greyscale...
{ "alphanum_fraction": 0.7071097372, "avg_line_length": 22.0568181818, "ext": "h", "hexsha": "ecafbd28aa2d680db7e63122915a3750eb04933b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#if !defined(PETIGA_H) #define PETIGA_H /* #include <petscconf.h> #undef PETSC_STATIC_INLINE #define PETSC_STATIC_INLINE static __inline */ #include <petsc.h> #include <petsc-private/petscimpl.h> #include <petscts2.h> typedef ISLocalToGlobalMapping LGMap; #define LGMap LGMap /* ------------------------------------...
{ "alphanum_fraction": 0.6786550953, "avg_line_length": 46.2610837438, "ext": "h", "hexsha": "23c32b7977eac0196409af618b23ca502ca4faa1", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-06-14T10:40:40.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-08T12:55:...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <gsl/gsl> #include "core/framework/tensor.h" #include "core/util/math_cpuonly.h" namespace onnxruntime { template <typename T> auto EigenMap(Tensor& t) -> EigenVectorMap<T> { return EigenVectorMa...
{ "alphanum_fraction": 0.724137931, "avg_line_length": 25.375, "ext": "h", "hexsha": "609c2de118d637cdf9dbedf77d8b889d11b583aa", "lang": "C", "max_forks_count": 140, "max_forks_repo_forks_event_max_datetime": "2019-05-06T18:02:36.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-03T21:15:28.000...
/************************************************************************ * $Id$ * * MYSTIC - Monte Carlo code for the physically correct tracing of * photons in cloudy atmospheres. * * Copyright (c) 2000-2012 by Arve Kylling, Bernhard Mayer, * Claudia Emde, Robert Buras * *...
{ "alphanum_fraction": 0.4179417009, "avg_line_length": 42.5254628658, "ext": "c", "hexsha": "0402c38fec80d345e388f9be54cb36c6c0075f99", "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_SORT_H__ #define __GSL_SORT_H__ #include <gsl/gsl_sort_long_double.h> #include <gsl/gsl_sort_double.h> #include <gsl/gsl_sort_float.h> #include <gsl/gsl_sort_ulong.h> #include <gsl/gsl_sort_long.h> #include <gsl/gsl_sort_uint.h> #include <gsl/gsl_sort_int.h> #include <gsl/gsl_sort_ushort.h> #include <...
{ "alphanum_fraction": 0.7747126437, "avg_line_length": 20.7142857143, "ext": "h", "hexsha": "b1496c2efbfe8973743213f869d15bf416bc40d0", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#include <stdio.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_deriv.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gbpInterpolate.h> double interpolate_derivative(interp_info *interp, double x) { double r_val; r_val = gsl_interp_eval_deriv( ((interp_info *)interp...
{ "alphanum_fraction": 0.6928251121, "avg_line_length": 27.875, "ext": "c", "hexsha": "1c8f39bf88c5b54f552cd537b8d83ff7b749a628", "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:40.000Z...
#ifndef QDM_MSPLINE_H #define QDM_MSPLINE_H 1 #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> void qdm_mspline_vector(gsl_vector *result, const double tau, const size_t spline_df, const gsl_vector *knots); void qdm_mspline_matrix(gsl_matrix *result, const size_t spline_df, const gsl_vector *x, const gsl_vect...
{ "alphanum_fraction": 0.7916666667, "avg_line_length": 25.7142857143, "ext": "h", "hexsha": "2cae4aba1f1f1d145a19ed7ee249ef0f9124f4b1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_errno.h> #include <gsl/matrix/gsl_matrix.h> #include <gsl/vector/gsl_vector.h> #define BASE_DOUBLE #include <gsl/templates_on.h> #include <gsl/matrix/getset_source.c> #include <gsl/templates_off.h> #undef BASE_DOUBLE
{ "alphanum_fraction": 0.776371308, "avg_line_length": 21.5454545455, "ext": "c", "hexsha": "1e343723350360a1609635308e8b40f2f7feca7d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2018 - Matteo Ragni, Matteo Cocetti - University of Trento * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
{ "alphanum_fraction": 0.6667733163, "avg_line_length": 43.1103448276, "ext": "h", "hexsha": "a098d32ea181b719f94091ce4350af5e06308d8e", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file core_zhetrf2_nopiv.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.4.5 * @author Dulceneia Becker * @date 2011-1-18 **/ /* * @precisions normal z -> c d s */ #include <la...
{ "alphanum_fraction": 0.5620031797, "avg_line_length": 27.0537634409, "ext": "c", "hexsha": "7df8b6f5643382a8fe8d5e3bfa3c03edf578e2f6", "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":...