Search is not available for this dataset
text
string
meta
dict
/* multfit/lmder.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your opti...
{ "alphanum_fraction": 0.6440202642, "avg_line_length": 24.135371179, "ext": "c", "hexsha": "e931a58b9fee1f9d170e639a53a85efb6aaf302f", "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...
#ifndef STDAFX_H #define STDAFX_H /* * Libs */ #include <qwt.h> #include <qwt_legend.h> #include <qwt_plot.h> #include <qwt_plot_curve.h> #include <qwt_plot_grid.h> #include <qwt_plot_marker.h> #include <qwt_plot_renderer.h> #include <qwt_symbol.h> #include <QtConcurrent/QtConcurrent> #include <QtCore/QtCore> #includ...
{ "alphanum_fraction": 0.7291311755, "avg_line_length": 18.935483871, "ext": "h", "hexsha": "2cdcbe886e38b70626bf73d25237c256bf16b96a", "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 _KORALI_BASEPARAMETER_H_ #define _KORALI_BASEPARAMETER_H_ #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h> namespace Korali::Parameter { class Base { public: Base(std::string name); gsl_rng* _range; std::string _name; double _lowe...
{ "alphanum_fraction": 0.749672346, "avg_line_length": 21.1944444444, "ext": "h", "hexsha": "11348ecef422b26b75d3eb2a3cc6cf333dd0db9a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#pragma once #include <gsl/gsl_rng.h> #include <utility> // we are using GSL random number generation because i don't trust // random number generation to be consistent across various C++ stdlib // implementations, and for the kind of MC simulator we are writing here, // we want to be able to run it deterministically ...
{ "alphanum_fraction": 0.667752443, "avg_line_length": 28.4259259259, "ext": "h", "hexsha": "bf1cc6ed04d207257f223ecb78f722def38f37b9", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2022-03-07T23:03:13.000Z", "max_forks_repo_forks_event_min_datetime": "2021-12-06T18:48:5...
#ifndef KEYPOINTS_H_CFNIGHAG #define KEYPOINTS_H_CFNIGHAG #include <boost/histogram.hpp> #include <gsl/gsl> #include <opencv2/core/persistence.hpp> #include <opencv2/core/types.hpp> #include <sens_loc/analysis/distance.h> namespace sens_loc::analysis { /// Analyze the distribution and characteristics of detected key...
{ "alphanum_fraction": 0.6503943722, "avg_line_length": 35.5378787879, "ext": "h", "hexsha": "7673dca6f0f62af4df960ed7d163bfbf0677bd93", "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 ALM_KATYUSHA_H #define ALM_KATYUSHA_H #include "Primal_Dual_LOOPLESS_Katyusha0.h" #include <string> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <stdio.h> /* printf */ #include <time.h> #include <fstream> #include <algorithm> #include <iomanip> #include <ctime> #include ...
{ "alphanum_fraction": 0.6068454364, "avg_line_length": 26.0477223427, "ext": "h", "hexsha": "ea4eaad848493fd836b91095cdb94b68909bfe1e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-15T04:23:24.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-15T04:23:...
/* specfunc/bessel_K0.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 op...
{ "alphanum_fraction": 0.6460257107, "avg_line_length": 25.688372093, "ext": "c", "hexsha": "9ef4b73c8fd319288f3fe73faeed57ed3f856fca", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:5...
/* Copyright 2016, Alistair Boyle, 3-clause BSD License */ #include "config.h" #include <stdio.h> #include <stdlib.h> /* malloc, free */ #include <string.h> /* memcpy, memset */ #include <math.h> /* sqrt */ #include <assert.h> /* assert */ #include <time.h> /* clock */ //#include <cblas.h> //#include <lapacke.h> #incl...
{ "alphanum_fraction": 0.5059085222, "avg_line_length": 33.6121495327, "ext": "c", "hexsha": "0d7b3e2a140ed06704f898ea3073d223a37bc857", "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":...
// Implementation of interface described in viewer_image.h. #include <math.h> #include <unistd.h> #include <gsl/gsl_statistics_double.h> #include "meta_read_wrapper.h" #include "utilities.h" #include "viewer_image.h" // We use a seperate thread to fill in the stuff that takes some time // to create. static gpointer...
{ "alphanum_fraction": 0.674675234, "avg_line_length": 28.983805668, "ext": "c", "hexsha": "8a519734d954dea8e5d7710823e828b8b3be2636", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:33...
/* Copyright [2019,2021] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
{ "alphanum_fraction": 0.7086956522, "avg_line_length": 24.7692307692, "ext": "h", "hexsha": "a73222f3532a8ea1f9b323680fbca60b2f6f6594", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30...
#include "vector.h" #include "math.h" #include "mem.h" #include "string_utils.h" #include "ut_utils.h" typedef struct { char *name; char age; } nage_t; void free_nage_t(void *pnage) { nage_t *nage = pnage; ufree(nage->name); ufree(nage); } void *copy_nage_t(const void *pnage) { const nage_t ...
{ "alphanum_fraction": 0.6478853449, "avg_line_length": 30.156779661, "ext": "c", "hexsha": "3131b99beca815b130a0d75d10f1091f2fb73c2f", "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 "internal/Buffer.h" #include <gsl/span> namespace ge::gl4 { using namespace gl45; class BufferView { public: BufferView(Buffer &buffer, GLenum type, gsl::span<uint8_t> range); // Mapping Functions auto map(BufferAccessMask accessFlags) -> void *; void flush(); void unmap(); void bindTo...
{ "alphanum_fraction": 0.7184466019, "avg_line_length": 16.09375, "ext": "h", "hexsha": "1775ea61a6ef898d2a243b33573491191d2f016d", "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": "549...
/** * * @file core_slaswp.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 Mathieu Faverge * @date 2010-11-15 * @generated s Tue Jan 7 11:44:48 2014 * **/ #include <lapac...
{ "alphanum_fraction": 0.4781481481, "avg_line_length": 29.9168975069, "ext": "c", "hexsha": "18bd87836008ae037db992f5d21593d22adf72f6", "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 <config.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_interp.h> static double fun(double x) { return x + cos(x * x); } int main(void) { const double a = 1.0; const double b = 10.0; const int steps = 10; ...
{ "alphanum_fraction": 0.5322299652, "avg_line_length": 21.6603773585, "ext": "c", "hexsha": "fdaccbf9f88cf5bbe029a8de6512ca2e63195a9e", "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 LICENSE 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 ma...
{ "alphanum_fraction": 0.693877551, "avg_line_length": 35.3888888889, "ext": "h", "hexsha": "45c4de7cf4c835e31080dba51b5bf505963309c3", "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/erfc.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.6695597709, "avg_line_length": 25.8703703704, "ext": "c", "hexsha": "6b3368f80e0b1387db9ce397fa433fd01287fd1b", "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 <math.h> #include <stdio.h> #include <gsl/gsl_rng.h> #include "matrix_operations.c" #include "ellipse/parametric_function_roots.c" #include "polynomial.c" void characteristic_ellipse_matrix(double *X, double *R, double phi, double exponent) { // rotation matrix double Q[2][2] = {{ 0 }}; doub...
{ "alphanum_fraction": 0.4757126568, "avg_line_length": 18.2708333333, "ext": "c", "hexsha": "6982edd357305a135062fd5b2dfedf111a95eb78", "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":...
/* hmm class header */ // Andrew Kern 8/24/05 // #include "adkGSL.h" #include <math.h> #include <string.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> typedef struct { int nstates; gsl_matrix *transition_matrix; gsl_matrix *transition_score_matrix; /* entries are logs of ent...
{ "alphanum_fraction": 0.7782837128, "avg_line_length": 62.0652173913, "ext": "h", "hexsha": "72004495b1ba4609d39dc97b8265006d00153792", "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 XYCO_RUNTIME_ASYNC_H_ #define XYCO_RUNTIME_ASYNC_H_ #include <gsl/pointers> #include "future.h" #include "poll.h" #include "runtime.h" namespace xyco::runtime { template <typename Return> class AsyncFuture : public Future<Return> { public: [[nodiscard]] auto poll(Handle<void> self) -> Poll<Return> overrid...
{ "alphanum_fraction": 0.6488599349, "avg_line_length": 26.4655172414, "ext": "h", "hexsha": "492d4925fe29c4582914cf97a162764f8fe845a2", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <gsl/gsl_multifit.h> //DEFINES #define SUCCESS 1 #define FAILURE -1 #define PROGRESS "====================" #define PRG_WIDTH 20 //FUNCTIONS DECLARATION int dcca_comp(double *, double *, double *, int, int, int, int, double *, int);...
{ "alphanum_fraction": 0.5749300396, "avg_line_length": 31.2138554217, "ext": "c", "hexsha": "c042649dd9124a6c94f540135944553ac26e5598", "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 by Contributors * \file base.h * \brief definitions of base types, operators, macros functions * * \author Bing Xu, Tianqi Chen */ #ifndef MSHADOW_BASE_H_ #define MSHADOW_BASE_H_ #ifdef _MSC_VER #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #ifndef _CRT_SECURE_NO...
{ "alphanum_fraction": 0.527368568, "avg_line_length": 31.7583148559, "ext": "h", "hexsha": "d633b42900fc929a620ae474c78fcd1807cbbf35", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include "allvars.h" #include "proto.h" static double logTimeBegin; static double logTimeMax; double drift_integ(double a, void *param) { double h; h = hubbl...
{ "alphanum_fraction": 0.6343768458, "avg_line_length": 25.3632958801, "ext": "c", "hexsha": "9ea74830b81172dfab9bbf31ca27fe52b29480a5", "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 <list> #include <map> #include <memory> #include <string> #include <gsl/gsl_math.h> #include "Expressions/Expression.h" #include "Scanner/scanner.h" #include "Parser/parser.h" #include "Utils/Exception.h" class MathEngine { std::unique_ptr<Parser> parser; Variables variables; publ...
{ "alphanum_fraction": 0.6783919598, "avg_line_length": 23.4117647059, "ext": "h", "hexsha": "a62c4a24b4f7a14e4ef17fe4b407514bb1bd648b", "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 header for EOBNRv2HM reduced order model (non-spinning version). * See CQG 31 195010, 2014, arXiv:1402.4146 for details on the reduced order method. * See arXiv:1106.1021 for the EOBNRv2HM model. * * Borrows from the SEOBNR ROM LAL cod...
{ "alphanum_fraction": 0.6416053277, "avg_line_length": 40.1830985915, "ext": "h", "hexsha": "83dc9a4936ebcf24e674a00a3e1e9cbedce29ec0", "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:...
/* * 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.550995592, "avg_line_length": 31.6805778491, "ext": "h", "hexsha": "99ec552b92ac06d24669695938f13031ddcda79c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z", "max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:5...
#include <math.h> #include <stdlib.h> #include "fd3sep.h" /* #include "mxfuns.h" */ #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_fft_real.h> #include <gsl/gsl_fft_halfcomplex.h> #define SVCUT 1.0e-9 /*************************************************************************/ double fd3...
{ "alphanum_fraction": 0.4665408013, "avg_line_length": 28.8909090909, "ext": "c", "hexsha": "7da8e4fc45683a3f758ed417925c30c6a2badbde", "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 sad.h * @brief Voice activity detection. * @author Kenichi Kumatani and John McDonough */ #ifndef SAD_H #define SAD_H #include <stdio.h> #include <assert.h> #define _LOG_SAD_ #ifdef _LOG_SAD_ #include <stdarg.h> #endif /* _LOG_SAD_ */ #include <gsl/gsl_block.h> #include <gsl/gsl_vector.h> #include <g...
{ "alphanum_fraction": 0.7322303165, "avg_line_length": 31.3914728682, "ext": "h", "hexsha": "d7eb240fc92450573faa2fda7038468df5bef7dc", "lang": "C", "max_forks_count": 68, "max_forks_repo_forks_event_max_datetime": "2021-11-17T09:33:10.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-08T06:33...
/*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> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h> #inc...
{ "alphanum_fraction": 0.5686073294, "avg_line_length": 23.8579978237, "ext": "c", "hexsha": "3d51521ba3ee4c8e6e01483681320967c81c7826", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
// The top most header - contains switches and constants #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <gsl/gsl_rng.h> #define Pi acos(-1.0) #define real double // Cell shape and size //#define circle #define square #define Dia 40 // Cell radius or square ...
{ "alphanum_fraction": 0.7070217918, "avg_line_length": 17.9565217391, "ext": "h", "hexsha": "5d37305615aa3d2e07d2c5a73f118b0483818294", "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":...
/* ode-initval/gear2.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.6155247813, "avg_line_length": 25.2903225806, "ext": "c", "hexsha": "3c49d286cd19c66d13e0cef2b731aff3e263704a", "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:...
// Authors: David Blei (blei@cs.princeton.edu) // Sean Gerrish (sgerrish@cs.princeton.edu) // // Copyright 2011 Sean Gerrish and David Blei // All Rights Reserved. // // See the README for this package for details about modifying or // distributing this software. /* * state space language model variational i...
{ "alphanum_fraction": 0.6932957393, "avg_line_length": 29.5555555556, "ext": "h", "hexsha": "0ee90569c0f02744e89bbf68daeeddbc4395594c", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-07-10T09:29:17.000Z", "max_forks_repo_forks_event_min_datetime": "2019-03-15T04:11:...
/** * * @file core_dlag2s.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 Mathieu Faverge * @date 2010-11-15 * @generated ds Tue Jan 7 11:44:47 2014 * **/ #include <lapa...
{ "alphanum_fraction": 0.4984249212, "avg_line_length": 28.2871287129, "ext": "c", "hexsha": "aa6f9e1091b0acaed1900f7acb11e7aed17f921c", "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":...
/* min/gsl_min.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2009 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 ...
{ "alphanum_fraction": 0.672723244, "avg_line_length": 36.9918032787, "ext": "h", "hexsha": "73dce773028d52d91d8673e377e3636562736185", "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...
#pragma once /* * (C) Copyright 2021 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ /*! \addtogroup ioda_internals_engines_hh * * @{ * \file HH-util.h * \brief Utility functions for HDF5. */ #inclu...
{ "alphanum_fraction": 0.6971807256, "avg_line_length": 38.8777292576, "ext": "h", "hexsha": "7afe00133aa3b688dbf20a2e0cf03bb7e0054bb8", "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 VKST_WSI_INPUT_H #define VKST_WSI_INPUT_H #include <gsl.h> #include <wsi/types.h> #include <bitset> namespace wsi { enum class keys { eUnknown = 0, eSpace = 32, eApostrophe = 39, eComma = 44, eMinus = 45, ePeriod = 46, eSlash = 47, e0 = 48, e1 = 49, e2 = 50, e3 = 51, e4 = 52, e5 = ...
{ "alphanum_fraction": 0.6343913218, "avg_line_length": 18.8560606061, "ext": "h", "hexsha": "ae6e5b645eeb10d5f97216fe65989888855cd7c8", "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":...
#ifdef DFFTW #include <dfftw.h> #endif #ifdef SFFTW #include <sfftw.h> #endif #ifdef FFTW #include <fftw.h> #endif int main() { #ifdef DOUBLE /* Cause a compile-time error if fftw_real is not double */ int _array_ [1 - 2 * !((sizeof(fftw_real)) == sizeof(double))]; #else /* Cause a compile-time error if fftw_r...
{ "alphanum_fraction": 0.6557377049, "avg_line_length": 17.08, "ext": "c", "hexsha": "e3367760fe24c771f7b5c505111e4d5b3c07dbf0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-02-08T00:11:00.000Z", "max_forks_repo_forks_event_min_datetime": "2022-02-08T00:11:00.000Z"...
#pragma once #ifndef _NOGSL #include <gsl/gsl_vector.h> #else #include "CustomSolver.h" #endif #include "ValueGrad.h" #include "BooleanNodes.h" #include "BooleanDAG.h" #include "NodeVisitor.h" #include "VarStore.h" #include <map> #include "FloatSupport.h" #include "SymbolicEvaluator.h" #include <iostream> using names...
{ "alphanum_fraction": 0.6784486991, "avg_line_length": 28.4895104895, "ext": "h", "hexsha": "021b65863122d8cf3f446bf1fe13a258b8f79b46", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z", "max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:...
#include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "cblas.h" void cblas_dspmv (const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo, const int N, const double alpha, const double *Ap, const double *X, const int incX, const double beta, double *Y, const int incY) { #define BASE double #incl...
{ "alphanum_fraction": 0.7118644068, "avg_line_length": 23.6, "ext": "c", "hexsha": "6a8246dabe58186e9e6794bc8c7620d47e2f61ef", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z", "max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:59.000Z",...
//===--- Sudoku/Solver_remove_option.h ---===// // // Helper functions, to remove options //===----------------------------------------------------------------------===// #pragma once #include "Sudoku/Board.h" #include "Sudoku/Location.h" #include "Sudoku/Location_Utilities.h" #include...
{ "alphanum_fraction": 0.6827217125, "avg_line_length": 27.9288256228, "ext": "h", "hexsha": "c8322d73c2c041a2cc90675e5512b559267396dc", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-04-20T16:26:42.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-20T16:26:...
#include <stdio.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpRNG.h> #include <gbpMCMC.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_interp.h> void compute_MCMC_ln_likelihood_default(MCMC_info *MCMC, dou...
{ "alphanum_fraction": 0.463079565, "avg_line_length": 34.2549019608, "ext": "c", "hexsha": "1fbf2ba479daeea286df9a44e2090493bbd5a833", "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:4...
/* randist/sphere.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 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 Licens...
{ "alphanum_fraction": 0.5864640092, "avg_line_length": 29.0583333333, "ext": "c", "hexsha": "a93615e62b5b9ba663cbcd0b66480fc89ee01422", "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 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_system_linux_udev_inl_h_ #define SQ_INCLUDE_GUARD_system_linux_udev...
{ "alphanum_fraction": 0.6457483527, "avg_line_length": 25.9105691057, "ext": "h", "hexsha": "7190706ef86f451d5f0de4052ee838596e642b57", "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":...
/****************************************************************************** * * * ESTIMATE_THETAE.C * * * ...
{ "alphanum_fraction": 0.4990421456, "avg_line_length": 34.3421052632, "ext": "c", "hexsha": "83abe0c982fd25386fccfaff1e788eaae6a24a3e", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2020-12-10T21:42:12.000Z", "max_forks_repo_forks_event_min_datetime": "2020-02-21T04:59:...
// Copyright 2019 Victor Hugo Schulz // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in...
{ "alphanum_fraction": 0.7285925926, "avg_line_length": 38.3522727273, "ext": "h", "hexsha": "218b0f7618eafc03d7d0cd32648fad12bf0f1f9e", "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 "mirbooking-broker.h" #include "mirbooking-score-table-private.h" #include <stdlib.h> #include <math.h> #include <pb.h> #include <string.h> #include <odeint.h> #if HAVE_OPENMP #include <omp.h> #endif #include <sparse.h> #include <stdio.h> #if HAVE_MKL_CBLAS #include <mkl_cblas.h> #elif HAVE_OPENBLAS #include ...
{ "alphanum_fraction": 0.5531917468, "avg_line_length": 37.5784447476, "ext": "c", "hexsha": "ddba8ed578a45947ff59e57f64add76b6829f71d", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* histogram/file2d.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your o...
{ "alphanum_fraction": 0.5276793623, "avg_line_length": 24.4108108108, "ext": "c", "hexsha": "26877840a3a3ee6e8d33010064c0721ca846e0d6", "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...
/** * * @file testing_cgetri.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Hatem Ltaief * @date 2010-11-15 * @generated c Tue Jan 7 11:45:17 2014 * **/ #include <stdli...
{ "alphanum_fraction": 0.553445956, "avg_line_length": 32.4708737864, "ext": "c", "hexsha": "c4b0388aff715bada41a65b25fff54f0f0076ffc", "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_PERMUTE_VECTOR_H__ #define __GSL_PERMUTE_VECTOR_H__ #if !defined( GSL_FUN ) # if !defined( GSL_DLL ) # define GSL_FUN extern # elif defined( BUILD_GSL_DLL ) # define GSL_FUN extern __declspec(dllexport) # else # define GSL_FUN extern __declspec(dllimport) # endif #endif #include <gsl/gsl_pe...
{ "alphanum_fraction": 0.8053830228, "avg_line_length": 27.6, "ext": "h", "hexsha": "71604c9c4f25318fb578c4fa4bd7b66c1a13dacb", "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:35.000Z",...
#ifndef H_MATH_UTILS_GSL #define H_MATH_UTILS_GSL #include <gsl/gsl_math.h> //#include <egsl/egsl.h> #include </home/alecone/catkin_graph/src/csm/sm/lib/egsl/egsl.h> #include "laser_data.h" #define gvg gsl_vector_get #define gvs gsl_vector_set /* GSL stuff */ const char* gsl_friendly_pose(gsl_vector*v); gsl_vect...
{ "alphanum_fraction": 0.7661157025, "avg_line_length": 28.1395348837, "ext": "h", "hexsha": "eb3abad94559292b9ad721189eeb177077854167", "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/bessel_Jnu.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, 2017 Konrad Griessinger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the ...
{ "alphanum_fraction": 0.6188850967, "avg_line_length": 28.8873239437, "ext": "c", "hexsha": "aa219bd914d95cf53c98bbfdc148050c5de846c9", "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 "options.h" #include <cstdio> #include <fmt/color.h> #include <fmt/printf.h> #include <gsl/gsl-lite.hpp> namespace angonoka::cli { /** Print text to stdout if not in quiet mode. @param options CLI options */ template <typename... T> void print( const Options& options, fmt::forma...
{ "alphanum_fraction": 0.6047320807, "avg_line_length": 19.9583333333, "ext": "h", "hexsha": "c9eea6fe2582875dbe0e6b7105b93d0947ef6599", "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":...
/* How to use blas and lapack with the standard interfaces provided by their respective projects, repectively through `cblas.h` and `lapacke.h` */ #include <assert.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <cblas.h> #include <lapacke.h> /** * assert two integers are e...
{ "alphanum_fraction": 0.5363128492, "avg_line_length": 17.7387387387, "ext": "c", "hexsha": "0d37554076a40f5c114f8d8e0dc95db158ee77b2", "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 forms part of the Underworld geophysics modelling application. ** ** ...
{ "alphanum_fraction": 0.6495118846, "avg_line_length": 29.45, "ext": "c", "hexsha": "082d973755bf70ac924f065f7c749f947976c5e0", "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": "76991c...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <string.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_randist.h> #include "allvars.h" #include "proto.h" void mcmc_con_run() { char fname_mcmc[100]; strcpy(fname_mcmc, "data/mcmc_con.txt"); printf("*******con mcmc\n"); mcmc...
{ "alphanum_fraction": 0.6157823129, "avg_line_length": 24.4186046512, "ext": "c", "hexsha": "b126251a310dcc4bbf411e272e576cc10f698651", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z", "max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:...
#ifndef main_H_INCLUDED #define main_H_INCLUDED #include "wf.h" #include "glasma.h" #include "jet.h" #include "bfkl.h" #include "time.h" #include "single.h" #include <gsl/gsl_errno.h> char tag[256]; //* //* // This section of code initializes and reads in the // following global variables from file //* //* #define X...
{ "alphanum_fraction": 0.6332622601, "avg_line_length": 15.1290322581, "ext": "h", "hexsha": "aba644605cca988445b58850fe0a98bd9a819025", "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":...
// Geocode a DEM stored in ASF .meta format. // Standard libraries. #include <limits.h> #include <math.h> #include <string.h> // Libraries from packages outside ASF. #include <gsl/gsl_math.h> // Libraries developed at ASF. #include <asf.h> #include <asf_meta.h> #include <asf_raster.h> #include <float_image.h> #inclu...
{ "alphanum_fraction": 0.6929181621, "avg_line_length": 37.4678030303, "ext": "c", "hexsha": "3c7e617319e9a13d6e31becdbfc14a2eb6622e87", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
#include <stdio.h> #include <gsl/gsl_matrix.h> #include "bstrlib/bstrlib.h" #include "paths.h" #include "ParseSCF.h" #include "HTightBinding.h" #include "BandEnergy.h" #include "SpinOrbit.h" int main(int argc, char *argv[]) { if (argc < 8) { printf("SOC-induced anisotropy calculation -- invoke with:\n"); ...
{ "alphanum_fraction": 0.6662315057, "avg_line_length": 33.7941176471, "ext": "c", "hexsha": "21c12a3ed32aa39577027a2bebe5627073c18963", "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_zpemv.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Dulceneia Becker * @date 2011-06-29 * @precisions normal z -> c d s * **/ #include <cblas.h> #inc...
{ "alphanum_fraction": 0.4142784294, "avg_line_length": 30.3560371517, "ext": "c", "hexsha": "9cc2320c19affb70f62486dcdd95a42451c5bbdc", "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 <getopt.h> #include <iniparser.h> #include <limits.h> #include "prepmt/prepmt.h" #include "ispl/process.h" #include "iscl/array/array.h" #include "iscl/memory/memory.h" #include "iscl/os/os.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #includ...
{ "alphanum_fraction": 0.4891584147, "avg_line_length": 38.0255731922, "ext": "c", "hexsha": "06d1d5c5af8518df9d0acc4b5c4e2973b8c7f5b9", "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) 2017, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights // reserved. See files LICENSE and NOTICE for details. // // This file is part of CEED, a collection of benchmarks, miniapps, software // libraries and APIs for effic...
{ "alphanum_fraction": 0.6368662002, "avg_line_length": 39.3775510204, "ext": "c", "hexsha": "bb8f925bfc4fbaf8799ffafa8f0ca27d9525c77d", "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 <math.h> #include <gbpLib.h> #include <gbpMath.h> #include <gbpCosmo_core.h> #include <gbpCosmo_NFW_etc.h> #include <gsl/gsl_sf_expint.h> void init_Vmax_to_Mvir_NFW(cosmo_info **cosmo, int mode, double z) { interp_info *interp; if(!ADaPS_exist((*cosmo), "lVmax_to...
{ "alphanum_fraction": 0.5631364562, "avg_line_length": 33.8620689655, "ext": "c", "hexsha": "2c96bd1477e691777b3c5435b8a79ab0d3f6def6", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:...
/* Copyright 2017 InitialDLab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublice...
{ "alphanum_fraction": 0.6678266922, "avg_line_length": 30.7326203209, "ext": "h", "hexsha": "bd6a3fcea86ae5c3c1bc63ef31e72df62b9f1874", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* -*- mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: sw=4 ts=8 et tw=80 */ /* filter.c * * This file contains a few time-domain processing routines, copied * without much modification from moby. * * These are mostly needed for filtering during mapping, and for * various pathol...
{ "alphanum_fraction": 0.5380887287, "avg_line_length": 34.315565032, "ext": "c", "hexsha": "66212752a27c53dc13f6f7f01a3c332d6a67e9a3", "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$ * * This file is part of libRadtran. * Copyright (c) 1997-2012 by Arve Kylling, Bernhard Mayer, * Claudia Emde, Robert Buras * * ######### Contact info: http://www.libradtran.org ######### * * This program...
{ "alphanum_fraction": 0.4879458169, "avg_line_length": 42.1506578181, "ext": "c", "hexsha": "3ac24798c76aad46fd63ecafc6778e81aa3e6581", "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 #define NOMINMAX #define WEBRTC_WIN #define ABSL_USES_STD_STRING_VIEW #include <unknwn.h> #include <ppltasks.h> #include <pplawait.h> #include <gsl/gsl> #include <winrt/Windows.Foundation.h> #include <winrt/Windows.Foundation.Diagnostics.h> #include <winrt/Windows.Foundation.Collections.h> #include <winr...
{ "alphanum_fraction": 0.786, "avg_line_length": 27.7777777778, "ext": "h", "hexsha": "4706f5bd31c981fc1641a8ac449a82bcee1ae7ea", "lang": "C", "max_forks_count": 14, "max_forks_repo_forks_event_max_datetime": "2021-10-16T18:09:59.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-19T12:02:28.000...
/* specfunc/expint.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your optio...
{ "alphanum_fraction": 0.6663178092, "avg_line_length": 25.5367483296, "ext": "c", "hexsha": "fa53aa745d48620a3da94e86dc470a4d5dc8db2c", "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/gsl_cblas.h> #include "tests.h" void test_gemm (void) { const double flteps = 1e-4, dbleps = 1e-6; { int order = 101; int transA = 111; int transB = 111; int M = 1; int N = 2; int K = 4; float alph...
{ "alphanum_fraction": 0.5068645289, "avg_line_length": 30.2278571429, "ext": "c", "hexsha": "aafa4f305eb726d4123260ca747fc7244c85ba95", "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...
#pragma once #include <complex> #include <cstddef> #include <cstdint> #include <iosfwd> #include <string> #include <utility> #include <vector> #include <gsl/gsl> #include "chainerx/error.h" #include "chainerx/float16.h" namespace chainerx { // NOTE: The dtype list is not fixed yet!!! enum class Dtype { kBool =...
{ "alphanum_fraction": 0.6477359939, "avg_line_length": 38.6483050847, "ext": "h", "hexsha": "2c1fcf71c6e1b287a30ab9d5cd3360b02a9f0593", "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 STDEVSTOOL_H #define STDEVSTOOL_H #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <sys/time.h> #include "pdevslib.h" #include <algorithm> // std::binary_search, std::sort #include <vector> //#include "sink/ParameterReader.h" #define STDEVS_REPRODUCIBLE_SEED 0 // Random reproducible genera...
{ "alphanum_fraction": 0.7582154516, "avg_line_length": 44.1826923077, "ext": "h", "hexsha": "d886a540afea141101d2ca4e2d803a44ae1ad12d", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-05-05T18:05:11.000Z", "max_forks_repo_forks_event_min_datetime": "2021-05-05T18:05:...
/* This file is part of p4est. p4est is a C library to manage a collection (a forest) of multiple connected adaptive quadtrees or octrees in parallel. Copyright (C) 2010 The University of Texas System Additional copyright (C) 2011 individual authors Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin ...
{ "alphanum_fraction": 0.6460484081, "avg_line_length": 28.5321782178, "ext": "c", "hexsha": "8ae01ba7885464f2756f49e0a758835032516230", "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":...
/* sys/gsl_sys.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, or (at * y...
{ "alphanum_fraction": 0.7671232877, "avg_line_length": 32.5692307692, "ext": "h", "hexsha": "8f831580f53a84e77b877e7396960b3da4721136", "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 LOGGER_INCLUDE #define LOGGER_INCLUDE #include <gsl/string_span> #include "log.h" BOOST_LOG_GLOBAL_LOGGER( exec_helper_log_logger, execHelper::log::LoggerType); // NOLINT(modernize-use-using) static const gsl::czstring<> LOG_CHANNEL = "log"; #define LOG(x) ...
{ "alphanum_fraction": 0.536036036, "avg_line_length": 35.0526315789, "ext": "h", "hexsha": "edd5ed8a5a95fbf2c183eae122622efb06f0a496", "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:1...
#ifdef __cplusplus extern "C" { #endif // __cplusplus #ifdef USE_BLAS #include <cblas.h> int _use_blas() { return 1; } #else // USE_BLAS #include <xmmintrin.h> #if defined(_MSC_VER) #define ALIGNAS(byte_alignment) __declspec(align(byte_alignment)) #elif defined(__GNUC__) #define ALIGNAS(byte_alignment) __attribut...
{ "alphanum_fraction": 0.5751759437, "avg_line_length": 20.2987012987, "ext": "h", "hexsha": "96c9b90d2727734abcb77790bbf2e8b21ea46a89", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-01-13T02:45:52.000Z", "max_forks_repo_forks_event_min_datetime": "2019-01-13T02:45:...
/* block/gsl_block_int.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 Licens...
{ "alphanum_fraction": 0.7600886918, "avg_line_length": 34.1666666667, "ext": "h", "hexsha": "8004f765fb8d6665ab1dd49b905c4e1d66d6f7a4", "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:...
/* bccgls.c $Revision: 281 $ $Date: 2006-12-13 09:03:53 -0800 (Wed, 13 Dec 2006) $ ---------------------------------------------------------------------- This file is part of BCLS (Bound-Constrained Least Squares). Copyright (C) 2006 Michael P. Friedlander, Department of Computer Science, University of...
{ "alphanum_fraction": 0.5265228022, "avg_line_length": 33.5964285714, "ext": "c", "hexsha": "31624219b8b8f3ba347d6a67c50d9d0f22e6244e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-03-24T13:00:19.000Z", "max_forks_repo_forks_event_min_datetime": "2020-03-05T07:46:...
#include "asf.h" #include "asf_meta.h" #include <unistd.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_multiroots.h> struct refine_offset_params { meta_parameters *meta; double x_off, y_off; }; static double err_at_pixel(struct refine_offset_para...
{ "alphanum_fraction": 0.5971030043, "avg_line_length": 30.1862348178, "ext": "c", "hexsha": "eb86850f5725bae2db0c91acea875da4f5c30ea6", "lang": "C", "max_forks_count": 7, "max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z", "max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #ifndef NOMPI #include <mpi.h> #endif #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/file.h> #include <unistd.h> #include <gsl/gsl_rng.h> #include "allvars.h" #include "proto.h" /*! \file restart.c * \brie...
{ "alphanum_fraction": 0.6374152839, "avg_line_length": 27.2547770701, "ext": "c", "hexsha": "8f10a7fa26cce58ece69e04a63c630b2f83cd473", "lang": "C", "max_forks_count": 102, "max_forks_repo_forks_event_max_datetime": "2022-02-09T13:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-22T10:0...
#include <stdio.h> #include <gsl/gsl_math.h> int main() { printf("PI: %lf\n", M_PI); }
{ "alphanum_fraction": 0.606741573, "avg_line_length": 11.125, "ext": "c", "hexsha": "4ec526fdd7457c61387da9f81154fc04f4ab4e8e", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2019-06-17T13:20:39.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-17T13:20:39.000Z"...
/* * 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.6360776088, "avg_line_length": 37.4971910112, "ext": "h", "hexsha": "c7eb1fad48b07b08d580926818c2aad14fdb4f79", "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:...
/* ieee-utils/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) ...
{ "alphanum_fraction": 0.6392218645, "avg_line_length": 31.3956989247, "ext": "c", "hexsha": "30136128adeaf18ec3c04d2d7bdbb1174151532f", "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 <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <gbpLib.h> #include <gbpMath.h> #include <gbpHalos.h> #include <gsl/gsl_sf_zeta.h> #define READ_MATCHES_GOODNESS_A 1.4421650782960167E+01 #define READ_MATCHES_GOODNESS_B 2.7010890377990435E+01 #define READ_MATCHES_GOODNESS_C ONE_THIR...
{ "alphanum_fraction": 0.7441860465, "avg_line_length": 43, "ext": "c", "hexsha": "eac93a09b83a676b395777d76218b87425da2e39", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:40.000Z", ...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <time.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <string.h> //** Init Multinomial gsl_rng* init_gsl_rng(){ gsl_rng* r; const gsl_rng_type* T2; srand(time(NULL)); unsigned int seed; seed= rand(); gsl_r...
{ "alphanum_fraction": 0.5994650619, "avg_line_length": 20.3469387755, "ext": "c", "hexsha": "4660b5d285cd2a125be188536a015537f3c914a3", "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 <math.h> #include <nubspline.h> #include "SimulationSteps.h" #include <gsl/gsl_interp.h> #include <gsl/gsl_spline.h> void eval_NUBspline_1d_d(NUBspline_1d_d * restrict spline, double x, double* restrict val); void eval_NUBspline_1d_d_vg(NUBspline_1d_d * restrict splin...
{ "alphanum_fraction": 0.7583135392, "avg_line_length": 33.0196078431, "ext": "c", "hexsha": "bcde33b00f2dac74ed0a3515b1de3aa2c23869ed", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:...
/* rng/gsl_rng.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 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 Lic...
{ "alphanum_fraction": 0.7505615009, "avg_line_length": 33.1973684211, "ext": "h", "hexsha": "bc343e18d87f3aa079d9d4841d6e2b9e7424e4e2", "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 <stdio.h> #include <stdlib.h> #include <math.h> #include <gsl/gsl_sf_gamma.h> #ifndef M_PI #define M_PI 3.14159265358979323846 #endif /* very simple approximation */ double st_gamma(double x) { return sqrt(2.0*M_PI/x)*pow(x/M_E, x); } #define A 12 double sp_gamma(double z) { const int a = A; static dou...
{ "alphanum_fraction": 0.5445829338, "avg_line_length": 19.679245283, "ext": "c", "hexsha": "81dcdc28a9966ca55713c786507f286cbddad6af", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2018-11-09T22:08:40.000Z", "max_forks_repo_forks_event_min_datetime": "2018-11-09T22:08:4...
/* linalg/invtri_complex.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 d...
{ "alphanum_fraction": 0.5961455487, "avg_line_length": 27.812, "ext": "c", "hexsha": "38a43e7d2828ae3d48dc5f6becf220e8c045db43", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000Z...
/* specfunc/elljac.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your optio...
{ "alphanum_fraction": 0.5627810446, "avg_line_length": 26.5229357798, "ext": "c", "hexsha": "bddaad2a265b5913889c235f6ba20ed8f92daff3", "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:...
#pragma once #include <gsl/gsl> #include <iostream> #include "../utils/Concepts.h" #include "General.h" #include "Random.h" namespace math { using gsl::narrow_cast; using utils::concepts::SignedNumeric, utils::concepts::Integral, utils::concepts::SignedIntegral, utils::concepts::FloatingPoint; enum class Vec2I...
{ "alphanum_fraction": 0.6488804192, "avg_line_length": 31.9969512195, "ext": "h", "hexsha": "9adccd77bd5a94e542677ed4966856172bf60fcd", "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 TSNE_H #define TSNE_H /* Cmake will define ${LIBRARY_NAME}_EXPORTS on Windows when it configures to build a shared library. If you are going to use another build system on windows or create the visual studio projects by hand you need to define ${LIBRARY_NAME}_EXPORTS when building a DLL on windows. */ // We a...
{ "alphanum_fraction": 0.7070567986, "avg_line_length": 29.6428571429, "ext": "h", "hexsha": "adb7b25104196e45382e9ca920155b107459672f", "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 WALK_H_ #define WALK_H_ #include <iostream> #include <sstream> #include <string> #include <vector> #include <gsl/gsl_rng.h> #include "Lattice.h" /* Random number generator parameters used across this program */ namespace WalkRNG { /* GSL random number generator, if using */ extern gsl_rng *rng; ...
{ "alphanum_fraction": 0.6389209131, "avg_line_length": 24.5028248588, "ext": "h", "hexsha": "788079525bb52d6986ef300ee12761eb32852106", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <memory_resource> #include <vector> #include <thrust/execution_policy.h> #include <thrust/functional.h> #include <thrust/inner_product.h> #include <thrust/iterator/zip_iterator.h> #include <thrust/merge.h> #include <thrust/reduce.h> #include <thrust/sort.h> #include <thrust/tuple.h> #include <g...
{ "alphanum_fraction": 0.6534795043, "avg_line_length": 31.5225375626, "ext": "h", "hexsha": "48cd49ee9e82032f6cb3370c88b3e8e2163a3a50", "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 [2017-2020] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
{ "alphanum_fraction": 0.658169544, "avg_line_length": 34.9827798278, "ext": "h", "hexsha": "9b00735a33b312e8e5cfd05d6fb7c33c53892d5f", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z", "max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30:...
/**************************************************************************** * * * Copyright (C) 2005 ~ 2015 Neutrino International Inc. * * * * Autho...
{ "alphanum_fraction": 0.4870793858, "avg_line_length": 51.7060810811, "ext": "h", "hexsha": "adc5ceeb3167f1bff5eaca3db0de1acea5863d47", "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 example involves taking two arrays as input and returning their pearson coefficient as output #include <stdio.h> #include <gsl/gsl_statistics.h> double co_var(double* x, double* y, int n) { const size_t stride = 1; const size_t n1 = n; double pearson = gsl_stats_correlation(x, stride, y, stride, n1); ret...
{ "alphanum_fraction": 0.6746626687, "avg_line_length": 23.8214285714, "ext": "c", "hexsha": "6afa453030224d3a7d8db0fecc2e96acb00c6b47", "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":...
/* SI POPULATION DYNAMICS SIMULATION MODEL */ /* Source code: SIMO.C; Last modified on 17/06/2017 */ //* Compilation lines: /// gcc -std=c99 -I/usr/include/gsl -Wall -o acacia simodel_rescue_seedbank.c vector.c -lgsl -lgslcblas -lncurses -lm // gcc -std=c99 -I/usr/inc...
{ "alphanum_fraction": 0.4667596892, "avg_line_length": 38.5058719906, "ext": "c", "hexsha": "d3a5a27742460787a06822191752e1305b7c37d7", "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":...
//CELL operation: does output side of Jordan RNN layer. //The inputs here are from the IN stage, so reduced to N driving input time-series in X. #include <stdio.h> #include <stdlib.h> #include <math.h> #include <cblas.h> #ifdef __cplusplus namespace codee { extern "C" { #endif int jordan_s (float *Y, const float *X,...
{ "alphanum_fraction": 0.44527956, "avg_line_length": 47.850877193, "ext": "c", "hexsha": "506ac6989e70b21c6f96fd9423dd49491ff104f3", "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 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
{ "alphanum_fraction": 0.7129390018, "avg_line_length": 37.3103448276, "ext": "h", "hexsha": "d27cdbaae68332b88f3c475fd128327ff8782b78", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-04-13T12:00:20.000Z", "max_forks_repo_forks_event_min_datetime": "2019-10-03T16:23:...
#pragma once #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include "defines.h" // Pass matrices a, b // Matrix c is already allocated and is the correct size // c = [a b]' int gsl_matrix_vstack(gsl_matrix *c, const gsl_matrix *a, const gsl_matrix *b); // Multiply matrices c = a*b // Use...
{ "alphanum_fraction": 0.7366863905, "avg_line_length": 31.6875, "ext": "h", "hexsha": "b904de9e73d30b2beb491cf687287f82502540f9", "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": "d04a...
// An interface to GSL - hides all the gsl calls behind easier to use functions // Jason Sanders #ifndef GSLINTERFACE_H #define GSLINTERFACE_H #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_roots.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sort_double.h> #...
{ "alphanum_fraction": 0.6193124368, "avg_line_length": 32.2750582751, "ext": "h", "hexsha": "52b452f8fed9d6372c70bd7eb6e542d0ad6d5369", "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 2021-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance with the Business Source License, use of this * software will be governed by...
{ "alphanum_fraction": 0.7387198321, "avg_line_length": 29.78125, "ext": "h", "hexsha": "274bcb3ddfe9a3e9885191a2169f15516c2f72c2", "lang": "C", "max_forks_count": 71, "max_forks_repo_forks_event_max_datetime": "2022-03-29T10:34:32.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-22T20:41:59.0...