Search is not available for this dataset
text string | meta dict |
|---|---|
//
// ger.h
// Linear Algebra Template Library
//
// Created by Rodney James on 12/23/11.
// Copyright (c) 2011 University of Colorado Denver. All rights reserved.
//
#ifndef _ger_h
#define _ger_h
/// @file ger.h Performs vector outer product.
#include "latl.h"
namespace LATL
{
/// @brief Performs a vector ... | {
"alphanum_fraction": 0.5057698648,
"avg_line_length": 23.3307692308,
"ext": "h",
"hexsha": "4f381420d867715ee010907caf812cae878eafa5",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-02-09T23:18:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-01T06:46:... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
//#include </usr/local/include/gsl/gsl_matrix.h>
#include <gsl/gsl_matrix.h> // suprisingly, both work
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
/*
* * Program that reads reference spectra and measure spectra data
* ... | {
"alphanum_fraction": 0.6795779737,
"avg_line_length": 39.0903954802,
"ext": "c",
"hexsha": "4a089466e354cc78dfc765dc0918d8c93f0c0c92",
"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 RL_MDL_NLOPTINVERSEKINEMATICS_H
#define RL_MDL_NLOPTINVERSEKINEMATICS_H
#include <chrono>
#include <nlopt.h>
#include <random>
#include <utility>
#include "InverseKinematics.h"
namespace rl
{
namespace mdl
{
class NloptInverseKinematics : public InverseKinematics
{
public:
NloptInverseKinematics(K... | {
"alphanum_fraction": 0.6822810591,
"avg_line_length": 19.2549019608,
"ext": "h",
"hexsha": "c879b1f9e601287af81a0578981e131f7109a6ab",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-11-10T17:26:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-11-10T17:26:... |
/**
* 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.6657158631,
"avg_line_length": 29.7753424658,
"ext": "h",
"hexsha": "f4ceb71b7934cabc782aa1a4374c882f13ad2a81",
"lang": "C",
"max_forks_count": 24,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T16:24:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-02T15:40... |
#ifndef GBNET_GRAPHORNOR
#define GBNET_GRAPHORNOR
#include <iostream>
#include <string>
#include <vector>
#include <utility>
#include <map>
#include <set>
#include <stdio.h>
#include <gsl/gsl_rng.h>
#include "RVNode.h"
#include "XNode.h"
#include "HNodeORNOR.h"
#include "YDataNode.h"
#include ... | {
"alphanum_fraction": 0.4800959233,
"avg_line_length": 33.6290322581,
"ext": "h",
"hexsha": "ee8a6e8bca5ba9af5fb22c4671bc9e8ba85a05ef",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-06-10T16:19:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-10T16:19:... |
//
// beta.h
//
// code using beta distribution
//
// copyright 2020 Peter Andrews
//
#ifndef PAA_BETA_H_
#define PAA_BETA_H_
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <cmath>
#include <mutex>
#include <utility>
#include "error.h"
#include "utility.h"
namespace paa {
class GSLRNG {
public:
... | {
"alphanum_fraction": 0.6337743889,
"avg_line_length": 28.7677419355,
"ext": "h",
"hexsha": "8d6ec89085f8b1b78956570d07f4ae513878347a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-11-20T15:47:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-20T15:47:... |
/**
*
* @file example_cposv.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @brief Example of solving a linear system with a Cholesky factorization
*
* @version 2.6.0
* @author Bilel Hadri
* @date... | {
"alphanum_fraction": 0.6192764989,
"avg_line_length": 30.6434108527,
"ext": "c",
"hexsha": "6541dd4d40f4fb1412fc1a1093b0f1fa8f363a56",
"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>
#include <winrt\base.h>
#include <d3d11.h>
#include "DrawableGameComponent.h"
#include "FullScreenQuad.h"
namespace Rendering
{
class ComputeShaderMaterial;
class ComputeShaderDemo final : public Library::DrawableGameComponent
{
public:
ComputeShaderDemo(Library::Game& game, con... | {
"alphanum_fraction": 0.7754569191,
"avg_line_length": 29.4615384615,
"ext": "h",
"hexsha": "53f5e8ceb3eae3cc2f2c560e93382dd65656822e",
"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 2018 Rice University *
* *
* ... | {
"alphanum_fraction": 0.5372868414,
"avg_line_length": 37.419047619,
"ext": "h",
"hexsha": "5a37c6d94f05f57962296842aeaec43fe5ed046d",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2020-08-03T00:58:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-14T03:39:... |
/* deriv/deriv.c
*
* Copyright (C) 2004, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
* ... | {
"alphanum_fraction": 0.6200947226,
"avg_line_length": 33.0279329609,
"ext": "c",
"hexsha": "2cec7941d58b19eb85b0c02221019758ca7de8e7",
"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 <gsl/gsl_chebyshev.h>
const struct _GSLMethods
chebyshev_f = { (void_m_t) gsl_cheb_free,
/* gsl_multimin_fminimizer_restart */ (void_m_t) NULL,
NULL, NULL};
static int
PyGSL_cheb_init(PyGSL_Solver *self, PyObject *args, PyObject *kw)
{
;
}
| {
"alphanum_fraction": 0.7074074074,
"avg_line_length": 22.5,
"ext": "c",
"hexsha": "cb44e2c6c1736fdd91cc1670fb984d566f1f0a26",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:07.000Z",... |
/*
Copyright (c) 2015, Patrick Weltevrede
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow... | {
"alphanum_fraction": 0.6622334238,
"avg_line_length": 39.1350531108,
"ext": "c",
"hexsha": "3366c74756779708a5b0a05270297840533ab659",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-06-16T15:24:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-09T09:04:... |
// =============================================================================
// == niw_sampled.h
// == --------------------------------------------------------------------------
// == A class for a Normal Inverse-Wishart distribution
// == --------------------------------------------------------------------------
/... | {
"alphanum_fraction": 0.4671672791,
"avg_line_length": 33.8324324324,
"ext": "h",
"hexsha": "4e1aa02feaf0ebc0658348b47b30e33e536661ef",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T04:39:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-02T12:46:... |
#include <limits.h>
#include <asf.h>
#include <asf_export.h>
#include <asf_raster.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_statistics.h>
/* Get sample size in bytes of the data types represented by the
meta_parameters_t. */
size_t
get_sample_size (meta_parameters *metadata)
{
... | {
"alphanum_fraction": 0.6394912427,
"avg_line_length": 34.4210526316,
"ext": "c",
"hexsha": "8808ba7d7d5234def7849b86f70c63e7dcc88b81",
"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>
#include <gsl/gsl_interp.h>
#include "aXe_grism.h"
#include "aXe_utils.h"
#include "inout_aper.h"
#include "aper_conf.h"
#include "spc_spc.h"
#include "spce_PET.h"
#include "fringe_conf.h"
#include "ipixcorr_utils.h"
#define AXE_IMAGE... | {
"alphanum_fraction": 0.6585150914,
"avg_line_length": 26.2369942197,
"ext": "c",
"hexsha": "c6c2c0ce35de3100979bb11bb22fe19cdb8f2d1b",
"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 Jiawei Chiu
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 writing, software
dis... | {
"alphanum_fraction": 0.6741879494,
"avg_line_length": 28.4014084507,
"ext": "h",
"hexsha": "636401312e8d5e74e20417daba7bd127b11e26ab",
"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/test.c
*
* Copyright (C) 2009, 2010 Tuomo Keskitalo
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later ver... | {
"alphanum_fraction": 0.53612813,
"avg_line_length": 23.6565576999,
"ext": "c",
"hexsha": "ae87bd0e19ea4bcd5bea7e129bee0c40cb15f4e2",
"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... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | {
"alphanum_fraction": 0.4124487705,
"avg_line_length": 44.0632054176,
"ext": "h",
"hexsha": "038df67b5c6ed6ad25405f1aa30ecdc74fcd6e09",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-08-06T09:55:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-12-02T03:01... |
/*
* libDefs.h
* This file and its associated source file contain any functions and
* statements (within the actual program) that need to be modified
* when adding a new library. This includes any work done on complex
* numbers, FFT planning and execution, and would also contain the
* definition of t... | {
"alphanum_fraction": 0.7577569029,
"avg_line_length": 27.2325581395,
"ext": "h",
"hexsha": "131cd620374f8bc6a88a8790b4650dc33b9dc35c",
"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/multinomial.c
*
* Copyright (C) 2002 Gavin E. Crooks <gec@compbio.berkeley.edu>
*
* 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
* yo... | {
"alphanum_fraction": 0.5787888926,
"avg_line_length": 24.5,
"ext": "c",
"hexsha": "321e1727079370ce7c6ce39b534ed79af246e335",
"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:16.000Z"... |
/* bspline/bspline.c
*
* Copyright (C) 2006 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.5555826426,
"avg_line_length": 24.7108433735,
"ext": "c",
"hexsha": "847a4984038702a5d283cba7d124b60510e30b14",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#ifndef AMICI_VECTOR_H
#define AMICI_VECTOR_H
#include <vector>
#include <type_traits>
#include <amici/exception.h>
#include <nvector/nvector_serial.h>
#include <gsl/gsl-lite.hpp>
namespace amici {
/** Since const N_Vector is not what we want */
using const_N_Vector =
std::add_const_t<typename std::remove_poi... | {
"alphanum_fraction": 0.6228626321,
"avg_line_length": 25.7037037037,
"ext": "h",
"hexsha": "102a75e7f84146d69642b1bd5d87e58a8821bd85",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#define S_FUNCTION_NAME solve_chol
#define S_FUNCTION_LEVEL 2
// Example: w = solve_chol(R,b);
/*
* Need to include simstruc.h for the definition of the SimStruct and
* its associated macro definitions.
*/
#include <string.h>
#include "simstruc.h"
#include <lapacke.h>
#if !defined(_WIN32) /* not Win32/Matlab *... | {
"alphanum_fraction": 0.6438631791,
"avg_line_length": 32.5901639344,
"ext": "c",
"hexsha": "71ca35967b79a6c57a48070c7e271e03eabe864b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-02-29T17:38:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-02-29T17:38:... |
/* specfunc/mathieu_coeff.c
*
* Copyright (C) 2002 Lowell Johnson
*
* 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 vers... | {
"alphanum_fraction": 0.4905238376,
"avg_line_length": 24.340974212,
"ext": "c",
"hexsha": "960b37e677a3683e6c6c6f86fa54955c43a73cf1",
"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 <math.h>
#include <gsl/gsl_linalg.h>
#include "advanceCN.h"
#include "applyBC.h"
#include "userFunc.h"
#include "ppmExtrap.h"
#include "getNextIterate.h"
/**************************************************************************/
/* Time step advance routine with Crank-Nicolson time centering */
/*... | {
"alphanum_fraction": 0.5161408255,
"avg_line_length": 33.3166869671,
"ext": "c",
"hexsha": "e1b9c950b0fd448c109b5c7ed9412049367d5f5f",
"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:... |
/* interpolation/gsl_interp.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 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 (a... | {
"alphanum_fraction": 0.6544130103,
"avg_line_length": 29.078817734,
"ext": "h",
"hexsha": "d4757ca95e06de818718d9de638bc3a8e4aedf35",
"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 <math.h>
// Constants not defined in MSVC's math.h
#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654746172
#endif
#ifndef M_2_SQRTPI
#define M_2_SQRTPI 1.12837916709551255856
#endif
#include <gsl/gsl_spline.h>
#include <galpy_potentials.h>
// ChandrasekharDynamicalFrictionForce: 8 arguments: amp,ms,rhm,gamm... | {
"alphanum_fraction": 0.6191085519,
"avg_line_length": 32.1164383562,
"ext": "c",
"hexsha": "4d20979848ed3a11ea8aadb27b8cf8fec4b3e890",
"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":... |
// SPDX-License-Identifier: Apache-2.0
/**
* Copyright (C) 2020 Jijoong Moon <jijoong.moon@samsung.com>
*
* @file blas_interface.h
* @date 28 Aug 2020
* @see https://github.com/nnstreamer/nntrainer
* @author Jijoong Moon <jijoong.moon@samsung.com>
* @bug No known bugs except for NYI items
* @brief Th... | {
"alphanum_fraction": 0.696039604,
"avg_line_length": 29.7058823529,
"ext": "h",
"hexsha": "18cf9f5bf9429757ef03285f5e4f2d31b428c82c",
"lang": "C",
"max_forks_count": 45,
"max_forks_repo_forks_event_max_datetime": "2022-03-28T23:47:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-03-24T06:17:... |
/****************************************************************
wigner_gsl.h / wigner_gsl_twice.h
Defines Wigner coupling and recoupling symbols as wrappers for GSL
angular momentum functions:
- wigner_gsl.h -- takes HalfInt angular momentum arguments (RECOMMENDED)
- wigner_gsl_twice.h -- takes intege... | {
"alphanum_fraction": 0.6299257567,
"avg_line_length": 29.8465909091,
"ext": "h",
"hexsha": "4c2f4590186271ce57185b69c22658040bad55f4",
"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/rk2imp.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.597557629,
"avg_line_length": 21.6261127596,
"ext": "c",
"hexsha": "53c31c4d768cbdae1a5127b1ced1481d4a635959",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:... |
/*****************************************************************************
* *
* Copyright 2018 Rice University *
* *
* ... | {
"alphanum_fraction": 0.5382633342,
"avg_line_length": 37.6796116505,
"ext": "h",
"hexsha": "c03edaa48011d8643d9407f219e5573903a3799e",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2020-08-03T00:58:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-06-14T03:39... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* inet_aton -> per utilizzarla in gcc: __USE_MISC */
#define __USE_MISC
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <pthread.h>
#include "buffer.h"
#include "list.h"
#include "route... | {
"alphanum_fraction": 0.6648795432,
"avg_line_length": 26.8951310861,
"ext": "c",
"hexsha": "beee8a9feccabd910636c1c17bc75e1966d68c2e",
"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":... |
/*
* fvector.h
*
* Created on: Feb 4, 2014
* Author: vbonnici
*/
#ifndef FVECTOR_H_
#define FVECTOR_H_
#include <limits>
#include <vector>
#include "data_ts.h"
#include <gsl/gsl_rng.h>
using namespace dolierlib;
namespace dolierlib{
/*
* shuffle sequences... remember to swap also their lengths
*... | {
"alphanum_fraction": 0.6315421378,
"avg_line_length": 22.6957671958,
"ext": "h",
"hexsha": "5ca0d5d3cd394da48110648b2d5e66029a484c2f",
"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":... |
/*
* -----------------------------------------------------------------
* Thermochemistry Library --- thrm_lib.h
* Version: 1.6180
* Date: Dec 29, 2010
* -----------------------------------------------------------------
* Programmer: Americo Barbosa da Cunha Junior
* americo.cunhajr@gmail.com
* ------... | {
"alphanum_fraction": 0.4803921569,
"avg_line_length": 27.6090225564,
"ext": "h",
"hexsha": "f9cac26280ff1ffb1f03b7d0b6ccff295841d3a8",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-12-30T01:44:13.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-11-15T03:57:... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <Accelerate/Accelerate.h>
#include "infmcmc.h"
#define nj1 32
#define nk1 32
void infmcmc_initChain(INFCHAIN *C, const int nj, const ... | {
"alphanum_fraction": 0.5901164172,
"avg_line_length": 30.9941089838,
"ext": "c",
"hexsha": "b59756ab4ab54757e990c3d111b85c761083bf7e",
"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[] =
"Solve nonlinear Liouville-Bratu equation in 2D on a structured-grid. Option prefix lb_.\n"
"Solves\n"
" - nabla^2 u - lambda e^u = 0\n"
"on the unit square [0,1]x[0,1] subject to zero Dirichlet boundary conditions.\n"
"Critical value occurs about at lambda = 6.808. Optional exact solution\n"
"(... | {
"alphanum_fraction": 0.5785953177,
"avg_line_length": 43.6041666667,
"ext": "c",
"hexsha": "dc5fa4c51b276bfab4a86622781fb200f184abc1",
"lang": "C",
"max_forks_count": 46,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26... |
#include <petsc.h>
#include <petscmath.h>
#include "compressibleFlow.h"
#include "mesh.h"
#include "petscdmplex.h"
#include "petscts.h"
typedef struct {
PetscInt dim;
PetscReal k;
PetscReal gamma;
PetscReal Rgas;
PetscReal L;
} Constants;
typedef struct {
Constants constants;
FlowData flow... | {
"alphanum_fraction": 0.6495510204,
"avg_line_length": 39.1373801917,
"ext": "c",
"hexsha": "622891421214a8051c784f3d9435948dd66e152e",
"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 __MTPOWERSPECTRUM_ENGINE_H__
#define __MTPOWERSPECTRUM_ENGINE_H__
#include <memory>
#include <vector>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_fft_complex.h>
#include "mspass/seismic/TimeSeries.h"
#include "mspass/utility/dmatrix.h"
#include "mspass/seismic/PowerSpectrum.h"
namespace mspass::algorithms::... | {
"alphanum_fraction": 0.7548148148,
"avg_line_length": 37.5,
"ext": "h",
"hexsha": "453fe6157bee7e0745b5b203a5d6e355279064f2",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-10-01T05:59:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-08-03T18:40:04.000Z",... |
/* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... | {
"alphanum_fraction": 0.6688931298,
"avg_line_length": 25.2530120482,
"ext": "h",
"hexsha": "4e20d282281a725dc513d53e88061fba1053137a",
"lang": "C",
"max_forks_count": 572,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T16:46:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-12T22:1... |
#include "stdlib.h"
#include "stdio.h"
#include "/home/lillian/work/install_fpdebug/valgrind-3.7.0/fpdebug/fpdebug.h"
#include <gsl/gsl_statistics.h>
int main(int argc, const char * argv[]) {
unsigned long int hexdouble;
int a;
a = atoi(argv[1]);
int argv_cnt = 2;
double b[5];
for(int i = 0; i < a; i++) {
sscanf(argv[a... | {
"alphanum_fraction": 0.643437863,
"avg_line_length": 26.90625,
"ext": "c",
"hexsha": "b100ffff08ce88daa68dd87a74bbc70add700ebf",
"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": "57be... |
/* $Id$ */
/*
* Copyright (c) 2014, 2015 Kristaps Dzonsons <kristaps@kcons.eu>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS... | {
"alphanum_fraction": 0.7207142857,
"avg_line_length": 29.1666666667,
"ext": "c",
"hexsha": "20075b334d5bbfab9a7d489326e41f37e650418a",
"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":... |
/*
* SPDX-License-Identifier: BSD-3-Clause
*
* sph_linked_list.c :
* Header containing the declarions for several
* cell linked list operations, including hash
* calculations, setup hash tables and neighbour finding.
*
* (C) Copyright 2021 José Hugo Elsas
* Author: José Hugo Elsas <jhelsas@gmail... | {
"alphanum_fraction": 0.5617118459,
"avg_line_length": 41.6157024793,
"ext": "c",
"hexsha": "dc36cd72bb63b177c0fc32d36e0ee63b62672de1",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* matrix/gsl_matrix_short.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the Li... | {
"alphanum_fraction": 0.6710351936,
"avg_line_length": 37.1092896175,
"ext": "h",
"hexsha": "d6ae90b6c0f2be0917d29d042abfbe2fca9aea60",
"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:... |
/* linalg/test.c
*
* 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.6213656388,
"avg_line_length": 27.3045379989,
"ext": "c",
"hexsha": "5aab682fb69e4fc3313c3017f4da407f2b7c3414",
"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:... |
/*
** detrending, fit polynomial or order 1 (linear), 3 or 5
** G.Lohmann, Aug 2016, MPI-KYB
*/
#include <viaio/VImage.h>
#include <viaio/Vlib.h>
#include <viaio/mu.h>
#include <viaio/option.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_m... | {
"alphanum_fraction": 0.5741354808,
"avg_line_length": 24.9822485207,
"ext": "c",
"hexsha": "650e00e0e0025a6cdcc4762f89ac9880ba09c165",
"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:... |
/// \file
/// A helper class defining numerical complex matrices for use with BLAS.
/// Needs a CBLAS compatible BLAS library!
#pragma once
#include <array>
#include <complex>
#include <iomanip>
#include <iostream>
#include <limits>
#ifndef USE_MKL
#include <cblas.h>
#else
#include <mkl.h>
#endif
// ****************... | {
"alphanum_fraction": 0.5539157812,
"avg_line_length": 25.1584158416,
"ext": "h",
"hexsha": "e61640e7c2a1c3682bd53be2a4bebc92db6bbc4a",
"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/work.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.6174977605,
"avg_line_length": 24.9925373134,
"ext": "c",
"hexsha": "f05e3ff4b5da9bd0ee5c6308a0b6141585c7b1ba",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#ifndef ADD_TO_TASK_INCLUDE
#define ADD_TO_TASK_INCLUDE
#include <functional>
#include <initializer_list>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include <gsl/pointers>
#include "base-utils/nonEmptyString.h"
#include "core/task.h"
namespace execHelper::test {
using AddToTaskFunct... | {
"alphanum_fraction": 0.6286276439,
"avg_line_length": 28.6338028169,
"ext": "h",
"hexsha": "222a8f05577857ab182afdd43aa8c51672010c77",
"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:... |
#ifndef __gslSpline_
#define __gslSpline__
#include "include/stdinc.h"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_integration.h>
class gslSpline {
protected:
const gsl_interp_type *spline_type;
gsl_interp_accel *acc;
gsl_spline *spl;
public:
g... | {
"alphanum_fraction": 0.6905901116,
"avg_line_length": 28.5,
"ext": "h",
"hexsha": "5bd73e083bb5f5243acd871f1390e1087ad9d58a",
"lang": "C",
"max_forks_count": 102,
"max_forks_repo_forks_event_max_datetime": "2022-02-09T13:29:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-22T10:00:29.000Z... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#ifndef NOMPI
#include <mpi.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#include <gsl/gsl_rng.h>
#include "allvars.h"
#include "proto.h"
/*! \file begrun.c
* \brief initial set-up of a simulation run
*
* This file contains var... | {
"alphanum_fraction": 0.6159500693,
"avg_line_length": 25.6279620853,
"ext": "c",
"hexsha": "eca9b0a6d69a5ac64f01fd7b18df6940fd4ce0d7",
"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 <petsc.h>
#include "quantum_gates.h"
void projectq_qasm_read(char[],PetscInt*,circuit*);
void projectq_vqe_get_expectation(char[],Vec,PetscScalar*);
void _projectq_qasm_add_gate(char*,circuit*,PetscReal);
void projectq_vqe_get_expectation_encoded(char[],Vec,PetscScalar*,PetscInt,...);
void qiskit_qasm_read(ch... | {
"alphanum_fraction": 0.8023648649,
"avg_line_length": 42.2857142857,
"ext": "h",
"hexsha": "b6bb7a5232e1c1c3e777fa521bb86717bf60461e",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-02-24T20:07:22.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-03-13T15:03... |
#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 "cosmocalc.h"
double nonlinear_corrfunc_integ_funct(double k, void *p)
{
double r = ((double... | {
"alphanum_fraction": 0.7590682196,
"avg_line_length": 31.3020833333,
"ext": "c",
"hexsha": "74db359fc03b0803e5d87254fa269a7349dd970b",
"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:... |
#ifndef SPARSE_AUC_AUC_OPT_METHODS_H
#define SPARSE_AUC_AUC_OPT_METHODS_H
#include <time.h>
#include <stdbool.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <limits.h>
// These are the third part library needed.
#include <cblas.h>
#include "fast_pcst.h"
#include "loss.h"
#define PI 3.1415926535... | {
"alphanum_fraction": 0.6069253524,
"avg_line_length": 24.7715517241,
"ext": "h",
"hexsha": "c83abbe86a98df2c07cdee776e98f096812af650",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-02-08T11:52:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-08T11:52:... |
//gcc -g meanpreds.c -o meanpreds
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "my_misc.c"
#define isnum(c) (((c>='0') && (c<='9'))||(c=='-')||(c=='+')||(c==' '))
//static char pr[1024];
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix_double.h>
//#include <gsl/gsl_multimin.... | {
"alphanum_fraction": 0.5564540992,
"avg_line_length": 33.2547318612,
"ext": "c",
"hexsha": "8b32c0ff1c2bb6e010012af19b012717cf18cb82",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-12-01T00:54:18.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-01T00:54:... |
#include <math.h>
#include <stdlib.h>
#include <fastpm/libfastpm.h>
#include <fastpm/logging.h>
#include <fastpm/constrainedgaussian.h>
#include "pmpfft.h"
#include <gsl/gsl_linalg.h>
double fastpm_2pcf_eval(FastPM2PCF* self, double r)
{
double rMax = self->size * self->step_size;
if(r > rMax)
return... | {
"alphanum_fraction": 0.5026872691,
"avg_line_length": 27.4377880184,
"ext": "c",
"hexsha": "b4092458788fcf4eec6a9135241c676ec223b339",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-14T23:24:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-14T23:24:... |
#include <stdlib.h>
#include <math.h>
#include <fftw3.h>
#include <gsl/gsl_sf_result.h>
#include <gsl/gsl_sf_gamma.h>
#include "fftlog.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
/* This code is FFTLog, which is described in arXiv:astro-ph/9905191 */
static double_complex lngamma_fftlog(double_... | {
"alphanum_fraction": 0.6009578544,
"avg_line_length": 24.7393364929,
"ext": "c",
"hexsha": "fb9d0369af59ea20b36dffed3cc4e7af60b189e3",
"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_errno.h>
#include <gsl/gsl_bspline.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_min.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_complex.h>
#include "constants.h"
#include "struct.h"
#include "fresnel.h"
#define acc... | {
"alphanum_fraction": 0.610921119,
"avg_line_length": 39.8147321429,
"ext": "c",
"hexsha": "72aa8b3c855d9d8e130a59f8c7a452eb565b9d49",
"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:1... |
/* matrix/gsl_matrix_complex_long_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either... | {
"alphanum_fraction": 0.6967141429,
"avg_line_length": 44.4666666667,
"ext": "h",
"hexsha": "d22636e2c5d73108a4442aafc4b60f66542ae9a5",
"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 : Pierre Schnizer
* Date: January 2003
*/
#ifndef PyGSL_FUNCTION_HELPERS_H
#define PyGSL_FUNCTION_HELPERS_H 1
/* -------------------------------------------------------------------------
See gsl_functions_reference.txt for a compilation of the different
callbacks found in GSL.
Todo:... | {
"alphanum_fraction": 0.6929053624,
"avg_line_length": 34.1347826087,
"ext": "h",
"hexsha": "83a4972bd4a6bcf506fc1a2780b509f315697c9a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:... |
#include "ccv.h"
#include "ccv_internal.h"
#include "nnc/ccv_nnc.h"
#include "nnc/ccv_nnc_easy.h"
#include "nnc/ccv_nnc_internal.h"
#include "../_ccv_nnc_gemm_cpu_opt.h"
#if HAVE_ACCELERATE_FRAMEWORK
#include <Accelerate/Accelerate.h>
#elif HAVE_CBLAS
#include <cblas.h>
#endif
int _ccv_nnc_gemm_forw_cpu_sys(const int ... | {
"alphanum_fraction": 0.7166331051,
"avg_line_length": 60.2669902913,
"ext": "c",
"hexsha": "0f1cce81b7109658a61ec3803817cdfb8cd218b2",
"lang": "C",
"max_forks_count": 940,
"max_forks_repo_forks_event_max_datetime": "2022-03-24T23:27:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-02T02:2... |
/* Copyright (c) 2011-2012, Jérémy Fix. All rights reserved. */
/* Redistribution and use in source and binary forms, with or without */
/* modification, are permitted provided that the following conditions are met: */
/* * Redistributions of source code must retain the above copyright notice, */
/* this list of cond... | {
"alphanum_fraction": 0.5455064194,
"avg_line_length": 38.729281768,
"ext": "h",
"hexsha": "9cfc41989594fda3a66ec74839ea7b490e4fa2f1",
"lang": "C",
"max_forks_count": 52,
"max_forks_repo_forks_event_max_datetime": "2021-09-13T02:47:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-10T01:02:... |
/* $Id$ */
/*
* Copyright (c) 2014, 2015 Kristaps Dzonsons <kristaps@kcons.eu>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS... | {
"alphanum_fraction": 0.6940387481,
"avg_line_length": 26.272513704,
"ext": "c",
"hexsha": "20eb7bdc4e586242aeb7c933b5aa2df4be643f62",
"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 TTT_GFX_BUTTON_H
#define TTT_GFX_BUTTON_H
#include <SDL_render.h>
#include <SDL_mouse.h>
#include <SDL_mixer.h>
#include <gsl/pointers>
#include <optional>
namespace ttt::gfx
{
// A basic clickable image button.
class Button final
{
public:
Button() = default;
Button(SDL_Texture *texture, const SDL_... | {
"alphanum_fraction": 0.7444933921,
"avg_line_length": 31.8596491228,
"ext": "h",
"hexsha": "7b90609e81782947047108c94119e10de7c6abe4",
"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 "allvars.h"
#include "proto.h"
#ifdef COSMIC_RAYS
#include "cosmic_rays.h"
#endif
#ifdef MACH_NUM
#include "machfinder.h"
#endif
#ifdef CS_MODEL
#include "cs_metals.h"
#endif
#ifndef DEBUG... | {
"alphanum_fraction": 0.6297357141,
"avg_line_length": 26.8267029973,
"ext": "c",
"hexsha": "63280c231d9a17c1ed2854bc34cb8b1a4cce6a7d",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef _FUNCTIONS_
#define _FUNCTIONS_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <limits.h>
#include <cblas.h>
#include <lapacke.h>
#include "structs.c"
#define PATH_LENGTH 32
#define LINE_LENGTH 26000
#define THRESHOLD 0.05
// Declare functions of f... | {
"alphanum_fraction": 0.7252747253,
"avg_line_length": 17.0625,
"ext": "h",
"hexsha": "ebed542ce329a34147d7b4bc61998dc2994c3617",
"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": "b42b... |
/* wavelet/dwt.c
*
* Copyright (C) 2004 Ivo Alxneit
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* Th... | {
"alphanum_fraction": 0.5090925875,
"avg_line_length": 27.2871536524,
"ext": "c",
"hexsha": "519e955380d48be9f83de7e4792de70cb667bd41",
"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:... |
/*
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.6364602711,
"avg_line_length": 29.1705426357,
"ext": "c",
"hexsha": "ee121f9f46669f8a9800a907957d27e94f56d128",
"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:... |
/**
* Interface definitions for the postscript output routines
*/
#ifndef _SPCE_OUTPUT_H
#define _SPCE_OUTPUT_H
#include "aper_conf.h"
#include <gsl/gsl_matrix.h>
/*
* Structure to store all information on
* a stamp image which is going to be
* created. This information is steps in x
* start coos in x,y and ima... | {
"alphanum_fraction": 0.7269885377,
"avg_line_length": 22.8492063492,
"ext": "h",
"hexsha": "776fbc0223e65c54e689776b51e769efc2b2b516",
"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 <mpfr.h>
#include <stdlib.h>
#include <string.h>
#include <petsc.h>
#include <time.h>
#include "ellipsoid.h"
#include "MPFReigs.h"
extern void dgeev_(char *jobvl, char *jobvr, int *N, double *A, int *lda, double *wr, double *wi, double *vl, int *ldvl, double *vr, int *ldvr... | {
"alphanum_fraction": 0.5666999621,
"avg_line_length": 31.5919477693,
"ext": "c",
"hexsha": "e69b557107e522b55ebdfb8a327010c48f088652",
"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 <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <mpfr.h>
#include <petsc.h>
#include "ellipsoid.h"
#include "../sphere/sphere.h"
#include "ellSolv.h"
double calcEnp(EllipsoidalSystem *e, Point *point, int n, int p) {
//if(point->type == 'c')
//cartesianToEllipsoidal(e, point);
... | {
"alphanum_fraction": 0.5704584041,
"avg_line_length": 24.0408163265,
"ext": "c",
"hexsha": "ba3480c7e6b1dc7d406ebb0227345c0e8bf21783",
"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 cloptions_h
#define cloptions_h
#include <petsc.h>
#include "../include/structs.h"
// Process general command line options
PetscErrorCode ProcessCommandLineOptions(MPI_Comm comm, AppCtx app_ctx);
#endif // cloptions_h
| {
"alphanum_fraction": 0.7903930131,
"avg_line_length": 20.8181818182,
"ext": "h",
"hexsha": "a905593c2f184a2b7c49afcd0d81a466519d5eda",
"lang": "C",
"max_forks_count": 41,
"max_forks_repo_forks_event_max_datetime": "2022-03-01T13:02:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-12-27T22:35... |
///
/// @file
///
/// @author Mirko Myllykoski (mirkom@cs.umu.se), Umeå University
///
/// @internal LICENSE
///
/// Copyright (c) 2019-2020, Umeå Universitet
///
/// Redistribution and use in source and binary forms, with or without
/// modification, are permitted provided that the following conditions are met:
///
//... | {
"alphanum_fraction": 0.650109569,
"avg_line_length": 32.0233918129,
"ext": "c",
"hexsha": "2921eda8d05f3d38b75d960ee0f9eb050ccd67c8",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-04-14T09:41:23.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-30T12:14:1... |
/*
* particle_filters.c
*
* Created on: 18 Sep 2020
* Author: heine
*/
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_eigen.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <Accelerate/Accelerate.h>
#include "particle_filters.h"
void MLbootstra... | {
"alphanum_fraction": 0.5645418751,
"avg_line_length": 31.3756260434,
"ext": "c",
"hexsha": "6a180694b0cd0fe287b570c9c5b527658a613f67",
"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 : FrequencyCountDialog.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2008 by Ion Vasilief
Email (use @ for *) : ion_va... | {
"alphanum_fraction": 0.4658433037,
"avg_line_length": 38.1029411765,
"ext": "h",
"hexsha": "88424231156bc2e2df073b2c778fc1081ed57dad",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-12-06T12:16:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-25T15:50:... |
#pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <array>
#include "DrawableGameComponent.h"
#include "MatrixHelper.h"
#include "PointLight.h"
namespace Library
{
class PointLight;
class ProxyModel;
}
namespace Rendering
{
class MultiplePointLightsMaterial;
class ... | {
"alphanum_fraction": 0.7758376593,
"avg_line_length": 31.6268656716,
"ext": "h",
"hexsha": "523688c4e3aff74c501ac19560eadf3c8c81a4cf",
"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 does CELL (~soma) stage of LSTM (long short-term memory) model.
//This requires each neuron to have 4 input time series, Xc, Xi, Xf, Xo,
//where Xc is the usual (or "cellular") input and Xi, Xf, Xo the inputs for the input, forget, output gates.
//Xc, Xi, Xf, Xo are the output of separate linear IN stages (weigh... | {
"alphanum_fraction": 0.4717177559,
"avg_line_length": 47.7624309392,
"ext": "c",
"hexsha": "8d0bdf65267a24eae6794b4cb30669f88c71ec85",
"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 2018 Jeremy Mason
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those... | {
"alphanum_fraction": 0.6181144068,
"avg_line_length": 32.1088435374,
"ext": "c",
"hexsha": "eb2e3fb03e33f5f3257392acb30e70bc6b9a5e4e",
"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: Jochen K"upper
* created: Jan 2002
* file: pygsl/src/statisticsmodule.c
* $Id: floatmodule.c,v 1.8 2004/03/24 08:40:45 schnizer Exp $
*
* "
*/
#include <Python.h>
#include <gsl/gsl_statistics.h>
#include <pygsl/error_helpers.h>
#include <pygsl/block_helpers.h>
/* include real functions for defa... | {
"alphanum_fraction": 0.7086092715,
"avg_line_length": 17.9761904762,
"ext": "c",
"hexsha": "3866d0671ed4692897ae5064981bf6222d6a115e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:... |
#include <stdio.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <semaphore.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/times.h>
#include <time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include "circular_buffer.h"
#include "colorprint.h"
bool r... | {
"alphanum_fraction": 0.665407855,
"avg_line_length": 30.0909090909,
"ext": "c",
"hexsha": "264344b3df8cb25c330f3b682966d72c7c82fbac",
"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": ... |
// ************************************************
// rand_helpers.h
// authors: Lee Howes and David B. Thomas
//
// Contains support code for the random number
// generation necessary for initialising the
// cuda simulations correctly.
//
// Ziggurat code taken from Marsaglia's
// paper.
// **************... | {
"alphanum_fraction": 0.5435788917,
"avg_line_length": 26.1626297578,
"ext": "h",
"hexsha": "6f267e05a594ab33a4d48d430337083056ea0a26",
"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 __cplusplus
extern "C" {
#endif
#ifndef GSL_GAUSS
#define GLS_GAUSS
#include <math.h>
#include <gsl_math.h>
#include <gsl_cdf.h>
double gsl_cdf_ugaussian_P (const double x);
double gsl_cdf_ugaussian_Q (const double x);
double gsl_cdf_gaussian_P (const double x, const double sigma);
double gsl_cdf_gaussian_Q ... | {
"alphanum_fraction": 0.7696078431,
"avg_line_length": 17.7391304348,
"ext": "h",
"hexsha": "55e130263a986b2868d23da7ae76a51e7b72ceca",
"lang": "C",
"max_forks_count": 21,
"max_forks_repo_forks_event_max_datetime": "2022-01-25T11:32:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-12-31T10:04... |
/**
* @file batchf_zdotu_sub.c
*
* Part of API test for Batched BLAS routines.
*
* @author Samuel D. Relton
* @author Pedro V. Lara
* @author Mawussi Zounon
* @date
*
* @precisions normal z -> c
*
**/
#include <cblas.h>
#include "bblas.h"
#define COMPLEX
void batchf_zdotu_sub(
const int n,
... | {
"alphanum_fraction": 0.6426271732,
"avg_line_length": 19.6582278481,
"ext": "c",
"hexsha": "bddbfca8ded67b5e9a83974b8e9b24c033f9f1ec",
"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":... |
/*
/
/ adkGSL.c
/
/ homebrewed addons to gsl */
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_sort_vector.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_statistics.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <assert.h>
... | {
"alphanum_fraction": 0.6271932796,
"avg_line_length": 26.2651245552,
"ext": "c",
"hexsha": "dafcbca4c393de44f41359ffb1daced097eab7cd",
"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":... |
/*****************************************
Emitting C Generated Code
*******************************************/
#include <cblas.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
/**************** Snippet ****************/
void Snippet(int x0) {
int x1[6] = { 1, 2, 3, 4, 5, 6 };
in... | {
"alphanum_fraction": 0.410976388,
"avg_line_length": 21.4657534247,
"ext": "c",
"hexsha": "abfc0b60b3db70beec8808321197be94a3c0649c",
"lang": "C",
"max_forks_count": 20,
"max_forks_repo_forks_event_max_datetime": "2022-02-03T04:45:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-20T12:16:... |
/* -*- linux-c -*- */
/* fewbody.c
Copyright (C) 2002-2004 John M. Fregeau
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 ... | {
"alphanum_fraction": 0.6489534318,
"avg_line_length": 32.4368421053,
"ext": "c",
"hexsha": "7afeacdb95481e055bf6fceb3788c8aeace9927c",
"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":... |
/*
* MotorControl.h
*
* Created on: 02/01/2014
* Author: james
*/
#ifndef MOTORCONTROL_H_
#define MOTORCONTROL_H_
#include "Arduino.h"
#include "MotorControl/Motor.h"
#include "MotorControl/Encoder.h"
#include "MathHelper/ComponentsFromVector.h"
#include "MathHelper/Vector.h"
#include "MotorControl/SpeedPWM... | {
"alphanum_fraction": 0.790678659,
"avg_line_length": 27.1777777778,
"ext": "h",
"hexsha": "e7457ee7a12e182be6bb289b2b93db20f6c85771",
"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 <assert.h>
#include <complex.h>
#include <gsl/gsl_const_mksa.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <malloc.h>
#include <math.h>
#include <nlopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "tsvread.h"
typedef struct {
gsl_spline *spline;
gsl_interp_a... | {
"alphanum_fraction": 0.6413713405,
"avg_line_length": 25.4509803922,
"ext": "c",
"hexsha": "2e43b04d832d5b5bdb75d00c6ffbbe583c329bcc",
"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 "../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*k*sizeof(int));
... | {
"alphanum_fraction": 0.6155844156,
"avg_line_length": 20.625,
"ext": "c",
"hexsha": "505d2af2e5124f9868f7059bc89c1e3049d44755",
"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": "d3f91... |
#pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <map>
#include "DrawableGameComponent.h"
#include "FullScreenRenderTarget.h"
#include "GaussianBlur.h"
namespace Rendering
{
class DiffuseLightingDemo;
class GaussianBlurDemo final : public Library::DrawableGameCompon... | {
"alphanum_fraction": 0.7774891775,
"avg_line_length": 29.6153846154,
"ext": "h",
"hexsha": "2507ae58ef3b6afa001bc1eae7126a07cc8bf860",
"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 FUNCTION_ANY_FUNCTION_H
#define FUNCTION_ANY_FUNCTION_H
#include "wasm_base.h"
#include "wasm_value.h"
#include "function/CFunction.h"
#include <gsl/gsl>
namespace wasm {
struct AnyFunction:
private std::variant<
std::monostate,
gsl::not_null<WasmFunction* const*>,
CFunction
>
{
using null_function... | {
"alphanum_fraction": 0.7492323439,
"avg_line_length": 24.1234567901,
"ext": "h",
"hexsha": "c50266ae00178945597876d2f1228da3d9bde4f4",
"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 computes the DFT (discrete Fourier transformation) along dim of matrix X.
//This uses a CBLAS matrix multiplication by the DFT matrix.
//This can be useful for smaller transform sizes, especially odd-length ones.
//It is nice that the scaling can be included in the matrix.
//This can also be useful if using on... | {
"alphanum_fraction": 0.4975596343,
"avg_line_length": 40.1850828729,
"ext": "c",
"hexsha": "3d5e12937a7a5288db732d26d10c90fb639c0b27",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-10-05T13:50:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-10-05T13:50:... |
/* specfunc/coupling.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at... | {
"alphanum_fraction": 0.5676907247,
"avg_line_length": 30.9227272727,
"ext": "c",
"hexsha": "9a7140b613a3fdcf4d8015c64a6bad4aca0410ad",
"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... |
#pragma once
#include <chrono>
#include <unordered_map>
#include <vector>
#include <gsl/span>
#include <json.hpp>
#include "Quiver/Animation/AnimationId.h"
#include "Quiver/Animation/AnimationLibrary.h"
#include "Quiver/Animation/AnimatorId.h"
#include "Quiver/Animation/Rect.h"
#include "Quiver/Graphics/ViewBuffer.h... | {
"alphanum_fraction": 0.7735148515,
"avg_line_length": 23.6487804878,
"ext": "h",
"hexsha": "608b23a0a25297fe58363e3abfbc9625e41a9cb3",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2020-03-19T10:08:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-22T14:47:... |
#include <Exceptions.h>
#include <Types.h>
#ifndef GENERIC_API_NAMESPACE
#error "Wrong usage of this header"
#endif
#ifndef GENERIC_API_ROUTINES_NAMESPACE
#error "Wrong usage of this header"
#endif
#define ROUTINES_NAMESPACE namespace GENERIC_API_ROUTINES_NAMESPACE
#define BLAS_NAMESPACE namespace GENERIC_API_NAM... | {
"alphanum_fraction": 0.7525188917,
"avg_line_length": 21.1733333333,
"ext": "h",
"hexsha": "fe9924bd0b84167f96e153f5c57ed1e5a73d5ff4",
"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":... |
/* stable/stable_koutrouvelis.h
*
* Koutrouvelis method for parameter estimation of alpha-stable
* distributions. Based on [1] and MATLAB code available in [2].
*
* [1] Koutrouvelis, I. A. An Iterative Procedure for the Estimation
* of the Parameters of Stable Laws Communications in Statistics
* - Simula... | {
"alphanum_fraction": 0.5375722543,
"avg_line_length": 24.9098101266,
"ext": "c",
"hexsha": "bd259b36bb8a9dffeb1d1bc82542ac04eea8f7b5",
"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_linalg.h>
typedef struct Vortex
{
double x, y;
double vorticity;
int active;
} Vortex;
/* possibly should be replaced with one function? */
double Qfield_x(double x, double y)
{
double r = x*x+y*y;
re... | {
"alphanum_fraction": 0.5040234949,
"avg_line_length": 35.395010395,
"ext": "c",
"hexsha": "3d49b979e5475efe79183747becd3d6ed844a251",
"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 <string>
#include <gsl/gsl>
#include <nonstd/optional.hpp>
#include "chainerx/backend.h"
#include "chainerx/context.h"
#include "chainerx/device.h"
#include "chainerx/kernel_registry.h"
namespace chainerx {
namespace cuda {
class CudaDevice;
class CudaBackend;
namespace cud... | {
"alphanum_fraction": 0.7406847936,
"avg_line_length": 27.5833333333,
"ext": "h",
"hexsha": "9e5742c596568078fc4e75aeb7a6448392823981",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-26T10:27:27.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-07-16T00:24:... |
/**
*
* @file core_cpltmg_condex.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 c Tue Jan 7 11:44:47 2014
*
**/
#include... | {
"alphanum_fraction": 0.5645559211,
"avg_line_length": 30.4,
"ext": "c",
"hexsha": "7fa812ce072e8647e2b262b369763d92de8570f5",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "bcc99c1... |
/* multifit/gcv.c
*
* Copyright (C) 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 version.
*
*... | {
"alphanum_fraction": 0.5952512424,
"avg_line_length": 27.3015075377,
"ext": "c",
"hexsha": "2b28535e870b1affffb5935e28826606e2d708b7",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#ifndef _MATH_FUNCTIONS_H_
#define _MATH_FUNCTIONS_H_
extern "C" {
#include <cblas.h>
}
#include <math.h>
#include <xmmintrin.h>
//#include <omp.h>
#include <cublas_v2.h>
#include "arena.h"
void cpu_rearrange(int batch_size, int input_dim, int num_blocks,
const float *T, float *X);
void gpu_rearrang... | {
"alphanum_fraction": 0.6491319808,
"avg_line_length": 42.3097345133,
"ext": "h",
"hexsha": "60a4438bf672f712d311fc272dce5af741610533",
"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":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.