Search is not available for this dataset
text
string
meta
dict
#include <stdio.h> #include <stdlib.h> #include <image_lib.h> #include <gsl/gsl_fit.h> #include "tz_darray.h" #include "tz_stack_io.h" #include "tz_stack_stat.h" #include "tz_image_lib.h" #include "tz_stack_threshold.h" #include "tz_fimage_lib.h" #include "tz_error.h" #include "private/alignstack.c" int main(int argc...
{ "alphanum_fraction": 0.6697345133, "avg_line_length": 26.1574074074, "ext": "c", "hexsha": "e0bded0fdd772993bb7a4cb72bfb71813d02b6e9", "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 <sys/stat.h> #include "parmt_postProcess.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "compearth.h" #include "iscl/array/array.h" #include "iscl/memory/memory.h" #include "iscl/os/os.h" static void getBase...
{ "alphanum_fraction": 0.4724439108, "avg_line_length": 35.0181368508, "ext": "c", "hexsha": "3e399673441403d6030ec5a9474807aa08a5f5f4", "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":...
/* Version 1.0 Correlation service; initial version will accept text input (optionally gzipped) where comments and any integer (ie containing no ".") in initial columns are skipped: [# comments] [int int int ] fl.oat fl.oat ... ([] means optional.) Each row is a node, each column a TR, separated by whitespa...
{ "alphanum_fraction": 0.6322594172, "avg_line_length": 33.8274231678, "ext": "c", "hexsha": "0e727a7e9b6b757385c177da9c74da2c3ed3116d", "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 EMPHASIS_RINIT_H_INCLUDED #define EMPHASIS_RINIT_H_INCLUDED #include <nlopt.h> #if (defined(_WIN32) || defined(__WIN32__)) && !defined(__LCC__) # define REMP_EXPORT extern "C" __declspec(dllexport) #else # define REMP_EXPORT extern "C" #endif #ifdef __cplusplus extern "C" { #endif /* some function poin...
{ "alphanum_fraction": 0.7991452991, "avg_line_length": 28.5365853659, "ext": "h", "hexsha": "3dcf096a1b11a5a2df2e03e9d758823271fb54be", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-03-12T13:25:10.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-12T13:25:...
#ifndef DISTANCE_H_MUJPGVJL #define DISTANCE_H_MUJPGVJL #include <algorithm> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/mean.hpp> #include <boost/accumulators/statistics/median.hpp> #include <boost/accumulators/statistics/skewness.hpp> #include <boost/accumulators/statistics...
{ "alphanum_fraction": 0.5885433196, "avg_line_length": 39.1428571429, "ext": "h", "hexsha": "2f217464baa24db1de46bb7569ef34ee69d36ebe", "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 <mpi.h> #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> #include <signal.h> #include <gsl/gsl_rng.h> #include "allvars.h" #include "proto.h" #ifdef DEBUG #include <fenv.h> void enable_core_du...
{ "alphanum_fraction": 0.606634248, "avg_line_length": 17.826625387, "ext": "c", "hexsha": "ddd7966596c2c1c40fa3dfbdb74531ac7ffc42f0", "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 <sys/time.h> #include <time.h> #include <math.h> #include <float.h> #include "bingham/util.h" //#include <lapacke.h> //#undef I // fuck C99! const color_t colormap[256] = {{0, 0, 131}, {0, 0, 135}, {0, 0, 139}, {0, 0, 143}, {0, 0, 147},...
{ "alphanum_fraction": 0.508167065, "avg_line_length": 20.4678378378, "ext": "c", "hexsha": "f4b775f3cf1ff6f52d0da2df746cf0309c91df7f", "lang": "C", "max_forks_count": 27, "max_forks_repo_forks_event_max_datetime": "2022-03-21T22:05:44.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-12T18:28:...
/** */ #ifndef _DRZ2PET_UTILS_H #define _DRZ2PET_UTILS_H #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include "aXe_grism.h" #include <math.h> #include <string.h> ap_pixel * make_spc_drztable(observation * const obs, observation * const wobs, const object *ob, const double lambda0, ...
{ "alphanum_fraction": 0.7016229713, "avg_line_length": 23.5588235294, "ext": "h", "hexsha": "6d5f6d417eb99a3b4d4c9ccd5cb7278842b0e6b8", "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 potrf.h * * @copyright 2009-2014 The University of Tennessee and The University of * Tennessee Research Foundation. All rights reserved. * @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, * Univ. Bordeaux. All rights reserved. * *** * * ...
{ "alphanum_fraction": 0.5182348234, "avg_line_length": 35.7020408163, "ext": "h", "hexsha": "e3b99139fa69a27c95dbfb9952e2e56544d6f46b", "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":...
//////////////////////////////////////////////////////////////////////// /// \class OscProb::PMNS_Sterile /// /// \brief Implementation of oscillations of neutrinos in matter in a /// N-neutrino framework. /// /// This class implements neutrino oscillations for any number of /// neutrino falvours. The extra fla...
{ "alphanum_fraction": 0.604859335, "avg_line_length": 34, "ext": "h", "hexsha": "1b37cc7116ab26c2f04cdb69420182a7f7ff239d", "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": "25646a568c...
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "tests.h" void test_herk (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; int trans = 111; int N = 2; int K = 1; float alpha = 1.0f; float be...
{ "alphanum_fraction": 0.5181474646, "avg_line_length": 28.7348484848, "ext": "c", "hexsha": "7dbe7f436cc4685b425c2425fb002343b60af19a", "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:...
/* * SpanDSP - a series of DSP components for telephony * * make_line_models.c * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2004 Steve Underwood * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
{ "alphanum_fraction": 0.3586734906, "avg_line_length": 46.1729106628, "ext": "c", "hexsha": "cac9d75cc1d0d9c71e7fdd0bd68c0a5ec19ef1bb", "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 : github.com/luncliff (luncliff@gmail.com) // License : CC BY 4.0 // // Note // Async I/O operation support for socket // // --------------------------------------------------------------------------- #pragma o...
{ "alphanum_fraction": 0.6298003072, "avg_line_length": 27.125, "ext": "h", "hexsha": "788434b39025d0e98bed6d89809e40e4d8a87268", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-09-16T09:09:16.000Z", "max_forks_repo_forks_event_min_datetime": "2021-09-16T09:09:16.000Z...
#include <petsc.h> #include "compressibleFlow.h" #include "mesh.h" #define DIM 2 /* Geometric dimension */ typedef struct { PetscReal gamma; PetscReal rhoL; PetscReal rhoR; PetscReal uL; PetscReal uR; PetscReal pL; PetscReal pR; PetscReal maxTime; PetscReal length...
{ "alphanum_fraction": 0.6262004432, "avg_line_length": 41.3543788187, "ext": "c", "hexsha": "2208cb87c95ebbff3a409a626aba7054732cb0c9", "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_zpotri.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 Hatem Ltaief * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <stdlib.h> #in...
{ "alphanum_fraction": 0.5365922844, "avg_line_length": 29.2154696133, "ext": "c", "hexsha": "e7d00f873724eea6173519158ee10c78ca8e9c1d", "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 timing.c * * PLASMA auxiliary 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 ??? * @author Mathieu Faverge * @author Dulceneia Becker * @date 2010-11-15 * **/ #if defined( _W...
{ "alphanum_fraction": 0.5111185182, "avg_line_length": 34.8275290216, "ext": "c", "hexsha": "6b9e6ad663fb1b9c4e1ca302feeba16c5890442e", "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/gsl_multifit.h * * Copyright (C) 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) any l...
{ "alphanum_fraction": 0.58585588, "avg_line_length": 31.1083333333, "ext": "h", "hexsha": "401c2cb0bcabead87f652cd28154e622679a71ea", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_histogram.h> #include"mpi.h" const double PI = 3.14159; double rz(double red); struct galaxy { double x, y, z, d, w; }; int main (int argc, char **argv) { FILE * DD; FILE * PP; FILE * RR; const in...
{ "alphanum_fraction": 0.5510245078, "avg_line_length": 22.7305936073, "ext": "c", "hexsha": "073cde0737835744e8f1e0d067129369c3fc3f5b", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-02-22T09:24:38.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-26T17:30...
/* -*- coding: utf-8; mode: c++; tab-width: 2; -*- ------------------------- Interface/declaration file for GramSchmidt.cpp ------------------------------------------------------------------------- */ #ifndef GRAMSCHMIDT_H #define GRAMSCHMIDT_H #include <vector> #include <numeric> #include <algorithm> #include <cb...
{ "alphanum_fraction": 0.5932452276, "avg_line_length": 28.375, "ext": "h", "hexsha": "db3caa6fb2c7e059b57529ea37df68e155fda95f", "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": "04b52...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2015 Rokko Developers https://github.com/t-sakashita/rokko * * Distributed under the Boost Software License, Version 1.0. (See accompanying * fi...
{ "alphanum_fraction": 0.7132330365, "avg_line_length": 31.931372549, "ext": "h", "hexsha": "e737325add76107da819b72ef69ac5ab1f311ad9", "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:2...
#include <petsc.h> #undef __FUNCT__ #define __FUNCT__ "main" int main(int argc,char **args) { PetscErrorCode ierr; PetscInitialize(&argc,&args,(char*)0,(char*)0); ierr = PetscPrintf(PETSC_COMM_WORLD," === Hello from Petsc! ===\n");CHKERRQ(ierr); ierr = PetscFinalize(); return 0; }
{ "alphanum_fraction": 0.6666666667, "avg_line_length": 16.6666666667, "ext": "c", "hexsha": "3c59dc23a738a7c19c234989acabf10c3956e40f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpRNG.h> #include <gbpMCMC.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_interp.h> void read_MCMC_configuration(MCMC_info *MCMC, char *filename_output_dir, int chain) { SID_log("R...
{ "alphanum_fraction": 0.6835769561, "avg_line_length": 36.34375, "ext": "c", "hexsha": "da83c70c9aecee1af8cb1576898562aa76baf1db", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:40.00...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gbpInterpolate.h> void init_interpolate(double *x, double *y, size_t n, const gsl_interp_type *T, interp_info **interp) { size_t i; (*interp) = (interp_info *)malloc(sizeof(interp_info))...
{ "alphanum_fraction": 0.5287356322, "avg_line_length": 33.6774193548, "ext": "c", "hexsha": "62f2339c5f3cd4f03b7f7e4c3ccbed04604f5efb", "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:...
/** * * @file core_zlacpy.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 Julien Langou * @author Henricus Bouwmeester * @author Mathieu Faverge * @date 2010-11-15 * @pre...
{ "alphanum_fraction": 0.5382231405, "avg_line_length": 28.4705882353, "ext": "c", "hexsha": "fbac2ef0f97244d018c0ed521c8826cfbd9aa0e7", "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 is a permissive free software license, which permits reuse * within both open source and proprietary software. The software is licensed * as is, and no warranty is given as to fitness for purpose or absence of * infringement of third parties' rights, such as patents. Generally use for * resear...
{ "alphanum_fraction": 0.6865914841, "avg_line_length": 29.7251097578, "ext": "c", "hexsha": "9f02c6a6e712d93891aced781f6e15d44ceedc76", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2022-03-28T09:17:33.000Z", "max_forks_repo_forks_event_min_datetime": "2016-08-03T12:08:...
// // syrk.h // Linear Algebra Template Library // // Created by Rodney James on 1/4/12. // Copyright (c) 2012 University of Colorado Denver. All rights reserved. // #ifndef _syrk_h #define _syrk_h /// @file syrk.h Performs matrix-matrix multiplication operations resulting in symmetric matrices. #include <cctype...
{ "alphanum_fraction": 0.4325299355, "avg_line_length": 27.5433403805, "ext": "h", "hexsha": "986fdec88457ddb5b5cc23d42c65a67305ddafd5", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-02-09T23:18:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-01T06:46:...
/** * @file convolution.h * @brief Block convolution realization of an LTI system with the FFT.Time delay estimation * @author John McDonough */ #ifndef CONVOLUTION_H #define CONVOLUTION_H #include <stdio.h> #include <assert.h> #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #i...
{ "alphanum_fraction": 0.731522707, "avg_line_length": 25.816091954, "ext": "h", "hexsha": "79692c8e7fa40adeb60fe86db9f058d21fcd4ac9", "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...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_spline.h> int main(void) { size_t i; const size_t N = 9; /* this dataset is taken from * J. M. Hyman, Accurate Monotonicity preserving cubic interpolation, * SIAM J. Sci. Stat. Comput. 4, 4, 1983. */ co...
{ "alphanum_fraction": 0.6266751755, "avg_line_length": 29.0185185185, "ext": "c", "hexsha": "2049df48ed454064e0e24d1db6f62e81c59098f6", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
#ifndef FUNCTIONS_H #define FUNCTIONS_H #include <vector> #include <string> #include <fstream> #include <gsl/gsl_matrix.h> #include "structures.h" double rad2deg(double rad); double deg2rad(double deg); double vect_len(const vect &v); void norm(vect &vr); double double_dot_prod(const gsl_matrix* m1, const gsl_mat...
{ "alphanum_fraction": 0.7889740781, "avg_line_length": 42.1384615385, "ext": "h", "hexsha": "760bae72e9933bf50dca1e5cb83ba90deff12f6c", "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":...
/* AUTORIGHTS Copyright (C) 2007 Princeton University This file is part of Ferret Toolkit. Ferret Toolkit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later ver...
{ "alphanum_fraction": 0.6523171019, "avg_line_length": 22.8548387097, "ext": "c", "hexsha": "5a46af74ba18f906182acc4530b5a9996cb9af6f", "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 Copyright (c) 2013-2015 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> 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, inc...
{ "alphanum_fraction": 0.5720783183, "avg_line_length": 29.7508250825, "ext": "c", "hexsha": "8094b5d52b86dd675a9d8fec5542906e9ef9f28b", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-12-27T22:03:05.000Z", "max_forks_repo_forks_event_min_datetime": "2017-11-21T08:11:...
/* 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.5024306836, "avg_line_length": 33.588963964, "ext": "h", "hexsha": "6ceb9b8093d459ccf32d8231c19c82db55fdbc98", "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:...
/* * 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.5685575643, "avg_line_length": 31.554200542, "ext": "h", "hexsha": "9ce4e5bffdeb28937b8b42b663730725b8194de2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:5...
#include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "cblas.h" void cblas_srotm (const int N, float *X, const int incX, float *Y, const int incY, const float *P) { #define BASE float #include "source_rotm.h" #undef BASE }
{ "alphanum_fraction": 0.6965811966, "avg_line_length": 18, "ext": "c", "hexsha": "a037d76aa18f3a84fd65fcdfca380628e2a5d643", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z", ...
// lu2tlub.c // // blocked LU decomposition library for column-major version // // Time-stamp: <11/05/13 11:35:56 makino> #include <stdio.h> #include <stdlib.h> #include <math.h> #ifndef NOBLAS #ifdef MKL #include <mkl_cblas.h> #else #include <cblas.h> #endif #endif #include <lu2lib.h> typedef double v2df __attribu...
{ "alphanum_fraction": 0.48862491, "avg_line_length": 24.0311418685, "ext": "c", "hexsha": "bb929044f1b5d873fb51f751e5efaea2c65d29e7", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-12-13T15:31:32.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-13T15:31:32...
/** * * @file example_strsmpl.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 for solving a system of linear equations using * LU factorization and PLASMA_strsmpl routine * *...
{ "alphanum_fraction": 0.587571977, "avg_line_length": 28.9444444444, "ext": "c", "hexsha": "cfe8fe41f5af12e20920ee06af4d6fc24f90046f", "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_sf_bessel.h> int main(void) { double x = 5.0; double y = gsl_sf_bessel_J0(x); printf("J0(%g) = %.18e\n", x, y); return 0; }
{ "alphanum_fraction": 0.6094674556, "avg_line_length": 16.9, "ext": "c", "hexsha": "f87c49b4c5263382284660bd7637de98c92f1afd", "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": "0fab83d...
#pragma once #include <emerald/util/foundation.h> #define gsl_FEATURE_MAKE_SPAN_TO_STD 20 #include <gsl/gsl-lite.hpp> #include <array> namespace emerald::shallow_weaver { using namespace emerald::util; template <typename T> using span = gsl::span<T>; enum class Time_integration { FIRST_ORDER, RUNGE_KUTTA_2, RUNG...
{ "alphanum_fraction": 0.7392996109, "avg_line_length": 21.4166666667, "ext": "h", "hexsha": "fe9174369d129d812106e2d58f1a7aff29a82641", "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.6448850119, "avg_line_length": 28.7899543379, "ext": "c", "hexsha": "aa82ddaab6e1562b0f5256aa5e855e1e8840569e", "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:...
/* specfunc/legendre_Qn.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 ...
{ "alphanum_fraction": 0.5819553535, "avg_line_length": 26.3651226158, "ext": "c", "hexsha": "5b12356bd5d98fe4bb46180f7847621b0f1db45a", "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) 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.6657330906, "avg_line_length": 31.4581497797, "ext": "c", "hexsha": "6cc9acb7c1099ef690ba91a0883a336b3d21acb0", "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:...
/* dht/dht.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 option) any l...
{ "alphanum_fraction": 0.5773195876, "avg_line_length": 21.0309734513, "ext": "c", "hexsha": "b82266c70cc09650b4b8c99fdf2b7b411fcbfc10", "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:...
/* 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.538764158, "avg_line_length": 27.9116445352, "ext": "c", "hexsha": "a1b461ac2cdef278333faf9bc25f1ba8cbd318a8", "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": ...
// gcc -msse2 -O3 -ftree-vectorize test_dcl.c dclhelpers.c os_generic.c -DFLT=double -lpthread -lcblas && valgrind // ./a.out #include "dclhelpers.h" #include "os_generic.h" #include <assert.h> #include <cblas.h> #include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include "sv_matrix.h" void...
{ "alphanum_fraction": 0.532630379, "avg_line_length": 22.4935897436, "ext": "c", "hexsha": "d66f3e4418c58870bd0d688f046d14596c64bb49", "lang": "C", "max_forks_count": 52, "max_forks_repo_forks_event_max_datetime": "2022-03-21T07:50:56.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-26T09:09:...
/* ode-initval/rkck.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 opti...
{ "alphanum_fraction": 0.5629444791, "avg_line_length": 24.6615384615, "ext": "c", "hexsha": "b869542b77733abbdaf298565c5d371846aada15", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2021-06-10T03:09:53.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-29T20:31...
/** @file */ #ifndef __CCL_LSST_SPECS_INCLUDED__ #define __CCL_LSST_SPECS_INCLUDED__ #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> /** * We assume no relevant source redshift distributions exceed z= 5 */ #define Z_MIN_SOURCES 0. #define Z_MAX_SOURCES 5.0 CCL_BEGIN_DECLS /** * P(z) function. * Th...
{ "alphanum_fraction": 0.7320490368, "avg_line_length": 34.7565217391, "ext": "h", "hexsha": "1710d3287c16183480bd2f4913770060cfd978b2", "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 NEURAL_MATRIX_H_ #define NEURAL_MATRIX_H_ #include <vector> #include <functional> #include <iostream> #include <iomanip> #include <cmath> #include <cassert> #include <gsl/gsl_blas.h> namespace neural { class Matrix { double *_data; int _rows; int _cols; public: Matrix...
{ "alphanum_fraction": 0.4925629291, "avg_line_length": 22.1265822785, "ext": "h", "hexsha": "f9986502f04a8341b842fe06c356e9b76be66f7d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* matrix/gsl_matrix_complex_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 versi...
{ "alphanum_fraction": 0.7085550825, "avg_line_length": 42.7045454545, "ext": "h", "hexsha": "9e2c3dbe19c5c7f966296069dc379db9f2954dd1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_cdf.h> #include <gsl/gsl_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> ...
{ "alphanum_fraction": 0.580840103, "avg_line_length": 30.4036144578, "ext": "c", "hexsha": "62d643be81daa79f9dfde084f492303eb16858a1", "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) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch 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 program is distr...
{ "alphanum_fraction": 0.6842105263, "avg_line_length": 32.2173913043, "ext": "h", "hexsha": "26ba3cf7b81311208d36a75d0f26dfcb1e03b950", "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:...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_statistics_double.h> #include <math.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 "tz_neurotrace.h" #inclu...
{ "alphanum_fraction": 0.7090713902, "avg_line_length": 24.5131578947, "ext": "c", "hexsha": "688f65313afcd337fb9ba2f324acd314c4211811", "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_math.h> #ifdef SUBFIND #include "allvars.h" #include "proto.h" #include "subfind.h" /*! Structure for communication during the density computation. Holds data that is sent to other processors. */ static struct linkngbdat...
{ "alphanum_fraction": 0.5960913876, "avg_line_length": 24.8027777778, "ext": "c", "hexsha": "0f40a5c90ffafc9d2172b27a0dae843ea803510f", "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 EigenAdaptors.h * * @brief This header contains adaptor functions for Eigen types * * @author Stefan Reinhold * @copyright Copyright (C) 2018 Stefan Reinhold -- All Rights Reserved. * You may use, distribute and modify this code under the terms of * the AFL 3.0 lic...
{ "alphanum_fraction": 0.6412900395, "avg_line_length": 33.5147058824, "ext": "h", "hexsha": "083faa67732b6c931553bc4b5262104e8b8124b1", "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":...
/* * cube.c -- solutions of a cubic system * * (c) 2016 Prof Dr Andreas Mueller, Hochschule Rapperswil */ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> int f(double x, const double y[], double f[], void *params) { f[0] = (y[0] - 1) * y[0] * (y[0] +...
{ "alphanum_fraction": 0.6218978102, "avg_line_length": 25.3703703704, "ext": "c", "hexsha": "f2387aee419b800594c4d26919b52fedee994e5d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// // Created by robin on 2018/9/1. // Copyright (c) 2018 Robin. All rights reserved. // #pragma once #include <type_traits> #include <vector> #include <algorithm> #include <gsl/gsl> namespace satz::bytes { /** * @brief Generate n random bytes. */ std::vector<uint8_t> make_random_bytes (int n); /** * @brief G...
{ "alphanum_fraction": 0.6121343445, "avg_line_length": 24.6133333333, "ext": "h", "hexsha": "9ab5bd6d541d1961b64c55ff5ab39920d2a7f96e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-03-26T11:41:15.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-26T11:41:...
/* * C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer * * Yan-Rong Li, liyanrong@mail.ihep.ac.cn * Jun 30, 2016 * */ #ifndef _DNESTVARS_H #define _DNESTVARS_H #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdbool...
{ "alphanum_fraction": 0.7638888889, "avg_line_length": 33.3134328358, "ext": "h", "hexsha": "f675b4655e99065b291564b22edcab91c2717ed2", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-06T11:26:06.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-05T02:01:...
/* * BRAINS * (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling * Yan-Rong Li, liyanrong@ihep.ac.cn * Thu, Aug 4, 2016 */ /*! * \file reconstruct_line2d.c * \brief reconstruct 2d line and BLR model. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #in...
{ "alphanum_fraction": 0.6321460216, "avg_line_length": 30.9375, "ext": "c", "hexsha": "1c48b32e9bdab931a688e64b634876eb17ab5be7", "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": "b81c...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.36 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency....
{ "alphanum_fraction": 0.6712413198, "avg_line_length": 28.9711195073, "ext": "c", "hexsha": "be2bfb86925c9e0e8c5d6ce8f63fe00a5e074c4b", "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:...
/* specfunc/legendre_con.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * Copyright (C) 2010 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 versio...
{ "alphanum_fraction": 0.5596251933, "avg_line_length": 31.512, "ext": "c", "hexsha": "85dee57b788bfbd917d825cdde5b1b33998ba8b3", "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.000Z...
/** * THE BIG PICTURE * * This file: * 1) (libmtm.a, actually) loads and parses the input matrix * 2) iterates through a sequence of feature pairs specified in one of * a variety of ways * 3) for each pair it calls a high-level analysis method that selects * and executes an appropriate covariate ...
{ "alphanum_fraction": 0.636377516, "avg_line_length": 26.1122923588, "ext": "c", "hexsha": "4c89045c41c040fa4aa947590dee69dd03f19900", "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": ...
/* statistics/gsl_statistics_ulong.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Jim Davies, 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 Lice...
{ "alphanum_fraction": 0.7988505747, "avg_line_length": 63.2727272727, "ext": "h", "hexsha": "c08392883cce19dfd8e7bd72722c1cc6904392f0", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer * * Yan-Rong Li, liyanrong@mail.ihep.ac.cn * Jun 30, 2016 * */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <math.h> #include <string.h> #include <mpi.h> #include <gsl/gsl_rng.h> #include "dnest.h" #include "model1...
{ "alphanum_fraction": 0.64453125, "avg_line_length": 23.7350993377, "ext": "c", "hexsha": "81959ee38130733ac048f492966bd841474c05a6", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": "...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_sf_expint.h> #include "ccl.h" //maths helper function for NFW profile static double helper_fx(double x){ double f; f = log(1.+x)-x/(1.+x); return...
{ "alphanum_fraction": 0.6414701146, "avg_line_length": 29.654494382, "ext": "c", "hexsha": "83a59b2b4c39d696043fd33b8d247548d6d0b334", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-10T07:35:07.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-10T07:35:0...
#ifndef CWANNIER_DOS_UTIL #define CWANNIER_DOS_UTIL #include <stdlib.h> #include <stdio.h> #include "bstrlib/bstrlib.h" #include <gsl/gsl_matrix.h> gsl_matrix* parse_R_from_bs(char *b1, char *b2, char *b3); int set_R_row(gsl_matrix *R, char *b, int row); double* linspace(double a, double b, int num); #endif //CWANNI...
{ "alphanum_fraction": 0.75, "avg_line_length": 23.7142857143, "ext": "h", "hexsha": "58a4e3c3d94a6d69f326453fb6e61a138eb42522", "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": "96b971...
#pragma once #ifndef UPCA_ARCH_H #error "Don't include this file directly. Use #include <upca/upca.h>." #endif #include <iostream> #include <memory> #include <sstream> #include <string> #include <gsl/gsl> #include <fcntl.h> #include <stdio.h> #include <sys/stat.h> #include <sys/types.h> #ifdef JEVENTS_FOUND #incl...
{ "alphanum_fraction": 0.6044441329, "avg_line_length": 27.2251908397, "ext": "h", "hexsha": "b2327a1121c075998f385161d92a7db90058ca7c", "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":...
/****************************************************************************** CosmoLike Configuration Space Covariances for Projected Galaxy 2-Point Statistics https://github.com/CosmoLike/CosmoCov by CosmoLike developers ******************************************************************************/ #include <math....
{ "alphanum_fraction": 0.6154537287, "avg_line_length": 27.6865671642, "ext": "c", "hexsha": "3d8a651fad6b31bca30719aff394bda709625a75", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-01-27T11:30:53.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-21T20:17:...
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * Set of C routines to use FFTW1.3 library * 2D- FFT's for any size * * * JLP * Version 12/12/2006 (from my BORLAND version) *--------------------------------------------------------*/ #include <stdio.h> #include <math.h> #include "jlp_fftw.h" #inclu...
{ "alphanum_fraction": 0.5200622829, "avg_line_length": 26.1724137931, "ext": "c", "hexsha": "7fc57d430fd78b544776447f62828d4db5c609ec", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-07-09T00:20:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-09T00:20:...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sort.h> #include "cosmocalc.h" gsl_spline *cosmocalc_aexpn2comvdist_spline = NULL; gsl_interp_accel *cosmocalc_aexpn2comvdist_acc = NULL...
{ "alphanum_fraction": 0.7404211253, "avg_line_length": 28.97, "ext": "c", "hexsha": "d53a6e990c0d09002a6a3e310725fbf375905c72", "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"...
#include <math.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex.h> #define max(A, B) ((A) > (B) ? (A) : (B)) #define min(A, B) ((A) < (B) ? (A) : (B)) double R0(double flock_size, double housing_period, double prob_dam_to_lamb, int maxage, double *params)...
{ "alphanum_fraction": 0.5926724138, "avg_line_length": 35.9225806452, "ext": "c", "hexsha": "c84bcfae05a9361835b6d635f629eb705f559f92", "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 _FastFiz_h #define _FastFiz_h #ifdef SWIG %include exception.i %include "std_string.i" %{ #include "FastFiz.h" %} #endif /* SWIG */ #include <gsl/gsl_rng.h> #include <iosfwd> #include <list> #include <sstream> #include <string> #include <vector> // TODO: add a setprecision for double print out /** * The na...
{ "alphanum_fraction": 0.6781180792, "avg_line_length": 36.2762900065, "ext": "h", "hexsha": "9ecc1ce1ca276afdf9b763d7ae12b2aa36dde2e7", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-07-17T11:41:41.000Z", "max_forks_repo_forks_event_min_datetime": "2021-07-17T11:41:...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6305747126, "avg_line_length": 25.1082251082, "ext": "c", "hexsha": "906ed26364c4b7a38bd4b3bb0bbff569314c79e8", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z", "max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57...
#include <stdio.h> #include <string.h> #include <image_lib.h> #include <gsl/gsl_fit.h> #include "tz_image_lib.h" #include "tz_string.h" #include "tz_fimage_lib.h" #include "tz_error.h" #include "tz_darray.h" #include "private/alignstack.c" #include "private/alignconf.c" int main(int argc, const char *argv[]) { cons...
{ "alphanum_fraction": 0.632535461, "avg_line_length": 27.512195122, "ext": "c", "hexsha": "c19c9f237b1916313a8e256fd110fe8d38d8d2b9", "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 <limits.h> #include <float.h> #include "parmt_postProcess.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "iscl/array/array.h" #include "iscl/memory/memory.h" static double *diff(const int n,...
{ "alphanum_fraction": 0.4303494495, "avg_line_length": 34.2459016393, "ext": "c", "hexsha": "9a3284206019043513df507566f8ddd9722fb741", "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_common.c * * Copyright (C) 2017, 2018, 2019, 2020 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) an...
{ "alphanum_fraction": 0.6098552197, "avg_line_length": 22.6264367816, "ext": "c", "hexsha": "aece28edc02caa3cdaac17497425680fc6e161a9", "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:...
// ============================================================================= // == IMG.h // == -------------------------------------------------------------------------- // == An image class to be used with temporal superpixels. // == // == All work using this code should cite: // == J. Chang, D. Wei, and J. W. Fis...
{ "alphanum_fraction": 0.5184352518, "avg_line_length": 36.9435215947, "ext": "h", "hexsha": "f41cb3dc0371d3fe107de9af2480ef23b877cbd0", "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":...
/* GENETIC - A simple genetic algorithm. Copyright 2014, 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 copyright notice, this list of condi...
{ "alphanum_fraction": 0.627388535, "avg_line_length": 32.3307332293, "ext": "c", "hexsha": "0b193490a0673f0e0b6c0440f509d17636bdc7d2", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2017-05-22T08:54:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-22T08:54:0...
#include <math.h> #include <unistd.h> #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <time.h> #include <string.h> //#include <pthread.h> #include <omp.h> #include <complex.h> #include <fftw3.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_ra...
{ "alphanum_fraction": 0.4653087206, "avg_line_length": 42.8155136268, "ext": "c", "hexsha": "bf9219a2f7df8858e17ec7bf48510ea43fbc1338", "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 "configuration.h" #include "utility/geometry.h" #include "utility/SDL++.h" #include ...
{ "alphanum_fraction": 0.7338337182, "avg_line_length": 29.3559322034, "ext": "h", "hexsha": "856ae8e062860141a33bc8bfb8b1588f7c125548", "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:...
#include "lah.h" #ifdef HAVE_LAPACK /* Use a LAPACK package to do the heavy work */ /*#include <cblas.h>*/ #include <lapacke.h> lah_Return lah_forwardSub(lah_mat *B, lah_mat const *L) { if ( L == NULL || B == NULL || L->nR != B->nR || B->nR != L->nC) { return lahReturnParameterError; } ...
{ "alphanum_fraction": 0.4671201814, "avg_line_length": 25.9411764706, "ext": "c", "hexsha": "f430addd9f3181cf200fe98b0cd3357fc82e8ef7", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// // Copyright (C) 2019 Assured Information Security, Inc. // // 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.6280084448, "avg_line_length": 24.8426573427, "ext": "h", "hexsha": "7367805e985a85e20757980c61e52345071518d9", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-06-17T15:04:38.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-21T22:57:...
#pragma once #include <stdlib.h> #include <unistd.h> #include <string.h> #include "core/common.h" #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> void batch_linterp_continuous_axis(float** yy, double* x, size_t size, size_t stride, size_t count); void linterp_continuous_axis(float** yy, double* x, size_t size...
{ "alphanum_fraction": 0.7610619469, "avg_line_length": 33.2352941176, "ext": "h", "hexsha": "169e591f5f7f29627c73d1fc47a41ba9ef27898a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-07-05T02:31:52.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-05T15:12:...
/* multiroots/gsl_multiroots.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.7274664045, "avg_line_length": 34.4745762712, "ext": "h", "hexsha": "9e28897f7bd0e22726d0f95af11db5a1925b7143", "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 /* * (C) Copyright 2020 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ /// \file Copying.h /// \brief Generic copying facility /// \note Feature is under development. This is a placeholder h...
{ "alphanum_fraction": 0.73302524, "avg_line_length": 31.9659090909, "ext": "h", "hexsha": "8fa6d91bf7340d657c19c72fdad5b2a30e6d8d6c", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-14T09:19:25.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-09T16:12:02...
/* vector/gsl_check_range.h * * Copyright (C) 2003, 2004, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option...
{ "alphanum_fraction": 0.7264502395, "avg_line_length": 27.6323529412, "ext": "h", "hexsha": "5b0a521fa3a00cbdf349aee26979a4e334299afc", "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:...
/*! \file allvars.c * \brief provides instances of all global variables. */ #include <stdio.h> #include <gsl/gsl_rng.h> #include "tags.h" #include "allvars.h" int ThisTask; /*!< the rank of the local processor */ int NTask; /*!< number of processors */ int PTask; /*!< smallest integer such ...
{ "alphanum_fraction": 0.6876386368, "avg_line_length": 45.495412844, "ext": "c", "hexsha": "4f59d12d0bd2f979d45fabfaadf81cd06a0ad684", "lang": "C", "max_forks_count": 102, "max_forks_repo_forks_event_max_datetime": "2022-02-09T13:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-22T10:00...
/* * Copyright (c) 2009-2010 Simon van Heeringen <s.vanheeringen@ncmls.ru.nl> * * This module is free software. You can redistribute it and/or modify it under * the terms of the MIT License, see the file COPYING included with this * distribution. * * This module contains all the code to compare motifs * */ ...
{ "alphanum_fraction": 0.6130167106, "avg_line_length": 23.3060029283, "ext": "c", "hexsha": "acfa514d04f240367bda09c0f65e4dfdc4590dee", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* ieee-utils/fp-sunos4.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 opt...
{ "alphanum_fraction": 0.6404151404, "avg_line_length": 26.6341463415, "ext": "c", "hexsha": "307b5380554462f308ac1567878f89b218126634", "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...
/* specfunc/test_hermite.c * * Copyright (C) 2011, 2012, 2013, 2014 Konrad Griessinger * * 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.6430368051, "avg_line_length": 39.2762096774, "ext": "c", "hexsha": "fc35a42d6812140e49afacae09fedaa4f5bf0f3b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* multiroots/convergence.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your o...
{ "alphanum_fraction": 0.6223880597, "avg_line_length": 22.0879120879, "ext": "c", "hexsha": "82ef6976df6a13438181804e29587859da0a5ddb", "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:...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6166978742, "avg_line_length": 25.5746478873, "ext": "c", "hexsha": "3c2a658a72bc47c3bc89213e2d78206002ade27f", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdio.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_deriv.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gbpLib.h> #include <gbpInterpolate.h> double interpolate_integral(interp_info *interp, double x_lo, double x_hi) { double x_lo_interp; double x_hi_interp; ...
{ "alphanum_fraction": 0.5345160046, "avg_line_length": 38.1323529412, "ext": "c", "hexsha": "7da7dc8de0daae9ce48b63f5c8c655fda9d72a48", "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:...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <limits.h> #include <getopt.h> #include <mpi.h> #include "compearth.h" #include "parmt_utils.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "parmt_polarity.h" #include "parmt_postProcess.h...
{ "alphanum_fraction": 0.5020253495, "avg_line_length": 35.650621118, "ext": "c", "hexsha": "acf976e353614f8f9e920165766ccfb3a8a3b170", "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 LinkFunc.h * * `IRLS' is a C++ implementation of the IRLS algorithm for GLM * Copyright (C) 2013 Xioaquan Wen, Timothee Flutre * * 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 ...
{ "alphanum_fraction": 0.7252673797, "avg_line_length": 33.2444444444, "ext": "h", "hexsha": "ca2e04827cd50faa4008a744122e18a28b156f4b", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-05-07T02:16:27.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-15T09:15:...
/******************************************************************************* NAME: diffimage ALGORITHM DESCRIPTION: Calculates statistics in each input file Calculates PSNR between the two input files Performs an fftMatch between the two input files Checks for differences in stats, a PSNR that is too low, ...
{ "alphanum_fraction": 0.595153186, "avg_line_length": 35.2807852469, "ext": "c", "hexsha": "ca9215154f5bc7818bf051ffb5fc49bb39ee7b30", "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:3...
/* # File : condat_l1ballproj.c # # Version History : 1.0, Aug. 15, 2014 # # Author : Laurent Condat, PhD, CNRS research fellow in France. # # Description : This file contains an implementation in the C language # of algorithms described in the research paper: # ...
{ "alphanum_fraction": 0.5331524131, "avg_line_length": 29.4470842333, "ext": "c", "hexsha": "63b3173f777e82b5ea05389a67057bfb901be146", "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 matrix class is a C++ wrapper for the GNU Scientific Library // Copyright (C) ULP-IPB Strasbourg // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License...
{ "alphanum_fraction": 0.7415575465, "avg_line_length": 30.2291666667, "ext": "h", "hexsha": "e72182056cbce3af2089324b84a1d4e76629349e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-11-27T01:35:33.000Z", "max_forks_repo_forks_event_min_datetime": "2018-11-27T01:35:...
#include <assert.h> #include <cblas.h> #include <complex.h> #include <errno.h> #include <fftw3.h> #include <getopt.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_permutation.h> #include <math.h> #include <omp.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h...
{ "alphanum_fraction": 0.7193383776, "avg_line_length": 31.2252747253, "ext": "h", "hexsha": "0a5e673f86a133f5428014322250594cd299d79c", "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 #ifndef _NOGSL #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_blas.h> #else #include "FakeGSL.h" #endif #include <vector> #include <fstream> #include <iostream> #include "BasicError.h" //#define _NOSNOPT 1 #ifndef _NOSNOPT #include "Snopt.h" #else #include "CustomSolver.h" #end...
{ "alphanum_fraction": 0.6930157011, "avg_line_length": 18.47, "ext": "h", "hexsha": "a20f58e83b1acece6cab91698796b34e8b5d775d", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:51.000Z"...
// Wrapper of the GSL interpolation functions that lets you define a // 1D function by points and then query points on that function. // // Author: Mark Desnoyer (mdesnoyer@gmail.com) // Date: Oct 2012 #ifndef __INTERPOLATION_H__ #define __INTERPOLATION_H__ #include <vector> #include <gsl/gsl_spline.h> #include <asser...
{ "alphanum_fraction": 0.6575819078, "avg_line_length": 25.3602941176, "ext": "h", "hexsha": "5b055debee442f20a98e44212caaa00614bfca5d", "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 <random> #include <gsl/gsl_rng.h> namespace EERAModel { /** * @brief Namespace containing objects related to random number generation * * This namespace contains a wrapper interace to existing random number * generation libraries in order for them to be used within all * m...
{ "alphanum_fraction": 0.6335483871, "avg_line_length": 24.5253164557, "ext": "h", "hexsha": "846fb17e97e547172e9d40ae2c1874fdeea09e55", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-11-10T15:17:29.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-23T11:21:...