text
string
meta
dict
/* gcPresAbs.c - Calculate probability of expression in an mrna sample given a cel file of results. Use empiracal rank within a gc population to estimate probability and fisher's method of combining probabilities to calculate probe set probability. */ #include "common.h" #include "hash.h" #include "linefile.h"...
{ "alphanum_fraction": 0.6440090674, "avg_line_length": 28.9681050657, "ext": "c", "hexsha": "0023e53c356f1d5305e94418e85dc49bf472a03d", "lang": "C", "max_forks_count": 80, "max_forks_repo_forks_event_max_datetime": "2022-03-29T16:36:30.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-16T10:39...
/*----------------------------------------------------------------------------*/ /* */ /* quad_golden.c */ /* ...
{ "alphanum_fraction": 0.530114271, "avg_line_length": 33.8343023256, "ext": "c", "hexsha": "c078bd66e48110c4c5e9d1ad304c18ce7b58f7f6", "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:...
/* matrix/gsl_matrix_ushort.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.687646468, "avg_line_length": 34.833819242, "ext": "h", "hexsha": "196baed5147fb946d9af5895fbba5895552e75df", "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": "...
#define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include <Python.h> #include <petsc.h> #include "libpetsc4py/libpetsc4py.c"
{ "alphanum_fraction": 0.7938931298, "avg_line_length": 21.8333333333, "ext": "c", "hexsha": "d422b210b15e360e962e1958225d6282c407ffab", "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 pedram pakseresht on 2/18/21. // static char help[] = "Simple Petsc program"; #include <petsc.h> #include "incompressibleFlow.h" #include "mesh.h" #include "particleInertial.h" #include "particles.h" #include "particleInitializer.h" #include "petscviewer.h" static PetscErrorCode uniform_u(PetscInt ...
{ "alphanum_fraction": 0.6693005741, "avg_line_length": 34.1031578947, "ext": "c", "hexsha": "989472caff62bfe4b64ca77ecec795c6b7c819dc", "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: Lisandro Dalcin */ /* Contact: dalcinl@gmail.com */ #ifndef PETSC4PY_H #define PETSC4PY_H #include <Python.h> #include <petsc.h> #include "petsc4py.PETSc_api.h" static int import_petsc4py(void) { if (import_petsc4py__PETSc() < 0) goto bad; return 0; bad: return -1; } #endif /* !PETSC4PY_H */
{ "alphanum_fraction": 0.6855345912, "avg_line_length": 16.7368421053, "ext": "h", "hexsha": "45930b6275099b806c5a81bd3022850d82634cb5", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#if !defined(MAIN_H_INCLUDED) #define MAIN_H_INCLUDED #include "Exceptions.h" #include <cstdlib> #include <filesystem> #include <gsl/gsl> #include <iostream> #include <stdexcept> template <typename T> int commonMain(size_t argCount, const char*const*const argList) { using ::std::filesystem::path; using ::gsl::mak...
{ "alphanum_fraction": 0.6681664792, "avg_line_length": 20.6744186047, "ext": "h", "hexsha": "623b5ae7ec39885b659e655788be214ff6e37648", "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_multiset.h> int main (void) { gsl_multiset * c; size_t i; printf ("All multisets of {0,1,2,3} by size:\n") ; for (i = 0; i <= 4; i++) { c = gsl_multiset_calloc (4, i); do { printf ("{"); gsl_multiset_fprintf (stdout, c, " %u"); ...
{ "alphanum_fraction": 0.5021834061, "avg_line_length": 17.6153846154, "ext": "c", "hexsha": "6ac1e7c1499fe93c6d336bfa27eabf7cf778d146", "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/fdjac.c * * Copyright (C) 2013 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.6418884982, "avg_line_length": 27.2739726027, "ext": "c", "hexsha": "f00881e60d1fbf01b93df16c26f770e7929b12b4", "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:...
#pragma once #include "parser.h" #include "format.h" #include "nameutils.h" #include "utils.h" #include <sfun/string_utils.h> #include <cmdlime/errors.h> #include <gsl/gsl> #include <algorithm> #include <sstream> #include <iomanip> #include <functional> #include <cassert> namespace cmdlime::detail{ namespace str = sfu...
{ "alphanum_fraction": 0.5577877284, "avg_line_length": 31.1811320755, "ext": "h", "hexsha": "f89d7effefc0691fe20af7307499d5e5032f5db7", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:...
/** \file IRLS.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 vers...
{ "alphanum_fraction": 0.6852409639, "avg_line_length": 28.4571428571, "ext": "h", "hexsha": "8ad3d1fa315b5cdf214cf83059233166c23ec95a", "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:...
/** * Cascade simulation based on pair production and bremsstrahlung interactions * * copyright (C) 2007 * the icecube collaboration * * $Id: I3CascadeSimulation.h 35916 2007-08-23 09:34:12Z bvoigt $ * * @version $Revision: 35916 $ * @date $LastChangedDate: 2007-08-23 03:34:12 -0600 (Thu, 23 Aug 2007) $ * @a...
{ "alphanum_fraction": 0.696496067, "avg_line_length": 24.6574307305, "ext": "h", "hexsha": "17e74a20f8b47bc947e7145fab3dbd87fe8d6603", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-03-30T16:44:18.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-17T09:20:2...
#include <config.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_test.h> #include <gsl/gsl_wavelet.h> #include <gsl/gsl_wavelet2d.h> #define N_BS 11 double urand (void); double urand (void) { static unsigned long int x = 1...
{ "alphanum_fraction": 0.5462977041, "avg_line_length": 24.2693726937, "ext": "c", "hexsha": "997e4aab5e358715034d04831342e2399cd3b024", "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...
/* * ----------------------------------------------------------------- * Partially Stirred Reaction Library --- pasr_lib.h * Version: 1.6180 * Date: Nov 16, 2010 * ----------------------------------------------------------------- * Programmer: Americo Barbosa da Cunha Junior * americo.cunhajr@gmail.c...
{ "alphanum_fraction": 0.5285558385, "avg_line_length": 28.9368421053, "ext": "h", "hexsha": "bb64f158e50a1571ba6d37c480b34f42e111a36f", "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:...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_roots.h> #include "ccl.h" #include "ccl_params.h" /* --------- ROUTINE: h_over_h0 --------- INPUT: scale f...
{ "alphanum_fraction": 0.6729130146, "avg_line_length": 31.3314393939, "ext": "c", "hexsha": "8d69ef7683481f40e361013f36984e13db30e0cc", "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 EXECUTE_INCLUDE #define EXECUTE_INCLUDE #include <filesystem> #include <string> #include <vector> #include <gsl/string_span> #include "path.h" namespace execHelper { namespace test { namespace baseUtils { namespace execution { using CommandLine = std::vector<std::string>; int execute(const CommandLine& com...
{ "alphanum_fraction": 0.7406716418, "avg_line_length": 20.6153846154, "ext": "h", "hexsha": "082cf590706c0c409b2cbe60e74541265cd7aca1", "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:...
/*========================================================================= Library : Image Registration Toolkit (IRTK) Module : $Id$ Copyright : Imperial College, Department of Computing Visual Information Processing (VIP), 2008 onwards Date : $Date$ Version : $Revision$ Changes ...
{ "alphanum_fraction": 0.6102435397, "avg_line_length": 20.1460674157, "ext": "h", "hexsha": "145cd0b828623eed4a266161e01f5bf294613c66", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
{ "alphanum_fraction": 0.6844210321, "avg_line_length": 37.0072202166, "ext": "h", "hexsha": "030242eda06287415a5a46cdc18ad47ddb6014ff", "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/span> namespace engine { template <class ElementType, std::ptrdiff_t Extent = gsl::dynamic_extent> using span = gsl::span<ElementType, Extent>; }
{ "alphanum_fraction": 0.7423312883, "avg_line_length": 20.375, "ext": "h", "hexsha": "704e4e1f60d6f9ecefca1960eeee7ddb3fa60b71", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-09-25T22:24:16.000Z", "max_forks_repo_forks_event_min_datetime": "2015-09-25T22:24:16.000Z...
/* * ----------------------------------------------------------------- * isat_lib.h * 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.4478912513, "avg_line_length": 27.5865384615, "ext": "h", "hexsha": "672de843b1ef764bc80556c09a3a4c8d1423bfdb", "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/bessel_i.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 opt...
{ "alphanum_fraction": 0.6036794858, "avg_line_length": 27.3424242424, "ext": "c", "hexsha": "2d39f2cef7905c98911230d31974fdc8b6c81ca6", "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...
/* * BSD 3-Clause License * * Copyright (c) 2018, mtezych * 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, * ...
{ "alphanum_fraction": 0.7143896671, "avg_line_length": 24.7612612613, "ext": "h", "hexsha": "bb6a0acd45839137d8bee1097dfd298cf493f87d", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-07-14T23:16:23.000Z", "max_forks_repo_forks_event_min_datetime": "2019-12-21T00:31:...
/* segSiteHMM v. 0.1 !!! / / / Andrew Kern 3/14/07 */ #include "../hmm/hmm.h" #include "../hmm/adkGSL.h" #include "../hmm/popGenTools.h" #include "segSites.h" #include "segSiteHMM.h" #include <math.h> #include <assert.h> #include <string.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_c...
{ "alphanum_fraction": 0.6641304865, "avg_line_length": 31.3865671642, "ext": "c", "hexsha": "5ae2dfb5bac2a8f163faabc8bc7568389807f670", "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 pcunmqr_blgtrd.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 Azzam Haidar * @date 2011-05-15 * @generated c Tue Jan 7 11:45:13 2014 * **/ #include <lap...
{ "alphanum_fraction": 0.4196324144, "avg_line_length": 47.5, "ext": "c", "hexsha": "16c6677efe9f6ef43ef836da939bfbaa335bc299", "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": "bcc99c1...
#include <string.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <math.h> #include <options/options.h> #include "../csm/csm_all.h" struct ld_exp_tro1_params { int seed; double max_xy_error; double max_theta_error_deg; const char* file_input; const char* file_output1...
{ "alphanum_fraction": 0.6786401539, "avg_line_length": 27.350877193, "ext": "c", "hexsha": "6ec0ff88c101ce6b2c0be8fcdb7cc7e95df1e545", "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": ...
/* These tests are based on the NIST Statistical Reference Datasets See http://www.nist.gov/itl/div898/strd/index.html for more information. */ #include <config.h> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_test.h> #include <gsl/gsl_multifit.h> #include <gsl/gsl_multifit_nlin.h> #include <gs...
{ "alphanum_fraction": 0.5760954617, "avg_line_length": 24.2274881517, "ext": "c", "hexsha": "fede15afdaa21ab899a6ccf706b468b915e68df5", "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...
/* NAME: minmax PURPOSE: returns the (finite) minimum and the maximum of a vector which is the row/column of a matrix CALLING SEQUENCE: minmax(gsl_matrix * q, int row, bool isrow, double * min, double * max, bool partial, int partial_indx[3]) INPUT: q - matrix which holds the vect...
{ "alphanum_fraction": 0.5942857143, "avg_line_length": 23.5576923077, "ext": "c", "hexsha": "03f3052a9ba55ecacbbdcd110e3a83e1a642ff48", "lang": "C", "max_forks_count": 26, "max_forks_repo_forks_event_max_datetime": "2021-12-13T03:37:58.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-05T22:21...
//Roots of polynomial using compan matrix, as in Matlab/Octave. //This does roots for each vector X. //The roots are from an eig using LAPACKE, //and are tested to match Octave, except sometimes for sorting order. //For the complex case with non-contiguous vecs in X and Y, //the answers are correct except for a myster...
{ "alphanum_fraction": 0.4350987, "avg_line_length": 46.0532150776, "ext": "c", "hexsha": "572dba8276291fb9c1efc30465ce9db26c15cd67", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-10-05T13:50:32.000Z", "max_forks_repo_forks_event_min_datetime": "2021-10-05T13:50:32....
/*System includes*/ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> /*GSL includes*/ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h> #include <gsl/gsl_integration.h> #include <gs...
{ "alphanum_fraction": 0.5719610092, "avg_line_length": 20.5781710914, "ext": "c", "hexsha": "360d3fb7a038a9926270e7b9b1e1258ab868e87d", "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":...
/* interpolation/spline2d.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.6389470206, "avg_line_length": 35.0540540541, "ext": "c", "hexsha": "9d8f2d0e5082858be95972518e0f2ea3fbd63b18", "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 "np.h" #include "main.h" #include "argv.h" #include "memory.h" #include "utf8.h" #include "module_categorical.h" #include "module_lde.h" #include <stdlib.h> #include <string.h> #include <math.h> #include <float.h> #include <gsl/gsl_sf.h> #include "gslsupp.h" #include "sort.h" #ifndef TEST_DEACTIVATE # ...
{ "alphanum_fraction": 0.5629772594, "avg_line_length": 45.2258064516, "ext": "c", "hexsha": "dab18b17bd170c69c60b00f8dcd75123f6919a49", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* vector/gsl_vector_complex_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the...
{ "alphanum_fraction": 0.6366054802, "avg_line_length": 30.314516129, "ext": "h", "hexsha": "ec7cf731dea8b97e8c5c3df0de1052f8e4d8426b", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:...
#ifndef __BLAS_H__ #define __BLAS_H__ #define sgemm sgemm_ #define dgemm dgemm_ #define ssteqr ssteqr_ #define dsteqr dsteqr_ #define dgemv dgemv_ #define ddot ddot_ #define daxpy daxpy_ #define dscal dscal_ #define dasum dasum_ #ifdef __cplusplus extern "C"{ #endif //#include <cblas.h> //#include <clapack...
{ "alphanum_fraction": 0.6391694725, "avg_line_length": 29.7, "ext": "h", "hexsha": "faa3bb887b93ba95902b4f5d29a9c93ccaa6b91e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-10-08T20:02:46.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-11T22:29:45.000Z",...
/****************************************************************************/ /* */ /* File: typedefs.h */ /* */ /* P...
{ "alphanum_fraction": 0.6835102716, "avg_line_length": 39.0997304582, "ext": "h", "hexsha": "85d73da2c5a8832d7dd401d6da07bea6174e92d0", "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 <gsl/gsl_vector.h> #include "../include/type.h" #include "../include/global.h" #include "../include/cthreadpool.h" void *pool_thread(void *arg) { threadpool_t *pool = (threadpool_t*)arg; task_t task; int head; while(1) { pthread_mutex_lock(&(pool->pool_lock)); ...
{ "alphanum_fraction": 0.574034661, "avg_line_length": 24.1838235294, "ext": "c", "hexsha": "a353e244066136bc1c4eae91d66645d6e9b38e26", "lang": "C", "max_forks_count": 39, "max_forks_repo_forks_event_max_datetime": "2022-03-19T09:14:46.000Z", "max_forks_repo_forks_event_min_datetime": "2020-06-01T20:25:...
/*************************************************************************** Copyright (c) 2014, The OpenBLAS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
{ "alphanum_fraction": 0.6420373027, "avg_line_length": 33.5903614458, "ext": "c", "hexsha": "8586bb1d5df023e8c26cfd1b538606482fd1f41f", "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++-*- /*************************************************************************** * * Copyright (C) 2008 by Willem van Straten * Licensed under the Academic Free License version 2.1 * ***************************************************************************/ #ifndef __Pulsar_Interpolation_h #define _...
{ "alphanum_fraction": 0.5877466251, "avg_line_length": 19.26, "ext": "h", "hexsha": "f64c1f3a9401871f235dd7b1294c904ee2c22468", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-02-13T20:08:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-02-13T20:08:14.000Z"...
static char help[] = "ODE system solver example using TS, but with Jacobian. Sets TS type to\n" "implicit Crank-Nicolson. Compare ode.c.\n\n"; #include <petsc.h> extern PetscErrorCode ExactSolution(PetscReal, Vec); extern PetscErrorCode FormRHSFunction(TS, PetscReal, Vec, Vec, void*); extern PetscErrorCode FormRHSJ...
{ "alphanum_fraction": 0.6465874551, "avg_line_length": 34.141509434, "ext": "c", "hexsha": "319c5ccf9d7f5711ba64adb7131adb4c1f86d23f", "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:...
#ifndef INCLUDED_TELEPATH_MATRIX_H #define INCLUDED_TELEPATH_MATRIX_H #include <cblas.h> #include "telepath/blas/traits.h" namespace telepath{ enum ORDER { ROW_MAJOR = CblasRowMajor, COL_MAJOR = CblasColMajor }; enum TRANSPOSE { NONE = CblasNoTrans, TRANS = CblasTrans, ...
{ "alphanum_fraction": 0.6005830904, "avg_line_length": 35, "ext": "h", "hexsha": "7ce46eb16e74d6841b3cb0f8fe9a08aa9f2156fd", "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": "636f7345b...
#include <stdio.h> #include <gsl/gsl_fit.h> int main (void) { int n = 11; double x[11] = {10.0, 8.0, 13.0, 9.0, 11.0, 14.0 ,6.0, 4.0 , 12.0,7.0,5.0}; double y[11] = {8.04, 6.95,7.68, 8.81, 8.33, 9.96, 7.24,4.26,10.84, 4.82,5.68 }; double c0, c1, cov00, cov01, c...
{ "alphanum_fraction": 0.4950917627, "avg_line_length": 32.5416666667, "ext": "c", "hexsha": "a0caf8402ed5b8f30fa064403a2db861ffd5873b", "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> //#define VERY_VERBOSE #define MSG(x) { printf(x); fflush(stdout); } #define MSGF(x) { printf x ; fflush(stdout); } #include "buffer.h" static void test_buffer() { } #include "array.h" static void test_array() { int k; const int * p; const int * q; OLIO_ARRAY_STACK(st, i...
{ "alphanum_fraction": 0.598961039, "avg_line_length": 22.514619883, "ext": "c", "hexsha": "69cc9847e81a8be46bd9fcbdfc7b61508169f93e", "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 "AsyncSystem.h" #include "IAssetRequest.h" #include "Library.h" #include <gsl/span> #include <cstddef> #include <memory> #include <string> #include <vector> namespace CesiumAsync { class AsyncSystem; /** * @brief Provides asynchronous access to assets, usually files downloaded via * HTTP. ...
{ "alphanum_fraction": 0.6946564885, "avg_line_length": 29.5211267606, "ext": "h", "hexsha": "e13f4b68b7d55bd046db3a102864cd6ef8194733", "lang": "C", "max_forks_count": 66, "max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program i...
{ "alphanum_fraction": 0.6118750803, "avg_line_length": 28.9256505576, "ext": "c", "hexsha": "115fa8b5c1ffa5b48ee498f5582da57cb58f2f94", "lang": "C", "max_forks_count": 21, "max_forks_repo_forks_event_max_datetime": "2021-07-26T02:37:41.000Z", "max_forks_repo_forks_event_min_datetime": "2019-05-27T19:36...
/* * This file is part of the Visual Computing Library (VCL) release under the * license. * * Copyright (c) 2017 Basil Fierz * * 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 with...
{ "alphanum_fraction": 0.7212121212, "avg_line_length": 31.2, "ext": "h", "hexsha": "64aa8d92126a8301f130eba6271f238432826b00", "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": "4193fe4...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #ifndef AN_GSL_UTILS_H #define AN_GSL_UTILS_H #include <gsl/gsl_matrix_double.h> #include <gsl/gsl_vector_double.h> void gslutils_use_error_system(); /** Solves a least-squares matrix equation A X_i ...
{ "alphanum_fraction": 0.6901408451, "avg_line_length": 24.9814814815, "ext": "h", "hexsha": "81996f71cade9ee3f808850a6e6f1a1b2e594c4d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-02-11T06:56:30.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-11T06:56:...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "Data\Intrinsics.h" #include "Data\Pose.h" #include "Device/CameraCalibration.h" #include "MageSettings.h" #include "Device\IMUCharacterization.h" #include "Map\Map.h" #include "Map\ThreadSafeMap.h" #include "Bow\BaseBow....
{ "alphanum_fraction": 0.6440729949, "avg_line_length": 37.2628571429, "ext": "h", "hexsha": "90df93cd20b2367256fc21eb591f9d5c2fa9ace0", "lang": "C", "max_forks_count": 16, "max_forks_repo_forks_event_max_datetime": "2022-03-31T15:36:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-05-07T03:09...
/*! /file global.h * /brief Declarations of global variables and functions. */ #ifndef GLOBAL_H #define GLOBAL_H #ifdef COOLING_CPU #include <gsl/gsl_spline.h> #include <gsl/gsl_spline2d.h> #endif #if PRECISION == 1 #ifndef FLOAT_TYPEDEF_DEFINED typedef float Real; #endif //FLOAT_TYPEDEF_DEFINED #endif //PRECIS...
{ "alphanum_fraction": 0.7284530387, "avg_line_length": 22.3456790123, "ext": "h", "hexsha": "37b546016a23f9bc66cafea5ea397c5a9b2073c5", "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 gpsins.c - Implements an integrated GPS-Inertial navigation system. * * This program implements an integrated GPS-Inertial navigation system. Data is * retrieved from shared memory and processed in two threads. The high speed thread * implements the inertial navigation mechanisation. The low s...
{ "alphanum_fraction": 0.681381733, "avg_line_length": 25.9574468085, "ext": "c", "hexsha": "0574a2d86b3a1c7b3021d45ead80335372f3f709", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2019-11-14T08:30:11.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-01T20:17:2...
/* Copyright 2010-2011, D. E. Shaw Research. 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 conditions, and the f...
{ "alphanum_fraction": 0.6584992343, "avg_line_length": 34.6725663717, "ext": "c", "hexsha": "986de7ce2b65c6fe21d920bf007950793f2d9adf", "lang": "C", "max_forks_count": 27, "max_forks_repo_forks_event_max_datetime": "2021-06-15T18:20:06.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-22T19:25...
/* histogram/get.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) an...
{ "alphanum_fraction": 0.6470588235, "avg_line_length": 24.7714285714, "ext": "c", "hexsha": "6e832a55d24a57bd16afff3a08cc83895e61d40b", "lang": "C", "max_forks_count": 40, "max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31...
#include "lib.h" #include "defines.h" #include "milosUtils.h" #include "time.h" #include <complex.h> #include <fftw3.h> //siempre a continuacion de complex.h #include <math.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> #include <complex.h> #include <fftw3.h> //siempre a continuaci...
{ "alphanum_fraction": 0.6168943956, "avg_line_length": 23.3721244926, "ext": "c", "hexsha": "95966861ef263bcfa94d5dd70fc366cf99f51554", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-09-09T19:10:00.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-14T12:12:...
/** * * @file core_dlansy.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 * @gen...
{ "alphanum_fraction": 0.5397505846, "avg_line_length": 30.9156626506, "ext": "c", "hexsha": "bd341d3bbfdafb6184784e487a9dc789ad1acd1f", "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":...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2009 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This progra...
{ "alphanum_fraction": 0.6332693966, "avg_line_length": 34.632634864, "ext": "c", "hexsha": "99393b58e907e70d5fe8eb6930f951604109a402", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-31T12:16:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-08-29T15:12:3...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
{ "alphanum_fraction": 0.7299282257, "avg_line_length": 34.0397727273, "ext": "h", "hexsha": "2a6d40d89a4cc161e7cc97d5d8048898f392b7cf", "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 2010 Philip Waldron This file is part of BayRate. BayRate 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 F...
{ "alphanum_fraction": 0.6656519533, "avg_line_length": 27.7605633803, "ext": "h", "hexsha": "c4f4d39e047e29a64b326b32978060950f8cb85b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-01-15T16:46:32.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-04T11:19:...
#include <gsl/gsl_matrix.h> #include <gsl/gsl_vector_double.h> #include <gsl/gsl_vector.h> #include "cimple_mpc_computation.h" /** * Set up weight matrices for the quadratic problem */ polytope * set_cost_function(gsl_matrix *P, gsl_vector *q, gsl_matrix *L, ...
{ "alphanum_fraction": 0.604867277, "avg_line_length": 36.4103852596, "ext": "c", "hexsha": "e159a5c488d4a27d94acf5ef227e5ff358228a9a", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z", "max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:5...
#include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_blas.h> #ifndef gauge_config #include "config.h" #define gauge_config 1 #define sq(x...
{ "alphanum_fraction": 0.7332689833, "avg_line_length": 42.8689655172, "ext": "c", "hexsha": "000121a87303a3bf27dffca92327556cb623efe0", "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 _MARKET_INTEGRATION_ #define _MARKET_INTEGRATION_ #include <gsl/gsl_integration.h> typedef struct{ double (*function)(double *x, size_t n, void * p); void *params; } nquad_function; typedef void (*multi_integration_type)(int n, nquad_function *f, double *lb, double *ub, double epsabs, double epsr...
{ "alphanum_fraction": 0.7012987013, "avg_line_length": 31.5, "ext": "h", "hexsha": "0563559739c1165b1b6f67557ca01d82b86e1dc8", "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": "0e38ce2...
// // Author // luncliff@gmail.com // #pragma once #ifndef _NDCAM_INCLUDE_H_ #define _NDCAM_INCLUDE_H_ #include <gsl/gsl> #include <android/hardware_buffer.h> #include <android/native_window.h> #include <android/native_window_jni.h> #include <media/NdkImage.h> #include <media/NdkImageReader.h> #include <camer...
{ "alphanum_fraction": 0.6603018171, "avg_line_length": 37.1085714286, "ext": "h", "hexsha": "e9179bd265f527da09432c6228387797af707c41", "lang": "C", "max_forks_count": 17, "max_forks_repo_forks_event_max_datetime": "2021-12-30T10:38:06.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-12T09:25...
#include <stdio.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_sf_bessel.h> int main (void) { double x = 5.0; gsl_sf_result result; double expected = -0.17759677131433830434739701; int status = gsl_sf_bessel_J0_e (x, &result); printf ("status = %s\n", gsl_strerror(status)); printf ("J0(5.0) = %.18f\...
{ "alphanum_fraction": 0.6061946903, "avg_line_length": 20.5454545455, "ext": "c", "hexsha": "4f41f2a0c2de9a3a5cb242719a2d900ece0f16ed", "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...
// This random generator is a C++ wrapper for the GNU Scientific Library // Copyright (C) 2001 Torbjorn Vik // 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 Licen...
{ "alphanum_fraction": 0.7274134262, "avg_line_length": 30.0523255814, "ext": "h", "hexsha": "3a4718d5697bbc4eb119c9024f99e7faf7e71dc3", "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:...
/* * gsl_headers.h * Pi4U * * Created by Panagiotis Hadjidoukas on 1/1/14. * Copyright 2014 ETH Zurich. All rights reserved. * */ #ifndef _GSL_HEADERS_ #define _GSL_HEADERS_ 1 #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_min.h> #include <gsl/gsl_multimin.h> #include <gsl/gsl_rng....
{ "alphanum_fraction": 0.7186009539, "avg_line_length": 18.5, "ext": "h", "hexsha": "5cca42acb4be6b366c6455e71672ab6667c8e535", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-16T16:15:49.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-16T16:15:49.000Z",...
// // gemv.h // Linear Algebra Template Library // // Created by Rodney James on 12/12/11. // Copyright (c) 2011 University of Colorado Denver. All rights reserved. // #ifndef _gemv_h #define _gemv_h /// @file gemv.h Computes general matrix-vector products. #include <cctype> #include "latl.h" namespace LATL { ...
{ "alphanum_fraction": 0.3983997465, "avg_line_length": 26.8004246285, "ext": "h", "hexsha": "2e59b6c432715b73b125a72d3c01f2d60efe6427", "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:...
#include <sbmf/sbmf.h> #define SBMF_UNUSED(x) \ (void)x #include <omp.h> #include <cblas.h> #include <lapacke.h> #include <arpack/arpack.h> /* #include <arpack/debug_c.h> */ /* c stdlib */ #include <stdio.h> /* sprintf, fopen, fprintf, fread */ #include <stdlib.h> /* malloc */ #include <string.h> /* memcpy,memset ...
{ "alphanum_fraction": 0.7211538462, "avg_line_length": 21.4782608696, "ext": "c", "hexsha": "2cb502f182b6cc27a1e8a922aca6ab764f0ea811", "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_multifit.h> int main (int argc, char **argv) { int i, n; double xi, yi, ei, chisq; gsl_matrix *X, *cov; gsl_vector *y, *w, *c; if (argc != 2) { fprintf (stderr,"usage: fit n < data\n"); exit (-1); } n = atoi (argv[1]); X = gsl_matrix_alloc (n, 3...
{ "alphanum_fraction": 0.4813785436, "avg_line_length": 22.2098765432, "ext": "c", "hexsha": "43f8c06706a43996e9d73dcacd08e7ae50dbea43", "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...
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIM...
{ "alphanum_fraction": 0.6253021757, "avg_line_length": 41.3666666667, "ext": "h", "hexsha": "55862ebdd20bd2c9c849f1b808b0df8ec8a1787a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-12-26T08:25:35.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-02T17:50:...
/* C functions for running vbgmm from Cython*/ /*System includes*/ #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <sys/stat.h> #include <float.h> /*GSL includes*/ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #inclu...
{ "alphanum_fraction": 0.5239063164, "avg_line_length": 25.1234756098, "ext": "c", "hexsha": "0d844c60a5e5424070c3a49f18d1c3521179447f", "lang": "C", "max_forks_count": 47, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:31:46.000Z", "max_forks_repo_forks_event_min_datetime": "2015-06-03T18:30...
/* vector/gsl_vector_ulong.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 Li...
{ "alphanum_fraction": 0.6948611931, "avg_line_length": 34.8353909465, "ext": "h", "hexsha": "216b46f9e1c94481f3c1220c4b3cd00dcfce0361", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z", "max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:...
/* specfunc/gsl_sf_bessel.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.7345038385, "avg_line_length": 25.6247723133, "ext": "h", "hexsha": "cf45d55d0fe660423556018dc4dc648716cf2334", "lang": "C", "max_forks_count": 30, "max_forks_repo_forks_event_max_datetime": "2021-03-30T23:53:15.000Z", "max_forks_repo_forks_event_min_datetime": "2015-02-01T15:12...
/* eigen/jacobi.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) ...
{ "alphanum_fraction": 0.5345272012, "avg_line_length": 28.5697674419, "ext": "c", "hexsha": "e629b81a8361c3b110f2a587bb20ff719be8a9da", "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:...
//Gets deltas (first order differences) of X. //Only the deltas are output in Y. //I implement this just like FIR for speed and shorter code, //except non-causal and mid-sample of B is 0, //so I don't explicitly make B (e.g., B[n] just equals sc*n). //It seems that Kaldi and others use the same method for edge sample...
{ "alphanum_fraction": 0.4360706063, "avg_line_length": 32.7386934673, "ext": "c", "hexsha": "f66a58f5e856ab4ad346a53c716807bc1c9252e5", "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 __GSL_WRAPPER_H__ #define __GSL_WRAPPER_H__ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <iostream> #include <cassert> namespace dvrlib{ struct gsl_exception { const char* reason; const char* file; int line; int gsl_errno; }; void gsl_enable_exceptions(); class vector_view; c...
{ "alphanum_fraction": 0.7029435593, "avg_line_length": 23.4367088608, "ext": "h", "hexsha": "b232c3b8268f49c5825937ee60eb7d6bf7f96485", "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 S3D_CV_IMAGE_OPERATION_IMAGE_OPERATION_H #define S3D_CV_IMAGE_OPERATION_IMAGE_OPERATION_H #include <gsl/gsl> namespace cv { class Mat; } namespace s3d { struct StanResults; } namespace s3d { namespace image_operation { class ImageOperation { public: bool applyOnImagesIfEnabled(cv::Mat *leftImage, cv:...
{ "alphanum_fraction": 0.7603053435, "avg_line_length": 18.7142857143, "ext": "h", "hexsha": "3742ff8ee84267afa4f4ea74076bb1e771c3be96", "lang": "C", "max_forks_count": 6, "max_forks_repo_forks_event_max_datetime": "2021-05-18T16:22:03.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-13T21:51:...
// // symm.h // Linear Algebra Template Library // // Created by Rodney James on 1/2/12. // Copyright (c) 2012 University of Colorado Denver. All rights reserved. // #ifndef _symm_h #define _symm_h /// @file symm.h Performs general symmetric matrix-matrix multiplication. #include <cctype> #include "latl.h" name...
{ "alphanum_fraction": 0.4651478167, "avg_line_length": 30.0570652174, "ext": "h", "hexsha": "9306b2bac0bc8a120e9f79c54f81f19632822a5f", "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:...
#include <petsc.h> #include "um.h" PetscErrorCode UMInitialize(UM *mesh) { mesh->N = 0; mesh->K = 0; mesh->P = 0; mesh->loc = NULL; mesh->e = NULL; mesh->bf = NULL; mesh->ns = NULL; return 0; } PetscErrorCode UMDestroy(UM *mesh) { PetscErrorCode ierr; ierr = VecDestroy(&(mesh->...
{ "alphanum_fraction": 0.5624685982, "avg_line_length": 38.0318471338, "ext": "c", "hexsha": "2727b71c06be474ef85a2ad1603069a066e67925", "lang": "C", "max_forks_count": 46, "max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z", "max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26...
#include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <stdbool.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <functions.h> #define FOR(i,n) for(i=0;i<n;i++) typedef double DD, LD; typedef long...
{ "alphanum_fraction": 0.5304054054, "avg_line_length": 22.0279069767, "ext": "c", "hexsha": "3c4eb6d323ad1492019d53b499a14fbe65e10a60", "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_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.6112514351, "avg_line_length": 26.0778443114, "ext": "c", "hexsha": "d7f4d7a1f7daddeac25764713a414a2c8cfb6fbf", "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:...
#pragma once #include <nextalign/nextalign.h> #include <gsl/string_span> #include <string> #include <vector> template<typename Letter> using SequenceSpan = gsl::basic_string_span<Letter, gsl::dynamic_extent>; using NucleotideSequenceSpan = SequenceSpan<Nucleotide>; using AminoacidSequenceSpan = SequenceSpan<Amino...
{ "alphanum_fraction": 0.6239616613, "avg_line_length": 25.04, "ext": "h", "hexsha": "a98fd1945577e1c8fff6b06620dc83a08da70d7f", "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": "8a7675...
/* specfunc/bessel_Kn.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your op...
{ "alphanum_fraction": 0.6182094082, "avg_line_length": 27.3443983402, "ext": "c", "hexsha": "2ccf460d11a5635dd951bdfa2e67347311d51676", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z", "max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47...
#include "gemm.h" #if defined(USE_BLAS) #include <cblas.h> #else // see https://github.com/pjreddie/darknet/blob/master/src/gemm.c static void gemm_nn(int M, int N, int K, float ALPHA, float *A, int lda, float *B, int ldb, float *C, int ldc) { int i; ...
{ "alphanum_fraction": 0.3916325889, "avg_line_length": 25.432, "ext": "c", "hexsha": "709666ac616b354fa5dd876dd41a07c4e8d21926", "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": "cc946...
/* gsl-sprng.h Code declaring a new GSL random number type "gsl_rng_sprng20" which is a thin wrapper over the SPRNG 2.0 parallel random number generator. To use, just add the line: #include "gsl-sprng.h" immediately after the line: #include <gsl/gsl_rng.h> near the start of your code. The new type should now be avai...
{ "alphanum_fraction": 0.6787365177, "avg_line_length": 23.1785714286, "ext": "h", "hexsha": "b0a3cb1303407788e485a36bdee65e2f2dceffab", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-15T12:22:30.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-15T12:22:...
#include <gsl/gsl_sf_hyperg.h> #define kl 2 #define ll 3 #define alpha 1 double potential(double x) { return 0.5 * pow(alpha, 2) * (kl * (kl - 1) / pow(sin(alpha * x), 2) + ll * (ll - 1) / pow(cos(alpha * x), 2)); } double ground_state_energy() { return 0.5 * pow(alpha, 2) * pow(kl + ll, 2); } do...
{ "alphanum_fraction": 0.5690721649, "avg_line_length": 22.0454545455, "ext": "h", "hexsha": "051556f888518cc9a20d2a8920ea7bbae1ecb6b1", "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":...
/* * Library: ransampl (random number sampling) * * File: sampling1.c * * Contents: Draw samples from a given discrete probability distribution; * specifically: draw representative inhabitants of the nine states * * Note: Any modification of this example should be copied to * the m...
{ "alphanum_fraction": 0.5889070147, "avg_line_length": 30.65, "ext": "c", "hexsha": "c879bd9ab8c0f62114a0000a5d7c6f457ba8c498", "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": "1817f4...
#ifndef MATRIX_H_ #define MATRIX_H_ #include "matrix_funcs.h" #ifdef NUMPY_INTERFACE #include <Python.h> #include <arrayobject.h> #endif #include <limits> #include <assert.h> #include <stdio.h> #include <string.h> #ifdef USE_MKL #include <mkl.h> #include <mkl_cblas.h> #include <mkl_vsl.h> #include <mkl_vml.h> #defin...
{ "alphanum_fraction": 0.7051578137, "avg_line_length": 34.8390804598, "ext": "h", "hexsha": "20e2e5b6a06a53249056a9c1f7a75015b28b7d17", "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 Utilities_H #define Utilities_H #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_multiroots.h> #include <gsl/gsl_multimin.h> #include <string> #include "SM_cxSM.h" #include "Phases.h" double MAX(double x[3],int Number); // For finding the critical points int CriticalF(const gsl_vector...
{ "alphanum_fraction": 0.748951049, "avg_line_length": 43.3333333333, "ext": "h", "hexsha": "1bda852f80bccf9abfb06355b98972f7615165b2", "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": ...
/* itersolve.c * * Copyright (C) 2014 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. * * Th...
{ "alphanum_fraction": 0.6771186441, "avg_line_length": 25.9340659341, "ext": "c", "hexsha": "6cac8ac8033aeb2369a9fde62df205e049bac0f3", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:...
static char help[] = "Example ablateCore Client using incompressible flow"; /** Example Argumetns -dm_plex_separate_marker -dm_refine 0 \ -vel_petscspace_degree 2 -pres_petscspace_degree 1 -temp_petscspace_degree 1 \ -dmts_check .001 -ts_max_steps 4 -ts_dt 0.1 \ -ksp_type fgmres -ksp_gmres_restart 10 -ksp_rtol 1....
{ "alphanum_fraction": 0.6755775578, "avg_line_length": 43.4097421203, "ext": "c", "hexsha": "cfd4409a18b2d797b4e53b3248b5377a7a4e225b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in t...
{ "alphanum_fraction": 0.7303867403, "avg_line_length": 44.9689440994, "ext": "h", "hexsha": "8339f23d7f55f27aa7f60c78e349ea2a6379ba30", "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:...
/* poly/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 la...
{ "alphanum_fraction": 0.5498337902, "avg_line_length": 33.6876227898, "ext": "c", "hexsha": "bd0e141b3195333d3f956df9b1867c49cee46181", "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...
static char help[] = "Stiff ODE system. Compare odejac.c.\n\n"; #include <petsc.h> /* PYTHON: import numpy as np from scipy.linalg import expm B = np.array([[0, 1, 0], [-1, 0, 0.1], [0, 0, -101]]) y = np.dot(expm(10*B),np.array([1.0,1.0,1.0]).transpose()) print y RESULT: [-1.383623 -0.29588643 0. ] */ ext...
{ "alphanum_fraction": 0.6371322286, "avg_line_length": 32.4945054945, "ext": "c", "hexsha": "bbc8093c6fb2b27eb3355b1837d18f4df6603404", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/*************************************************************************** Copyright (c) 2014, The OpenBLAS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
{ "alphanum_fraction": 0.6828865979, "avg_line_length": 38.4920634921, "ext": "c", "hexsha": "f3c8d1db53be4a13a551fbaa25481017e1433c6f", "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 UBLAS_LIB_ATLAS_H #define UBLAS_LIB_ATLAS_H #include <stdio.h> #include <ublas_types.h> #include <cblas.h> int ubf_init(void **ctx); int ubf_gemm(void *ctx, ublas_matrix *a, ublas_matrix *b, ublas_matrix *c, double alpha, double beta); int ubf_free(void *ctx); #endif
{ "alphanum_fraction": 0.7553956835, "avg_line_length": 23.1666666667, "ext": "h", "hexsha": "97f74e5f1487d00bf3d3130eb3b78bf598740dfd", "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/trimult.c * * Copyright (C) 2019 Patrick Alken * * This 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, or (at your option) any * later version. * * This source is distribu...
{ "alphanum_fraction": 0.5540112994, "avg_line_length": 26.4179104478, "ext": "c", "hexsha": "006429728d59f4d2c76f654752c826be2460fcfc", "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:...
#pragma once #include <functional> #include <vector> #include <map> #include <gsl/string_span> class TabFileColumn { friend class TabFileRecord; public: bool IsEmpty() const { return mValue.size() == 0; } operator bool() const { return !IsEmpty(); } operator gsl::cstring_span<>() const { return mValu...
{ "alphanum_fraction": 0.6718232044, "avg_line_length": 18.2828282828, "ext": "h", "hexsha": "eb9c09be62c5afcaf6d78c76a5ab4c6c8fcc014f", "lang": "C", "max_forks_count": 25, "max_forks_repo_forks_event_max_datetime": "2021-11-15T23:14:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-02-04T21:19...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2004-2020 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This progr...
{ "alphanum_fraction": 0.6277283381, "avg_line_length": 35.9531060737, "ext": "c", "hexsha": "a83196dce9b2194a26edacfd76374a351d83a128", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-12-22T14:07:41.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-22T14:07:...
/* block/gsl_block_ushort.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.7727845443, "avg_line_length": 36.0757575758, "ext": "h", "hexsha": "f06f320d3e73fb7783926974159630adc10c1861", "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...
static char help[] = "Solve the linear biharmonic equation in 2D. Equation is\n" " Lap^2 u = f\n" "where Lap = - grad^2 is the positive Laplacian, equivalently\n" " u_xxxx + 2 u_xxyy + u_yyyy = f(x,y)\n" "Domain is unit square S = (0,1)^2. Boundary conditions are homogeneous\n" "simply-supported: u = 0, Lap u =...
{ "alphanum_fraction": 0.5251199687, "avg_line_length": 41.8483606557, "ext": "c", "hexsha": "6bcf7d8b450455724b16f4fd0469a18d84cb9f32", "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...
#ifndef SIMPROP_UTILS_GSL_H #define SIMPROP_UTILS_GSL_H #include <gsl/gsl_deriv.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_odeiv2.h> #include <gsl/gsl_roots.h> #include <cassert> #include <cmath> #include <functional> #include...
{ "alphanum_fraction": 0.6518211921, "avg_line_length": 28.0930232558, "ext": "h", "hexsha": "9f6f58a6cd823f3169103a860e87eb30d725f31b", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/** * * @file qwrapper_chegst.c * * PLASMA core_blas quark wrapper * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @date 2010-11-15 * @generated c Tue Jan 7 11:44:59 2014 * **/ #includ...
{ "alphanum_fraction": 0.5285016287, "avg_line_length": 30.7, "ext": "c", "hexsha": "03c74dd5f276fccfd5093b1b0d6db161292958eb", "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": "bcc99c1...
#pragma once #include <cstdint> #include <functional> #include <memory> #include <sstream> #include <string> #include <utility> #include <vector> #include <gsl/gsl> #include <nonstd/optional.hpp> #include "chainerx/array_body.h" #include "chainerx/array_fwd.h" #include "chainerx/array_index.h" #include "chainerx/arr...
{ "alphanum_fraction": 0.7063727455, "avg_line_length": 41.3079470199, "ext": "h", "hexsha": "37fa057ac993e1bef2f088a325321927292a07fa", "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":...