Search is not available for this dataset
text
string
meta
dict
///////////////////////////////////////////////////////////////////// // = NMatrix // // A linear algebra library for scientific computation in Ruby. // NMatrix is part of SciRuby. // // NMatrix was originally inspired by and derived from NArray, by // Masahiro Tanaka: http://narray.rubyforge.org // // == Copyright Inf...
{ "alphanum_fraction": 0.5555370801, "avg_line_length": 27.9720930233, "ext": "h", "hexsha": "88d3f3c513b2a528f11fd8963e30bec1465d3cfa", "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 <iterator> #include <cstddef> #include <gsl/gsl> namespace dr { /// \brief round `s` up to the nearest multiple of n template<typename T> T round_up(T s, unsigned int n) { return ((s + n - 1) / n) * n; } template<typename T, typename Allocator = std::allocator<T>> struct gap_...
{ "alphanum_fraction": 0.6386515816, "avg_line_length": 26.9424572317, "ext": "h", "hexsha": "30128633a412da2b11f1833ec52d0b0e2c142bc9", "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 <jni.h> #include <assert.h> #include <lapacke.h> /* Cholesky */ JNIEXPORT jint Java_JAMAJni_CholeskyDecomposition_dpotrf (JNIEnv *env, jclass klass, jint matrix_layout, jchar uplo, jint n, jdoubleArray a, jint lda){ double *aElems; int info; aElems = (*env)-> GetDoubleArrayElements (env...
{ "alphanum_fraction": 0.6555429864, "avg_line_length": 27.625, "ext": "c", "hexsha": "5991416a298f2a82eaf39f493b9a64fd5f901da3", "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": "2e7cb...
static char help[] = "Solves time-dependent heat equation in 2D using TS. Option prefix -ht_.\n" "Equation is u_t = D_0 laplacian u + f. Domain is (0,1) x (0,1).\n" "Boundary conditions are non-homogeneous Neumann in x and periodic in y.\n" "Energy is conserved (for these particular conditions/source) and an extra\n...
{ "alphanum_fraction": 0.5781021898, "avg_line_length": 38.7735849057, "ext": "c", "hexsha": "14129d6a45631dd80feeee0364de1c56e2a0574c", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26...
#include <stdlib.h> #include <stdio.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h> struct rparams { double a; double b; }; int rosenbrock_f (const gsl_vector * x, void *params, gsl_vector * f) { double a = ((struct rparams *) params)->a; double b = ((struct rparams *) params)->b; do...
{ "alphanum_fraction": 0.6459930314, "avg_line_length": 20.0699300699, "ext": "c", "hexsha": "0f8c0500fb4377fe00398fa2ccdbb0f6b0c6abdc", "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:...
static char help[] = "Simple ODE system to test implicit and IMEX methods when *both* RHSFunction()\n" "and IFunction() are supplied. Jacobians are supplied as well. The problem\n" "has form\n" " F(t,u,dudt) = G(t,u)\n" "where u(t) = (x(t),y(t)) and dF/d(dudt) is invertible, so the problem is a\n" "2D ODE IVP. F...
{ "alphanum_fraction": 0.6225908758, "avg_line_length": 39.6038647343, "ext": "c", "hexsha": "008d1953f4fed75ebcf691d67d764f2a2b2a9924", "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_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "tests.h" void test_spr (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; int N = 2; float alpha = -0.3f; float Ap[] = { -0.764f, -0.257f, -0.06...
{ "alphanum_fraction": 0.4997261774, "avg_line_length": 22.2682926829, "ext": "c", "hexsha": "36891bdb2f1c6425989e329ad8adecf8facf74c0", "lang": "C", "max_forks_count": 224, "max_forks_repo_forks_event_max_datetime": "2022-03-30T00:57:48.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-12T21:1...
/* FRACTAL - A program growing fractals to benchmark parallelization and drawing libraries. Copyright 2009-2021, 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 mus...
{ "alphanum_fraction": 0.6777108434, "avg_line_length": 23.0218978102, "ext": "c", "hexsha": "0bd54742e6280c7d7799d360aa5ced7bf6310349", "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 takes univariate X, windows X with W, applies the 1D FFT to each frame, //takes power, transforms with T mat to B cfs, and then compresses power with log. //Then the cepstral coeffs (CCs) are obtained by the 1D DCT-II of each frame, //followed by a lifter (weighting in the cepstral domain). //This is equivalent...
{ "alphanum_fraction": 0.4745436669, "avg_line_length": 41.6245551601, "ext": "c", "hexsha": "0843a8a90bb5abcfc78f8b5497f3d65afb23172b", "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_dpotrf.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @author Mathieu Faverge * @author Jakub Kurzak * @date 2010-11-15 * @generated d ...
{ "alphanum_fraction": 0.576614444, "avg_line_length": 34.8933333333, "ext": "c", "hexsha": "8c16a7735cac30daafa7060de3e125d6f2939fff", "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 batchf_zgemv.c * * Part of API test for Batched BLAS routines. * * @author Samuel D. Relton * @author Pedro V. Lara * @author Mawussi Zounon * @date 2016-06-01 * * @precisions normal z -> c d s * **/ #include <cblas.h> #include "bblas.h" #define COMPLEX void batchf_zgemv( const enum BB...
{ "alphanum_fraction": 0.6737064414, "avg_line_length": 19.7291666667, "ext": "c", "hexsha": "37efa1c32dc2f7bcb3146db0d92bc94c55135950", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <time.h> #include <gsl/gsl_math.h> #include "cosmocalc.h" void test_nonlinear_corrfunc(void) { double lnrmin = log(1e-5); double lnrmax = log(3e2); int N = 10000; double r,dlnr = (lnrmax - lnrmin)/N; int i; FILE *fp; d...
{ "alphanum_fraction": 0.5484381178, "avg_line_length": 21.075, "ext": "c", "hexsha": "4d9322b9b257f3c97ab77f0b288cb939e6127d19", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:31.000Z...
#pragma once #include <winrt\Windows.Foundation.h> #include <d3d11.h> #include <gsl\gsl> namespace Library { class DepthStencilStates final { public: inline static winrt::com_ptr<ID3D11DepthStencilState> DefaultDepthCulling; inline static winrt::com_ptr<ID3D11DepthStencilState> NoDepthCulling; static void I...
{ "alphanum_fraction": 0.7780859917, "avg_line_length": 27.7307692308, "ext": "h", "hexsha": "b28d367ac27c45a153adea9768ca3f9726d0c8da", "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":...
/* permutation/gsl_permutation.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (a...
{ "alphanum_fraction": 0.7847065463, "avg_line_length": 35.797979798, "ext": "h", "hexsha": "50227a3c882fc46fca294f0cbdb4aff72e47cb42", "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/fdist.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 * ...
{ "alphanum_fraction": 0.6345044573, "avg_line_length": 28.0441176471, "ext": "c", "hexsha": "ef532fffc747278982f2f7054d07472f36cbf5c1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:...
// Copyright (c) 2022 SmartPolarBear. // // 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, merge, publis...
{ "alphanum_fraction": 0.753485778, "avg_line_length": 36.5918367347, "ext": "h", "hexsha": "dc4796d2b834a558c022b460dd5a2cb2e4c01c9b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
//============================================================================ // Name : main.c // Author : Cesare De Cal // Version : // Copyright : Cesare De Cal // Description : Exercise 7 - System of Linear Equations //============================================================================ #...
{ "alphanum_fraction": 0.6348851393, "avg_line_length": 30.5527950311, "ext": "c", "hexsha": "25a2c6f22761b9df3833e63da1bba0c882ffd997", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * Copyright 2016 BitTorrent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
{ "alphanum_fraction": 0.7314685315, "avg_line_length": 26.9811320755, "ext": "h", "hexsha": "8752d9df521db540619179c02eb642c141df8b81", "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 2008-2009 NVIDIA 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...
{ "alphanum_fraction": 0.6935881628, "avg_line_length": 27.0333333333, "ext": "h", "hexsha": "e5e6a885a9d67a34afd810c4d4b6fdb6b79567cb", "lang": "C", "max_forks_count": 106, "max_forks_repo_forks_event_max_datetime": "2022-03-29T13:55:53.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-27T19:3...
/* cp ../../../../native_ref/<target binary> libnetlib.so gcc-mp-4.8 -O3 dgemmtest.c common.c -o dgemmtest -L. -lnetlib -I../../../../netlib/CBLAS ./dgemmtest > ../../../results/mac_os_x-x86_64-dgemm-CBLAS.csv gcc-mp-4.8 -O3 dgemmtest.c common.c -o dgemmtest -I/System/Library/Frameworks/vecLib.framework/Headers -fr...
{ "alphanum_fraction": 0.5945945946, "avg_line_length": 29.4563106796, "ext": "c", "hexsha": "4589c1685d468d181e6e83a75a6229be0344400c", "lang": "C", "max_forks_count": 154, "max_forks_repo_forks_event_max_datetime": "2021-09-07T04:58:57.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T22:4...
/*System includes*/ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> /*GSL includes*/ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_integration.h> #include <gs...
{ "alphanum_fraction": 0.61850891, "avg_line_length": 25.9812154696, "ext": "c", "hexsha": "5eb57acb596630090fb1b7093cea841a4e1ebb8f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
/* multifit_nlinear/gsl_multifit_nlinear.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * Copyright (C) 2015, 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softwar...
{ "alphanum_fraction": 0.6497015915, "avg_line_length": 39.6842105263, "ext": "h", "hexsha": "4e1828c1f5f08775b11e4847e3310edcd7fbb717", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-06-13T05:31:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-12-20T16:50:...
/* 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.6688264939, "avg_line_length": 36.0779220779, "ext": "h", "hexsha": "d248cb3ee03b45b7c141d794e3d3c5613dd5fefc", "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 <string.h> #include <math.h> #include <mpi.h> #include <gsl/gsl_sf_gamma.h> #include "allvars.h" #include "proto.h" #ifdef COSMIC_RAYS #include "cosmic_rays.h" #endif #ifdef CS_MODEL #include "cs_metals.h" #endif #ifdef MACHNUM #ifdef COSMIC_RAYS #define h All.HubbleParam #define cm (h/A...
{ "alphanum_fraction": 0.6022528079, "avg_line_length": 27.2860938884, "ext": "c", "hexsha": "b8bd40b062016f1d32bbd5b56dc522fe98d8fc7b", "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":...
static const char help[] = "Solves a 2D dam-saturation problem. No options.\n" "The exact soluution is not known, but\n" "a coarse-grid discrete solution can be checked against that source.\n" "Note Poisson2DFunctionLocal() sets-up this unconstrained problem:\n" " - u_xx - u_yy = - 1\n" "while we want this compleme...
{ "alphanum_fraction": 0.6039708802, "avg_line_length": 38.7435897436, "ext": "c", "hexsha": "2d1d6dbd4bb8b0e1cc3b9c253a5dae42cca3700d", "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 PyGSL_RNG_H #define PyGSL_RNG_H 1 #include <pygsl/intern.h> #include <gsl/gsl_rng.h> typedef struct { PyObject_HEAD gsl_rng * rng; } PyGSL_rng; /* * Get a gsl_rng object from a PyGSL rng wrapper. */ PyGSL_API_EXTERN gsl_rng * PyGSL_gsl_rng_from_pyobject(PyObject * object); #ifndef _PyGSL_API_MODULE #...
{ "alphanum_fraction": 0.6183206107, "avg_line_length": 25.085106383, "ext": "h", "hexsha": "d2b2f62c815cf54982eb71a55d8c2cb2b4ea901d", "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:0...
#pragma once #include <functional> #include <memory> #include <vector> #include <gsl/gsl-lite.hpp> // gsl::span #include <QObject> #include "HypCommands.h" // Hyperion::RECORD_LENGTH class DeviceLink; class Recording; class HypReader : public QObject { Q_OBJECT public: explicit HypReade...
{ "alphanum_fraction": 0.6536069652, "avg_line_length": 26.3606557377, "ext": "h", "hexsha": "d033d4399ae0d1cd1f91b84ffc35ec6002cb8b68", "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/gsl_histogram2d.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * you...
{ "alphanum_fraction": 0.7131423083, "avg_line_length": 31.8724489796, "ext": "h", "hexsha": "99798bac24dd88d8c01de5b1252beaa54fc489f4", "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 <petsc.h> #include <memory> #include "partition/rank_subset.h" namespace TimeSteppingScheme { namespace NestedMatVecUtility { //! from a Petsc Vec with nested type (nestedVec) create a new Petsc Vec (singleVec) that contains all values at once. If the singleVec already exists, do not create a...
{ "alphanum_fraction": 0.7781420765, "avg_line_length": 36.6, "ext": "h", "hexsha": "cc65045eee19286f85d58bf4bec932406b6a197f", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2021-05-28T13:24:20.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-17T12:18:10.000Z",...
/* * BIG_DATA.c * * Created on: 3 Sep 2020 * Author: heine */ #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_linalg.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include "kalman_filter.h" #in...
{ "alphanum_fraction": 0.5787518062, "avg_line_length": 32.6584269663, "ext": "c", "hexsha": "7b6419ed1a8ff5fdcecbfc7c7257fc90689d3493", "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; c-basic-offset: 4 -*- */ /* ex: set shiftwidth=4 tabstop=4 expandtab: */ /* * Copyright (c) 2011, Georgia Tech Research Corporation * All rights reserved. * * Author(s): Neil T. Dantam <ntd@gatech.edu> * Georgia Tech Humanoid Robotics Lab * Under Direction of Prof. Mike Stilman <mstilman@cc.gatech...
{ "alphanum_fraction": 0.5015538918, "avg_line_length": 27.5447470817, "ext": "c", "hexsha": "05377a441dd0bd8a1a6d9aa14ce81b18c0d5482a", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-05-05T12:58:33.000Z", "max_forks_repo_forks_event_min_datetime": "2015-03-23T18:09:...
/* ----------------------------------------------------------------------------- * Copyright 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_parser_FilterSpec_h_ #define SQ_INCLUDE_GUARD_parser_FilterSpec_h_ ...
{ "alphanum_fraction": 0.6770524233, "avg_line_length": 26.6052631579, "ext": "h", "hexsha": "af58e43b58ba955b0520a3f5a140e6d3e5f5043b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#if !defined(DECAY_H) #define DECAY_H #include "SM.h" #include "THDM.h" #include <complex> #include <gsl/gsl_matrix.h> #include <gsl/gsl_integration.h> using namespace std; /** * @brief Calculates the decay modes of 2HDM Higgs bosons * * Given a THDM object, a DecayTable can be generated. From this table, the * Hig...
{ "alphanum_fraction": 0.641011236, "avg_line_length": 29.7374701671, "ext": "h", "hexsha": "190d626ad1d7e028bbe0c73eb95d4ff1dcb55687", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-11-27T14:59:29.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-27T14:59:2...
/* Easel's interfaces to the GNU Scientific Library */ #ifdef HAVE_LIBGSL #include "esl_config.h" #include <stdlib.h> #include "easel/easel.h" #include "easel/dmatrix.h" #include <gsl/gsl_math.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_eigen.h> int esl_GSL_MatrixInversion(ESL_DMA...
{ "alphanum_fraction": 0.5477031802, "avg_line_length": 27.8360655738, "ext": "c", "hexsha": "bda7c3a27bb833dbe72d6963bced2dae2106f380", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-06-05T08:02:58.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-05T07:40:...
/* * 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.6799375488, "avg_line_length": 32.2264150943, "ext": "h", "hexsha": "8d4c8c9053e9db1b5d4eff49a8c71b097d54894a", "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:...
/* histogram/test_trap.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 opti...
{ "alphanum_fraction": 0.7058823529, "avg_line_length": 30.9323308271, "ext": "c", "hexsha": "f1136384a7e8b5597f6e1244952b2861c6c9df53", "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:...
// Use the geodesic solver code to create a gsl implementation so you can // compare the speeds. The template needs to get close to ,ideally better than, // exactly to the gsl run times #include <stdio.h> #include <iostream> #include <chrono> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #i...
{ "alphanum_fraction": 0.5611660593, "avg_line_length": 27.4428571429, "ext": "c", "hexsha": "0ea776fb8b030e6e2d3cf0474496ae4e6a38d8b3", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-03-30T17:13:40.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-30T17:13:...
/* integration/jacobi.c * * Copyright (C) 2017 Konrad Griessinger, 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)...
{ "alphanum_fraction": 0.6617996604, "avg_line_length": 33.4659090909, "ext": "c", "hexsha": "0c0637b05976fe844f2b141a3bfa796982d22479", "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:...
//// // // Copyright (c) 2010- // NAKASATO, Naohito // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // not...
{ "alphanum_fraction": 0.6373590982, "avg_line_length": 27.8475336323, "ext": "c", "hexsha": "c7bef86108064ede6f5bfc54f1d137c80f0e4ea7", "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 __RNG_H #define __RNG_H // #include <Rcpp.h> #include <RcppGSL.h> #include <gsl/gsl_rng.h> // [[Rcpp::depends(RcppGSL)]] using namespace Rcpp; // Setup RNG for GSL extern gsl_rng *r_RNG; unsigned long int random_seed(); //' Generate one sample from a Dirichlet distribution. //' //' ## RNG //' //' this fu...
{ "alphanum_fraction": 0.7049180328, "avg_line_length": 27.9583333333, "ext": "h", "hexsha": "9c97e77936f89728b39e01afcdf1cfc611ffe9e4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <math.h> #include <lapacke.h> #include <complex.h> //#include "WignerD_fftw.h" #include <stdio.h> #define max(a,b) \ ({ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ _a > _b ? _a : _b; }) #define min(x,y) (((x) < (y)) ? (x) : (y)) #define MAXFILENAME 100 lapack_c...
{ "alphanum_fraction": 0.6097879282, "avg_line_length": 25.1229508197, "ext": "c", "hexsha": "7ad86fb032e40b8fbb8009ffce95ee2bb3c55edc", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-03-19T23:09:37.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-18T00:50:...
/*****************************************************************\ __ / / / / __ __ / /______ _______ / / / / ________ __ __ / ______ \ /_____ \ / / / / / _____ | / / / / / / | / _______| / / / / / / /____/ / / / / / / / / /...
{ "alphanum_fraction": 0.6267515924, "avg_line_length": 33.8848920863, "ext": "h", "hexsha": "969ba4c00327b968f8a70f4d6d11543385053890", "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 SmtkMatcher_h #define SmtkMatcher_h /** * @file * $Revision: 1.1 $ * $Date: 2009/09/09 23:42:41 $ * * Unless noted otherwise, the portions of Isis written by the USGS are * public domain. See individual third-party library and package descriptions * for intellectual property information, user agre...
{ "alphanum_fraction": 0.6565201052, "avg_line_length": 35.7181208054, "ext": "h", "hexsha": "2ced22b4869ac2f165d895935f2b775b93a96cbf", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-12T06:05:03.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-12T06:05:...
/* Copyright (c) 2003-2008 Rudi Cilibrasi, Rulers of the RHouse All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of c...
{ "alphanum_fraction": 0.6504893036, "avg_line_length": 35.5789473684, "ext": "c", "hexsha": "9bb8ea6eec65b4a576173a9b59646fb1e752eef7", "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 SPC_UTILS_H #define SPC_UTILS_H void init_search (const char *string); /* Pbmsrch.C */ char *strsearch (const char *string); /* Pbmsrch.C */ #include <stddef.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include <limits.h> #include <math.h> #include <gsl/gsl_...
{ "alphanum_fraction": 0.7252167358, "avg_line_length": 20.2519083969, "ext": "h", "hexsha": "8068bc2b1ca2e1e6d23100ca0dcf80740460c92d", "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 "NativeDataStream.h" #include "PerFrameValue.h" #include "ShaderCompiler.h" #include "VertexArray.h" #include <Babylon/JsRuntime.h> #include <Babylon/JsRuntimeScheduler.h> #include <GraphicsImpl.h> #include <BgfxCallback.h> #include <FrameBuffer.h> #include <napi/napi.h> #include <bgfx/bgfx.h...
{ "alphanum_fraction": 0.6872136155, "avg_line_length": 40.0262008734, "ext": "h", "hexsha": "3141cfdf5f2b0dd47f733493c7ef1c168237d80e", "lang": "C", "max_forks_count": 114, "max_forks_repo_forks_event_max_datetime": "2022-03-11T21:13:27.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-10T18:0...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gbpLib.h> #include <gbpMath.h> #include <gbpCosmo_core.h> #include <gbpCosmo_NFW_etc.h> #include <gsl/gsl_sf_expint.h> double V2_circ(double M, double r) { return (G_NEWTON * M / r); }
{ "alphanum_fraction": 0.7003891051, "avg_line_length": 19.7692307692, "ext": "c", "hexsha": "1ec669f4b7eade0499ab511780c31f739eb1967d", "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:...
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root // for more information. #ifndef NOVELRT_GRAPHICS_H #define NOVELRT_GRAPHICS_H // Graphics dependencies #include "NovelRT/EngineConfig.h" #include "NovelRT/Maths/Maths.h" #include "NovelRT/ResourceM...
{ "alphanum_fraction": 0.7934980494, "avg_line_length": 31.7768595041, "ext": "h", "hexsha": "e913241987e384d172a96a0750e8d021f70d624e", "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) Facebook, Inc. and its affiliates. * All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <chrono> #include <functional> #include <vector> #include <immintrin.h> #ifdef US...
{ "alphanum_fraction": 0.54993965, "avg_line_length": 26.1459566075, "ext": "h", "hexsha": "8ce0bfc3b536667aee5d31bc7751292f0ddbffe5", "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_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of ...
{ "alphanum_fraction": 0.700400534, "avg_line_length": 40.9289617486, "ext": "h", "hexsha": "b14c07900ae0a519faf6e811b49cbd4015802b34", "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:3...
/* 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.5240070459, "avg_line_length": 43.2407862408, "ext": "h", "hexsha": "464ef3d67ccc1dba6318fdbb4cf073b02cec2402", "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...
/******************************************************************************* * * This file is part of the General Hidden Markov Model Library, * GHMM version __VERSION__, see http://ghmm.org * * Filename: ghmm/ghmm/matrixop.c * Authors: Christoph Hafemeister * * Copyright (C) 2007-200...
{ "alphanum_fraction": 0.5546229508, "avg_line_length": 27.9304029304, "ext": "c", "hexsha": "88bcf39a9e84327d8a37df9054010932b61fdf49", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2020-12-29T13:23:10.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-18T03:31...
/* * This file is part of MXE. * See index.html for further information. */ #include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main(int argc, char *argv[]) { double x, y; (void)argc; (void)argv; x = 5.0; y = gsl_sf_bessel_J0 (x); printf ("J0(%g) = %.18e\n", x, y); return 0; }
{ "alphanum_fraction": 0.5650793651, "avg_line_length": 15, "ext": "c", "hexsha": "00ac9a8ba8cab8d904aca5668bf5b7e4e9493428", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2018-11-24T12:40:31.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-04T00:24:38.000Z", ...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for structures representing a waveform as a list of modes in amplitude/phase form. * */ #ifndef _STRUCT_H #define _STRUCT_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED ...
{ "alphanum_fraction": 0.6952622344, "avg_line_length": 42.2139917695, "ext": "h", "hexsha": "fad94798f994e19e3695d54c956140b6ba9af4d3", "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:...
/* STOCHASTIC LOTKA-VOLTERRA MODEL WITH MULTIDIMENSIONAL NICHE SPACES by Tommaso Biancalani <tommasob@mit.edu> Supporting Material to the paper: "Framework for analyzing ecological trait-based models in multidimensional niche spaces" - Phys. Rev. E 91, 052107 ABSTRACT We develop a theoretical framework for anal...
{ "alphanum_fraction": 0.6871212121, "avg_line_length": 28.3261802575, "ext": "c", "hexsha": "6ee470e2e7166efa1295e30fd2ec4a0d715fb2f1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-04-15T02:31:20.000Z", "max_forks_repo_forks_event_min_datetime": "2021-04-15T02:31:...
// // ePDF // #pragma once #include "ePDF/ndistributions.h" #include <yaml-cpp/yaml.h> #include <complex> #include <vector> #include <memory> #include <gsl/gsl_integration.h> #include <functional> namespace ePDF { /** * @brief The "evol_params" structure contains the evolution * parameters. */ struct e...
{ "alphanum_fraction": 0.5829248366, "avg_line_length": 24.9795918367, "ext": "h", "hexsha": "e6e209603cbd1fe76c06e99b093180a36d28368f", "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":...
/* poly/zsolve.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option...
{ "alphanum_fraction": 0.6450704225, "avg_line_length": 24.7674418605, "ext": "c", "hexsha": "aac231cc4c68d08557d66247665496b2022977d8", "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...
#define _GNU_SOURCE #include <stdio.h> #include <stdarg.h> #include <math.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> /* don't check ranges in Matrix operations and make Matrix call inline */ #de...
{ "alphanum_fraction": 0.6835186351, "avg_line_length": 29.0081135903, "ext": "h", "hexsha": "9e2538924837c4f6a2953ba18679ed23ce68dee0", "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":...
static char help[] = "1D Stokes problem with DMDA and SNES. Option prefix -wel_.\n\n"; // show solution (staggered): // ./well -snes_monitor -snes_converged_reason -da_refine 7 -snes_monitor_solution draw -draw_pause 1 // try: // -ksp_type preonly -pc_type svd [default] // -ksp_type minre...
{ "alphanum_fraction": 0.5346954327, "avg_line_length": 49.058411215, "ext": "c", "hexsha": "ff7b21b1c4adbdf6f7e626290b33800ba744c8a1", "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/qqracc.c * * Moving window QQR accumulator * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * ...
{ "alphanum_fraction": 0.7215927485, "avg_line_length": 25.9579831933, "ext": "c", "hexsha": "eb7cfcf9bc41f0aa17250c3eb243d3241bc1ced8", "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:...
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 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 a...
{ "alphanum_fraction": 0.688692797, "avg_line_length": 40.9495798319, "ext": "h", "hexsha": "4b30c1f17fc8d6bb537316be1760ffae319cbf21", "lang": "C", "max_forks_count": 364, "max_forks_repo_forks_event_max_datetime": "2022-03-27T12:58:47.000Z", "max_forks_repo_forks_event_min_datetime": "2018-01-22T02:11...
#include <err.h> #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_rng.h> #include <tree_2k.h> #include <tree_2k_utils.h> #include "cl_params.h" void tree_spatial_dims_alloc(Params params, double **center, double **extent); void tree_spatial_dims_free(double *center, double *exten...
{ "alphanum_fraction": 0.6315131305, "avg_line_length": 32.8630136986, "ext": "c", "hexsha": "50a6617e0126b42d9c8e7de7cd7479de1a8a3b3e", "lang": "C", "max_forks_count": 59, "max_forks_repo_forks_event_max_datetime": "2022-03-21T00:27:22.000Z", "max_forks_repo_forks_event_min_datetime": "2015-11-26T11:44...
#pragma once #include <algorithm> #include <cstddef> #include <cstdint> #include <tuple> #include <type_traits> #include <gsl/gsl> #include "chainerx/array.h" #include "chainerx/axes.h" #include "chainerx/backend_util.h" #include "chainerx/constant.h" #include "chainerx/dtype.h" #include "chainerx/indexer.h" #includ...
{ "alphanum_fraction": 0.6925940833, "avg_line_length": 35.2411347518, "ext": "h", "hexsha": "0ae8d6d7a0ede574363436fda0101a69dffc14a1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-05-28T22:43:34.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-28T22:43:...
// Copyright 2021 atframework // Created by owent on 2020-08-18 #pragma once #include <gsl/select-gsl.h> #include <config/atframe_utils_build_feature.h> #include <config/compiler_features.h> #include <design_pattern/nomovable.h> #include <design_pattern/noncopyable.h> #include <random/random_generator.h> #include...
{ "alphanum_fraction": 0.8069241012, "avg_line_length": 39.2313432836, "ext": "h", "hexsha": "9b581491ce8dd2b20693a3291f4790b75a46697a", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2020-04-19T10:06:06.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-04T06:14:...
// include all the libraries that are needed in our simulations #include <iostream> #include <vector> #include <cmath> #include <new> #include <math.h> #include <time.h> #include <algorithm> #include <fstream> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <string> #include <sstream> #inclu...
{ "alphanum_fraction": 0.7142857143, "avg_line_length": 20.72, "ext": "h", "hexsha": "5007b0c5653d0f2a0cbfec4b33f88ac4cf0a3b21", "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": "8c1bb1...
/* linalg/hh.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * you...
{ "alphanum_fraction": 0.4869920447, "avg_line_length": 25.8388888889, "ext": "c", "hexsha": "6530c96969f538aacc78a2a1a12b380fcc1d5e8c", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#ifndef _PS_ #define _PS_ #include <stdio.h> #include <stddef.h> #include <stdlib.h> #include <ctype.h> #include <math.h> #include <unistd.h> #include "../Parameter_files/COSMOLOGY.H" #include "../Parameter_files/INIT_PARAMS.H" #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> #include "cosmo_progs.c" #include "...
{ "alphanum_fraction": 0.6357531007, "avg_line_length": 34.8371069182, "ext": "c", "hexsha": "38bb9b2f8a04e9bc4060d300282b7b180a9060e2", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-12-08T17:16:53.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-14T13:54:...
#include <petsc/private/pcimpl.h> /*I "petscpc.h" I*/ #include <petsc.h> #include <petsc/private/hashmapi.h> #include <petscsf.h> #include <libssc.h> PetscLogEvent PC_Patch_CreatePatches, PC_Patch_ComputeOp, PC_Patch_Solve, PC_Patch_Scatter, PC_Patch_Apply, PC_Patch_Prealloc; static PetscBool PCPatchPackageInitia...
{ "alphanum_fraction": 0.6019111681, "avg_line_length": 43.4113557358, "ext": "c", "hexsha": "a2294b421bc2c89b2e3cf3b7df3e1b193aa393f1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-01-23T15:21:31.000Z", "max_forks_repo_forks_event_min_datetime": "2018-01-23T15:21:...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <sys/time.h> #include <sys/resource.h> #include <unistd.h> #ifdef GSL_FOUND #include <gsl/gsl_integration.h> #endif #include "core_allvars.h" #include "core_init.h" #include "core_mymalloc.h" #include "core_cool_fu...
{ "alphanum_fraction": 0.689810471, "avg_line_length": 31.1637426901, "ext": "c", "hexsha": "c12b90728245858026c266c7cddd3ef1905a4120", "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 COMUTILS_H #define COMUTILS_H #include "HypCommands.h" // RECORD_LENGTH #include <gsl/gsl-lite.hpp> // gsl::span #include <array> #include <functional> #include <memory> #include <stdint.h> #include <string> #include <vector> #include <QObject> #include <QString> QT_USE_NAMESPACE class...
{ "alphanum_fraction": 0.6027018729, "avg_line_length": 33.5773195876, "ext": "h", "hexsha": "586e83225298149d5207160f3a757e5a8fa688fe", "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 <string> #include <unordered_map> #include <DirectXMath.h> #include <gsl/span> struct Ray3d; namespace gfx { struct Light3d; struct MdfRenderOverrides; enum class MaterialPlaceholderSlot; struct AnimatedModelParams; using AnimatedModelPtr = std::shared_ptr<class Animat...
{ "alphanum_fraction": 0.701327648, "avg_line_length": 21.9087048832, "ext": "h", "hexsha": "131db9f30dfa54e41f49d646195d57d45ec35216", "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 "../include/matrix.h" #ifndef MATREX_NO_BLAS #include <cblas.h> void matrix_dot(const float alpha, const Matrix first, const Matrix second, Matrix result) { MX_SET_ROWS(result, MX_ROWS(first)); MX_SET_COLS(result, MX_COLS(second)); cblas_sgemm( CblasRowMajor, CblasNoTrans, CblasNoTrans, ...
{ "alphanum_fraction": 0.6405028882, "avg_line_length": 24.4232365145, "ext": "c", "hexsha": "4e3fb9c945bd9723bde8ef0dc03c89edd21e773f", "lang": "C", "max_forks_count": 34, "max_forks_repo_forks_event_max_datetime": "2021-03-29T07:30:02.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-21T15:40...
//Include guard #ifndef MISC_H #define MISC_H //Forward declared dependencies //Included dependencies #include <vector> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_matrix.h> #include "sequence.h" #include "diploidSequence.h" #include "modelMR.hpp" #include "model.hpp" #include "simParamPH...
{ "alphanum_fraction": 0.7628852459, "avg_line_length": 57.7651515152, "ext": "h", "hexsha": "f95b27ae1e899f6494ff11c7c772e00ec7a6d9e0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-06-12T13:25:36.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-12T13:25:...
/* specfunc/gsl_sf_coupling.h * * Copyright (C) 1996,1997,1998,1999,2000,2001,2002 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 (a...
{ "alphanum_fraction": 0.5740696279, "avg_line_length": 33.0555555556, "ext": "h", "hexsha": "bd6b58372302cbfee5da490258797dd62234cda9", "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:...
/****************************************************************************** ** Copyright (C) 2014 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: Fred Ngole ** ** Date: 24/09/2014 ** ** File: sr...
{ "alphanum_fraction": 0.6724767596, "avg_line_length": 52.8421052632, "ext": "h", "hexsha": "062f43c092a5e167ce05f7387fe5f7286c7e11d9", "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":...
// The MIT License (MIT) // // Copyright (c) 2008 - 2015 Stefan Faußer // // 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 // ...
{ "alphanum_fraction": 0.4158764435, "avg_line_length": 41.4781641168, "ext": "c", "hexsha": "4c8f47f6232fae9d6b6dff658d2dfaabd4f486ac", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <gsl/gsl_math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv2.h> // y' = 2y + x // https://www.wolframalpha.com/input/?i=y%27+%3D+2y+%2B+x%2C+y%280%29+%3D+1%2C+y%281%29 // https://www.wolframalpha.com/input/?i=1%2F4+*+%285+*+e%5E2+-+3%29 // 저항값: 1Kohm // ...
{ "alphanum_fraction": 0.5315217391, "avg_line_length": 24.8648648649, "ext": "c", "hexsha": "521529a6fa59bbef3551f915f04769f2f7739c78", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-03-19T01:22:06.000Z", "max_forks_repo_forks_event_min_datetime": "2022-03-19T01:22:...
/* complex/test.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.60598345, "avg_line_length": 25.9669421488, "ext": "c", "hexsha": "c257df6a24b8752129060d5c3851dc8fe14e7e77", "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...
/* [response orientation nms filterBank] = steerableDetector3D(image, filterOrder, sigma); * * (c) Francois Aguet, 30/08/2012 (last modified 09/02/2012). * * Compilation: * Mac/Linux: mex -I/usr/local/include -I../../mex/include /usr/local/lib/libgsl.a /usr/local/lib/libgslcblas.a steerableDetector3D.cpp * Window...
{ "alphanum_fraction": 0.6726479146, "avg_line_length": 31.2424242424, "ext": "h", "hexsha": "826f8a3f5558e107767312db8e547b9e1992b23a", "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 __EMULATOR_INC_ #define __EMULATOR_INC_ #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_sf.h> /** * the fn ptr to the covariance function, this is the most called function in libEmu * you can change this when you setup the optstruct. */ double (*covarian...
{ "alphanum_fraction": 0.7759751467, "avg_line_length": 47.4918032787, "ext": "h", "hexsha": "18c623e303a9d6dffc4dc437404c3eae19c11103", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:...
/* * vbHmmPc.c * Model-specific core functions for VB-HMM-PC. * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2015 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Ver. 1.1.0 * Last modified on 2015.09.17 */ #include <math.h...
{ "alphanum_fraction": 0.497372193, "avg_line_length": 26.7571022727, "ext": "c", "hexsha": "579c1e03b3fc9e8ab5a708a67ad2e5aa866680d1", "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": ...
static char help[] = "Newton's method for arctan x = 0. Run with -snes_fd or -snes_mf.\n\n"; #include <petsc.h> extern PetscErrorCode FormFunction(SNES, Vec, Vec, void*); int main(int argc,char **argv) { PetscErrorCode ierr; SNES snes; // nonlinear solver Vec x, r; // soluti...
{ "alphanum_fraction": 0.6554216867, "avg_line_length": 33.8775510204, "ext": "c", "hexsha": "865e2b4898950ae084ece0bcfe81c649f338a8c3", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26...
/* wavelet/gsl_wavelet.h * * Copyright (C) 2004 Ivo Alxneit * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. ...
{ "alphanum_fraction": 0.535422644, "avg_line_length": 39.7456140351, "ext": "h", "hexsha": "ecb84be0515368cb28b091881cf7a4738e0951d2", "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 program */ /* GCG --- Generic Column Generation */ ...
{ "alphanum_fraction": 0.6158557567, "avg_line_length": 31.9889928453, "ext": "c", "hexsha": "8adc30080a29fdedeaa77550e91be81b527cb1a2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" #include "error_cblas_l2.h" void cblas_zgbmv (const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE TransA, const int M, const int N, const int KL, const int KU, const void *alpha, const void *A, const int lda, const v...
{ "alphanum_fraction": 0.6803455724, "avg_line_length": 28.9375, "ext": "c", "hexsha": "2c0c1308a9aad6705b3f7dded8d715dc54678661", "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.000...
#include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <math.h> #include "cconfigspace_internal.h" #include "distribution_internal.h" struct _ccs_distribution_roulette_data_s { _ccs_distribution_common_data_t common_data; size_t num_areas; ccs_float_t *areas; }...
{ "alphanum_fraction": 0.6299171843, "avg_line_length": 40.0414507772, "ext": "c", "hexsha": "5667a35c85016007ace5068ed4fd0e5442d224d1", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-07T17:54:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-16T18:20:...
/* wavelet/gsl_wavelet.h * * Copyright (C) 2004 Ivo Alxneit * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. ...
{ "alphanum_fraction": 0.7047648708, "avg_line_length": 29.4587155963, "ext": "h", "hexsha": "fde012cd30107997ad6eecf7aca32493871d991c", "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 <bindings.cmacros.h> #include <gsl/gsl_version.h> BC_GLOBALARRAY(GSL_VERSION,char) BC_GLOBALARRAY(gsl_version,char)
{ "alphanum_fraction": 0.8174603175, "avg_line_length": 21, "ext": "c", "hexsha": "c77faaf380851ddb1ef25f37e37e4d1fd5efcc9d", "lang": "C", "max_forks_count": 19, "max_forks_repo_forks_event_max_datetime": "2021-09-10T19:31:38.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T20:43:08.000Z", ...
/* These functions compute linear preprocessing for the UE using LAPACKE and CBLAS modules of LAPACK libraries. MMSE and MMSE whitening filters are available. Functions are using RowMajor storage of the matrices, like in conventional C. Traditional Fortran functions of LAPACK employ ColumnMajor data storage. */ #inclu...
{ "alphanum_fraction": 0.6617140938, "avg_line_length": 31.768, "ext": "c", "hexsha": "7d063e326effc919180e5ebe12c02fa19d85b6a2", "lang": "C", "max_forks_count": 15, "max_forks_repo_forks_event_max_datetime": "2022-03-28T02:13:45.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-27T00:55:51.000...
/* * Copyright (c) 2011-2013 University of Texas at Austin. All rights reserved. * * $COPYRIGHT$ * * Additional copyrights may follow * * This file is part of PerfExpert. * * PerfExpert is free software: you can redistribute it and/or modify it under * the terms of the The University of Texas at Austin Resea...
{ "alphanum_fraction": 0.7569772435, "avg_line_length": 28.7530864198, "ext": "h", "hexsha": "989ba4a7447da620313ecb753ca3f01e474bc8d8", "lang": "C", "max_forks_count": 11, "max_forks_repo_forks_event_max_datetime": "2020-08-18T03:53:19.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T15:41...
#include <linux/types.h> #include "sweeny_uf.h" #include "extract_args.h" #include "timeseries.h" #include <stdio.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_rng.h> //Verwendung von Mersenne-Twister Pseudozufallszahlengenerator #define TS_FILE_D "../time_series/uf/simulation_l%u_q%.4f_b%.4f_c%.4...
{ "alphanum_fraction": 0.6254442075, "avg_line_length": 28.14, "ext": "c", "hexsha": "d840baa8419cf3a7b9cddc68283094b468c3b576", "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:57.000Z"...
/* roots/utility.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Reid Priedhorsky, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, o...
{ "alphanum_fraction": 0.659421448, "avg_line_length": 34.7611111111, "ext": "c", "hexsha": "57442a3e3d7d91cda9b174b57b72cb71e9ecf085", "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...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for functions windowing and computing FFT/IFFT of time/frequency series. * */ #ifndef __GENERATELLVFD_H__ #define __GENERATELLVFD_H__ 1 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #define...
{ "alphanum_fraction": 0.6461846242, "avg_line_length": 40.2183908046, "ext": "h", "hexsha": "b2929c76d6810ab8903fcdf9dedc4c994acdf042", "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 BN #define BN #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <stdbool.h> #include <getopt.h> #include <assert.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_multimin.h> #include <gsl/gsl_matrix.h> #include <omp.h> #include <math.h> #inc...
{ "alphanum_fraction": 0.6456762261, "avg_line_length": 30.3795986622, "ext": "h", "hexsha": "7738e22465a1e6d7d54fbf9d24252a99c133a95e", "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 RAYS_H #define RAYS_H #include <complex.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_rng.h> #include <malloc.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <time.h> #include "tsvread.h" // A ray. typedef struct { double p0[3]; // position double e0[3]; ...
{ "alphanum_fraction": 0.6420454545, "avg_line_length": 23.4666666667, "ext": "h", "hexsha": "db1de68fffd772d20d960189e1699f7fa93809e6", "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":...
/* Template for applications of single array GSL functions */ #include <stdio.h> #ifdef SINGLE_ARG # include <stdlib.h> #endif #include <gsl/gsl_statistics_double.h> #ifdef SORT_DATA # include <gsl/gsl_sort.h> #endif #include "y.tab.h" #include "double_matrix.h" #define SINGLE_STEP 1 Double_Matrix *data = NULL...
{ "alphanum_fraction": 0.6628919861, "avg_line_length": 15.5135135135, "ext": "c", "hexsha": "ccca28df1fe6f55984fac364b3e71f77a21d7482", "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":...
/*************************************************************************** integration.h - description ------------------- copyright : (C) 2005 by MOUSSA email : mmousa@liris.cnrs.fr *******************************************...
{ "alphanum_fraction": 0.3941220799, "avg_line_length": 40.2121212121, "ext": "h", "hexsha": "9ca66d8a84e3668b46db50fb40f9570fff2dd4d0", "lang": "C", "max_forks_count": 77, "max_forks_repo_forks_event_max_datetime": "2022-03-24T01:03:54.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-24T22:36...
/* cdf/fdistinv.c * * Copyright (C) 2002 Przemyslaw Sliwa and Jason H. Stover. * Copyright (C) 2006 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 L...
{ "alphanum_fraction": 0.579064588, "avg_line_length": 21.380952381, "ext": "c", "hexsha": "231f5c1259cd60b182e909cc39d4b93bdc2acc94", "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:1...
/* ** use median of trials ** ** G.Lohmann, May 2016 */ #include <viaio/Vlib.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_math.h> #include <gsl/gsl_statistics.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_pe...
{ "alphanum_fraction": 0.642699115, "avg_line_length": 25.1111111111, "ext": "c", "hexsha": "3f1ed3e5b13669d83f91700659d48adadf5b4f9d", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:5...
#pragma once #include "movie_writer.h" #include <boost/math/tools/roots.hpp> #include <cxxopts.hpp> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/rotate_vector.hpp> #include <glm/gtx/string_cast.hpp> #include <gsl/gsl_integration.h> #include <omp.h> #include <opencv2/opencv.hpp> #i...
{ "alphanum_fraction": 0.7620286086, "avg_line_length": 21.3611111111, "ext": "h", "hexsha": "1e80951a566317cbe2c81c4106a9c3466581b031", "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":...