text
string
meta
dict
#pragma once #include <memory> #include <gsl/gsl> /// Holds code related to computer memory. namespace MEMORY { /// A type alias to improve readability for non-null raw pointers. /// @tparam Type - The type of the underyling item being pointed to. template <typename Type> using NonNullRawPointer = gsl...
{ "alphanum_fraction": 0.7166276347, "avg_line_length": 35.5833333333, "ext": "h", "hexsha": "b511177ac9adfa42d42fecd10e053b1564c424ad", "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 <stdbool.h> #include <math.h> #include <string.h> #ifdef ACCELERATE #include <Accelerate/Accelerate.h> #else #include <cblas.h> #endif #include "neural.h" void neural_feed_forward(struct neural_net_layer *head, float *x, int batch_size) { /* point "current" layer to...
{ "alphanum_fraction": 0.6511699037, "avg_line_length": 29.995412844, "ext": "c", "hexsha": "85c7dc5a3c395e7eb8084102677e7ca8dd980504", "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 BATCH_EXTRACTOR_H_IVH3CLLQ #define BATCH_EXTRACTOR_H_IVH3CLLQ #include <gsl/gsl> #include <optional> #include <sens_loc/util/correctness_util.h> #include <string_view> namespace sens_loc::apps { /// \ingroup feature-plotter-driver /// Defines a strongly typed switch for the color to use. Will be mapped /// t...
{ "alphanum_fraction": 0.6689136635, "avg_line_length": 37.0865384615, "ext": "h", "hexsha": "0a0a75051f911fcc47828501feed835c31ec517f", "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_complex_float.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 ...
{ "alphanum_fraction": 0.6985312422, "avg_line_length": 38.625, "ext": "h", "hexsha": "8b27958679d65f11a680a1d99a80d0d97f6c2f72", "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...
/** * File: utils.h * * Author: Vishal R (vishalr@pesu.pes.edu or vishalramesh01@gmail.com) * * Summary of File: * Matrix operation library required for cdnn. Contains all the header files for matrix operations. */ #ifndef UTILS_H #define UTILS_H #include <stdlib.h> #include <stdio.h> #in...
{ "alphanum_fraction": 0.6822211853, "avg_line_length": 27.8311688312, "ext": "h", "hexsha": "6b979ae217171a1516bee9914c51ba91b2d4443a", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-08-15T12:46:42.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-17T06:38:...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.7078746825, "avg_line_length": 30.6753246753, "ext": "h", "hexsha": "0befb4297c5d76acb52df286780b26b54a1f4109", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2...
/* */ #ifndef MINIMIZER_H #define MINIMIZER_H #include <iostream> #include "Vector.h" #include <stdexcept> #ifdef USE_GSL extern "C" { #include <gsl/gsl_multimin.h> } namespace PsimagLite { template<typename FunctionType> typename FunctionType::FieldType myFunction(const gsl_vector *v, void *params) { FunctionTy...
{ "alphanum_fraction": 0.6760226933, "avg_line_length": 24.0071684588, "ext": "h", "hexsha": "1761598a5dcd9f0d506e4206298d76e06d3bdd89", "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 <memory> #include <gsl/span> #include "halley/time/halleytime.h" #include "../session/network_session.h" #include "entity_network_remote_peer.h" #include "halley/bytes/serialization_dictionary.h" #include "halley/entity/system.h" #include "halley/entity/world.h" namespace Halley { class Entity...
{ "alphanum_fraction": 0.8051500406, "avg_line_length": 37.6488549618, "ext": "h", "hexsha": "cdb33cc917e721893a2577db710fb1a3a18442ec", "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 <algorithm> #include <array> #include <cstdint> #include <initializer_list> #include <iterator> #include <sstream> #include <string> #include <absl/types/span.h> #include <gsl/gsl> #include "chainerx/constant.h" #include "chainerx/error.h" #include "chainerx/optional_container_arg.h" #include "...
{ "alphanum_fraction": 0.6775316456, "avg_line_length": 29.5327102804, "ext": "h", "hexsha": "c80b224338e1c8e5d2818658e0252d0de8db8869", "lang": "C", "max_forks_count": 1150, "max_forks_repo_forks_event_max_datetime": "2022-03-29T02:29:32.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-02T03:...
// Alessandro Casalino // // Compile with (Mac with default homebrew gsl 2.6) gcc-9 -O2 coupled_quintessence_evolve.c -o coupled_quintessence_evolve.exe -L/usr/local/Cellar/gsl/2.6/lib -I/usr/local/Cellar/gsl/2.6/include -lgsl // Run with ./coupled_quintessence_evolve.exe #include <stdio.h> #include <stdlib.h> #includ...
{ "alphanum_fraction": 0.6209092691, "avg_line_length": 35.1931034483, "ext": "c", "hexsha": "ae0a8353532263f4b4ce354a2169ade96e7a3935", "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_sf_gamma.h> // // TIMING // // Clock functions static vector<double> ClockTimes; static double C0; double Clock() { return double(clock()) / CLOCKS_PER_SEC; } void StartClocking() { ClockTimes.clear(); C0 = Clock(); } void ClockCheckpoint(unsigned int cp) { double C1 = Clock(); i...
{ "alphanum_fraction": 0.5706143129, "avg_line_length": 22.0839160839, "ext": "h", "hexsha": "bdd461854490a1eb809e02a1b4941ff26406edfa", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-15T00:11:25.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-15T00:11:...
/* randist/chisq.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (...
{ "alphanum_fraction": 0.6274875622, "avg_line_length": 25.935483871, "ext": "c", "hexsha": "aef22ec36bdf519f2fc74a997116ed4d8f89f9be", "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...
#include "rb_sm.h" #include <stdio.h> #include <gsl/gsl_nan.h> #include <options/options.h> struct sm_params rb_sm_params; struct sm_result rb_sm_result; void rb_sm_init_journal(const char*journal_file) { jj_set_stream(open_file_for_writing(journal_file)); /* sm_journal_open(journal_file);*/ } void rb_sm_close_jou...
{ "alphanum_fraction": 0.7196489517, "avg_line_length": 21.1443298969, "ext": "c", "hexsha": "53da151003c1a66147e415ea9cf24a085bdf6efe", "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 <config.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_vector.h> /* Compile all the inline matrix functions */ #define COMPILE_INLINE_STATIC #include "build.h" #include <gsl/gsl_matrix.h>
{ "alphanum_fraction": 0.7462686567, "avg_line_length": 18.2727272727, "ext": "c", "hexsha": "fe595fa189f61d40e911309e35a30b21f12325a4", "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:0...
/* 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.59600863, "avg_line_length": 25.4845360825, "ext": "c", "hexsha": "277f47f514a3f51e65264c6bb28c1416558a4659", "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": "...
/* * optimize_tnc.h * * Created on: Feb 9, 2010 * Author: smitty */ #ifndef _OPTIMIZE_CONT_MODELS_NLOPT_H_ #define _OPTIMIZE_CONT_MODELS_NLOPT_H_ #include <nlopt.h> #include "cont_models.h" #include <armadillo> using namespace arma; double nlopt_bm_sr(unsigned n, const double *x, double *grad, void *dat...
{ "alphanum_fraction": 0.7567901235, "avg_line_length": 30, "ext": "h", "hexsha": "b78d5e69c6780aff0f494bf2e438c0d87f280eef", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-31T18:23:31.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-18T05:20:26.000Z", ...
#define USE_GSL_INTEGRATION 0 #if USE_GSL_INTEGRATION #include <gsl/gsl_integration.h> #endif struct integrand_params { u32 n[2]; u32 component_count; u32 coeff_count; f64* coeff; nlse_operator_func* op; void* op_userdata; struct basis basis; }; static void sbmf_log_integration_result(struct quadgk_result*...
{ "alphanum_fraction": 0.6826505362, "avg_line_length": 32.6481149013, "ext": "c", "hexsha": "810f1f427920efc4bf55dd61d05efbfdf040a5fe", "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-2020 JingWeiZhangHuai <jingweizhanghuai@163.com> Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
{ "alphanum_fraction": 0.7013827596, "avg_line_length": 35.7789473684, "ext": "c", "hexsha": "fedc2bb889a681f8063f9b128f76cc822c6f34e5", "lang": "C", "max_forks_count": 35, "max_forks_repo_forks_event_max_datetime": "2022-03-22T11:34:47.000Z", "max_forks_repo_forks_event_min_datetime": "2019-09-26T05:09...
#pragma once #include "continuation_scheduler.h" #include <arcana/threading/cancellation.h> #include <arcana/threading/task.h> #include <gsl/gsl> #include <condition_variable> #include <mutex> #include <optional> namespace Babylon::Graphics { class SafeTimespanGuarantor { public: SafeTimespanGu...
{ "alphanum_fraction": 0.6119969628, "avg_line_length": 23.1052631579, "ext": "h", "hexsha": "23ecb8cafc567b6d0cc0c32ff777ecbbc2bd4d95", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <errno.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_l...
{ "alphanum_fraction": 0.6438515081, "avg_line_length": 21.4161490683, "ext": "c", "hexsha": "d9df9b40e5c49c047cac0576aa08638c20507122", "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 ARRUS_COMMON_FORMAT_H #define ARRUS_COMMON_FORMAT_H // String formatting and parsing utilities. // Currently wraps fmt library calls. #include <fmt/format.h> #include <stdexcept> #include <cctype> #include <vector> #include <set> #include <unordered_set> #include <optional> #include <sstream> #include <gsl/spa...
{ "alphanum_fraction": 0.6433713257, "avg_line_length": 29.5044247788, "ext": "h", "hexsha": "9984672e483b93cd4e5b24200494b8fec98f7622", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-12-13T08:53:31.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-22T16:13:...
#include <stdio.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> int main() { const gsl_interp2d_type *T = gsl_interp2d_bilinear; const size_t N = 100; /* number of points to interpolate */ const double xa[] = { 0.0, 1.0 }; /* define unit s...
{ "alphanum_fraction": 0.6094793057, "avg_line_length": 27.7407407407, "ext": "c", "hexsha": "3777c1075ced82acae519a34ce2b120898af1e4b", "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 __PROJ_GAUSS_MIXTURES_H__ #define __PROJ_GAUSS_MIXTURES_H__ /* include */ #include <stdbool.h> #include <float.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_linalg.h> /* variable declarations and definitions */ double halflogtwopi; /* constant used in ...
{ "alphanum_fraction": 0.7393474088, "avg_line_length": 37.7536231884, "ext": "h", "hexsha": "e6da53c29447e9be03a4ad14fb5f8eee225417c8", "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...
/** * Copyright 2016 José Manuel Abuín Mosquera <josemanuel.abuin@usc.es> * * This file is part of Matrix Market Suite. * * Matrix Market Suite is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ei...
{ "alphanum_fraction": 0.6465422613, "avg_line_length": 26.0285714286, "ext": "c", "hexsha": "c26125a057e5017d8bd7dec1d3c72e8dc5e3f053", "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":...
/* ieee-utils/fp-x86linux.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 o...
{ "alphanum_fraction": 0.6857030327, "avg_line_length": 25.39, "ext": "c", "hexsha": "4e0c1d574e5da601368ca0b074393008ec91148b", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z"...
/* AUTORIGHTS Copyright (C) 2007 Princeton University This file is part of Ferret Toolkit. Ferret Toolkit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later ver...
{ "alphanum_fraction": 0.6480373559, "avg_line_length": 19.8063583815, "ext": "c", "hexsha": "7ab90f54f70afcbf5ff9261cd62dfd57b1f94fc1", "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...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
{ "alphanum_fraction": 0.6772562383, "avg_line_length": 35.53515625, "ext": "h", "hexsha": "681cdfe66f49e678fdd470d5a7b22c8cf6c2612f", "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 #define NOMINMAX #define NODRAWTEXT #define NOGDI #define NOBITMAP #define NOMCX #define NOSERVICE #define NOHELP #include <iostream> #include <vector> #include <string> #include <string_view> #include <sstream> #include <variant> #include <codecvt> #include <locale> #include <filesystem> #include <fstre...
{ "alphanum_fraction": 0.7618724559, "avg_line_length": 21.0571428571, "ext": "h", "hexsha": "28bfeab2cedaf51911a7cb94b472114b5fcdf495", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2020-06-12T15:57:58.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-13T12:56...
/** * * @file core_ssyrfb.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 * @date 2010-11-15 * @generated s Tue Jan 7 11:44:48 2014 * **/ #include <lapacke....
{ "alphanum_fraction": 0.4929422836, "avg_line_length": 31.5643564356, "ext": "c", "hexsha": "1b56821b01b2d985762a45b84c0bd38d834e47fb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <string.h> #include <gbpLib.h> #include <gbpMisc.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> void invert_square_matrix(double *matrix_in, int size, double *inverse_out) { gsl_matrix * matrix; gsl_matrix * LU_decomp; gsl_matr...
{ "alphanum_fraction": 0.6137479542, "avg_line_length": 31.0677966102, "ext": "c", "hexsha": "f07b31cc4bfccc8295fbe038e1792ded99a430d9", "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:...
/* * Implement Heap sort -- direct and indirect sorting * Based on descriptions in Sedgewick "Algorithms in C" * * Copyright (C) 1999 Thomas Walter * * 18 February 2000: Modified for GSL by Brian Gough * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pub...
{ "alphanum_fraction": 0.7709190672, "avg_line_length": 24.032967033, "ext": "c", "hexsha": "aa1aa8a7de9c893da540952dab155bb67468720c", "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:...
#if !defined(PETIGA_H) #define PETIGA_H /* #include <petscconf.h> #undef static inline #define static inline static __inline */ #include <petsc.h> #if PETSC_VERSION_LT(3,7,0) #error "PetIGA requires PETSc 3.7 or higher" #endif #include <petsc/private/petscimpl.h> #if PETSC_VERSION_LT(3,8,0) # ifdef PETSC_FUNCTIO...
{ "alphanum_fraction": 0.6670560485, "avg_line_length": 46.2733887734, "ext": "h", "hexsha": "3d6ee66ea9022cacb598d319841155dab2f390ad", "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":...
/* vector/gsl_vector_int.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 th...
{ "alphanum_fraction": 0.658622791, "avg_line_length": 33.7654320988, "ext": "h", "hexsha": "c8bbcd3fbae68e1854a804ae793b14517dcdcd92", "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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <complex.h> #include <math.h> #include <fftw3.h> #include <gsl/gsl_sf_legendre.h> #include "fsht.h" #include "util.h" int fshtinit (shdata *dat, int deg, int ntheta, int nphi, int measfft) { int ierr; complex double *fftbuf; /* This is actuall...
{ "alphanum_fraction": 0.64386257, "avg_line_length": 28.9780701754, "ext": "c", "hexsha": "a2a365e0bd487259f5bab595415d44316abae591", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
/* ode-initval/rk2simp.c * * Copyright (C) 2004 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) any later versio...
{ "alphanum_fraction": 0.600810426, "avg_line_length": 23.7786458333, "ext": "c", "hexsha": "6d979e02bc164903c8b6af937b4b2f71d2062dc4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:5...
#pragma once #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include <DirectXMath.h> #include <gsl\gsl> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "VectorHelper.h" #include "BasicMaterial.h" namespace Library { class Mesh; class ProxyModel final : public DrawableGameComponent ...
{ "alphanum_fraction": 0.7503493246, "avg_line_length": 31.115942029, "ext": "h", "hexsha": "d55d8305fcba7d0a0b999a049ec2122615f920eb", "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 2014 Marc Normandin * * 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.6400275577, "avg_line_length": 25.025862069, "ext": "h", "hexsha": "e667f20c0a1836ff194644368798c7a42ddbe81b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* movstat/funcacc.c * * Moving window accumulator for arbitrary user-defined function * * 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 ver...
{ "alphanum_fraction": 0.7318021201, "avg_line_length": 25.7272727273, "ext": "c", "hexsha": "b880652de5ee91368dc044a8d5348e52897f16aa", "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 BIO_RUN_MATCH_H_ #define BIO_RUN_MATCH_H_ #include "bio/defs.h" #include "bio/common.h" #include "bio/match_hit.h" #include "bio/sequence.h" #include "bio/biobase_filter.h" #include "bio/pssm_match.h" #include "bio/phylogenetics.h" #include "bio/biobase_db.h" #include "bio/biobase_data_traits.h" #include <bo...
{ "alphanum_fraction": 0.6052408412, "avg_line_length": 26.4988764045, "ext": "h", "hexsha": "92eeb25f63aa994e5abbecc933c361b53b96b580", "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":...
/* ============================================================ * * lensing_3rd.h * * Martin Kilbinger, Liping Fu 2010. * * ============================================================ */ #ifndef __LENSING_3RD_H #define __LENSING_3RD_H #include <math.h> #include <stdlib.h> #include <stdio.h> #include <asse...
{ "alphanum_fraction": 0.6777338603, "avg_line_length": 33.2894736842, "ext": "h", "hexsha": "264522a192a250af440419e90dc812f9995b008d", "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> /* Helper class for reading structured binary data from a memory stream. */ class BinaryReader { public: explicit BinaryReader(gsl::span<uint8_t> data) : mData(data) {} template<typename T> T Read() { Expects(mData.size() >= sizeof(T)); auto result{ *reinterpret_cast<T*>(&...
{ "alphanum_fraction": 0.6639455782, "avg_line_length": 18.8461538462, "ext": "h", "hexsha": "7ab02719e299ad5d4927b33053f8379c261f6e03", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
/* ** Implementation of LISA algorithm ** for statistical inference of fMRI images ** ** 1st level analysis using GLM (general linear model) with pre-coloring ** ** G.Lohmann, April 2017 */ #include "viaio/Vlib.h" #include "viaio/file.h" #include "viaio/mu.h" #include "viaio/option.h" #include "viaio/os.h" #include <vi...
{ "alphanum_fraction": 0.6878612717, "avg_line_length": 33.3587443946, "ext": "c", "hexsha": "bd574ceb52029e2c74c0c42241c1d8d0e9cb54f4", "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:...
/* PSICOV - Protein Sparse Inverse COVariance analysis program */ /* by David T. Jones August 2011 - Copyright (C) 2011 University College London */ /* Version 1.05 - Last Edit 13/2/12 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include <unistd.h> #include <gs...
{ "alphanum_fraction": 0.5508226972, "avg_line_length": 24.0851851852, "ext": "c", "hexsha": "757fb164a19794ee936ae2e048330ad224a72cb3", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-09-05T02:43:44.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-05T02:43:...
#include <lapacke.h> #include "tasks.h" void chol_task_seq(void *ptr) { struct chol_task_arg *arg = (struct chol_task_arg*) ptr; int n = arg->n; double *A = arg->A; int ldA = arg->ldA; LAPACKE_dpotrf(LAPACK_COL_MAJOR, 'L', n, A, ldA); }
{ "alphanum_fraction": 0.6014760148, "avg_line_length": 14.2631578947, "ext": "c", "hexsha": "fef9545f3825dc179bd425ee768347a5c8dc0b4f", "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.6541107108, "avg_line_length": 25.6554621849, "ext": "h", "hexsha": "4130849aefcbb55a7654ed715246f9d899bf2ef8", "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...
#ifndef CWANNIER_PARTIALNUMVALUES_H #define CWANNIER_PARTIALNUMVALUES_H #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_eigen.h> #include "HTightBinding.h" #include "PartialDosValues.h" #include "ctetra/sum.h" double** PartialNumValues(HTightBinding *Hrs, gsl_matrix *R, int na, int nb, int n...
{ "alphanum_fraction": 0.7917570499, "avg_line_length": 32.9285714286, "ext": "h", "hexsha": "577599afdfee2f914bb63f2833653680dc55b885", "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":...
/* F(4,3) cc -static -o test_cblas_open main43.c -I /opt/OpenBLAS/include/ -L/opt/OpenBLAS/lib -lopenblas -lpthread -lgfortran ->For each cube of kernel -> for each tile (a tile is a cube d x d x channel) -> for each channel -> Apply the winograd algorithm -> sum the result of the previous channel to the r...
{ "alphanum_fraction": 0.6048100574, "avg_line_length": 24.7787810384, "ext": "c", "hexsha": "292c9745ba023fe13dbcb8857ce8fba7b35813d2", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2022-02-18T09:57:38.000Z", "max_forks_repo_forks_event_min_datetime": "2018-03-15T14:49:...
/* NAME: proj_gauss_mixtures_IDL PURPOSE: run the projected gaussian mixtures algorithm from IDL (or python) CALLING SEQUENCE: see IDL wrapper INPUT: from IDL wrapper OUTPUT: updated model gaussians and average loglikelihood, see IDL WRAPPER REVISION HISTORY: 2008-09-21 - Writt...
{ "alphanum_fraction": 0.5799251152, "avg_line_length": 29.0543933054, "ext": "c", "hexsha": "fa0e5897c309d9794551a2db1a2d829630f1c782", "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...
/** * @copyright (c) 2017 King Abdullah University of Science and Technology (KAUST). * All rights reserved. **/ /** * @file codelet_zhagdm.c * * Codelet for generating dense matrix from a problem determined according to current global setting of HiCMA library. * * HiCMA is a software packag...
{ "alphanum_fraction": 0.6067094932, "avg_line_length": 31.8409090909, "ext": "c", "hexsha": "224e7967559e13383a0b248d7fb26f79f6e1c7b8", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-03T22:26:56.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-21T07:35:...
/* linalg/test_cholesky.c * * Copyright (C) 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version....
{ "alphanum_fraction": 0.6211917992, "avg_line_length": 28.8342541436, "ext": "c", "hexsha": "23d39ffb2b7e4f1364262b48da5a83b307dddbab", "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:...
// 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.7507831535, "avg_line_length": 34.2023809524, "ext": "h", "hexsha": "3a17b85947facbea18d2929ae018a2529e74feb0", "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 BIO_MATRIX_DEPENDENCIES_H_ #define BIO_MATRIX_DEPENDENCIES_H_ #include "bio/defs.h" #include "bio/matrix.h" #include "bio/contingency_homogeneity.h" #include <boost/array.hpp> #include <gsl/gsl_math.h> #include <vector> #include <numeric> #include <set> BIO_NS_START /** Indexes a pair of bases for compar...
{ "alphanum_fraction": 0.7904899135, "avg_line_length": 27.3228346457, "ext": "h", "hexsha": "1700e32c8d672a9f96fcc4ce36883b3b9716f334", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright 2016 by Laboratoire d'Informatique de Paris 6 - Équipe PEQUAN Sorbonne Universités UPMC Univ Paris 06 UMR 7606, LIP6 4, place Jussieu F-75252 Paris Cedex 05 France Laboratoire d'Informatique de Paris 6, equipe PEQUAN, UPMC Universite Paris 06 - CNRS - UMR 7606 - LIP6, Paris, France C...
{ "alphanum_fraction": 0.7510180337, "avg_line_length": 27.7258064516, "ext": "h", "hexsha": "7e9796212ffbed357d1aeb8637e7dba8eea1e2fb", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-07-20T10:25:37.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-09T22:20:...
/* linalg/qr_ur.c * * Copyright (C) 2019, 2020 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.5632274094, "avg_line_length": 30.95951417, "ext": "c", "hexsha": "71aa27b28f34736aff43cd60eacd5eac0ca222b7", "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:57...
#ifndef __GSL_PERMUTE_VECTOR_H__ #define __GSL_PERMUTE_VECTOR_H__ #include <gsl/gsl_permute_vector_complex_long_double.h> #include <gsl/gsl_permute_vector_complex_double.h> #include <gsl/gsl_permute_vector_complex_float.h> #include <gsl/gsl_permute_vector_long_double.h> #include <gsl/gsl_permute_vector_double.h> #inc...
{ "alphanum_fraction": 0.8362892224, "avg_line_length": 29.32, "ext": "h", "hexsha": "76265078630b7d116e29db2f73dca446f3220818", "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"...
/* ieee-utils/env.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) a...
{ "alphanum_fraction": 0.6643073812, "avg_line_length": 25.8, "ext": "c", "hexsha": "28eeb4997fe4baeb40857fda8dce4ac5127cd27f", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z",...
/* specfunc/bessel_Yn.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 op...
{ "alphanum_fraction": 0.5925454545, "avg_line_length": 25.2293577982, "ext": "c", "hexsha": "3dc1a99b0d4491d7381f67a8e17bfad88f693d33", "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...
/* vector/gsl_vector_uchar.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.6849722186, "avg_line_length": 32.9319148936, "ext": "h", "hexsha": "632455af130599fb4a98e3696bac0fefbb4a2d44", "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 SEARCHPATTERNBUILDER_HHHHH #define SEARCHPATTERNBUILDER_HHHHH #include "detail/SearchPatternBase.h" #include "SearchPattern.h" #include <vector> #include <string> #include <memory> #include <gsl/string_span> namespace MPSig { class SearchPatternBuilder { std::vector<std::unique_ptr<detail::Sear...
{ "alphanum_fraction": 0.7296849088, "avg_line_length": 21.5357142857, "ext": "h", "hexsha": "89e99ea04eb71ce6a1526f5a730cf8c4dd96724c", "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 <string> #include <ntdll.h> #include <gsl/span> namespace pe { class module : public HINSTANCE__ { public: module() = delete; uintptr_t handle() const; template <class T> inline auto rva_to(uint32_t rva) { return reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(th...
{ "alphanum_fraction": 0.7008547009, "avg_line_length": 30.5217391304, "ext": "h", "hexsha": "319fea96ab14aa8e939cd1a9d815c92448c0a954", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-18T18:03:36.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-18T18:03:...
// Copyright (C) 2015 Vincent Lejeune // For conditions of distribution and use, see copyright notice in License.txt #pragma once #include <vulkan\vulkan.h> #include <array> #include <gsl/gsl> #define CHECK_VKRESULT(cmd) { VkResult res = (cmd); if (res != VK_SUCCESS) throw; } namespace structures { constexpr VkAttac...
{ "alphanum_fraction": 0.8036117381, "avg_line_length": 34.0769230769, "ext": "h", "hexsha": "cdf228cdf80b3c2f13e92956d918603e910f22f5", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-10-31T04:40:05.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-18T16:23:...
#pragma once #include <gsl/gsl_multifit_nlinear.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_cdf.h> #include <vector> #include <functional> #include <algorithm> #include <tuple> // this "fdf_Helper" helper class is used for create the polynomial to be fit in the runtime. // Since GSL would like a static function, ...
{ "alphanum_fraction": 0.6356389215, "avg_line_length": 37.7433628319, "ext": "h", "hexsha": "d71dc737442b290150c0f2a5ef8e221dedcbbf30", "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_cgetf2_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.6.0 * @author Omar Zenati * @author Mathieu Faverge * @date 2013-02-01 * @generated c Tue Jan 7 11:44:50...
{ "alphanum_fraction": 0.4795972443, "avg_line_length": 30.192, "ext": "c", "hexsha": "3fb1640b0a47246a48c83059502a865565589b8f", "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": "bcc99...
/* matrix/gsl_matrix_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 the L...
{ "alphanum_fraction": 0.6384820778, "avg_line_length": 33.7677595628, "ext": "h", "hexsha": "7205c9e19d888958d1438d530cfd42a327811045", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:...
/* specfunc/gsl_sf_legendre.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 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 Li...
{ "alphanum_fraction": 0.6483895383, "avg_line_length": 31.625, "ext": "h", "hexsha": "962872aec13cba6f58de97fef1f2c8ff32216d66", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-01-04T19:22:30.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-27T11:11:07.000Z...
// Author: Samuel D. Relton #include <stdio.h> #include <cblas.h> #include "sgemm_batched.h" float A1[] = { 3, 1, 3, 1, 5, 9, 2, 6, 5 }; float B1[] = { 3, 1, 3, 1, 5, 9, 2, 6, 5 }; float C1[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; float A2[] = { 3, 1, 3, 1, 5, 9, 2, 6, 5 }; float B2[] = { 3, 1, 3, 1, 5, 9, 2, 6, 5 }; f...
{ "alphanum_fraction": 0.5076271186, "avg_line_length": 13.5632183908, "ext": "c", "hexsha": "5461bc4e2e6571c681269fd71fbcaf780b05a409", "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":...
/* ** smooth variance computations ** ** M. Kuhlmann, MPI-KYB, Sept 2015 */ #include <viaio/Vlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_math.h> #include <gsl/gsl_randist.h> #incl...
{ "alphanum_fraction": 0.609264854, "avg_line_length": 18.0545454545, "ext": "c", "hexsha": "78d1c32ecb85046ae7b68e9f8ccf5a16de9370ca", "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...
/* randist/gsl_randist.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (...
{ "alphanum_fraction": 0.7566562028, "avg_line_length": 46.2419354839, "ext": "h", "hexsha": "49775bde016824b7d6bc0dc527dd4d4e60c5aba0", "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 <stdlib.h> #include <math.h> #include <cblas.h> #include "../../runtime/pcp.h" #include "driver.h" static double random_double(void) { return (double) rand() / RAND_MAX; } static void usage(char *prog) { printf("Usage: %s n m b p q\n", prog); printf("\n"); printf("n: The...
{ "alphanum_fraction": 0.4944029851, "avg_line_length": 23.5974842767, "ext": "c", "hexsha": "cd0ee3e85da4fb6d5fe2d8ac9b19dbb7d5a1e738", "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 UTIL_GSL_CONVERTER_H #define UTIL_GSL_CONVERTER_H #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> namespace gsl { inline gsl_vector* convert_vec(const arma::vec & vector) { gsl_vector * gsl_vec = gsl_vector_alloc(vector.n_elem); #pragma omp parallel for for(arma::uword i=0; i<vector.n_elem; i++...
{ "alphanum_fraction": 0.679331307, "avg_line_length": 19.0724637681, "ext": "h", "hexsha": "f937109a9a9a76a517626e9e4637fe6f2f44059d", "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) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * 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 * * Un...
{ "alphanum_fraction": 0.6860158311, "avg_line_length": 40.26875, "ext": "h", "hexsha": "6ce1d1a3c461ee958418b9068f9f3cc9d2a285ab", "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": "e9c...
/* Authors: G. Jungman J. Scott (james.scott@lexifi.com) */ /* Implement Niederreiter base 2 generator. * See: * Bratley, Fox, Niederreiter, ACM Trans. Model. Comp. Sim. 2, 195 (1992) */ #include <config.h> #include <gsl/gsl_qrng.h> #include <gsl/gsl_rng.h> #include <assert.h> #define NIED2_BIT_CO...
{ "alphanum_fraction": 0.6107849965, "avg_line_length": 25.9715762274, "ext": "c", "hexsha": "4062f13ca7eee80719ec02f623dedc830264c2ad", "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 TTT_AUDIOCACHE_H #define TTT_AUDIOCACHE_H #include <SDL_mixer.h> #include <gsl/util> #include <vector> #include <memory> #include <string_view> namespace ttt { // A class for caching sounds and music. class AudioCache final { public: using SizeType = gsl::index; Mix_Music *loadMusic(std::string_vie...
{ "alphanum_fraction": 0.7447674419, "avg_line_length": 31.8518518519, "ext": "h", "hexsha": "2e3255a9a94dd85df33f6518254a2292de95ca56", "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_dsygst.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 d Tue Jan 7 11:44:59 2014 * **/ #includ...
{ "alphanum_fraction": 0.5118043845, "avg_line_length": 29.65, "ext": "c", "hexsha": "e4b2b0ba041c4b3e0c8a177c8ba1c28abf6bbdfb", "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": "bcc99c...
/** * Set of functions to handle object slitless background subtraction * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #include <unistd.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_sort_vector.h> #include <gsl/gsl_statistics.h> #in...
{ "alphanum_fraction": 0.5625435967, "avg_line_length": 28.6718918919, "ext": "c", "hexsha": "2f4b7a1a8c501e3bfc8e71fa869bad97d512a3ac", "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 "DelayLoadedModule.h" #include <gsl/gsl> namespace winlogo::pe_parser { namespace details { /** * This is an input iterator for iterating over the delay-loaded modules of the delay-load * directory. */ class DelayLoadDirectoryIterator { public: De...
{ "alphanum_fraction": 0.723742839, "avg_line_length": 25.7540983607, "ext": "h", "hexsha": "9d7da9e26a242eabd39719ff7638b2546e4b0a8b", "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:0...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.6522583779, "avg_line_length": 41.18, "ext": "h", "hexsha": "8f904ef9fd45bb38729dc2dc5eadc199c791b3ff", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:29:30.000...
/** * * @file qwrapper_cgemv_tile.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mark Gates * @date 2010-11-15 * @generated c Tue Jan 7 11:44:59 2014 * **/ #incl...
{ "alphanum_fraction": 0.5273675065, "avg_line_length": 37.9450549451, "ext": "c", "hexsha": "788dbabc9872eeb5c3125ae28e371bad74dfa375", "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 2012 Jesse Windle - jesse.windle@gmail.com // 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.5768485184, "avg_line_length": 32.2410714286, "ext": "h", "hexsha": "7f4e4d2325ee598eba308e62c0838fc9f64856cb", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-18T21:31:01.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-18T21:31:...
#include <pygsl/solver.h> #include <gsl/gsl_roots.h> const char * filename = __FILE__; PyObject *module = NULL; static const char root_f_type_name[] = "F-RootSolver"; static const char root_fdf_type_name[] = "FdF-RootSolver"; static const char root_f_root_doc[] = "Get the value of F"; static const char root_set_f_d...
{ "alphanum_fraction": 0.6100732138, "avg_line_length": 36.1735159817, "ext": "c", "hexsha": "5f29e10765bf97c63bf5c7096aefd9ca23eaa7f8", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:...
/****************************************************************************** (c) 2017 - 2019 Scientific Computation Research Center, Rensselaer Polytechnic Institute. All rights reserved. This work is open source software, licensed under the terms of the BSD license as described in the LICENSE file in ...
{ "alphanum_fraction": 0.6284837637, "avg_line_length": 31.0396825397, "ext": "h", "hexsha": "be42f64936537807b64c7740de6ff11ef2a6aa77", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2018-04-19T18:31:27.000Z", "max_forks_repo_forks_event_min_datetime": "2018-01-09T19:00:...
#include <sys/time.h> #include <cblas.h> #include "kadbg.h" #include "matrix.h" #include "kalas.h" #define MAX_BUF_SIZE 128*1024*1024 #define NUM_OF_STEPS 1024 void test_sgemm( KalasState *state) { int rowA, colA, rowB, colB, rowC, colC; Matrix *matA = NULL, *matB = NULL, *matC1 = NULL, *matC2 = NULL; float alpha...
{ "alphanum_fraction": 0.5595281976, "avg_line_length": 29.9779005525, "ext": "c", "hexsha": "f8a80572598dce504363cf8d5ad40acea8b8ae85", "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 linalg.h /// \brief Wrapper for including CBLAS and LAPACKE #ifndef LINALG_H #define LINALG_H #define LAPACK_DISABLE_NAN_CHECK #ifdef USE_MKL #include <mkl_cblas.h> #include <mkl_lapacke.h> #else // generic include #include <cblas.h> #include <lapacke.h> #endif #endif
{ "alphanum_fraction": 0.7335640138, "avg_line_length": 12.0416666667, "ext": "h", "hexsha": "c905c047ff1e4dfb86b30e0c496adf52029e0499", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-08-17T19:31:47.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-08T13:10:...
/* this program is in the public domain */ #include "bench-user.h" #include <math.h> #ifdef HAVE_GSL_GSL_VERSION_H #include <gsl/gsl_version.h> #endif static const char *mkvers(void) { #ifdef HAVE_GSL_GSL_VERSION_H return gsl_version; #else return "unknown" #endif } BEGIN_BENCH_DOC BENCH_DOC("name", NAME) ...
{ "alphanum_fraction": 0.653092006, "avg_line_length": 22.4745762712, "ext": "c", "hexsha": "2c4e1619d15f88069eeb19a7f0741e90e7e8b136", "lang": "C", "max_forks_count": 9, "max_forks_repo_forks_event_max_datetime": "2022-01-26T11:50:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-02T08:44:1...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "mersenne.h" #include <complex.h> #include <lapacke.h> #ifndef M_PI #define M_PI 3.14159265358979323846264338327 #endif /* Lattice size and dimensions */ #define NT 48 #define NX 6 #define ND 2 #define NDIRS (2*ND) #define TUP 0 #define XUP 1 #defi...
{ "alphanum_fraction": 0.5132989834, "avg_line_length": 20.6350574713, "ext": "c", "hexsha": "a2f0ed1db155fe0280a3d0f672a6d0aec3b7db4c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-07-18T10:21:16.000Z", "max_forks_repo_forks_event_min_datetime": "2019-07-18T10:21:...
/* This code derives from the R wavelets package and it is modified by Davide Albanese <albanese@fbk.it>. The Python interface is written by Davide Albanese <albanese@fbk.it>. (C) 2009 mlpy Developers. This program is free software: you can redistribute it and/or modify it under th...
{ "alphanum_fraction": 0.5466959843, "avg_line_length": 23.8044077135, "ext": "c", "hexsha": "03afb7a8f4cbc849c8e61b02f3c832fd22ee7004", "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 <string.h> #ifdef _MSC_VER /* identifies this as a Microsoft compiler */ #define _USE_MATH_DEFINES /* added RX2011 */ #endif #include <math.h> #include <time.h> #include <limits.h> #include <gsl/gsl_multimin.h> //#include "/Users/tischler/dev/GNU/include/gsl/gsl_multim...
{ "alphanum_fraction": 0.6159139785, "avg_line_length": 44.4976076555, "ext": "c", "hexsha": "eae7205bce48cc7a5caeafe76854a6322096eee4", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-21T17:48:28.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-21T17:48:...
// MIT License // // Copyright (c) 2020 SunnyCase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
{ "alphanum_fraction": 0.7572427572, "avg_line_length": 35.75, "ext": "h", "hexsha": "a4c2e8130c2ea694462fd0cbf6a1fee2735ac9c9", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2021-09-13T10:14:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-18T03:54:08.000Z...
#ifndef TEST_ALL #define TEST_ALL //#include <cblas.h> #include "test_matrix_util.h" #include "test_spn.h" int test_all(int result); #endif
{ "alphanum_fraction": 0.7361111111, "avg_line_length": 12, "ext": "h", "hexsha": "79d8595c6f9039f25cb9a04ae775d1d6ab7bd944", "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": "485345e73...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" void cblas_ssyr2k (const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N, const int K, const float alpha, const float *A, const int lda, const float *B, co...
{ "alphanum_fraction": 0.6600441501, "avg_line_length": 28.3125, "ext": "c", "hexsha": "2cbafb35756ca909b1c32cb468d4985380736039", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:16.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.6538753799, "avg_line_length": 25.8039215686, "ext": "c", "hexsha": "a25b8c09483d5e78e95914b2ad8e3f3e652f9c01", "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":...
/* * @Description : Phase Class store the information of a phase in a temperature period */ #ifndef PHASES_H #define PHASES_H #include <string> #include "VTypes.h" #include <gsl/gsl_spline.h> typedef std::vector<gsl_spline*> VSP; class Phase { private: static int NPhases; int key; // Phase ID int DimX;...
{ "alphanum_fraction": 0.6651469098, "avg_line_length": 32.9, "ext": "h", "hexsha": "20cfd909f1f6c71d0de28b0543ad361451e68b48", "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": "76bee39...
/** * \file include/shg/numalg.h * Numerical algorithms. */ #ifndef SHG_NUMALG_H #define SHG_NUMALG_H #include <functional> #include <limits> #include <stdexcept> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_min.h> #include <gsl/gsl_multimin.h> #include <shg/fcmp.h> #include <shg/matrix.h...
{ "alphanum_fraction": 0.6347133758, "avg_line_length": 30.1923076923, "ext": "h", "hexsha": "19a99c2b76aecdddc7d8de0ee96460c8897e86c3", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-08-18T12:35:22.000Z", "max_forks_repo_forks_event_min_datetime": "2015-05-21T04:14:...
/* randist/shuffle.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or...
{ "alphanum_fraction": 0.5450692286, "avg_line_length": 28.312, "ext": "c", "hexsha": "1e45420a9c0ad4302b765ebc4bd28e2e8b791708", "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:52.000...
/** @file */ #ifndef __CCL_CORE_H_INCLUDED__ #define __CCL_CORE_H_INCLUDED__ #include <stdbool.h> #include <stdio.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> CCL_BEGIN_DECLS /** * Struct containing the parameters defining a cosmology */ typedef struct ccl_parameters {...
{ "alphanum_fraction": 0.742875817, "avg_line_length": 32.6923076923, "ext": "h", "hexsha": "95931ac9334caaa481968a0ab4f593cc4166d32f", "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": ...
/* */ /* rt - retention time (predictor) v4.0.20160301 */ /* */ /*...
{ "alphanum_fraction": 0.5622380015, "avg_line_length": 41.7464285714, "ext": "c", "hexsha": "215da43b61368a858c1520e11857c4f57304986f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.6709244771, "avg_line_length": 31.472361809, "ext": "h", "hexsha": "a4445799968219ae1a57324b6ef9b680618e4112", "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:5...
#ifndef MCMC_AWAKE #define MCMC_AWAKE #include <stdarg.h> #include <gbpRNG.h> #include <gsl/gsl_linalg.h> #define MCMC_COVERAGE_LINEAR 0 #define MCMC_COVERAGE_LOG 1 #define MCMC_NAME_SIZE 256 #define MCMC_MODE_SERIAL 1 #define MCMC_MODE_PARALLEL 2 #define MCMC_MODE_AUTOTUNE 8 #define MCMC_MODE_NO_MAP_WRITE 16 #defin...
{ "alphanum_fraction": 0.5735195531, "avg_line_length": 36.5306122449, "ext": "h", "hexsha": "75197212881b70d1ea21a38d54f0963e6a64ced3", "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:...
/* C code for actionAngle calculations */ #ifndef __GALPY_ACTIONANGLE_H__ #define __GALPY_ACTIONANGLE_H__ #include <gsl/gsl_roots.h> #include <gsl/gsl_spline.h> #include "interp_2d.h" /* Macro for dealing with potentially unused variables due to OpenMP */ /* If we're not using GNU C, elide __attribute__ if it does...
{ "alphanum_fraction": 0.7362132353, "avg_line_length": 26.5365853659, "ext": "h", "hexsha": "a06f93f2df2279c66d90a17bf62b29232a8e4c25", "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 "ShaderCompiler.h" #include "BgfxCallback.h" #include <Babylon/JsRuntime.h> #include <Babylon/JsRuntimeScheduler.h> #include <GraphicsImpl.h> #include <NativeWindow.h> #include <napi/napi.h> #include <bgfx/bgfx.h> #include <bgfx/platform.h> #include <bimg/bimg.h> #include <bx/allocator.h> #...
{ "alphanum_fraction": 0.6135237385, "avg_line_length": 34.6254612546, "ext": "h", "hexsha": "a6170cc44ebc39bd7096566876eb43b70b8c62f8", "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":...