Search is not available for this dataset
text
string
meta
dict
#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.6385912767, "avg_line_length": 35.2853658537, "ext": "c", "hexsha": "25096a8768c39a15061af3ce7111e9a423d0ea13", "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 distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: Paul R. C...
{ "alphanum_fraction": 0.5404862815, "avg_line_length": 27.2522796353, "ext": "h", "hexsha": "15bb58450ee315f7c6423e1365b09d6398fb63bf", "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 __ESTIMATE_INC_ #define __ESTIMATE__INC_ #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> double getLogLikelyhood(gsl_matrix *cinverse, double det_cmatrix, gsl_matrix *xmodel, gsl_vector *trainingvector, gsl_vector *thetas, gsl_matrix *h_matrix, int nmodel_points, int nthetas...
{ "alphanum_fraction": 0.724537037, "avg_line_length": 30.8571428571, "ext": "h", "hexsha": "46820577324858099f162f791fefaee115e35b44", "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:3...
/* vector/gsl_vector_long.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Lic...
{ "alphanum_fraction": 0.6717941737, "avg_line_length": 31.8008658009, "ext": "h", "hexsha": "aa530989383f21533239137c8a041e7814a13077", "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:...
#ifndef _RICO_ #define _RICO_ #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" #inclu...
{ "alphanum_fraction": 0.6963914262, "avg_line_length": 30.0461956522, "ext": "c", "hexsha": "8d6e9d1dc391b1cca083b923aac6c09a22a04381", "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:...
/* multilarge_nlinear/test.c * * Copyright (C) 2015, 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any late...
{ "alphanum_fraction": 0.7215108835, "avg_line_length": 30.6274509804, "ext": "c", "hexsha": "3013ec821708b06f4fb0ebac6a4c8bd0e4fab478", "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:...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C header for functions windowing and computing FFT/IFFT of time/frequency series. * */ #ifndef _FFT_H #define _FFT_H #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include...
{ "alphanum_fraction": 0.6569737519, "avg_line_length": 40.9052631579, "ext": "h", "hexsha": "809b655c7e3f5cb2c92ef2682a2540400c01b7da", "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:...
#ifndef AMGIF_H #define AMGIF_H #include <memory> #include <utility> #include <vector> #include <gsl/gsl_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #include "constants.h" #include "operators_buffer.h" using std::pair; using std::shared_ptr; using std::tuple; using std::vector; // Smart pointe...
{ "alphanum_fraction": 0.6809078772, "avg_line_length": 18.2682926829, "ext": "h", "hexsha": "18f30f49c39e45ca9bdfc0e89ab38544d02e9736", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:...
/** * * @file core_zhegst.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <lapacke.h> #incl...
{ "alphanum_fraction": 0.5573447256, "avg_line_length": 33.8111111111, "ext": "c", "hexsha": "968e7685968972781eaa38562b2cd9ca515f1646", "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-solaris.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 * y...
{ "alphanum_fraction": 0.6471618781, "avg_line_length": 25.7117117117, "ext": "c", "hexsha": "2c3db01e1849cf506b64fd88f78c5d39efd4cfad", "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...
/* specfunc/gsl_sf_ellint.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * you...
{ "alphanum_fraction": 0.7047367156, "avg_line_length": 36.8053097345, "ext": "h", "hexsha": "7f68f0e2989f3e802903d59a6dc10b7764c771fb", "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:...
/* examples/C/ssmfe/precond_core.f90 */ /* Laplacian on a square grid (using SPRAL_SSMFE_CORE routines) */ #include "spral.h" #include <math.h> #include <stdlib.h> #include <stdio.h> #include <cblas.h> /* Header that implements Laplacian and preconditioners */ #include "laplace2d.h" int main(void) { const int ngri...
{ "alphanum_fraction": 0.4487642723, "avg_line_length": 36.2251308901, "ext": "c", "hexsha": "1c2a30bedee42a6fa6b6a85f2e2cb16a8cef1bb0", "lang": "C", "max_forks_count": 19, "max_forks_repo_forks_event_max_datetime": "2022-02-28T14:58:37.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-30T20:52...
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
{ "alphanum_fraction": 0.683976768, "avg_line_length": 26.3693693694, "ext": "h", "hexsha": "2605af58c776fc9f91c255009fd6d03b56611721", "lang": "C", "max_forks_count": 11, "max_forks_repo_forks_event_max_datetime": "2022-01-20T08:56:38.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-13T00:04:...
/************************************************************* Generalized-ICP Copyright (c) 2009 Aleksandr Segal. 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 c...
{ "alphanum_fraction": 0.6922032057, "avg_line_length": 31.7327586207, "ext": "h", "hexsha": "10be2900d7a544e182e883e2d43416b5b7780edc", "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_interp.h> #include "gsl_wrapper.h" typedef struct tag_IntWrapper { gsl_interp* pInterpolator; gsl_interp_accel *acc; double* pX; double* pY; int nPts; } IntWrapper; void* makeIntWrapper( double* x, double* y, int nPts) { IntWrapper* pNewWrapper = (IntWrapper*) malloc( size...
{ "alphanum_fraction": 0.6247068022, "avg_line_length": 19.6769230769, "ext": "c", "hexsha": "b29cfeace16ee31fc4bc9dfb06cee33b33641e1d", "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_short.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
{ "alphanum_fraction": 0.6616008105, "avg_line_length": 34.3575949367, "ext": "h", "hexsha": "9b6d237495dd045d6977838e7235009f6ae701b2", "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:...
#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_her2k (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int uplo = 121; int trans = 111; int N = 1; int K = 2; float alpha[2] = {0.0f, 0.1f};...
{ "alphanum_fraction": 0.5044468161, "avg_line_length": 26.2710280374, "ext": "c", "hexsha": "615e67858a1968230d702bb8bde9dd9b370e2415", "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:...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
{ "alphanum_fraction": 0.5951626958, "avg_line_length": 37.0772261623, "ext": "h", "hexsha": "2c06f632416580a3c0f3264a2a4192ae048d1526", "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 <mpi.h> /* Pull in the CBLAS header. */ #ifdef _MACOSX #include <Accelerate/Accelerate.h> #else #ifdef _ATLAS #include <cblas.h> #else #include <gsl_cblas.h> #endif /* _ATLAS */ #endif /* _MACOSX */ /* These headers are provided by ScaleME. */ #incl...
{ "alphanum_fraction": 0.6019722098, "avg_line_length": 29.2590163934, "ext": "c", "hexsha": "476e08b91b87054306ecabab03f77cc218111aa7", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-06-08T10:23:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-12T17:29:...
#ifndef UTILS_H #define UTILS_H #ifdef __cplusplus extern "C" { #endif #include <stdio.h> // for printf #include <stdlib.h> // for posix_memalign #include <string.h> // for memset #include <math.h> // for sqrt #include <float.h> //for FLT_MAX #include <time.h> // for clock_gettime #include <cblas.h> #define STACK_SI...
{ "alphanum_fraction": 0.6583629893, "avg_line_length": 14.05, "ext": "h", "hexsha": "d90691875b3f02204a9234eea6fd89c637da8631", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-23T05:43:42.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-23T05:43:42.000Z"...
#pragma once #include <gsl/gsl> #include "halley/file_formats/config_file.h" namespace YAML { class Node; class Emitter; } namespace Halley { class Path; class YAMLConvert { public: class EmitOptions { public: Vector<String> mapKeyOrder; }; static void parseConfig(ConfigFile& config, gsl::span<c...
{ "alphanum_fraction": 0.7573073516, "avg_line_length": 29.7105263158, "ext": "h", "hexsha": "d3afa84ee26a7a847ad49047e1fd09b1045f536e", "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 <gsl/gsl_blas.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_vector.h> #include <qdm.h> gsl_vector * qdm_knots_vector(size_t spline_df, gsl_vector *interior_knots) { size_t size = spline_df * 2 + interior_knots->size; gsl_vector *knots = ...
{ "alphanum_fraction": 0.666025641, "avg_line_length": 20.5263157895, "ext": "c", "hexsha": "7e76f28b02cafe5b81e57458b07870247ad64597", "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_cgelqt.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 c ...
{ "alphanum_fraction": 0.4960469844, "avg_line_length": 29.5133333333, "ext": "c", "hexsha": "c1495dba67890c1a8faf11673aa98adc10f409a4", "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 <stdio.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> double integrator_qag(gsl_function *, double, double, double, double, size_t, double *,int *); double integrator_cquad(gsl_function *,double,double,double,double,size_t,double *,int *); double integrator_qags(gsl_function *,doub...
{ "alphanum_fraction": 0.7738419619, "avg_line_length": 45.875, "ext": "h", "hexsha": "a1b88fb2f299d5f84cb2bc03908526926e639d62", "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": "0e416...
/* Copyright (c) 2017 Bradley Worley <geekysuavo@gmail.com> * Released under the MIT License */ /* ensure once-only inclusion. */ #ifndef __MATTE_BLAS_H__ #define __MATTE_BLAS_H__ /* include the vector and matrix headers. */ #include <matte/vector.h> #include <matte/matrix.h> /* include the complex vector and mat...
{ "alphanum_fraction": 0.6943645773, "avg_line_length": 30.7787610619, "ext": "h", "hexsha": "bbe15c46375d57064d318862183b03bb16cda852", "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 <cblas.h> #include "tasks.h" void solve_task_seq(void *ptr) { struct solve_task_arg *arg = (struct solve_task_arg*) ptr; int n = arg->n; int nrhs = arg->nrhs; double *L = arg->L; int ldL = arg->ldL; double *X = arg->X; int ldX = arg->ldX; // Solve L * X = B, where ...
{ "alphanum_fraction": 0.5452793834, "avg_line_length": 22.5652173913, "ext": "c", "hexsha": "ec2564c4861b1fb740fcdaa91a7d66da576941cb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.708687441, "avg_line_length": 39.5887850467, "ext": "h", "hexsha": "f124ee091b64a4d62c3df083b4b068e2ffb7a477", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:29...
// CONSTANTIN MIHAI - 336CA // TEMA 2 ASC #include <cblas.h> #include "utils.h" double* copy(int N, double *A) { int i, j; double *B = malloc(N * N * sizeof(double)); for (i = 0; i < N; i++) { for (j = 0; j < N; j++) { B[i * N + j] = A[i * N + j]; } } return B; } double* add_matrix(int N, double *A, ...
{ "alphanum_fraction": 0.583273767, "avg_line_length": 20.2753623188, "ext": "c", "hexsha": "00c8daf93b6a528bf354c696263d248a1b8727aa", "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": ...
/* * vbHmmGaussIntensity.c * Model-specific core functions for VB-HMM-GAUSS. * * Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN * Copyright 2011-2016 * Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan. * All rights reserved. * * Ver. 1.0.0 * Last modified on 2016.02.08 */ #...
{ "alphanum_fraction": 0.4989906832, "avg_line_length": 28.0304678999, "ext": "c", "hexsha": "fcc3a699ba51b21b99e8f726ab5032525bff86f5", "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-gnuc99.c * * 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) any lat...
{ "alphanum_fraction": 0.6725, "avg_line_length": 24.043715847, "ext": "c", "hexsha": "70dcbefd91031cc8e01e3b4a5e07e6ca65fc9038", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47:52.000...
/* Modified from SUPOLAR, Copyright (c) Colorado School of Mines, 2011.*/ /* All rights reserved. */ /* SUPOLAR_PS: $Revision: 1.9 $ ; $Date: Sat, 23 Jul 2016 00:10:26 -0700 */ #include <omp.h> #include <stdio.h> #include <gsl/gsl_statistics_float.h> #include "su.h" #inc...
{ "alphanum_fraction": 0.4851556193, "avg_line_length": 37.3709497207, "ext": "c", "hexsha": "3865f4f95a338fd2a51c087318adc3e9e9a667bb", "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_l3.h" void cblas_ssymm (const enum CBLAS_ORDER Order, const enum CBLAS_SIDE Side, const enum CBLAS_UPLO Uplo, const int M, const int N, const float alpha, const float *A, const int lda, const float *...
{ "alphanum_fraction": 0.6864035088, "avg_line_length": 28.5, "ext": "c", "hexsha": "79e05e655b64d7da21ba9182a1aacd77fe009f32", "lang": "C", "max_forks_count": 173, "max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-08T18:01:54.000Z...
static char help[] = "Compute ln 2 in serial with PETSc, using random\n" "permutation of sum order. Shows that floating-point arithmetic is not\n" "associative.\n\n"; #include <petsc.h> #include <time.h> int main(int argc, char **args) { PetscErrorCode ierr; PetscMPIInt size; PetscInt i, j, n=10; ...
{ "alphanum_fraction": 0.6140247496, "avg_line_length": 28.2833333333, "ext": "c", "hexsha": "bb9c8524e1c7a5b94aee03c402c0a18970bff351", "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...
/* interpolation/interp2d.c * * Copyright 2012 David Zaslavsky * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version...
{ "alphanum_fraction": 0.5778131876, "avg_line_length": 31.9878640777, "ext": "c", "hexsha": "6389ebf0e833f5407ee2a9be6bb1098ce80187fa", "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":...
/** * * @generated c Tue Jan 7 11:45:26 2014 * **/ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <cblas.h> #include <lapacke.h> #include <plasma.h> #include <core_blas.h> #include "auxiliary.h" /*------------------------------------------------------------------- * Check t...
{ "alphanum_fraction": 0.5899705015, "avg_line_length": 35.2651006711, "ext": "c", "hexsha": "d122839d6ba644faa10141ba3bf8da980b36af80", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* specfunc/laguerre.c * * Copyright (C) 2007 Brian Gough * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 ...
{ "alphanum_fraction": 0.6120004027, "avg_line_length": 29.5625, "ext": "c", "hexsha": "53dfa6e38bb8250d06cf012e9f7c0d43795b8d13", "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_math.h> #include "gsl_cblas.h" #include "cblas.h" void cblas_zhpmv (const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo, const int N, const void *alpha, const void *Ap, const void *X, const int incX, const void *beta, void *Y, const int incY) { #define BASE double #include "source_hp...
{ "alphanum_fraction": 0.7117647059, "avg_line_length": 24.2857142857, "ext": "c", "hexsha": "85179ddcfe51f02b5cf9ce37038f3c4354b011f0", "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.5692672797, "avg_line_length": 24.3100961538, "ext": "c", "hexsha": "857828d71ad9bf7c2b551e3071dbf095e4cbd97f", "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 UTILS_H #define UTILS_H #include <gsl/gsl_vector.h> #include <gsl/gsl_sort_vector.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_permutation.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_multimin.h> ...
{ "alphanum_fraction": 0.708912037, "avg_line_length": 27.4285714286, "ext": "h", "hexsha": "c41f4dcc7f2c8c8b8ca0f219ee610cd4aa2b84a9", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-07-21T09:56:48.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-21T09:56:4...
/* randist/binomial_tpe.c * * Copyright (C) 1996, 2003, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your ...
{ "alphanum_fraction": 0.5205723125, "avg_line_length": 33.8481675393, "ext": "c", "hexsha": "d32423ccf35e78c7beb1ae3ab1c001cc076b6da7", "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:...
/* monte/gsl_monte_plain.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your ...
{ "alphanum_fraction": 0.6942764076, "avg_line_length": 28.2763157895, "ext": "h", "hexsha": "a62879650bc67801f863cb9c46c93ab9de484c42", "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:...
#pragma once #include <tuple> #include "arcana/threading/dispatcher.h" #include "router.h" #include <gsl/gsl> namespace arcana { // // A mediator is an event pool that ensures all events are sent // through the right dispatcher (execution context). // This is usefull when you want anyone to be able...
{ "alphanum_fraction": 0.6068181818, "avg_line_length": 24.4444444444, "ext": "h", "hexsha": "5a28911375818020a3d40039ff48d24f9e482b13", "lang": "C", "max_forks_count": 18, "max_forks_repo_forks_event_max_datetime": "2021-12-26T14:24:29.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-09T23:07...
/** * * @file core_dlatro.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 Azzam Haidar * @date 2010-11-15 * @generated d Tue Jan 7 11:44:49 2014 * **/ #include <lapacke....
{ "alphanum_fraction": 0.471092504, "avg_line_length": 32.3612903226, "ext": "c", "hexsha": "23aa5161a11ef4e0d77b1590a3e9f203934ddcac", "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": ...
/* * TableFunction.h * * Author: * Oleg Kalashev * * Copyright (c) 2020 Institute for Nuclear Research, RAS * * 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 restricti...
{ "alphanum_fraction": 0.7054205607, "avg_line_length": 30.6297709924, "ext": "h", "hexsha": "f29c7d38dde01184b3236a6ba10f36e0379cdf41", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-01-10T21:05:54.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-16T08:23:...
#ifndef VMICORE_VMIINITDATA_H #define VMICORE_VMIINITDATA_H #include <filesystem> #include <gsl/pointers> #include <libvmi/libvmi.h> class VmiInitData { public: gsl::owner<vmi_init_data_t*> data{}; explicit VmiInitData(const std::filesystem::path& socketPath); ~VmiInitData(); }; #endif // VMICORE_VMI...
{ "alphanum_fraction": 0.7432024169, "avg_line_length": 17.4210526316, "ext": "h", "hexsha": "a5e95e7f24513586fc8b061b1829452edb4da46a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.5940112527, "avg_line_length": 31.4904904905, "ext": "c", "hexsha": "0246d36202731d91f7b4536d70f3ab74d4a0120b", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2...
/** * * @file testing_ssygv.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 Azzam Haidar * @author Hatem Ltaief * @date 2010-11-15 * @generated s Tue Jan 7 11:45:18 2014 ...
{ "alphanum_fraction": 0.4561712314, "avg_line_length": 34.4733009709, "ext": "c", "hexsha": "c869e95d83758fef5bacacd719d375ecd3b7c4a7", "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 Two_Group_Diffusion_h #define Two_Group_Diffusion_h #include <vector> // Trilinos includes #include "Kokkos_DefaultNode.hpp" #include "Teuchos_ParameterList.hpp" #include "Teuchos_RCP.hpp" #include "Tpetra_CrsGraph.hpp" #include "Tpetra_CrsMatrix.hpp" #include "Tpetra_MultiVector.hpp" #include "Tpetra_Operato...
{ "alphanum_fraction": 0.5943980609, "avg_line_length": 26.3333333333, "ext": "h", "hexsha": "e99e650068fb353a0dd88ef9fda21977f6ecef7f", "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":...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
{ "alphanum_fraction": 0.7421655095, "avg_line_length": 36.7517241379, "ext": "h", "hexsha": "25774a80a434415143fec79e9a251f9c2cd666e7", "lang": "C", "max_forks_count": 190, "max_forks_repo_forks_event_max_datetime": "2020-06-15T12:26:12.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-08T19:3...
#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_symm (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int side = 141; int uplo = 121; int M = 1; int N = 2; float alpha = -0.3f; floa...
{ "alphanum_fraction": 0.4950410071, "avg_line_length": 25.3285024155, "ext": "c", "hexsha": "88a672a7ae5635002b096f571a29c3b4f9ff9b5f", "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...
// // Author: Valerio Bertone: valerio.bertone@cern.ch // #pragma once #include <string> #include <vector> #include <utility> #include <apfel/apfelxx.h> #include <yaml-cpp/yaml.h> #include <gsl/gsl_rng.h> namespace NangaParbat { /** * @brief The "DataHandler" class provides a common interface to all * datas...
{ "alphanum_fraction": 0.5933360096, "avg_line_length": 37.4586466165, "ext": "h", "hexsha": "6aaae932b1188cfc7ae5571d68eea8b3ef49aed3", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-08-01T18:42:36.000Z", "max_forks_repo_forks_event_min_datetime": "2020-01-18T22:10:...
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt #ifndef MESH_PROCESSING_LIBHH_MY_LAPACK_H_ #define MESH_PROCESSING_LIBHH_MY_LAPACK_H_ #include "libHh/Hh.h" // HH_REFERENCE_LIB() #if defined(HH_HAVE_LAPACK) #if defined(HH_USE_LAPACK_INTEGER) // Google #include <lapack.h> using lapack_int = lapa...
{ "alphanum_fraction": 0.6783260462, "avg_line_length": 39.694214876, "ext": "h", "hexsha": "286488129ca6b90f84b336d583db62b05458fb8a", "lang": "C", "max_forks_count": 75, "max_forks_repo_forks_event_max_datetime": "2021-11-09T02:57:34.000Z", "max_forks_repo_forks_event_min_datetime": "2017-01-12T04:44:...
#ifndef EXECUTION_CONTENT_INCLUDE #define EXECUTION_CONTENT_INCLUDE #include <atomic> #include <map> #include <string> #include <thread> #include <vector> #include <boost/asio.hpp> #include <boost/serialization/map.hpp> #include <boost/serialization/vector.hpp> #include <gsl/gsl> #include "base-utils/commandUtils.h"...
{ "alphanum_fraction": 0.729614949, "avg_line_length": 28.256, "ext": "h", "hexsha": "b1b13f07632ffda0542dea89e372d4a5688e68bc", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z", "max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:19.000Z"...
#ifndef API_H_INCLUDED #define API_H_INCLUDED #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex.h> #include <plplot/plplot.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include "stack.h" #include "utf8.h" #include "gdate.h" #include <setjmp.h> #if defined(_MSC_VER) || ...
{ "alphanum_fraction": 0.6834813309, "avg_line_length": 29.9583333333, "ext": "h", "hexsha": "713b860a7b2c240e40bae6cefac347cbbdc1b908", "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":...
/* fft/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 lat...
{ "alphanum_fraction": 0.6547181373, "avg_line_length": 25.7007874016, "ext": "c", "hexsha": "779a056f266e3eef777bfb06d3c16f37c07c25eb", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
/** * * @file core_zpltmg_circul.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.8.0 * @author Mathieu Faverge * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <lapack...
{ "alphanum_fraction": 0.5331564987, "avg_line_length": 29.25, "ext": "c", "hexsha": "64a8cebddfedf04c163f0a8fcf2d37052feb34e7", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2022-03-30T01:53:32.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-28T21:24:37.000Z"...
/* * 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.5738157017, "avg_line_length": 29.159100735, "ext": "c", "hexsha": "52404daff8ed8ebab80d51d71ffff70d4080df23", "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:0...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include <sys/stat.h> #include <sys/types.h> #include "allvars.h" #include "proto.h" #ifdef SUBFIND #include "fof.h" #include "subfind.h" #ifdef PERIODIC #define NEAREST(x) (((x)>boxhalf)?((x)-b...
{ "alphanum_fraction": 0.5880455726, "avg_line_length": 25.1041009464, "ext": "c", "hexsha": "04db7eb203a982210b9d2a34ef9c5f54c9baab03", "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":...
/* * ----------------------------------------------------------------- * isat_lib.c * In Situ Adaptive Tabulation Library * Version: 2.0 * Last Update: Nov 3, 2019 * * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail.com * ---------------------------------------------------------...
{ "alphanum_fraction": 0.4840900013, "avg_line_length": 26.0346620451, "ext": "c", "hexsha": "7114e18da121f5a8e494e7c54eeadcb0df60f4e6", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:...
/* specfunc/hermite.c * * Copyright (C) 2011, 2012, 2013, 2014 Konrad Griessinger * (konradg(at)gmx.net) * * 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 Licens...
{ "alphanum_fraction": 0.6215843641, "avg_line_length": 29.5837988827, "ext": "c", "hexsha": "cbf5503b7bf5aca6d45a7e24ffd32318cd7d2b75", "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 PROTO_H_ #define PROTO_H_ #define _DEFAULT_SOURCE 1 /** PROTO SETTINGS **/ #define PRECISION 2 #define MAX_LINE_LENGTH 9046 #define USE_CBLAS #define USE_LAPACK /* #define USE_CERES */ #define USE_STB_IMAGE #define WARN_UNUSED __attribute__((warn_unused_result)) #include <stdio.h> #include <stdlib.h> #inclu...
{ "alphanum_fraction": 0.5126150982, "avg_line_length": 33.5373467113, "ext": "h", "hexsha": "14c1e0646e48bf1d12cdd9ca84afc9dbc3fcd8b4", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-10-22T03:19:44.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-12T05:10:...
/* randist/flat.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (a...
{ "alphanum_fraction": 0.6603107345, "avg_line_length": 26.2222222222, "ext": "c", "hexsha": "d81d41492e5ec5cdc8ce26d8ac67b121ba01295a", "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:...
/* multifit/multiwlinear.c * * Copyright (C) 2015 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later versio...
{ "alphanum_fraction": 0.4964705882, "avg_line_length": 28.1700288184, "ext": "c", "hexsha": "eb86c21738c1c4bf07e991a7751b84b4bde0c963", "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 EXAMPLE_GENERATOR_H #define EXAMPLE_GENERATOR_H #include <opencv/cv.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include "helper/bounding_box.h" #include "loader/loader_imagenet_det.h" #include "loader/video.h" #include "helper/Common.h" #include "helper/CommonCV.h" #include "he...
{ "alphanum_fraction": 0.6640586797, "avg_line_length": 44.1366906475, "ext": "h", "hexsha": "176d878273d41f43489418e6720e529b2abb29e1", "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 _FUNCTIONS_ #define _FUNCTIONS_ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <limits.h> #include <cblas.h> #include <lapacke.h> #include "structs.c" #define PATH_LENGTH 32 #define LINE_LENGTH 50000 #define FRECHET 1 #define DTW 2...
{ "alphanum_fraction": 0.6797385621, "avg_line_length": 17.4857142857, "ext": "h", "hexsha": "3c667007db404ba58b05bc1b4cc65e94f804d7fb", "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 "types/type_util.h" #include <expected.hpp> #include <gsl/gsl> #include <sstream> #include <variant> namespace util { template<typename... Args> std::string concat(const Args&... args) { std::stringstream ss; (ss << ... << args); return ss.str(); } namespace detail { template<typename T...
{ "alphanum_fraction": 0.5831669993, "avg_line_length": 32.6739130435, "ext": "h", "hexsha": "44263c55abcae12744170bf2fb2e4a358987bf7c", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2022-02-08T11:45:45.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-03T13:50:...
#ifndef _SPC_RESP_H #define _SPC_RESP_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_nan.h> #include <gsl/gsl_sys.h> #include "fitsio.h" #include "aXe_grism.h" #include "spc_cfg.h" #include "spc_spc.h" #define RESPBUFFERSIZE 1024 // nu...
{ "alphanum_fraction": 0.74910859, "avg_line_length": 26.5948275862, "ext": "h", "hexsha": "a2d0447264fdd1dd6eebfdf8142b4ec97772c37c", "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/multiwlinear.c * * Copyright (C) 2015 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later versio...
{ "alphanum_fraction": 0.544353263, "avg_line_length": 32.1886792453, "ext": "c", "hexsha": "1f10684f203d90aac4ec57ed48519023d3b446d6", "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...
/* cdf/gsl_cdf.h * * Copyright (C) 2002 Jason H. Stover. * * 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.7882845188, "avg_line_length": 48.3526011561, "ext": "h", "hexsha": "ec7be9e516b1ba7e8034ecf8b32e49c00bd8b8f3", "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) 2020 Microsoft. All rights reserved. */ #pragma once #include <array> #include <algorithm> #include <gsl/span> #include "common/common.h" #include "common/logger.h" // A wrapper around std::array that is specialized to uint8_t and enforces // initialization template <size_t TLength> class Blob...
{ "alphanum_fraction": 0.6545408931, "avg_line_length": 25.3885350318, "ext": "h", "hexsha": "73070feb5701d634d710294488eeabbffef7a826", "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 getdata.h \brief rのメッシュと、そのメッシュにおける電子密度を与えるクラスの宣言 Copyright © 2015-2019 @dc1394 All Rights Reserved. This software is released under the BSD 2-Clause License. */ #ifndef _GETRMESHANDRHO_H_ #define _GETRMESHANDRHO_H_ #pragma once #include "../utility/property.h" #include <cstdint> // ...
{ "alphanum_fraction": 0.4879539734, "avg_line_length": 20.9886792453, "ext": "h", "hexsha": "3c8f768254e31a2d47509e05a295cc141848d4df", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-07-04T11:44:57.000Z", "max_forks_repo_forks_event_min_datetime": "2019-07-04T11:44:...
/** * File: trace_conf.h */ #ifndef _TRACE_CONF_H #define _TRACE_CONF_H #include <string.h> #include <math.h> #include <gsl/gsl_vector.h> #include "aXe_grism.h" #include "aXe_errors.h" #include "spc_cfg.h" #include "disp_conf.h" /** A structure to contain the coefficient of a 2D polynomial that can be used to c...
{ "alphanum_fraction": 0.7552083333, "avg_line_length": 24.6857142857, "ext": "h", "hexsha": "aac59024d40aeaa35938e0a4d6a66f4ae02ba525", "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.666956774, "avg_line_length": 24.4468085106, "ext": "c", "hexsha": "3e1ff7d04342adfdcd0f8d0c0e4a13f15b0fbeb5", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-05-08T08:54:49.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-18T14:58:5...
#include <Python.h> #include <numpy/arrayobject.h> #include <complex.h> #include <stdint.h> #include <stdlib.h> #include <math.h> #include <stdbool.h> #include <tgmath.h> #include <stdio.h> #include <time.h> #include "AG.h" #include "bitarray.h" #include "CH.h" #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> ...
{ "alphanum_fraction": 0.5203667561, "avg_line_length": 36.4384753134, "ext": "c", "hexsha": "42c813ed310056b3b6174413151962796f01ab26", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-02-02T11:13:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-02-02T11:13:...
// MIT License // // Copyright (c) 2020 SunnyCase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
{ "alphanum_fraction": 0.7502149613, "avg_line_length": 33.2285714286, "ext": "h", "hexsha": "aa294b415b0a8fa842201dfc57223b6b7ebdc9fe", "lang": "C", "max_forks_count": 20, "max_forks_repo_forks_event_max_datetime": "2021-09-13T10:14:07.000Z", "max_forks_repo_forks_event_min_datetime": "2018-05-18T03:54...
/* interpolation/spline.c * * Copyright (C) 2001, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later ver...
{ "alphanum_fraction": 0.5644599303, "avg_line_length": 26.4923076923, "ext": "c", "hexsha": "3d8605d89fc6482f59f58b5661e5e55e7fefc9e2", "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...
/** * * Copyright 2018, Planet Labs, 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...
{ "alphanum_fraction": 0.7202072539, "avg_line_length": 35.7407407407, "ext": "h", "hexsha": "ffadadf96b434eaf5405120cae2a5c63db3de139", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2021-09-28T02:08:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-20T10:39:...
#include <stdlib.h> #include <complex.h> #include <float.h> #include <math.h> #include <string.h> #ifdef _MACOSX #include <Accelerate/Accelerate.h> #else #include <cblas.h> #endif #include "fastsphere.h" #include "spreflect.h" #include "translator.h" #include "scatmat.h" #include "fsht.h" #include "farfield.h" #inclu...
{ "alphanum_fraction": 0.6120823191, "avg_line_length": 29.3441558442, "ext": "c", "hexsha": "a4d1cc2ff184a5c9f7202e7f3461f4fd6d3789e0", "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 "ccv.h" #include "ccv_internal.h" #if defined(HAVE_SSE2) #include <xmmintrin.h> #elif defined(HAVE_NEON) #include <arm_neon.h> #endif #ifdef HAVE_GSL #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #endif #ifdef USE_DISPATCH #include <dispatch/dispatch.h> #endif #ifdef HAVE_CUDA #include "cuda/cwc.h" #en...
{ "alphanum_fraction": 0.6704238421, "avg_line_length": 43.3108747045, "ext": "c", "hexsha": "ca79e27857d1050327c25552812aebb906134c0c", "lang": "C", "max_forks_count": 18, "max_forks_repo_forks_event_max_datetime": "2021-07-11T17:57:28.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-18T08:34...
#pragma once //! \file This file defines some C APIs to trigger CBLAS methods. #include "cinn/runtime/cinn_runtime.h" #ifdef CINN_WITH_MKL_CBLAS #include <mkl_cblas.h> #else #include <cblas.h> #endif // define some C APIs extern "C" { /** * \brief Do GEMM on buffer A and B and write result to buffer C. * We pass t...
{ "alphanum_fraction": 0.559793148, "avg_line_length": 33.6304347826, "ext": "h", "hexsha": "c8ddb5dbdc11702c8b430cb8e055b60e16bf89be", "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/qr_band.c * * Copyright (C) 2020 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * ...
{ "alphanum_fraction": 0.5485129205, "avg_line_length": 32.5555555556, "ext": "c", "hexsha": "968c14fb4ad23025d33f53bf390aa5f492958f2b", "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:...
/* Code for the article 'Landscape heterogeneity buffers biodiversity of meta-food-webs under global change through rescue and drainage effects' Copyright (C) 2016 Christian Guill & Florian D. Schneider Copyright (C) 2020 Remo Ryser This program is free software: you can redistribute it and/or modify...
{ "alphanum_fraction": 0.7510917031, "avg_line_length": 48.9126213592, "ext": "h", "hexsha": "dc834cc6e75a159f3f82f61059aac547822687c4", "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 "readArray_MPI.h" #include "../include/paralleltt.h" #include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <lapacke.h> #include <time.h> #include <math.h> void* p_hilbert_init(int d, int* n){ p_hilbert* parameters = (p_hilbert*) malloc(sizeof(p_hilbert)); parameters->d = d; parameters-...
{ "alphanum_fraction": 0.5875929587, "avg_line_length": 30.0934844193, "ext": "c", "hexsha": "1d913068b63aaa2461d80cc31daa4883dcee991e", "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 <stdint.h> #include <dc1394/dc1394.h> #include <math.h> #include <fitsio.h> #include <gsl/gsl_statistics.h> #include <xpa.h> #include <time.h> #include <sys/time.h> #include <string.h> #include <inttypes.h> #define NXPA 10 typedef struct _Box { double x; double...
{ "alphanum_fraction": 0.5961760495, "avg_line_length": 28.1940104167, "ext": "c", "hexsha": "74717299cfcca474a862b84c076a0eb0049fe611", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2017-12-01T13:02:36.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-29T15:16:...
#pragma once #include "Utils.h" #include <algorithm> #include <array> #include <atomic> #include <deque> #include <functional> #include <initializer_list> #include <limits> #include <memory> #include <mutex> #include <set> #include <vector> #include <gsl/gsl> namespace indexes::utils { template <typename epoch_t, t...
{ "alphanum_fraction": 0.6902887139, "avg_line_length": 32.4255319149, "ext": "h", "hexsha": "352397aa938d1d93e76d907acee4ec5552b24b08", "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":...
/* * Kaczmarz down-up sweep on diagonally banded matrix. The essential loop is: * * for each row i * x = x + w*(b(i) - A(i,:)*x)*A(i,:)' * end * * The matrix is given in band storage format, where each row (stored * contiguously in memory) of the array R stores a diagonal of the matrix with * offset idx(j)...
{ "alphanum_fraction": 0.6589124746, "avg_line_length": 30.774049217, "ext": "c", "hexsha": "2da869d95b20b21fb67d9af48500141927932b45", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-04-27T08:46:39.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-15T02:34:3...
#ifndef GBPINTERPOLATE_AWAKE #define GBPINTERPOLATE_AWAKE #include <gbpLib.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_integration.h> typedef struct interp_struct interp_info; struct interp_struct { gsl_interp * interp; gsl_interp_accel * accel; size_t n; const gsl_in...
{ "alphanum_fraction": 0.5641646489, "avg_line_length": 40.2926829268, "ext": "h", "hexsha": "af4223b1427e87be054e6ff6cee5689cb5db0e50", "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 LoadFromBST.h * * @brief Definition of function to load voxel volume from BST files * * @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 l...
{ "alphanum_fraction": 0.7082417582, "avg_line_length": 30.8474576271, "ext": "h", "hexsha": "77765689838593768b86372fc3c95141352bc35b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * \author Sylvain Marsat, University of Maryland - NASA GSFC * * \brief C code for the geometric coefficients entering the response for LISA-like detectors. * */ #define _XOPEN_SOURCE 500 #ifdef __GNUC__ #define UNUSED __attribute__ ((unused)) #else #define UNUSED #endif #include <stdio.h> #include <stdlib...
{ "alphanum_fraction": 0.6913396225, "avg_line_length": 56.7315550511, "ext": "c", "hexsha": "ae1a058cf546f69e8af0e422d187284bc5f32ab1", "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:...
#ifndef __SIMQ_H #define __SIMQ_H #include "Queue.h" #include "statistics.h" #include "input.h" #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* Defining non-queue function prototypes */ Customer* createCustomer(gsl_rng **); gsl_r...
{ "alphanum_fraction": 0.7265625, "avg_line_length": 18.2857142857, "ext": "h", "hexsha": "91ce5489edf0000f9d9125252f3e8b1d7d2dbf8c", "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": "9...
#include <pygsl/solver.h> #include <gsl/gsl_multifit_nlin.h> const char * filename = __FILE__; PyObject *module = NULL; static const char multifit_f_type_name[] = "F-MultiFitSolver"; static const char multifit_fdf_type_name[] = "FdF-MultiFitSolver"; static int PyGSL_multifit_function_wrap(const gsl_vector *x, void...
{ "alphanum_fraction": 0.663079615, "avg_line_length": 32.0168067227, "ext": "c", "hexsha": "02357debe69250b124a0864727338f025b823d56", "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...
/* movstat/fill.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * *...
{ "alphanum_fraction": 0.5683663527, "avg_line_length": 30.1862745098, "ext": "c", "hexsha": "7989c3998273a6d6eb9346608d49113fdb135567", "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:...
/* PETSC_DEPTRECATED causes parse erros in bindgen */ #define PETSC_DEPRECATED(arg) /* Not sure how this is generated... */ #define PETSC_BITS_PER_BYTE 8 #include <petsc.h>
{ "alphanum_fraction": 0.7572254335, "avg_line_length": 28.8333333333, "ext": "h", "hexsha": "4d2e4489ce93668a1e804bc4ae9e7b5934c12b67", "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":...
/* * CosmoCalcs.c * Library for computing physical parameters in lambda CDM cosmologies * FRLW universes. * * Created by Sean Lake on 5/24/14. */ #include "CosmoCalcs.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <gsl/gsl_poly.h> #include <gsl/gsl_integration.h> #i...
{ "alphanum_fraction": 0.6330563893, "avg_line_length": 26.9718420023, "ext": "c", "hexsha": "4e41f6463e6f3767561b97439557d94485f4f3e9", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2019-11-27T09:04:25.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-22T05:19:...
/* filter/gaussian.c * * Gaussian smoothing filters * * 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 * yo...
{ "alphanum_fraction": 0.6073321555, "avg_line_length": 26.2492753623, "ext": "c", "hexsha": "d83c90e2c0bd2e284335e9c50251f21b80608f1f", "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:...
#include <stdlib.h> #include <limits.h> #include <stdio.h> #include <errno.h> #include <time.h> #include <sys/resource.h> #include <string.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> double drand() { return (double) rand() / RAND_MAX; } void ptime(struct rusage *ru0, struct rusage *ru1) { doubl...
{ "alphanum_fraction": 0.5707425194, "avg_line_length": 25.5377358491, "ext": "c", "hexsha": "4532e8c4d5bf41b864531dbd7a6aa15c1f6b38b5", "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 <typeinfo> #include <gsl/gsl_assert> #include <algorithm> #include "halleystring.h" #include <halley/support/exception.h> namespace Halley { template <typename T> struct EnumNames { }; struct UserConverter { template<typename T, typename std::enable_if<std::is_enum<T>::value, int>::ty...
{ "alphanum_fraction": 0.6409753973, "avg_line_length": 20.9726027397, "ext": "h", "hexsha": "9ae41f4f222203a6fed17cc10e7268468b6babbe", "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":...
/* sum/levin_utrunc.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, ...
{ "alphanum_fraction": 0.5498998665, "avg_line_length": 29.5172413793, "ext": "c", "hexsha": "03bf8bc041006b4262f3b52c61bf4a8d8e5a8f55", "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...
/* 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.7277867528, "avg_line_length": 33.4594594595, "ext": "c", "hexsha": "c13ba5d9ab51c5da03764e72d8ba14c4922c8ea3", "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:...
/* bspline/test.c * * 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 License, or (at * your option) any later version. * * T...
{ "alphanum_fraction": 0.5767427321, "avg_line_length": 28.3097345133, "ext": "c", "hexsha": "e05dde047b436d8d3d358be45700f3e0692585f5", "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...