Search is not available for this dataset
text
string
meta
dict
/** * * @file testing_zgetmi.c * * PLASMA testings module * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * This program tests the implementation of the inplace format * conversion based on the GKK algorithm by Gustavson, Karlsso...
{ "alphanum_fraction": 0.5142972211, "avg_line_length": 26.414893617, "ext": "c", "hexsha": "020c5fccb772cdb44cbc3c0b935cc1f4593c5e5e", "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<iostream> #include<string.h> #include<vector> #include<set> #include<algorithm> #include<fstream> #include<cstdlib> #include<time.h> #include<iterator> #include<sys/time.h> #include<stdio.h> #include<numeric> #include <stdexcept> #include<math.h> #include<limits> #include<random> #include<ctime...
{ "alphanum_fraction": 0.7296511628, "avg_line_length": 21.5, "ext": "h", "hexsha": "788d04b3927cce11e947cc79aa985fd223e0691e", "lang": "C", "max_forks_count": 4, "max_forks_repo_forks_event_max_datetime": "2018-01-05T18:00:15.000Z", "max_forks_repo_forks_event_min_datetime": "2016-09-28T09:50:26.000Z",...
#ifndef POINT3_H__ #define POINT3_H__ #include <cassert> #include <algorithm> #include <iostream> #include <vector> #include <cmath> #include <float.h> /* If you want to use the methods that project 2x2 or 3x3 matrices onto the closest 2D/3D rotation, or similarity, or rotation restricted to a 2D plane in 3D, you nee...
{ "alphanum_fraction": 0.491868702, "avg_line_length": 68.0057411273, "ext": "h", "hexsha": "2346c50d00018d2da6ca3d2d2bbb3fd09769e8c0", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-11-07T10:50:09.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-07T10:50:0...
#ifndef EX_UTIL #define EX_UTIL #include <gsl/gsl_vector.h> typedef double (*db_fxy)(double x, double y); typedef double (*db_fx) (double); /* print_table_fxy * prints f(x,y) tables given range for x and y */ void print_table_fxy(db_fxy fun, double x_start, double x_end, double x_step, char xch, do...
{ "alphanum_fraction": 0.7093425606, "avg_line_length": 21.675, "ext": "h", "hexsha": "25b7ca90a945f96dbc13233d68678231dbafa38a", "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": "17319...
////////////////////////////////////////////////////////////////////////////////// // Stefano Allesina Dec 2009 // sallesina@uchicago.edu // Given a matrix generated by the niche model and a vector containing // the positions of the species used to generate the matrix, finds the likelihood. ///////////////////////////...
{ "alphanum_fraction": 0.6006263775, "avg_line_length": 27.1100628931, "ext": "c", "hexsha": "27ce56a3e93d3c22a25c64a38cf473df976acbba", "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 <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_integration.h> #include "ccl.h" typedef struct{ double l; ccl_cosmology *cosmo; ccl_cl_tracer_collection_t *trc1; ccl_cl_tracer_collection_t *trc2; ccl_f2d_t *psp; int *status; } inte...
{ "alphanum_fraction": 0.5998277903, "avg_line_length": 30.3132137031, "ext": "c", "hexsha": "a92fe2a457d9a824f37f19ceb29831cd31f8a7c5", "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 SQ_INCLUDE_GUARD_core_SharedRange_h_ #define SQ_INCLUDE_GUARD_core_SharedRange_h_ #include <gsl/gsl> #include <memory> #include <range/v3/range/concepts.hpp> #include <vector> namespace sq { template <typename R> requires ranges::cpp20::range<R> struct SharedRange { public: explicit SharedRange(const std::...
{ "alphanum_fraction": 0.7283090564, "avg_line_length": 27.224137931, "ext": "h", "hexsha": "f01b92d08f1f38027e5fa18d3a0b9389b83c4783", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha": ...
/* * Copyright (c) 1997-1999 Massachusetts Institute of Technology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versio...
{ "alphanum_fraction": 0.5841750842, "avg_line_length": 29.6145733461, "ext": "c", "hexsha": "bda4c376d5f1ed86a746a734c6540855246de05b", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-07-09T00:20:49.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-09T00:20:...
#pragma once #include <gsl/gsl_multifit_nlinear.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_cdf.h> #include <QVector> #include <algorithm> #include <tuple> class Gaussian1DFit { struct data { double* x; double* y; size_t n; }; enum { numOfP...
{ "alphanum_fraction": 0.5633346823, "avg_line_length": 33.8493150685, "ext": "h", "hexsha": "a737af759bd66c936bee3ba74a7d410ecfeb5ecd", "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:...
/** * nn.c * * Created by mizu-bai * * This is a implementation of Tensors Warm-up: numpy in LEARNING PYTORCH WITH EXAMPLES * (https://pytorch.org/tutorials/beginner/pytorch_with_examples.html#) using C with GSL. */ #include <stdio.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_math.h> #include <gsl/gsl_po...
{ "alphanum_fraction": 0.6094479539, "avg_line_length": 35.3495145631, "ext": "c", "hexsha": "cc4e53675a37d4f243ada229d3257fc3a06e22d2", "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 LIB_INCLUDE_TICK_ARRAY_VECTOR_OPERATIONS_H_ #define LIB_INCLUDE_TICK_ARRAY_VECTOR_OPERATIONS_H_ // License: BSD 3 clause #include <numeric> #include <algorithm> #include <atomic> #include <type_traits> #include "promote.h" #include "tick/base/defs.h" namespace tick { namespace detail { template <typename ...
{ "alphanum_fraction": 0.6799758016, "avg_line_length": 29.2566371681, "ext": "h", "hexsha": "30756866eee78dcc69d424ba4f03a3b330be1b6d", "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 <time.h> #include <cblas.h> #include <string.h> #include <mpi.h> #include "../inc/knnring.h" knnresult kNN(double *X, double *Y, int n, int m, int d, int k){ knnresult k_nearest; //initalize the result's variable k_nearest.nidx = (int *)malloc(m...
{ "alphanum_fraction": 0.647446458, "avg_line_length": 24.4429530201, "ext": "c", "hexsha": "4df208051776c8046a9c9f4dfacea68bd0072c1f", "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 : 2020.09.02; * Last Update : 2021.06.11; * Author : Gabriel Marino de Oliveira <ra115114@uem.br>; * Supervisor/Advisor : Breno Ferraz de Oliveira <>; * Notes : * Compilation : gcc -O3 src/main.c -static -lgls -lglscbla...
{ "alphanum_fraction": 0.6044077135, "avg_line_length": 58.5483870968, "ext": "h", "hexsha": "159b34b5213a6f211ced617871398cb806aad6b6", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-03-19T01:45:50.000Z", "max_forks_repo_forks_event_min_datetime": "2021-03-19T01:45:...
#ifndef __INC_EMULATORSTRUCT__ #define __INC_EMULATORSTRUCT__ #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> /** * \@file emulator_struct.h * \brief defines the emulator_struct which contains the details of a working emulator at runtime */ struct modelstruct; /******************************************...
{ "alphanum_fraction": 0.7122884474, "avg_line_length": 32.3571428571, "ext": "h", "hexsha": "811b297a23a26945601fcf4637a0b83be1b0046c", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:...
/* cdf/test.c * * Copyright (C) 2002 Jason H Stover. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * * T...
{ "alphanum_fraction": 0.6992699298, "avg_line_length": 51.2665229885, "ext": "c", "hexsha": "109b5ea0ba0aeba2c20907a7fa7a7565fde0838a", "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 <string.h> #include <time.h> #include <stdlib.h> #include <unistd.h> #include <stdbool.h> #include <omp.h> #include <cblas.h> //Threshold for testing validity of matrix matrix multiplication #define ERROR_THRESHOLD 0.0001 //For measuring wall time using omp_get_wtime() static double start;...
{ "alphanum_fraction": 0.4953668921, "avg_line_length": 21.2393617021, "ext": "c", "hexsha": "e7110747fe6664feb2f7bd24507a09326560e607", "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 Daniel Eachern Huang * * 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 ag...
{ "alphanum_fraction": 0.7467277487, "avg_line_length": 17.1685393258, "ext": "h", "hexsha": "b061ffaa9d6aea5069351ab4f060061c4bd36897", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-02-18T20:17:36.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-10T21:55:...
/* Some preprocessor magic for having fast inline functions. */ #include <gsl/gsl_matrix.h> #ifndef INLINE #define INLINE static inline #endif #ifndef INLINE_DECL #define INLINE_DECL static inline #endif /* Some preprocessor magic for the "restrict" keyword: http://www.cellperformance.com/mike_acton/2006/05/demystif...
{ "alphanum_fraction": 0.7637795276, "avg_line_length": 24.4230769231, "ext": "h", "hexsha": "5582dd51e70559ee8189568688c67ef732e25015", "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 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
{ "alphanum_fraction": 0.4467785598, "avg_line_length": 48.0274888559, "ext": "h", "hexsha": "ea9fcb770618259d2c5fd002d04f1f33beffbd8f", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2022-01-23T15:15:53.000Z", "max_forks_repo_forks_event_min_datetime": "2022-01-23T15:15:...
// MIT License Copyright (c) 2020 Jarrett Wendt #pragma once #include "Macros.h" #include "Memory.h" #include "Util.h" #include <algorithm> // std::min/max #include <compare> // std::strong_ordering #include <functional> #include <initializer_list> // std::initializer/list #include <iterator> // std::random...
{ "alphanum_fraction": 0.6806198967, "avg_line_length": 30.6486210419, "ext": "h", "hexsha": "5522575a94c00d99d14483f7b7578740f6251769", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* multifit/fsolver.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.6145018258, "avg_line_length": 24.2658227848, "ext": "c", "hexsha": "aab59c2f22466fe46ebe53bf1fa27379499ba2cf", "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...
/* movstat/sumacc.c * * Moving window sum accumulator * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * ...
{ "alphanum_fraction": 0.7071865443, "avg_line_length": 23.1504424779, "ext": "c", "hexsha": "dbd9c71c21f26bab1c9966c7fec516e8a91edecf", "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 const char help[] = "Solves time-dependent nonlinear ice sheet problem in 2D:\n" "(*) H_t + div q = m\n" "where q = (q^x,q^y) is the nonsliding shallow ice approximation (SIA) flux,\n" " q = - Gamma H^{n+2} |grad s|^{n-1} grad s\n" "always subject to the constraint\n" " H(t,x,y) >= 0.\n" "In these...
{ "alphanum_fraction": 0.5736611637, "avg_line_length": 40.7131147541, "ext": "c", "hexsha": "1805ca468e5b71837d6f13431b9e4d2620130ca1", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* GENETIC - A simple genetic algorithm. Copyright 2014, Javier Burguete Tolosa. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
{ "alphanum_fraction": 0.7081489676, "avg_line_length": 31.7192982456, "ext": "c", "hexsha": "27a1f954bcd76468a9f8e2ef9614479931fe1d37", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2017-05-22T08:54:08.000Z", "max_forks_repo_forks_event_min_datetime": "2017-05-22T08:54:...
// The MIT License (MIT) // // Copyright (c) 2018 Mateusz Pusz, Conor Williams, Oliver Schonrock // // 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 l...
{ "alphanum_fraction": 0.6064139942, "avg_line_length": 28.1435897436, "ext": "h", "hexsha": "9ea155b6fcbc8795c1f154c7e47ece9629d8098b", "lang": "C", "max_forks_count": 70, "max_forks_repo_forks_event_max_datetime": "2022-03-24T01:57:29.000Z", "max_forks_repo_forks_event_min_datetime": "2019-06-14T01:04...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "parmt_utils.h" #ifdef PARMT_USE_INTEL #include <mkl_cblas.h> #else #include <cblas.h> #endif #include "iscl/array/array.h" #include "iscl/memory/memory.h" /*! * @brief Computes the [mrows x 6] forward modeling matrix for synthesizing * a wav...
{ "alphanum_fraction": 0.5838267373, "avg_line_length": 40.6202531646, "ext": "c", "hexsha": "41ecaa06e5e5f66b88268ea9e82d060dd78e7453", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <math.h> #include <stdio.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_sf_pow_int.h> #include <gsl/gsl_vector.h> #include <argtable2.h> #include "qdm.h" void qdm_mspline_vector( gsl_vector *result, const double tau, const size_t spline_df, const gsl_vector *knot...
{ "alphanum_fraction": 0.6142742582, "avg_line_length": 32.3896103896, "ext": "c", "hexsha": "eaf027bf8ed160f4d2116ab962cf56be5aec7883", "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 "halley/maths/vector3.h" #include <gsl/span> namespace Halley { class AudioListenerData; class AudioChannelData; class AudioPosition { public: struct SpatialSource { SpatialSource(); SpatialSource(Vector2f pos, float referenceDistance = 200.0f, float maxDistance = 400.0f); Spatia...
{ "alphanum_fraction": 0.760728983, "avg_line_length": 37.8, "ext": "h", "hexsha": "9a675e803a47bd6b6a10cfba9d2eab5f35a92542", "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": "fc4f1539...
/* trav.c * * Copyright (C) 2018 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * * This pr...
{ "alphanum_fraction": 0.7125585986, "avg_line_length": 26.8410596026, "ext": "c", "hexsha": "6442c264a635a18b3f1bd8ebd3dd01ba0f1e2123", "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:...
/**************************************************************/ /*! \brief This file contains all .h files */ /**************************************************************/ #ifndef __SLIM_H__ #define __SLIM_H__ #define _GNU_SOURCE 1 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <time.h...
{ "alphanum_fraction": 0.5939086294, "avg_line_length": 20.7368421053, "ext": "h", "hexsha": "2d987578229007a6af26112a9128c35b4f161ef4", "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:...
#ifndef __gslInterp_ #define __gslInterp__ #include "include/stdinc.h" #include <gsl/gsl_errno.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_integration.h> #include <vector> class gslInterp { protected: gsl_interp_accel *acc; gsl_interp *interp; vector<double> x, y; public...
{ "alphanum_fraction": 0.6307884856, "avg_line_length": 26.6333333333, "ext": "h", "hexsha": "cc216048ca376075e17c15a973839124c02c526f", "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...
/* specfunc/test_gamma.c * * Copyright (C) 2007 Brian Gough * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version ...
{ "alphanum_fraction": 0.7003456342, "avg_line_length": 72.6979695431, "ext": "c", "hexsha": "9799355329ad29c10637a1aa763dc779776b9718", "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...
/** * * @file timing.c * * PLASMA auxiliary routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Mathieu Faverge * @author Dulceneia Becker * @date 2010-11-15 * **/ #define _FMULS FMULS_GEQRF( M...
{ "alphanum_fraction": 0.6024157661, "avg_line_length": 24.8107255521, "ext": "c", "hexsha": "24897414ad1d47b5bcda2ffa3f07fbc25b0ace3b", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-01-29T17:09:46.000Z", "max_forks_repo_forks_event_min_datetime": "2018-06-11T17:08:...
#pragma once #include <algorithm> #include <gsl/gsl_assert> #include "family_type.h" #include "family_mask.h" #include "entity_id.h" #include "halley/data_structures/nullable_reference.h" #include "halley/support/exception.h" #include "halley/support/debug.h" #include "halley/utils/utils.h" namespace Halley { class ...
{ "alphanum_fraction": 0.6720779221, "avg_line_length": 25.6666666667, "ext": "h", "hexsha": "e70910c382fd97a753e9950ddec92d246bdac823", "lang": "C", "max_forks_count": 193, "max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z", "max_forks_repo_forks_event_min_datetime": "2017-10-23T06:0...
/** * This file is part of the "libterminal" project * Copyright (c) 2019-2020 Christian Parpart <christian@parpart.family> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to i...
{ "alphanum_fraction": 0.6782433984, "avg_line_length": 26.1954887218, "ext": "h", "hexsha": "e445137bb02f014d80c62ec1e0fb6245af484a9f", "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) 2011 by Stefan Oslowski * * Licensed under the Academic Free License version 2.1 * * ****************************************************************************/ #ifndef __Pulsar__TimeDomainCovariance_h #de...
{ "alphanum_fraction": 0.6507870754, "avg_line_length": 27.7471264368, "ext": "h", "hexsha": "107569bba25e7edec1e885fdd0ad1c5eabe6b084", "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/debye.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.6095170455, "avg_line_length": 24.8324514991, "ext": "c", "hexsha": "07c2f570bdad60c643165d49933b72f2f4eb2d3c", "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...
#pragma once #include "BoundingVolume.h" #include "Library.h" #include "TileContentLoadResult.h" #include "TileContentLoader.h" #include "TileID.h" #include "TileRefine.h" #include <CesiumAsync/AsyncSystem.h> #include <CesiumAsync/Future.h> #include <CesiumAsync/HttpHeaders.h> #include <CesiumAsync/IAssetAccessor.h> ...
{ "alphanum_fraction": 0.7217683105, "avg_line_length": 37.4535519126, "ext": "h", "hexsha": "4d00aa989da2245d8d1d14a50aa38fb83d7b6d91", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include <gsl/gsl_integration.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_sort.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_roots.h> #include "cosmocalc.h" static double gaussiannorm_linear_powspec_exact_lnk_i...
{ "alphanum_fraction": 0.6998382647, "avg_line_length": 32.9498432602, "ext": "c", "hexsha": "e37f78558862cf6777e4d3e9137de7bc0597be4e", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2017-08-11T17:31:51.000Z", "max_forks_repo_forks_event_min_datetime": "2017-07-14T12:17:...
#include <cblas.h>
{ "alphanum_fraction": 0.7222222222, "avg_line_length": 18, "ext": "h", "hexsha": "f6e0a41cc7aaf9e4a8f3bc6165bfe31080a32a79", "lang": "C", "max_forks_count": 13, "max_forks_repo_forks_event_max_datetime": "2022-03-29T07:25:21.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-03T05:29:38.000Z", ...
#pragma once #include <fstream> #include <memory> #include <optional> #include <sstream> #include <utility> #include <gsl/pointers> #include <fmt/core.h> #include <fmt/ranges.h> #include <nop/serializer.h> #include <nop/status.h> #include <nop/structure.h> #include <nop/utility/die.h> #include <nop/utility/stream_re...
{ "alphanum_fraction": 0.6853564547, "avg_line_length": 29.8275862069, "ext": "h", "hexsha": "37f04e39d3e5514a17d35cce3a3cbeb84aca5ae3", "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 DBJ_FLOAT_VARIOUS_MATMULS_INC #define DBJ_FLOAT_VARIOUS_MATMULS_INC #include "dbj_matrix.h" #include <stdlib.h> #include <intrin.h> // #define __SSE__ 1 #ifdef HAVE_CBLAS #include <cblas.h> #endif #undef DBJ_API #define DBJ_API ////////////////////////////////////////////////////////////////////// // all ...
{ "alphanum_fraction": 0.6375427151, "avg_line_length": 32.0298507463, "ext": "h", "hexsha": "b10c4632a354f35e90a75decf408e981c73589bd", "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 ExtremaRootFinding.h * \brief header file for finding roots and extrema of a function \todo not implemented yet */ #ifndef MINMAXROOT_H #define MINMAXROOT_H #include <cmath> #include <iostream> #include <gsl/gsl_math.h> #include <gsl/gsl_interp.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_randist....
{ "alphanum_fraction": 0.7229965157, "avg_line_length": 19.1333333333, "ext": "h", "hexsha": "1f52f1fee5f230d8d46ea3c7eb73bf60187618da", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2020-10-23T00:21:57.000Z", "max_forks_repo_forks_event_min_datetime": "2019-04-23T02:58:...
/* ** ECM - eigenvector centrality mapping, I/O interface ** ** G.Lohmann, MPI-KYB, updated Oct 2018 */ #include <viaio/Vlib.h> #include <viaio/VImage.h> #include <viaio/mu.h> #include <viaio/option.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_blas.h> #includ...
{ "alphanum_fraction": 0.6118819621, "avg_line_length": 25.4577114428, "ext": "c", "hexsha": "99506ce18460666ff8327f7ec7b88ae7d5e73c86", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z", "max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:...
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" void cblas_sscal (const int N, const float alpha, float *X, const int incX) { #define BASE float #include "source_scal_r.h" #undef BASE }
{ "alphanum_fraction": 0.7298578199, "avg_line_length": 17.5833333333, "ext": "c", "hexsha": "e4a83348515792301cc1d7e63b186fa1c7afb9b1", "lang": "C", "max_forks_count": 173, "max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-08T18:0...
// Sammlung verwendeter Funktionen #include "global.h" #include "steppmethods.h" #include "targets.h" #include <gsl/gsl_cblas.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf_gamma.h> #include <math.h> #include <stdio.h> #include "utility.h" #include <string.h> #include <time.h> #include <o...
{ "alphanum_fraction": 0.545407339, "avg_line_length": 26.3805175038, "ext": "c", "hexsha": "91224b516afde1c428bcb266cfee0daf6715d6e0", "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 <unistd.h> #include <string.h> #include <stdint.h> #include <math.h> #include <assert.h> #include <gsl/gsl_math.h> #include "com3.h" // #define debugmode 1 int unit_tests(void); const int64_t comr = 2; // Radius of com filter in pixels // The filter will...
{ "alphanum_fraction": 0.4841602777, "avg_line_length": 22.3, "ext": "c", "hexsha": "4eca838340c62baec965be7af61b832a353161e3", "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": "8fe0ab3...
/* ----------------------------------------------------------------------------- * Copyright 2021 Jonathan Haigh * SPDX-License-Identifier: MIT * ---------------------------------------------------------------------------*/ #ifndef SQ_INCLUDE_GUARD_parser_Parser_inl_h_ #define SQ_INCLUDE_GUARD_parser_Parser_inl_h_ ...
{ "alphanum_fraction": 0.6267409471, "avg_line_length": 35.1960784314, "ext": "h", "hexsha": "4d6fed98e4d1171e46dcabf6e4bbec25c769d909", "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":...
/* * emu_noh.c * * * Created by Earl Lawrence on 9/17/09. * Update 11/30/2012 * * This program was prepared by Los Alamos National Security, LLC at Los Alamos National Laboratory (LANL) * under contract No. DE-AC52-06NA25396 with the U.S. Department of Energy (DOE). All rights in the program * are re...
{ "alphanum_fraction": 0.5395325073, "avg_line_length": 31.825203252, "ext": "c", "hexsha": "3e586be9c1e0dc4963f79f4683a3aa6e3e46cac1", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:4...
/** * * @file core_strdalg1.c * * PLASMA core_blas kernel * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author Azzam Haidar * @date 2013-07-04 * @generated s Tue Jan 7 11:44:50 2014 * **/ #include <lapack...
{ "alphanum_fraction": 0.5345325339, "avg_line_length": 34.3740458015, "ext": "c", "hexsha": "c491869db75b52b6f2ced4e83d67dd55c021e8f4", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
static char help[] = "Structured-grid minimal surface equation (MSE) in 2D. Option prefix mse_.\n" "Equation is\n" " - div ( (1 + |grad u|^2)^q grad u ) = 0\n" "on the unit square [0,1]x[0,1] subject to Dirichlet boundary\n" "conditions u = g(x,y). Power q defaults to -1/2 (i.e. MSE) but is adjustable.\n" "Catenoid ...
{ "alphanum_fraction": 0.5193178295, "avg_line_length": 45.0418994413, "ext": "c", "hexsha": "9016ae45cd2d452c6bc62e0bef192cc874be3837", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
/* randist/bigauss.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or...
{ "alphanum_fraction": 0.6045977011, "avg_line_length": 30.6338028169, "ext": "c", "hexsha": "c23f401bf0189d8aab30774f168ea7ed70cd9bd4", "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 © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root // for more information. #ifndef NOVELRT_UTILITIES_MISC_H #define NOVELRT_UTILITIES_MISC_H #include <filesystem> #include <gsl/span> #include <type_traits> #if defined(NDEBUG) #define unused(x) (vo...
{ "alphanum_fraction": 0.6407074155, "avg_line_length": 31.5980392157, "ext": "h", "hexsha": "500ec267e8fd49b79ccfa70c2a5395a9321cde50", "lang": "C", "max_forks_count": 56, "max_forks_repo_forks_event_max_datetime": "2022-03-03T19:52:18.000Z", "max_forks_repo_forks_event_min_datetime": "2019-08-22T15:57...
#include <stdio.h> #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_blas.h> #include <lapacke.h> #include "kjg_gsl.h" void kjg_gsl_matrix_fprintf (FILE * stream, gsl_matrix * m, const char *template) { size_t i, j; f...
{ "alphanum_fraction": 0.5810810811, "avg_line_length": 20.0857142857, "ext": "c", "hexsha": "980815b03bf0aa5ce0ea6127bd05d4c19e3c0057", "lang": "C", "max_forks_count": 63, "max_forks_repo_forks_event_max_datetime": "2022-01-31T18:57:58.000Z", "max_forks_repo_forks_event_min_datetime": "2015-04-20T08:57...
/** @file Copyright John Reid 2006 */ #ifndef BIOPSY_LOG_PROBS_H_ #define BIOPSY_LOG_PROBS_H_ #ifdef _MSC_VER # pragma once #endif //_MSC_VER #include <gsl/gsl_sf_log.h> #include <gsl/gsl_sf_exp.h> #include <gsl/gsl_sf_gamma.h> #include <gsl/gsl_machine.h> #include <boost/test/floating_point_comparison.hpp> ...
{ "alphanum_fraction": 0.6867588933, "avg_line_length": 18.6257668712, "ext": "h", "hexsha": "c4c7a7052ea8cc9af25d767773dd2d8dafc109ed", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <gsl/gsl_test.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_math.h> #include "gsl_cblas.h" #include "tests.h" void test_amax (void) { { int N = 1; float X[] = { -0.388f }; int incX = -1; int expected = 0; int k; k = cblas_isamax(N, X, incX); gsl_test_int(k, expected, "samax(case...
{ "alphanum_fraction": 0.5175615664, "avg_line_length": 17.3216783217, "ext": "c", "hexsha": "1eb228cd22cb78690f4d686ec45df629e647217b", "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:...
/* * BRAINS * (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling * Yan-Rong Li, liyanrong@ihep.ac.cn * Thu, Aug 4, 2016 */ /*! * \file reconstruct_sa.c * \brief reconstruct sa and RM data. */ #ifdef SA #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #in...
{ "alphanum_fraction": 0.5958869415, "avg_line_length": 24.2530712531, "ext": "c", "hexsha": "d83c3e0e4539d0d3921573fb47abc90ee24b59cb", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <memory> #include <gsl\gsl> #include "RTTI.h" namespace Library { class Game; class AbstractContentTypeReader : public RTTI { RTTI_DECLARATIONS(AbstractContentTypeReader, RTTI) public: AbstractContentTypeReader(const AbstractContentTypeReader&) = default; AbstractContentTypeReader&...
{ "alphanum_fraction": 0.7725752508, "avg_line_length": 29.3137254902, "ext": "h", "hexsha": "83628ddb6bdac6217a24c4911a2e4c66ae12cefe", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#include <cblas.h> #include "tasks.h" #include "utils.h" void gemm_task_par_reconfigure(int nth) { // empty } void gemm_task_par_finalize(void) { // empty } void gemm_task_par(void *ptr, int nth, int me) { struct gemm_task_arg *arg = (struct gemm_task_arg*) ptr; int m = arg->m; int n ...
{ "alphanum_fraction": 0.5556621881, "avg_line_length": 22.652173913, "ext": "c", "hexsha": "0f12833785a285ecacb98457fcdaed0d9a06e850", "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) 2015 Atsushi Togo */ /* All rights reserved. */ /* This file is part of phonopy. */ /* 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 abo...
{ "alphanum_fraction": 0.6434960388, "avg_line_length": 29.7189873418, "ext": "c", "hexsha": "08fcfa148fdd07b18edddd863e15d9510ada6f4b", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-01-30T08:36:46.000Z", "max_forks_repo_forks_event_min_datetime": "2018-08-02T13:53:...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <gsl/gsl_rng.h> #ifdef SUBFIND #include "fof.h" #include "allvars.h" #include "proto.h" #include "domain.h" #include "subfind.h" static struct id_li...
{ "alphanum_fraction": 0.6187736563, "avg_line_length": 26.42, "ext": "c", "hexsha": "938b93e7d74b8d378222ef6fac0d25b1f5273ecd", "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": "5e82c2...
#ifndef PVIZUTIL_H #define PVIZUTIL_H #include <math.h> #include <string> #include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <H5Cpp.h> using namespace std; using namespace H5; class PvizUtil { public: static void split(const int n, const int nsplit, int* counts, int* offsets) { if (nsplit == 0) ...
{ "alphanum_fraction": 0.6346000954, "avg_line_length": 23.7320754717, "ext": "h", "hexsha": "8776988e2406eb27474256e2f9b9f594d22597f7", "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 Sampler.h * * @brief This private head contains the definition of the Sampler type * * @author Stefan Reinhold * @copyright Copyright (C) 2018 Stefan Reinhold -- All Rights Reserved. * You may use, distribute and modify this code under the terms of * the AFL 3.0 li...
{ "alphanum_fraction": 0.586314557, "avg_line_length": 33.4217391304, "ext": "h", "hexsha": "9bca2768f2c54e6dadc29ffe56877c964923855b", "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_H__ #define __GSL_PERMUTE_H__ #include <gsl/gsl_permute_complex_long_double.h> #include <gsl/gsl_permute_complex_double.h> #include <gsl/gsl_permute_complex_float.h> #include <gsl/gsl_permute_long_double.h> #include <gsl/gsl_permute_double.h> #include <gsl/gsl_permute_float.h> #include <gsl/gsl...
{ "alphanum_fraction": 0.8045602606, "avg_line_length": 24.56, "ext": "h", "hexsha": "c15f062731acb7d31aed83822010206fd4a7c649", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2020-08-30T20:40:25.000Z", "max_forks_repo_forks_event_min_datetime": "2020-08-30T20:40:25.000Z"...
#ifdef FUTILITY_HAVE_PETSC #include <petsc.h> #include <petscsys.h> #include <petscfix.h> #include <petscksp.h> #if ((PETSC_VERSION_MAJOR<=3) && (PETSC_VERSION_MINOR<=5)) #include <petsc-private/fortranimpl.h> #include <petsc-private/pcimpl.h> #else #include <petsc/private/fortranimpl.h> #include <petsc/private/pcmgimp...
{ "alphanum_fraction": 0.6229586936, "avg_line_length": 39.6571428571, "ext": "c", "hexsha": "cc34f4cd4cf3c3712fde81126549092c0a72dce6", "lang": "C", "max_forks_count": 19, "max_forks_repo_forks_event_max_datetime": "2022-01-16T08:05:59.000Z", "max_forks_repo_forks_event_min_datetime": "2017-06-29T17:13...
/* cdf/poisson.c * * Copyright (C) 2004 Jason H. Stover. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * ...
{ "alphanum_fraction": 0.657262278, "avg_line_length": 22.5176470588, "ext": "c", "hexsha": "cab04505ee2f0802ad40cd362807c81855577454", "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 "scripts.h" #include "utility/fileutils.h" #include "lua.h" #include "lauxlib.h" #include "subsystems.h" #include "rendering/rendering.h" #include <gsl/gsl_math.h> /** * Retrieve the integer value in the table at the top of the stack * associated with the specified key. */ sd_result get_int_field(lua_State...
{ "alphanum_fraction": 0.6786670634, "avg_line_length": 27.7768595041, "ext": "c", "hexsha": "49851c8a168b64c2f731b6c8efe1a28df45b64d9", "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 CWANNIER_PARSESCF_H #define CWANNIER_PARSESCF_H #include <stdbool.h> #include <stdio.h> #include <gsl/gsl_matrix.h> #include "bstrlib/bstrlib.h" #define CWANNIER_PARSESCF_OK 0 #define CWANNIER_PARSESCF_ERR 1 int ParseSCF(char *filePath, double *num_electrons, double *alat, gsl_matrix *R); void get_b_row(gsl...
{ "alphanum_fraction": 0.7855297158, "avg_line_length": 22.7647058824, "ext": "h", "hexsha": "0b984561c9a19dec38aecc7396b5b3f199ccbd8a", "lang": "C", "max_forks_count": null, "max_forks_repo_forks_event_max_datetime": null, "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_head_hexsha":...
#pragma once #include <memory> #include "halley/resources/resource.h" #include "halley/utils/utils.h" #include <gsl/gsl> #include "halley/core/resources/resource_collection.h" namespace Halley { class ResourceLoader; class BinaryFile : public Resource { public: BinaryFile(); explicit BinaryFile(const Bytes& d...
{ "alphanum_fraction": 0.7406281662, "avg_line_length": 25.9736842105, "ext": "h", "hexsha": "536f826289d907b69808b7caaf2e35230bc737d4", "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":...
/* * lowly.h * low-ell likelihood in the pixel domain * * JF Cardoso and Simon Prunet. January 2008. * */ #include <gsl/gsl_vector.h> #include <gsl/gsl_vector_int.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_errno.h> #include...
{ "alphanum_fraction": 0.6597753541, "avg_line_length": 28.5720930233, "ext": "h", "hexsha": "36c77feb5e915d507b8ad2fa017fc4f95b11c56a", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-06-11T15:29:43.000Z", "max_forks_repo_forks_event_min_datetime": "2021-06-11T15:29:...
/* See compilation notes in simple_cplx.c*/ #include <complex.h> //nice names for C's complex types #include <gsl/gsl_vector.h> //gsl_vector_complex gsl_vector_complex *cvec_dot_gslcplx(gsl_vector_complex *v, gsl_complex x); gsl_vector_complex *vec_dot_gslcplx(gsl_vector *v, gsl_complex x); gsl_vector_complex *cvec_do...
{ "alphanum_fraction": 0.6024691358, "avg_line_length": 41.8965517241, "ext": "h", "hexsha": "49dc2d52a27d1b26bb8b0963b1c2b1d1d24cf06a", "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 SCANMATCHERPROCESSOR_H #define SCANMATCHERPROCESSOR_H #include <gmapping/log/sensorlog.h> #include <gmapping/sensor/sensor_range/rangesensor.h> #include <gmapping/sensor/sensor_range/rangereading.h> //#include <gsl/gsl_eigen.h> #include <gmapping/scanmatcher/scanmatcher.h> namespace GMapping { class ScanMatc...
{ "alphanum_fraction": 0.7802419355, "avg_line_length": 29.76, "ext": "h", "hexsha": "5815bbd532c0b8967ebdda43f6c9580815d2cf7f", "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": "946db1...
#include <math.h> #include <stdio.h> #include <complex.h> #include <lapacke.h> #include <libhades.h> #include "unittest.h" int test_trace() { matrix_t *A, *B; matrix_complex_t *C, *D; double trace; complex_t trace_cplx; unittest_t test; unittest_init(&test, "matrix_mult", "Test trace"); ...
{ "alphanum_fraction": 0.5859110169, "avg_line_length": 27.7647058824, "ext": "c", "hexsha": "8dc4d6c0c86eb3a7cba8bea2f534cc06fe216c45", "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 <gsl/gsl_integration.h> double f1(double x, void* params) { return x*x; } double f2(double x, void* params) { return 1 / sqrt(x); } void calculateIntegralVoid(double (*f)(double x), double a, double b, int maxInterval, double expected) { F...
{ "alphanum_fraction": 0.565395654, "avg_line_length": 25.1443298969, "ext": "c", "hexsha": "35a87ece26506ed2e4809cbaef0837c1bf71b064", "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": ...
/****************************************************************************** * * * PROBLEM.C * * * ...
{ "alphanum_fraction": 0.4815827863, "avg_line_length": 26.1766109785, "ext": "c", "hexsha": "3f103e4bd09f047810a83a718a80e59def08bb48", "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 (c) 2013, Taiga Nomi and the respective contributors All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "tiny_dnn/core/params/fully_params.h" #ifdef CNN_USE_CBLAS extern "C" { #include <cblas.h> ...
{ "alphanum_fraction": 0.6169681847, "avg_line_length": 30.8269230769, "ext": "h", "hexsha": "b9403e7ddc8a155ad515dd02bb48c1f6b6fe03fd", "lang": "C", "max_forks_count": 12, "max_forks_repo_forks_event_max_datetime": "2022-02-20T06:47:22.000Z", "max_forks_repo_forks_event_min_datetime": "2018-08-23T15:59...
/* permutation/test.c * * Copyright (C) 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 later version. * ...
{ "alphanum_fraction": 0.4408945687, "avg_line_length": 36.8235294118, "ext": "c", "hexsha": "270bdc9776e64ec0cd9cbb33026951b1a716ff69", "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:...
#ifndef __INCLUDE_EMUPLUSPLUS__ #define __INCLUDE_EMUPLUSPLUS__ #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <string> #include <vector> extern "C"{ #include "multi_modelstruct.h" #include "multivar_support.h" } using namespace std; /** * @file emuplusplus.h * \brief a simple c++ interface...
{ "alphanum_fraction": 0.7543079489, "avg_line_length": 26.0724637681, "ext": "h", "hexsha": "56bb9b55ebd88b739181934b2f68df5b724213c4", "lang": "C", "max_forks_count": 1, "max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z", "max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:...
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
{ "alphanum_fraction": 0.7227683838, "avg_line_length": 30.2738095238, "ext": "h", "hexsha": "f22e813f8fe05771531f4e1994232713cd1d2d65", "lang": "C", "max_forks_count": 107, "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z", "max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2...
#include <stdio.h> #include <gsl/gsl_spline.h> #include <gsl/gsl_const_cgsm.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_math.h> #include "global.h" #include "eos_pres.h" #include "eos_rho.h" #include "param.h" // the system of ODEs to be integrated int func (double r, const double y[], double f[], void *params) { ...
{ "alphanum_fraction": 0.6198459447, "avg_line_length": 32.4558823529, "ext": "c", "hexsha": "8f3338df32a5165b85010c3c42a6fd779a4bb22d", "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":...
/* (rho v, u) = ( v , div(C : grad(u)) ) + (v,F) where (v,F) = (v, Mp delta_1) + (v, -div(-Ms delta_2 )) (rho v, u) = -(grad(v) , C : grad(u)) + (v, sigma.n)_ds + (v, Mp delta_1) + (grad(v), Ms delta_2 ) - (v, (Ms delta_2 ).n)_ds = -(grad(v) , C : grad(u)) +(v, Mp delta_...
{ "alphanum_fraction": 0.5910516317, "avg_line_length": 32.9469582705, "ext": "c", "hexsha": "285c51aa09126a7f1ee053b372dcddc8b875f407", "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_errno.h> #include <gsl/gsl_math.h> #include <gsl/gsl_min.h> double fn1 (double x, void * params) { return cos(x) + 1.0; } int main (void) { int status; int iter = 0, max_iter = 100; const gsl_min_fminimizer_type *T; gsl_min_fminimizer *s; double m = 2.0, m_expected = M...
{ "alphanum_fraction": 0.5524625268, "avg_line_length": 21.2272727273, "ext": "c", "hexsha": "45d79a94fe3fb2085be5d0295471cb18a75bc1dc", "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 <math.h> #include <stdlib.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_poly.h> #include "userFunc.h" #define G 6.67384e-8 /* 2010 CODATA value in CGS units */ #define ALPHAMIN 1.0e-3 /* Minimum alpha allowed for numerical reasons */ /*******************...
{ "alphanum_fraction": 0.5963648454, "avg_line_length": 31.1137931034, "ext": "c", "hexsha": "f36eb2b2f7f4de3f5acb7098679634597c5d63c1", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2021-11-20T02:11:17.000Z", "max_forks_repo_forks_event_min_datetime": "2021-11-19T04:41:...
// Copyright Jean Pierre Cimalando 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "keystate.h" #include <gsl/gsl> #include <string> #include <cstdint> struct Midi_Ou...
{ "alphanum_fraction": 0.6956521739, "avg_line_length": 24.0222222222, "ext": "h", "hexsha": "1bac9210de3c8de8ac24182adbe01a3aca48c5c2", "lang": "C", "max_forks_count": 3, "max_forks_repo_forks_event_max_datetime": "2021-11-22T08:05:13.000Z", "max_forks_repo_forks_event_min_datetime": "2020-07-10T18:48:...
#include <stdio.h> #include <gsl/gsl_poly.h> int main() { double a = 1.0, b = -3.0, c = 2.0; double x0 = 0.0, x1 = 0.0; gsl_poly_solve_quadratic(a, b, c, &x0, &x1); printf("%4.1fx^2 + %4.1fx + %4.1f = 0 -> x = %4.1f, %4.1f\n", a, b, c, x0, x1); return 0; }
{ "alphanum_fraction": 0.5109489051, "avg_line_length": 22.8333333333, "ext": "c", "hexsha": "5d4d2554e4bed843b1023fa19238675f8031db74", "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 OPENMC_TALLIES_FILTER_TIME_H #define OPENMC_TALLIES_FILTER_TIME_H #include <gsl/gsl-lite.hpp> #include "openmc/tallies/filter.h" #include "openmc/vector.h" namespace openmc { //============================================================================== //! Bins the incident particle time. //=============...
{ "alphanum_fraction": 0.4780100937, "avg_line_length": 27.1960784314, "ext": "h", "hexsha": "c66481c5780945b7d28c1f33343f0d8082fd2b8a", "lang": "C", "max_forks_count": 102, "max_forks_repo_forks_event_max_datetime": "2018-07-26T14:34:13.000Z", "max_forks_repo_forks_event_min_datetime": "2015-01-03T18:1...
/* Simbicon 1.5 Controller Editor Framework, Copyright 2009 Stelian Coros, Philippe Beaudoin and Michiel van de Panne. All rights reserved. Web: www.cs.ubc.ca/~van/simbicon_cef This file is part of the Simbicon 1.5 Controller Editor Framework. Simbicon 1.5 Controller Editor Framework is free software: you can ...
{ "alphanum_fraction": 0.6715617057, "avg_line_length": 33.0934579439, "ext": "h", "hexsha": "be531829907510db638400e83b68b4f02179a559", "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":...
/*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.6021877849, "avg_line_length": 22.4795081967, "ext": "c", "hexsha": "3cc3769032954e5564f1ce8a4e6da7647f746e0f", "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...
#include <stdlib.h> #include <stdio.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_multifit_nlinear.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> struct data { double *t; double *y; size_t n; }; /* model function: a * exp( -1/2 * [ (t - b) / c ]...
{ "alphanum_fraction": 0.5865428528, "avg_line_length": 25.7607843137, "ext": "c", "hexsha": "34145cfa4aa524ec79a0829043dd65c3006bac50", "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:...
/* rng/fishman20.c * * 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. * * This program is distributed in the hop...
{ "alphanum_fraction": 0.650382328, "avg_line_length": 22.6346153846, "ext": "c", "hexsha": "025bec324961515e144277b54c44861dbe529686", "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 <cblas.h> #include <stdio.h> #include <stdlib.h> #define N 1000000 #define REP 500 /* compilar: gcc fonte.c -o exec -lblas */ int main( void ) { float *x, *y, *y2; int i, j; double ti = 0, tf = 0; /* ti = tempo inicial // tf = tempo final */ struct timeval tempo_inicio, tempo_fim; /* aloca vetore...
{ "alphanum_fraction": 0.5718891038, "avg_line_length": 28.7222222222, "ext": "c", "hexsha": "4d4b38fd45b6cc8806d2f9f1d3e8ee8493f7a635", "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: ex10.c // Description: Example with the sections directive // Software stack: Exercises suite for V. Keller lecture // Version: 1.0 // License: BSD // Author: Vincent Keller (Vincent.Keller@epfl.ch), CADMOS, 2012 // // COMPILATION AND LINKING //...
{ "alphanum_fraction": 0.334683665, "avg_line_length": 32.78515625, "ext": "c", "hexsha": "1711f31c499a9fda531c910db9bec0b0e813f528", "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": "0...
/****************************************************************************** CosmoLike Configuration Space Covariances for Projected Galaxy 2-Point Statistics https://github.com/CosmoLike/CosmoCov by CosmoLike developers ******************************************************************************/ #include <math....
{ "alphanum_fraction": 0.6468262057, "avg_line_length": 35.6526162791, "ext": "c", "hexsha": "8022360d78f07e7d14e8dd1a7d1b1768c1158a90", "lang": "C", "max_forks_count": 8, "max_forks_repo_forks_event_max_datetime": "2022-01-27T11:30:53.000Z", "max_forks_repo_forks_event_min_datetime": "2020-04-21T20:17:...
/* ndlinear.c * * Copyright (C) 2006, 2007 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 2 of the License, or (at * your option) any later version. * ...
{ "alphanum_fraction": 0.5836407716, "avg_line_length": 25.0978835979, "ext": "c", "hexsha": "82dcaf06878132a0964372d63d1720c47c9dca87", "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 structs_h #define structs_h #include <ceed.h> #include <petsc.h> #include "../problems/cl-problems.h" // ----------------------------------------------------------------------------- // Command Line Options // ----------------------------------------------------------------------------- // Forcing function op...
{ "alphanum_fraction": 0.5690017513, "avg_line_length": 35.6875, "ext": "h", "hexsha": "b9ec34b62a34329f676152352385c119f2078b38", "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": "4a63...
#pragma once #include <memory> #include <string> #include <vector> #include <gsl/span> struct VfsSearchResult { std::string filename; bool dir; size_t sizeInBytes; uint32_t lastModified; }; enum class SeekDir { Start = 0, Current = 1, End = 2 }; /* Abstractions for accessing files in the virtual file syste...
{ "alphanum_fraction": 0.7023670935, "avg_line_length": 22.8053097345, "ext": "h", "hexsha": "f31d57c71ff736fee435bcd9300c4ffadc1073a8", "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...
/* * Copyright 2016 Maikel Nadolski * * 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 t...
{ "alphanum_fraction": 0.5622864951, "avg_line_length": 28.6993464052, "ext": "h", "hexsha": "475c5f03167f54a3bc88a6d70c3efd7e0acaa24d", "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":...
/* multilarge_nlinear/fdf.c * * Copyright (C) 2015, 2016 Patrick Alken * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later...
{ "alphanum_fraction": 0.5842609871, "avg_line_length": 27.4575971731, "ext": "c", "hexsha": "bdea91c8c798b0d2e1fd0006ab9941f386442d71", "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 <inttypes.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <cblas.h> #include <string.h> // memcpy #include <math.h> #include <clblast_c.h> #include "cgraph.h" #include "cg_operation.h" #include "cg_types.h" #include "cg_variables.h" #include "cg_errors.h" #include "cg_constants.h" #inc...
{ "alphanum_fraction": 0.5552497467, "avg_line_length": 24.2312202272, "ext": "c", "hexsha": "97ae2eaa86bd08cdc8b68a564c0a438050b05c6a", "lang": "C", "max_forks_count": 2, "max_forks_repo_forks_event_max_datetime": "2019-07-21T05:16:24.000Z", "max_forks_repo_forks_event_min_datetime": "2019-02-26T13:55:...
/* Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distr...
{ "alphanum_fraction": 0.5280578694, "avg_line_length": 21.0230414747, "ext": "c", "hexsha": "1842fb8a2941a54e1e7ea9e7edcc47e7759c5aa3", "lang": "C", "max_forks_count": 5, "max_forks_repo_forks_event_max_datetime": "2020-05-29T23:24:51.000Z", "max_forks_repo_forks_event_min_datetime": "2016-11-22T20:30:...