Search is not available for this dataset
text
string
meta
dict
/* * Copyright (c) 2011-2018 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2013 Inria. All rights reserved. * * @precisions normal z -> c d s * */ #include <cblas.h> #include "dplas...
{ "alphanum_fraction": 0.5121393887, "avg_line_length": 31.8272727273, "ext": "c", "hexsha": "bcb7596867b3ce8d75844e5735a379fc59821b75", "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":...
/* GStreamer * Copyright (C) <2005> Thomas Vander Stichele <thomas at apestaart dot org> * Copyright (C) <2006> Tim-Philipp Müller <tim centricular net> * * gstutils.c: Unit test for functions in gstutils * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lib...
{ "alphanum_fraction": 0.7175292499, "avg_line_length": 33.7866066967, "ext": "c", "hexsha": "18ba199b98dc6926def327925da14cbc18b194ab", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-10-21T01:33:56.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-26T08:40:...
#pragma once #include "Library.h" #include "Tile.h" #include "TileContentLoadResult.h" #include "TileContentLoader.h" #include "TileRefine.h" #include <gsl/span> #include <spdlog/fwd.h> #include <cstddef> #include <memory> #include <vector> namespace Cesium3DTilesSelection { class Tileset; /** * @brief Creates a...
{ "alphanum_fraction": 0.7178082192, "avg_line_length": 26.0714285714, "ext": "h", "hexsha": "5325ea3f42d0bd96a74fbabb0ebe0225fb3e77f5", "lang": "C", "max_forks_count": 66, "max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14...
/* blas/blas.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2009 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 Licen...
{ "alphanum_fraction": 0.5694730234, "avg_line_length": 26.1734367869, "ext": "c", "hexsha": "9ef62a6d768e1dd9fb65158a5560b5234d75e383", "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...
/* convolvedexponential.c -- model functions for multiple exponentials + background, convolved with an instrument response */ ///////////////////////////////////////////////////////////////////////////////// // // Calculation of multiple exponentials convolved with an instrument response. // using GNU Scientific L...
{ "alphanum_fraction": 0.6547338672, "avg_line_length": 28.4966442953, "ext": "c", "hexsha": "a0640196566162c58c9396ba69b5c0eac1e7d70d", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-10-31T07:28:06.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-04T18:52:...
/* 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.6567413851, "avg_line_length": 25.547008547, "ext": "c", "hexsha": "77d8716ebfc1f0b93c4c9f7145194ae4b75ffb17", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* specfunc/ellint.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your optio...
{ "alphanum_fraction": 0.5943910149, "avg_line_length": 30.283095723, "ext": "c", "hexsha": "88d63ad14d16c2ee09474988c71b6f32f9e9583f", "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...
/* * Author: Nicu Tofan * License: BSD * * See below for getRealTime() license. */ #include <cblas.h> #include <stdlib.h> #include <stdio.h> #define test_m 2 #define test_k 3 #define test_n 4 #define test_m_extra 5 #define test_k_extra 7 #define test_n_extra 8 #define test...
{ "alphanum_fraction": 0.4827890556, "avg_line_length": 30.5245641838, "ext": "c", "hexsha": "55d6f4817f331696acb7f539b6d720f2e7fedabb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file testing_sgels.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Bilel Hadri * @author Hatem Ltaief * @date 2010-11-15 * @generated s Tue Jan 7 11:45:18 2014 ...
{ "alphanum_fraction": 0.4868564392, "avg_line_length": 32.1354642314, "ext": "c", "hexsha": "d9d21ab934b10a7c2aace5abd2b20c911936cf08", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2008, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
{ "alphanum_fraction": 0.4067673879, "avg_line_length": 33.0744875178, "ext": "c", "hexsha": "378a03f3866742b7f244094ee66d7a35a92db141", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-02-08T00:11:00.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-08T00:11:...
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIM...
{ "alphanum_fraction": 0.6972767808, "avg_line_length": 37.6902777778, "ext": "h", "hexsha": "d298039c0ab8d05af26f5546d7405acd6bd75203", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-12-26T08:25:35.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-02T17:50:...
#pragma once #include <gsl\gsl> #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include "DrawableGameComponent.h" #include "MatrixHelper.h" #include "DirectionalLight.h" namespace Library { class ProxyModel; } namespace Rendering { class BlinnPhongMaterial; class BlinnPhongDemo final : public Library::...
{ "alphanum_fraction": 0.7738095238, "avg_line_length": 29.2727272727, "ext": "h", "hexsha": "356e99c1cbef0bfbc3b0bb53312dc5115f741af1", "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-2020 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 the Softw...
{ "alphanum_fraction": 0.7088499359, "avg_line_length": 31.0486725664, "ext": "h", "hexsha": "ad2513839fa0711a0e2cbb507cf621699eb03e43", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:...
/** * @file tracker.h * @brief Beamforming and speaker tracking with a spherical microphone array. * @author John McDonough */ #ifndef TRACKER_H #define TRACKER_H #include <stdio.h> #include <assert.h> #include <float.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <...
{ "alphanum_fraction": 0.744891598, "avg_line_length": 34.538277512, "ext": "h", "hexsha": "72401ef9452a39dd238d9993ac78a559611e8001", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33:3...
/* Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch, D. Strubbe This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This prog...
{ "alphanum_fraction": 0.5971563981, "avg_line_length": 27.2676923077, "ext": "c", "hexsha": "12d95987f26290c4f1860e03cd305fc8c96eea31", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-05-29T23:24:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-22T20:30:...
/* * Copyright 2019 Virtru Corporation * * SPDX - License Identifier: BSD-3-Clause-Clear * */ // // TDF SDK // // Created by Sujan Reddy on 2019/04/07. // #ifndef VIRTRU_BYTES_H #define VIRTRU_BYTES_H #include <gsl/span> #include <array> /// This provides a simple wrapper around gsl to work with bytes. namespace v...
{ "alphanum_fraction": 0.6434501845, "avg_line_length": 34.5957446809, "ext": "h", "hexsha": "6de72185fec91d21997ee77adc40a801a2c26f8b", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-09T18:40:47.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-09T18:40:...
// ******************** Functions for segSiteHMM #include "stdio.h" #include "math.h" #include "segSites.h" #include "../hmm/popGenTools.h" #include "../hmm/numerical.h" #include "assert.h" #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_int...
{ "alphanum_fraction": 0.6850853549, "avg_line_length": 30.5979381443, "ext": "c", "hexsha": "b74ef992c0720c4e0d1549a349cb5cb0cad94780", "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 "jfftw_complex_Plan.h" #include <fftw.h> /* * Class: jfftw_complex_Plan * Method: createPlan * Signature: (III)V */ JNIEXPORT void JNICALL Java_jfftw_complex_Plan_createPlan( JNIEnv *env, jobject obj, jint n, jint dir, jint flags ) { jclass clazz; jfieldID id; jbyteArray arr; unsigned char* car...
{ "alphanum_fraction": 0.6564765206, "avg_line_length": 32.3775510204, "ext": "c", "hexsha": "fc982c291de16efbb47a4526fa4dd0774d28da4a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-09T05:30:21.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-08T14:04:...
#include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include "../globals.h" #include "galaxy_cluster.h" #define NTABLE 256 #define GSL_SPLINE gsl_interp_cspline #define Zero 1 #define Infinity 1e25 struct HaloProperties Halo = { 0 }; void setup_GalaxyCluster() { Problem.Boxsize[0] = Problem.Boxsize[1]...
{ "alphanum_fraction": 0.6322081575, "avg_line_length": 22.21875, "ext": "c", "hexsha": "14a04a94584253be4ec13a45f7a28926283617ee", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-19T12:31:56.000Z", "max_forks_repo_forks_event_min_datetime": "2019-07-29T09:38:57.00...
#pragma once #include <cstddef> // std::byte #include <map> #include <memory> // std::align #include <memory_resource> #include <vector> #include <gsl-lite/gsl-lite.hpp> #include <cuda/runtime_api.hpp> namespace thrustshift { namespace pmr { //! Unified CUDA Memory Resource. Buffers cannet be deallocated partiall...
{ "alphanum_fraction": 0.6710115264, "avg_line_length": 27.9608433735, "ext": "h", "hexsha": "96dcce2c2459f61109d4eb01a27efb8e622e56c4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* specfunc/test_bessel.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your ...
{ "alphanum_fraction": 0.7132629992, "avg_line_length": 67.083728278, "ext": "c", "hexsha": "9aa8a2eb8cbc5cbe40d9a7113921d72b1b29db55", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:17...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_statistics_double.h> #include <math.h> #include <utilities.h> #include "tz_error.h" #include "tz_constant.h" #include "tz_voxel_linked_list.h" #include "tz_stack_sampling.h" #include "tz_voxel_graphics.h" #include "...
{ "alphanum_fraction": 0.6135867191, "avg_line_length": 24.3510638298, "ext": "c", "hexsha": "7a1f429361d5d8eb97d42bdc4475d9d0bd085d1f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ #ifndef VNMRFDIST_H #define VNMRFDIST_H #ifdef VNMR_GPL #include <gsl/gsl_cd...
{ "alphanum_fraction": 0.7280334728, "avg_line_length": 21.7272727273, "ext": "h", "hexsha": "4dfad9a76329038fbbb7e67f59ba764bf4fbd407", "lang": "C", "max_forks_count": 102, "max_forks_repo_forks_event_max_datetime": "2022-03-20T05:41:54.000Z", "max_forks_repo_forks_event_min_datetime": "2016-01-23T15:2...
#include "lah.h" #ifdef HAVE_LAPACK #include <lapacke.h> /* General Singular Value Decomposition*/ /* For now get all eigen values jobz ='A', * Can use this parameter later for truncated version */ lah_Return lah_SVD(lah_mat *A, lah_mat *U, lah_value *S, lah_mat *Vt) { lapack_int res; if (A == NULL || ...
{ "alphanum_fraction": 0.5528455285, "avg_line_length": 25.2307692308, "ext": "c", "hexsha": "ecca6e6489c366e3c9e3d1f63b9d3c7f01d47f4c", "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":...
// lasp_math_raw.h // // Author: J.A. de Jong - ASCEE // // Description: Raw math routines working on raw arrays of floats and // complex numbers. ////////////////////////////////////////////////////////////////////// #pragma once #ifndef LASP_MATH_RAW_H #define LASP_MATH_RAW_H #include "lasp_assert.h" #include "lasp_t...
{ "alphanum_fraction": 0.5997158586, "avg_line_length": 22.8438133874, "ext": "h", "hexsha": "c707cd73a39e59957811c526f1e90104c445a839", "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":...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2020 Rokko Developers https://github.com/t-sakashita/rokko * * Distributed under the Boost Software License, Version 1.0. (See accompanying * fi...
{ "alphanum_fraction": 0.6780185759, "avg_line_length": 46.6555555556, "ext": "h", "hexsha": "731252d5dcefb1e757ba76fca33d8ca2c3715e3a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-01T07:10:01.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-16T04:22:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_sf_legendre.h> #include "ccl.h" /*--------ROUTINE: taper_cl ------ TASK:n Ap...
{ "alphanum_fraction": 0.6458838359, "avg_line_length": 31.3465045593, "ext": "c", "hexsha": "5036bcccac4c509bd963a36406436666c2fb1d3f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* randist/gausstail.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, ...
{ "alphanum_fraction": 0.6088755171, "avg_line_length": 24.6203703704, "ext": "c", "hexsha": "e7c9ced79eabe7ba2af2c490961dfc4ee5e2155c", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#pragma once #include "schedule.h" #include <gsl/gsl-lite.hpp> #include <range/v3/view/span.hpp> #include <vector> namespace angonoka::stun { using ranges::span; struct ScheduleParams; /** Makespan estimator. Further reading: https://en.wikipedia.org/wiki/Makespan */ class Makespan { public: /** ...
{ "alphanum_fraction": 0.6496649293, "avg_line_length": 21.837398374, "ext": "h", "hexsha": "77ee1df083bde3ac502efa51c706bc211f50517a", "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 "parmt_invert.h" #ifdef PARMT_USE_INTEL #include <mkl_lapacke.h> #include <mkl_cblas.h> #else #include <lapacke.h> #include <cblas.h> #endif #include "parmt_utils.h" #include "iscl/array/array.h" #include "iscl/linalg/linalg.h" #include "iscl/memory/me...
{ "alphanum_fraction": 0.500536152, "avg_line_length": 36.0662983425, "ext": "c", "hexsha": "ac799db7002b78c66a0cd485377e59280e2e9cdb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2018 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 * * ...
{ "alphanum_fraction": 0.6325388227, "avg_line_length": 30.5966850829, "ext": "h", "hexsha": "65411a35922f61eb62ca982521350de19b3d5182", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-12-29T07:07:27.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-29T07:07:...
#pragma once /**************************************************************************** * * nc.h * ($\nativecoin-cpp\src) * * by icedac * ***/ #ifndef ___NATIVECOIN__NATIVECOIN__NC_H_ #define ___NATIVECOIN__NATIVECOIN__NC_H_ #include <string> #include <vector> #include <unordered_map> ...
{ "alphanum_fraction": 0.5464306442, "avg_line_length": 25.9097744361, "ext": "h", "hexsha": "e22963c02f96538f0a6f6173866f8371808a83b9", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C code for structures representing a waveform as a list of modes in amplitude/phase form. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <st...
{ "alphanum_fraction": 0.6835128043, "avg_line_length": 33.0868263473, "ext": "c", "hexsha": "c7ada6c74937a020e68bf69785c32ff6be36c170", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:...
/* * 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. * * Written (W) 1999-2009 Soeren Sonnenburg * Written (W) 1999...
{ "alphanum_fraction": 0.6741684923, "avg_line_length": 42.1932773109, "ext": "h", "hexsha": "ca42a6c28c52cc9fddcc67123e506d6a2287f65c", "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.6379645373, "avg_line_length": 31.9147286822, "ext": "h", "hexsha": "dbe2e5b2bba39c7b5aed4e3c1306a0086e685fc6", "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...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 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 * * ...
{ "alphanum_fraction": 0.6689829438, "avg_line_length": 29.8679245283, "ext": "h", "hexsha": "05e0411383881b8282af0918397910182a445689", "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":...
/** * Various binning and weighting routines for aperture pixel tables. * */ #include <math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include "spc_trace_functions.h" #include "aXe_utils.h" #include "aXe_grism.h" #include "spc_spc.h" #include "spc_driz.h" #include "aper_conf.h" #include "spce_outp...
{ "alphanum_fraction": 0.6643061878, "avg_line_length": 25.824383164, "ext": "c", "hexsha": "0e52925f417ac4e7db28d55b77bf3ce4ef26b283", "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_matrix.h> #include <gsl/gsl_vector.h> #ifndef JROBINSON_H #define JROBINSON_H #define JROBINSON_EPS (0.0000001) int jrobinson( const gsl_matrix *A, double epsilon, gsl_vector *p1, gsl_vector *p2, int &iter ); #endif
{ "alphanum_fraction": 0.756302521, "avg_line_length": 19.8333333333, "ext": "h", "hexsha": "2744b3e2c6a72401d71729d79390a49bb1a369d6", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2021-05-16T10:15:49.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-31T13:01:2...
#include <math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_eigen.h> #include "klp_matrix_initializers.h" #include "klp_matrix_functions.h" #include "shared/constants.h" TRANSITION_MATRIX transpose_matrix(TRANSITION_MATRIX matrix) { int i, j; TRANSITION_MATRIX transposed_matrix = init_transition_matrix(matrix....
{ "alphanum_fraction": 0.6704335978, "avg_line_length": 33.3609625668, "ext": "c", "hexsha": "d969dc181a115622f3aa75e4af053101dc3a68f9", "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 "ui_MaterialVisualizationWidget.h" #include <mitkDataNode.h> #include <vtkDataObject.h> #include <array> #include <gsl.h> namespace mitk { class DataNode; class TransferFunction; } /*! \brief A widget for editing transfer function. */ class MaterialVisualizationWidget : public QWidget { ...
{ "alphanum_fraction": 0.6994780015, "avg_line_length": 36.7397260274, "ext": "h", "hexsha": "d23b6059482cac12463a847355bb5c57f6b3682d", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:...
#include <stdlib.h> #include <math.h> #include <complex.h> #include <fftw3.h> #include <gsl/gsl_sf_result.h> #include <gsl/gsl_sf_gamma.h> #include "ccl.h" /**************************************************************** This is the famous FFTLog. First imlplemented by the living legend Andrew Hamilton: http://...
{ "alphanum_fraction": 0.5586073501, "avg_line_length": 27.7956989247, "ext": "c", "hexsha": "8a6e1539917d3b71953c80e36d1372d4fe9678e8", "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<time.h> #include <gsl/gsl_blas.h> double epsl = 0.01; typedef struct { double x, y, z; } position; typedef struct _vertex { position pos; gsl_matrix_view *C; struct _vertex *p,*l,*r; } vertex; void usage(char *exec...
{ "alphanum_fraction": 0.4195577926, "avg_line_length": 28.6260720412, "ext": "c", "hexsha": "e3b9850935fbdbb344b3e9a99e38be4e3ca00816", "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_poly.h> int main(void) { /* coefficients of f(x) = -1 + x^5 */ double a[6] = {-1, 0, 0, 0, 0, 1}; printf("x = %f\n", gsl_poly_eval(a, 6, 3.0)); return 0; } // int main(void) { // int i; // /* coefficients of P(x) = -1 + x^5 */ // double a[6] = {-1, ...
{ "alphanum_fraction": 0.4931087289, "avg_line_length": 27.2083333333, "ext": "c", "hexsha": "14655abcee54b2d6fcf000fda7665ce6f923be6a", "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 TOPICH #define TOPICH #include <gsl/gsl_vector.h> #include <math.h> #include "utils.h" #include "typedefs.h" #include "hyperparameter.h" #define MH_ETA_STDEV 0.005 #define MH_GAM_STDEV 0.005 /* === topic methods === */ /* * update the count of a word in a topic * */ void topic_update_word(topic* t, int ...
{ "alphanum_fraction": 0.6752864157, "avg_line_length": 17.3579545455, "ext": "h", "hexsha": "03010431540e07c4fcab238456b2d57cc0085a10", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright [2020] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
{ "alphanum_fraction": 0.7219945355, "avg_line_length": 32.8988764045, "ext": "h", "hexsha": "9936d4a8658cda5c3498d483db77514acc2ae76c", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30...
#ifndef SDCA_MATH_BLAS_H #define SDCA_MATH_BLAS_H #if defined(BLAS_MKL) //#include <mkl.h> // produces warnings with -pedantic #include <mkl_cblas.h> #elif defined(BLAS_ACCELERATE) #include <Accelerate/Accelerate.h> #elif defined(BLAS_MATLAB) #include <cstddef> typedef std::ptrdiff_t ptrdiff_t; // Matlab's b...
{ "alphanum_fraction": 0.6372209997, "avg_line_length": 22.7214285714, "ext": "h", "hexsha": "40a9606977a6174ec632ada17e91583ff7db122d", "lang": "C", "max_forks_count": 17, "max_forks_repo_forks_event_max_datetime": "2022-01-11T06:55:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-26T04:23...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" void cblas_sgbmv (const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const float alpha, const float *A, const int lda, const float *X, const...
{ "alphanum_fraction": 0.6796338673, "avg_line_length": 29.1333333333, "ext": "c", "hexsha": "9f2fc7dcc5d4530374a210d5bccccc9317c296fb", "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 <stdarg.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpRNG.h> #include <gbpMCMC.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_interp.h> void free_MCMC(MCMC_info *MCMC) { int i_P, i_DS; int i_array; MCMC_D...
{ "alphanum_fraction": 0.6415224913, "avg_line_length": 26.2727272727, "ext": "c", "hexsha": "1bb02e7e83bc55ae1d5c16de8724b79023280c06", "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:...
/* eigen/gensymm.c * * Copyright (C) 2007 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * ...
{ "alphanum_fraction": 0.6408748392, "avg_line_length": 25.4252336449, "ext": "c", "hexsha": "112dd1f7e47b1a04d35ce2dc5860c9e0d30b2fcf", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#pragma once #include <gsl/span> #include <cstddef> namespace imageview { // Implementation of the PixelFormat concept for the 8-bit grayscale pixel // format. class PixelFormatGrayscale8 { public: using color_type = unsigned char; static constexpr int kBytesPerPixel = 1; constexpr color_type read(gsl::span...
{ "alphanum_fraction": 0.7553444181, "avg_line_length": 27.1612903226, "ext": "h", "hexsha": "c7fa95940211594cfbe2cc3a94e7f4ac46a8f389", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// Copyright Jean Pierre Cimalando 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "keystate.h" #include "instruments/synth_fx.h" #include <gsl/gsl> #include <string> ...
{ "alphanum_fraction": 0.6800445931, "avg_line_length": 25.6285714286, "ext": "h", "hexsha": "cefb5ec58b9ad723ed0af7629f245b6729b396f5", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:...
/* * MIT License * * Copyright (c) 2017 Intel Corporation * * 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...
{ "alphanum_fraction": 0.6490825688, "avg_line_length": 29.9215686275, "ext": "h", "hexsha": "9a61ed2cc1e5572d180d5ec5f6c3b779cabc70a1", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-03-19T15:17:54.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-17T06:51:...
#include "benchmark.hpp" #include <lapacke.h> int svd(double *A, int m, int n, double *U, double *s, double *V_t) { const int lda = n; const int ldu = m; const int ldvt = n; const char jobu = 'A'; const char jobvt = 'A'; const int superb_size = (m < n) ? m : n; double *superb = malloc(sizeof(double) * (s...
{ "alphanum_fraction": 0.3949175824, "avg_line_length": 26.4727272727, "ext": "c", "hexsha": "5768f1c4311ae3b6867bc7116839f54a0c9f4836", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-10-22T03:19:44.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-12T05:10:...
/* err/strerror.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * ...
{ "alphanum_fraction": 0.6878680801, "avg_line_length": 33.2941176471, "ext": "c", "hexsha": "49f57c04f05aa3b20b13a34e4f2eac1fb9d51602", "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 <lapacke.h> #include <stdio.h> /* Auxiliary routine: printing a matrix */ void print_matrix_rowmajor( char* desc, lapack_int m, lapack_int n, double* mat, lapack_int ldm ) { lapack_int i, j; printf( "\n %s\n", desc ); for( i = 0; i < m; i++ ) { for( j = 0; j < n; j++ )...
{ "alphanum_fraction": 0.5029354207, "avg_line_length": 30.0588235294, "ext": "c", "hexsha": "9b72eb620932a91c111fafab22bd8d8fba47f98f", "lang": "C", "max_forks_count": 1564, "max_forks_repo_forks_event_max_datetime": "2022-03-30T07:12:54.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-01T01:...
/* fft/hc_main.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 ...
{ "alphanum_fraction": 0.5270064663, "avg_line_length": 27.8201058201, "ext": "c", "hexsha": "591acd42eb834506934b0b43895cf2a46643308f", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/** * * @file core_dparfb.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 Dulceneia Becker * @date 2011-06-14 * @generated d Tue Jan 7 11:44:48 2014 * **/ #ifdef USE_MKL...
{ "alphanum_fraction": 0.4277790104, "avg_line_length": 31.1903114187, "ext": "c", "hexsha": "c87003d425abc53ecfd95afca3a935ca20fc257c", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2021-01-21T11:17:28.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-22T18:44:...
/* -*- 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 * * ...
{ "alphanum_fraction": 0.6615097359, "avg_line_length": 29.0620155039, "ext": "h", "hexsha": "2e72bb5938f049b43078c436c318ef8a465fb23f", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-06T09:20:15.000Z", "max_forks_repo_forks_event_min_datetime": "2019-10-11T14:00:...
#ifndef PCH_H #define PCH_H #define ISOLATION_AWARE_ENABLED 1 /* Only put files that never change or are rarely changed in this file. An include graph will be provided for some headers that were not explicit added. VC++ is a requirement. We don't care about warnings for library files. */ #pragma warn...
{ "alphanum_fraction": 0.7475825275, "avg_line_length": 28.5619047619, "ext": "h", "hexsha": "02ed11f3ecaa8f96ed8b43c1127a81003a10a881", "lang": "C", "max_forks_count": 17, "max_forks_repo_forks_event_max_datetime": "2022-03-04T08:49:03.000Z", "max_forks_repo_forks_event_min_datetime": "2018-04-17T16:09...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_errno.h> #include "ccl.h" /*----- ROUTINE: dc_NakamuraSuto ----- INPUT: cosmology, scale factor TASK: Computes the peak threshold: d...
{ "alphanum_fraction": 0.6098301809, "avg_line_length": 33.0730593607, "ext": "c", "hexsha": "47fac82ba3738ff586f1c3e711528bf571b6469f", "lang": "C", "max_forks_count": 54, "max_forks_repo_forks_event_max_datetime": "2022-02-06T13:12:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-12T13:08...
#ifndef S3D_CV_UTILITIES_CV_H #define S3D_CV_UTILITIES_CV_H #include "s3d/image/image.h" #include "s3d/utilities/random_color_generator.h" #include "s3d/video/video_frame.h" #include "s3d/video/video_types.h" #include "s3d/utilities/eigen.h" #include <opencv/cxeigen.hpp> #include <opencv2/opencv.hpp> #include <cstdi...
{ "alphanum_fraction": 0.6171326591, "avg_line_length": 33.0905511811, "ext": "h", "hexsha": "eb1cc14ee51c964683a1358401652a390d9fe1ef", "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:...
/** * VGMTrans (c) - 2002-2021 * Licensed under the zlib license * See the included LICENSE for more information */ #pragma once #include <vector> #include <fluidsynth.h> #include <gsl-lite.hpp> #include <QObject> #include <QString> class VGMColl; class MusicPlayer : public QObject { Q_OBJECT public: static...
{ "alphanum_fraction": 0.6789772727, "avg_line_length": 23.6638655462, "ext": "h", "hexsha": "9890c3199c7cc0ca6de8ee326c1bbc5099af98f0", "lang": "C", "max_forks_count": 105, "max_forks_repo_forks_event_max_datetime": "2022-03-26T14:16:42.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-07T12:2...
/* cheb/integ.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 option) an...
{ "alphanum_fraction": 0.6216802168, "avg_line_length": 27.9545454545, "ext": "c", "hexsha": "7720563080dde1b7f74315ab1bd1ee3ba93089f3", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#include <stdlib.h> #include <stdio.h> #include "linterp.h" #include "qspline.h" #include "cspline.h" #include <gsl/gsl_spline.h> #define NUM_DATAPOINTS 9 /** Read a txt file with two columns seperated by tab and read all the items * into the arrays x and y. **/ void read_data(double *x, double *y){ FILE *i...
{ "alphanum_fraction": 0.616710013, "avg_line_length": 29.5769230769, "ext": "c", "hexsha": "632e773c55ada69f7d78c1d39ce08ac379e9dd58", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
{ "alphanum_fraction": 0.6226023476, "avg_line_length": 29.2914046122, "ext": "c", "hexsha": "fa1abac42f7e74b4c14c5618364288576d2ecd9d", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:...
// A rectangular block of data of type uint8_t. A transparent block // cache is used for each instance of this class if necessary, so the // image can be much bigger than will fit in memory, and pixels can // still be accessed and written efficiently, provided subsequent // accesses are spatially correlated. A variet...
{ "alphanum_fraction": 0.6859852476, "avg_line_length": 41.5460829493, "ext": "h", "hexsha": "4bf7817108e59c08f3972f62e4eb8b6f3ddd2710", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
#include <math.h> #include <stdlib.h> #include <gsl/gsl_integration.h> //#include <stdio.h> double f(double d, void* fdata){ double * double_fdata = (double*) fdata; double par_obs = double_fdata[0]; double var_par = double_fdata[1]; double DM = double_fdata[2]; double var_DM = double_fdata[3]; ...
{ "alphanum_fraction": 0.652173913, "avg_line_length": 29.5714285714, "ext": "c", "hexsha": "39a501157c9988963fe9b843ae8d77d45887f03e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-07-12T10:58:47.000Z", "max_forks_repo_forks_event_min_datetime": "2018-07-12T10:58:4...
/* 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.6921870097, "avg_line_length": 30.6442307692, "ext": "h", "hexsha": "9e9b01811c894308dfa7e8791f0df251ec220c8c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-07T19:35:16.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-07T19:35:...
/* rng/ranmar.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * you...
{ "alphanum_fraction": 0.6166226913, "avg_line_length": 21.7816091954, "ext": "c", "hexsha": "81c1f1e4e665b30aa055e0cca4dd58c7d4edef00", "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:...
/* linalg/tridiag.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2004 Gerard Jungman, * Brian Gough, David Necas * * 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.4900990099, "avg_line_length": 27.1019677996, "ext": "c", "hexsha": "485fdcbbbcc4be188d7a9319a52437c4b660d2c3", "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...
/* * author: Achim Gaedke * created: January 2002 * file: pygsl/src/multiminmodule.c * $Id: multimin.c,v 1.6 2008/10/25 20:45:04 schnizer Exp $ */ #include <pygsl/solver.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_multimin.h> #include "multiminmodule_doc.h" const char * filename = __FILE__; PyObject *modul...
{ "alphanum_fraction": 0.6235346656, "avg_line_length": 33.2356215213, "ext": "c", "hexsha": "c6694fc7752b83bc770296a17cd587e43da933a6", "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:...
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above cop...
{ "alphanum_fraction": 0.6783171521, "avg_line_length": 30.5940594059, "ext": "c", "hexsha": "76c00d3a72dee489b56e2cf83a59d10fa3d08f0d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <petsc.h> int main(int argc, char **argv) { PetscErrorCode ierr; PetscMPIInt rank; PetscInt i; PetscReal localval, globalsum; PetscReal x = 1; // default value ierr = PetscInitialize(&argc, &argv, NULL, "Compute e in parallel with P...
{ "alphanum_fraction": 0.538047138, "avg_line_length": 35.3571428571, "ext": "c", "hexsha": "bd0bfbda11beb96af26922d2744f7dfd30783399", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* ** gsl routines for double data type ** ** G.Lohmann, July 2004 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_linalg.h> #define dvset gsl_vector_set #define dvget gsl_vector_get #define dmset gs...
{ "alphanum_fraction": 0.5188379483, "avg_line_length": 16.0802919708, "ext": "c", "hexsha": "2229bc8c631a8e63aabc6d78fe5398701010c167", "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:...
/* hyper.c */ #include <stdlib.h> #include <stdio.h> #include <gsl/gsl_sf_psi.h> static double update_hyper(double param, int *vec, int **mat, int nrow, int ncol){ double numer = 0.0; double denom = 0.0; int i, j; for(i = 0;i < nrow;i++) for(j = 0;j < ncol;j++) numer += gsl...
{ "alphanum_fraction": 0.5662068966, "avg_line_length": 30.2083333333, "ext": "c", "hexsha": "d11d6da776d3034c53c99cb8fb9a612d06345fb3", "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":...
// build commmand: // gcc -c test_fresnel.c -O2 -std=c99 -I../LISAsim -I/opt/local/include // gcc -o test_fresnel test_fresnel.o struct.o ../LISAsim/LISAnoise.o -lgsl -lgslcblas #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_bspline.h> #includ...
{ "alphanum_fraction": 0.647146489, "avg_line_length": 36.2126984127, "ext": "c", "hexsha": "ca11e57d858ee3c7e4e627206d845c23e0ff3e5a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-07-20T02:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2018-09-20T14:19:1...
/** * \file Component.h */ #ifndef ATK_MODELLING_COMPONENT_H #define ATK_MODELLING_COMPONENT_H #include <ATK/Modelling/config.h> #include <ATK/Modelling/Types.h> #include <gsl/gsl> #include <Eigen/Eigen> #include <tuple> #include <vector> namespace ATK { template<typename DataType_> class DynamicModellerFil...
{ "alphanum_fraction": 0.6894164194, "avg_line_length": 31.3488372093, "ext": "h", "hexsha": "71365aae37947dd2d98b5f4be3f455aba4d0e8fb", "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 <iostream> #include <vector> #include <stdio.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <time.h> #include <math.h> //#include <C:/Program Files (x86)/Intel/Composer XE/compiler/include/cilk/cilk.h> #ifndef _HEART_H #define _HEART_H class heart { private: int L; //sytem...
{ "alphanum_fraction": 0.606398135, "avg_line_length": 28.3860294118, "ext": "h", "hexsha": "a6887fe400314672933bcec1baed2d7ae05abddd", "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 <php.h> #include <Zend/zend_interfaces.h> #include <Zend/zend_exceptions.h> #include <ext/spl/spl_iterators.h> #include <ext/spl/spl_exceptions.h> #include <cblas.h> #include <Interop/Polite/Math/Matrix.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php_rindow_openblas.h" static zend_object_h...
{ "alphanum_fraction": 0.6425979733, "avg_line_length": 32.8164136622, "ext": "c", "hexsha": "b29deacae898fcd57f2996bc02863d2c5d0fbed6", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-08-11T19:59:53.000Z", "max_forks_repo_forks_event_min_datetime": "2021-08-11T19:59:...
#ifndef MATHLAB_H #define MATHLAB_H #define USE_MKL 0 #define USE_OPENBLAS 1 #if USE_MKL #include <mkl.h> #elif USE_OPENBLAS #include <cblas.h> #endif #endif
{ "alphanum_fraction": 0.7530864198, "avg_line_length": 10.8, "ext": "h", "hexsha": "82bd28ae1a1a865ce6c691b925d0f195bea00b48", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2018-05-29T23:56:17.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-18T06:09:03.000Z",...
/** * Finite element method solver. This solver solves laplace(u) = 6 on square * [0, 1]x[0, 1]. Boundary conditions are set to be 1 + x^2 + 2y^2. * * Exact solution of this problem is 1 + x^2 + 2y^2. We will test against this * solution in the end. * */ #include <stdio.h> #include <stdlib.h> #include <string.h...
{ "alphanum_fraction": 0.5675359607, "avg_line_length": 35.0450819672, "ext": "c", "hexsha": "9961bb725ae4bc29648e9f3e59720b28fb921edc", "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 "sweeny_dc.h" #include <gsl/gsl_rng.h> #include <math.h> #include "../src/dyncon.h" #include <ctype.h> #define MIN(a,b) a<=b ? a: b #define MAX(a,b) a>=b? a:b static char verbose = 0; static char equilibration=1; static char setup=0; static __u32 DX; static __u32 seed; static __u32 cutof...
{ "alphanum_fraction": 0.4621621622, "avg_line_length": 27.8034682081, "ext": "c", "hexsha": "a7b925bdeea833868cda6bb87ecfa72b8e087d8c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2017-04-10T14:18:57.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-10T14:18:...
/** * @file testmatmultc.c * @author Jeff Daily, PNNL jeff.daily@pnl.gov * * This is the C version of testmatmul.F. The port was as direct as possible, * hopefully. */ #if HAVE_CONFIG_H # include "config.h" #endif #include <math.h> #include <stdlib.h> #if defined(USE_ELEMENTAL) #include <cblas.h> #include "...
{ "alphanum_fraction": 0.5318487098, "avg_line_length": 26.0977859779, "ext": "c", "hexsha": "43eb24569f5d5667f978d22e6a680b8efc173be5", "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 example_dpotrf.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @brief Example of Cholesky factorization * * @version 2.6.0 * @author Bilel Hadri * @date 2010-11-15 * @generated d Tu...
{ "alphanum_fraction": 0.6120906801, "avg_line_length": 26.6890756303, "ext": "c", "hexsha": "f774bc16b235b413ad386abbbe9c969e5576df17", "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_fit.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_movstat.h> #include <gsl/gsl_vector.h> #include <cstdlib> #include "DataFrame.h" #include "Ops.h" namespace adsl { // Evaluate the result of a fit at a given point based on the DataFrame description // double <- DataFrame /* a...
{ "alphanum_fraction": 0.6141390205, "avg_line_length": 25.5757575758, "ext": "h", "hexsha": "dc869e308039c4a19f10d5ceed6a10b1097eb558", "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 bblas_ztesting.c * * @brief BBLAS testing for double _Complex routines. * * BBLAS is a software package provided by Univ. of Manchester, * Univ. of Tennessee. * * @version 1.0.0 * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-02-20 * */ #ifnd...
{ "alphanum_fraction": 0.6192969189, "avg_line_length": 25.0841439689, "ext": "c", "hexsha": "17e183abdde810a384d7767994f1f20fc2ee3aa6", "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":...
//===--- Sudoku/Solver_set_option.h ---===// // // Helper functions //===----------------------------------------------------------------------===// #pragma once #include "Board.h" #include "Location.h" #include "Location_Utilities.h" // is_same_* #include "Options.h" #include "Size...
{ "alphanum_fraction": 0.6644897959, "avg_line_length": 27.6315789474, "ext": "h", "hexsha": "ea1e0c04f7e6ad66b45e0634626b5d5bb721dc90", "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":...
/* histogram/test2d_resample.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 * you...
{ "alphanum_fraction": 0.5995732575, "avg_line_length": 23.8305084746, "ext": "c", "hexsha": "480cce96aaa802898e817acd09261d8e57479b2f", "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:...
/* linalg/luc.c * * Copyright (C) 2001, 2007, 2009 Brian Gough * Copyright (C) 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 (...
{ "alphanum_fraction": 0.5952726127, "avg_line_length": 26.4416666667, "ext": "c", "hexsha": "90b74a8c4960b63ab17c911404977736486be68b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* linalg/test_luc.c * * Copyright (C) 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. * ...
{ "alphanum_fraction": 0.6398314735, "avg_line_length": 30.1786941581, "ext": "c", "hexsha": "160e2004f0a1b74bda1521ddbfb24aaa7d29400e", "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_blas.h> #include <gsl/gsl_matrix.h> #include <time.h> #define N_OF_RUNS 10 #define RUSAGE_DIFF(r1, r2) \ ((double) ((r1).tv_sec - (r2).tv_sec) + (double) ((r1).tv_nsec - (r2).tv_nsec)/(double)1E9) gsl_vector* random_vector(size_t); gsl_matrix* random_matrix(size_t); double* d...
{ "alphanum_fraction": 0.6339488176, "avg_line_length": 30.2647058824, "ext": "c", "hexsha": "ff739ad259c792cded94e7cbfb8e881f50297a76", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-12-13T10:05:17.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-13T10:05:...
#pragma once #include "Graphics/BufferObject.h" #include "Graphics/GraphicsResource.h" #include "Math/Bounds.h" #include <glad/gl.h> #include <glm/glm.hpp> #include <gsl/span> #include <vector> struct DrawingContext; template<typename T> struct MeshAttributeData { gsl::span<T> values; GLint valueSize = 0; };...
{ "alphanum_fraction": 0.7308302485, "avg_line_length": 20.1170212766, "ext": "h", "hexsha": "d7e40e06d651105ad21b4c2b63dc9df628cc8250", "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_vector.h> #include <gsl/gsl_matrix.h> #include "aXe_grism.h" #include <math.h> #include <string.h> #include <ctype.h> #include "drz2pet_utils.h" /** * Function: make_spc_drztable * The function generates and fills an ap_pixel vector for one * drizzled 2D grism image. * * Parameters: * ...
{ "alphanum_fraction": 0.5775385076, "avg_line_length": 30.6743119266, "ext": "c", "hexsha": "63ee97c3d846a2ade893e749c03b008950b32e35", "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":...
/// based on https://mklimenko.github.io/english/2018/06/04/constexpr-random/ #pragma once #include <atomic> #include <cstdint> #include <gsl/gsl> #include <limits> #include <random> #include "HyperionUtils/Concepts.h" namespace hyperion::math { using gsl::narrow_cast; #ifndef _MSC_VER using std::size_t; #endif //...
{ "alphanum_fraction": 0.7282229965, "avg_line_length": 32.6962025316, "ext": "h", "hexsha": "840d8e553fe4f6c20abd26a21a7b3122276ba3f3", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above cop...
{ "alphanum_fraction": 0.7042774159, "avg_line_length": 37.8733333333, "ext": "h", "hexsha": "784f8a4a698939d7eed6df1ba29896ca34cb4c36", "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 TOPO_SL_H #define TOPO_SL_H #include <assert.h> #include <vector> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_spmatrix.h> #include <gsl/gsl_splinalg.h> #include <apf.h> #include <apfMDS.h> #include <apfMesh.h> #include <apf...
{ "alphanum_fraction": 0.6670321637, "avg_line_length": 22.6115702479, "ext": "h", "hexsha": "1e3de8db16e1477610415da8c74352da799979dd", "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":...
/* ---------------------------------------------------------------------------- JAM_AXI_RMS_WMMT Calculates weighted second moment. INPUTS xp : projected x' [pc] yp : projected y' [pc] nxy : number of x' and y' values given incl : inclination [radians] lum : ...
{ "alphanum_fraction": 0.5322151225, "avg_line_length": 28.2406015038, "ext": "c", "hexsha": "8fea4889c156aec82be9ecde0ffa2167a211c8b1", "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 MODULE_WASM_TABLE_H #define MODULE_WASM_TABLE_H #include "function/TableFunction.h" #include <gsl/span> namespace wasm { struct WasmTable { using wasm_external_kind_type = parse::Table; using any_function_type = std::optional< gsl::span<any_function_type> get_segment(std::size_t offset, std::size_t len...
{ "alphanum_fraction": 0.71692607, "avg_line_length": 24.4761904762, "ext": "h", "hexsha": "76a30b50566578c0361d7ee21d9ed1edb9810bfc", "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 objective_measure.h * @brief objective measure for speech quality or distance * @author Kenichi Kumatani */ #ifndef OBJECTIVE_MEASURE_H #define OBJECTIVE_MEASURE_H #include <stdio.h> #include <assert.h> #include <float.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matri...
{ "alphanum_fraction": 0.7194127243, "avg_line_length": 24.1973684211, "ext": "h", "hexsha": "5521f7b5f463af998411b75cba4c20470b66f417", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
#include <pygsl/error_helpers.h> #include <pygsl/utils.h> #include <gsl/gsl_errno.h> #include <compile.h> #include <frameobject.h> enum handleflag { HANDLE_ERROR = 0, HANDLE_WARNING }; static int PyGSL_internal_error_handler(const char *reason, /* name of function*/ const char *file, /*from CPP*/ ...
{ "alphanum_fraction": 0.6277049312, "avg_line_length": 26.1705263158, "ext": "c", "hexsha": "973f3902bf6318b86e3ee4e05382314c188fc8b0", "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:...