Search is not available for this dataset
text string | meta dict |
|---|---|
/* multimin/steepest_descent.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* y... | {
"alphanum_fraction": 0.6407589856,
"avg_line_length": 22.8375,
"ext": "c",
"hexsha": "e7727bdd9e18f734ea588a9816cce8eb2a5c4fa3",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:57.000... |
/* Copyright (c) 2014, Giuseppe Argentieri <giuseppe.argentieri@ts.infn.it>
* 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 cop... | {
"alphanum_fraction": 0.6385893326,
"avg_line_length": 27.448,
"ext": "c",
"hexsha": "1734c7a62d3da2552c818291065651c2705fc013",
"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": "54132... |
#ifndef __mcas_SERVER_TASK_KEY_FIND_H__
#define __mcas_SERVER_TASK_KEY_FIND_H__
#include <common/logging.h>
#include <gsl/pointers>
#include <unistd.h>
#include <string>
#include "task.h"
namespace mcas
{
/**
* Key search task. We limit the number of hops we search so as to bound
* the worst case execution time.
... | {
"alphanum_fraction": 0.6159618008,
"avg_line_length": 26.4144144144,
"ext": "h",
"hexsha": "55ef29321f1fdbcc1db6b7da7929452fea8fa368",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30... |
#include <stdio.h>
#include<stdlib.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
void *xcalloc(int items, int size)
{
void *ptr = calloc(items, size);
if (ptr == NULL)
{
printf("Unable to allocate memory\n");
exit(EXIT_FAILURE);
}
return ptr;
}
void Ge... | {
"alphanum_fraction": 0.5805724887,
"avg_line_length": 17.9239904988,
"ext": "c",
"hexsha": "8c64a3908598db0dda55e6e1c8d1fa35b6e1811c",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:... |
/**
* \author Sylvain Marsat, University of Maryland - NASA GSFC
*
* \brief C header for functions computing coeffcients of Not-A-Knot and Quadratic splines in matrix form.
*
*/
#ifndef _SPLINECOEFFS_H
#define _SPLINECOEFFS_H
#define _XOPEN_SOURCE 500
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#els... | {
"alphanum_fraction": 0.6600159617,
"avg_line_length": 27.5384615385,
"ext": "h",
"hexsha": "2c0f659d347ea43e40d4b7a2d407bb3788d66fba",
"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:... |
#pragma once
#include <Windows.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cstddef>
#include <cassert>
#include <cstdarg>
#include <climits>
#include <cinttypes>
#include <cmath>
#include <ctime>
#include <algorithm>
#include <any>
#include <array>
#include <chrono>
#include <complex>
#incl... | {
"alphanum_fraction": 0.7318435754,
"avg_line_length": 16.8867924528,
"ext": "h",
"hexsha": "51932140d4e3e018bb648ef7c5ffe42073128e3d",
"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 "common/c_math/gsl_linalg_extra.h"
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdint.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_blas_types.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_permute_vec... | {
"alphanum_fraction": 0.6534667723,
"avg_line_length": 39.4573863636,
"ext": "c",
"hexsha": "f7a64ccc627d6129cd8f8535b38cdeb58cd705c0",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-04-20T21:04:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-13T11:39:... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_randist.h>
#include "allvars.h"
#include "proto.h"
void mcmc_conline_run()
{
double aicc, chi2, aicc_best;
double *theta_best_this, *theta_best_var_this;
... | {
"alphanum_fraction": 0.5609252375,
"avg_line_length": 25.0999057493,
"ext": "c",
"hexsha": "3bcf0bee1141f1b6256b6b62fdb2904abad30cff",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:... |
//
// Created by jonathan on 1/5/18.
//
#ifndef CIMPLE_CIMPLE_MPC_COMPUTATION_H
#define CIMPLE_CIMPLE_MPC_COMPUTATION_H
#include <stddef.h>
#include <math.h>
#include "cimple_system.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include "cimple_polytope_library.h"
/**
* @brief Set up weight matrices for ... | {
"alphanum_fraction": 0.6062438705,
"avg_line_length": 35.5697674419,
"ext": "h",
"hexsha": "03c3e80a68c6e742afe901566e58cb6e3d70e511",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:... |
#include "poisson.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
static gsl_rng* poisson_rng_g = NULL;
void poisson_init(void)
{
const gsl_rng_type * T;
/* create a generator chosen by the
environment variable GSL_RNG_TYPE */
gsl_rng_env_setup();
T = gsl_rng_default;
poisson_rng_g = gsl_rng_alloc (... | {
"alphanum_fraction": 0.7435897436,
"avg_line_length": 16.1379310345,
"ext": "c",
"hexsha": "b0138d1da6a635798ce630f05a259529c66ccee9",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-09-19T22:01:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-09-19T22:01:... |
//This does CELL (~soma) stage of peephole 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 stag... | {
"alphanum_fraction": 0.4483599664,
"avg_line_length": 44.1187384045,
"ext": "c",
"hexsha": "6c27fabca66b9c1b560f908c1df02465bd6df006",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <gsl/gsl_math.h>
#include "gsl_cblas.h"
#include "cblas.h"
void
cblas_sswap (const int N, float *X, const int incX, float *Y, const int incY)
{
#define BASE float
#include "source_swap_r.h"
#undef BASE
}
| {
"alphanum_fraction": 0.7196261682,
"avg_line_length": 17.8333333333,
"ext": "c",
"hexsha": "ecb0020d808c8db772644c9c821b6934d6d29686",
"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:... |
#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/time.h>
#include <getopt.h>
#include <pthread.h>
#include <cblas.h>
#include <omp.h>
#define WALLTIME(t) ((double)(t).tv_sec + 1e-6 * (double)(t).tv_usec)
#define min(x,y) (((x) < (y)) ? (x) : (y))
void options ( int ... | {
"alphanum_fraction": 0.546291808,
"avg_line_length": 27.1447368421,
"ext": "c",
"hexsha": "749b0b1f68b5d48a6b10772bb0b3648d4e612229",
"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_matrix.h>
#include "cimple_safe_mode.h"
/**
* Adds a node to the beginning of the list
*/
void push_burn_node(burn_graph_node ** head,
abstract_state *state)
{
burn_graph_node * new_node;
new_node = malloc(sizeof(burn_graph_node));
new_node->state = state;
new_... | {
"alphanum_fraction": 0.577175152,
"avg_line_length": 39.6534839925,
"ext": "c",
"hexsha": "95cbda7bd3bb9f74f48cc3c2dfb05858296ed798",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-06T12:58:52.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-06T12:58:5... |
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <stdio.h>
#include <stdlib.h>
#pragma comment(lib,"gsl")
int main(int argc, char** argv)
{
gsl_complex a,b;
GSL_SET_COMPLEX(&a,3,4);//a=3+4i
GSL_SET_COMPLEX(&b,6,8);//b=6+8i
gsl_complex c = gsl_complex_add(a,b);
printf("a+b\tr... | {
"alphanum_fraction": 0.5911111111,
"avg_line_length": 29.347826087,
"ext": "c",
"hexsha": "ebe8710f9613cca702bb7b3fec438e7310961d35",
"lang": "C",
"max_forks_count": 29,
"max_forks_repo_forks_event_max_datetime": "2021-12-24T01:51:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-04-10T13:25:... |
#ifndef FEODOROV_SQC_LAB1_GAUSS_H
#define FEODOROV_SQC_LAB1_GAUSS_H
#include <gsl/gsl_matrix.h>
#define EPSILON .0000001
#ifdef __cplusplus
extern "C" {
#endif
void gauss_init(size_t size, const double *d_matrix, const double *d_vector, gsl_matrix **matrix, gsl_vector **vector, gsl_vector **result);
int gauss(size_... | {
"alphanum_fraction": 0.788961039,
"avg_line_length": 28,
"ext": "h",
"hexsha": "892e49d2302da6a167857c6b4e90b13b6d6ac594",
"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": "51c57f411e... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | {
"alphanum_fraction": 0.6489988221,
"avg_line_length": 32.1895734597,
"ext": "h",
"hexsha": "bd1b78e0c9d22fbed36ebc250e13c40af14f5af6",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
/*
* 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.5549903526,
"avg_line_length": 30.486631016,
"ext": "h",
"hexsha": "11ffdd54e5ea3ec1c370de0b20384d6b2eaccd71",
"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 "common.h"
#include "multibase.h"
#include "uvarint.h"
#include <gsl/gsl>
#include <map>
namespace multiformats {
enum hash_t {
dynamic_hash = -1,
sha1,
sha2_256
};
namespace details {
struct hashimpl {
hash_t k... | {
"alphanum_fraction": 0.5767657787,
"avg_line_length": 40.3883928571,
"ext": "h",
"hexsha": "59a7207a1e4d74156ef83ce1374044f59a0880c9",
"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 <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_odeiv2.h>
#include <cairo.h>
#include <gtk/gtk.h>
double globx;
double analytic(double w0, double t);
double spring_euler(double w0, double x);
void test_euler(GtkWidget *darea);
int func(do... | {
"alphanum_fraction": 0.6368595825,
"avg_line_length": 22.3068783069,
"ext": "c",
"hexsha": "faa73b5080b7221e4403bbf31895fb2feea373e1",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-12-15T09:06:12.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-15T09:06:... |
#include <gsl/gsl_test.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "tests.h"
void
test_spmv (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int order = 101;
int uplo = 121;
float alpha = 0.1f;
float beta = -0.3f;
int N = 2;
float A[] = { -... | {
"alphanum_fraction": 0.4876936007,
"avg_line_length": 22.8818681319,
"ext": "c",
"hexsha": "d49b48b28991cae48e79845af7c930f550950948",
"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... |
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <cblas.h>
#include <string.h> // memcpy
#include <math.h>
#include "cgraph.h"
#include "cg_operation.h"
#include "cg_types.h"
#include "cg_variables.h"
#include "cg_errors.h"
#include "cg_constants.h"
#include "cg_enums.h"
#inc... | {
"alphanum_fraction": 0.6398441082,
"avg_line_length": 18.175,
"ext": "c",
"hexsha": "ae1bf6efff5838ecbd351a663927f011f1be08f2",
"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:26.000Z... |
#pragma once
#include "PropertyType.h"
#include <CesiumUtility/SpanHelper.h>
#include <gsl/span>
#include <cassert>
#include <cstddef>
namespace CesiumGltf {
template <typename ElementType> class MetadataArrayView {
public:
MetadataArrayView() : _valueBuffer{} {}
MetadataArrayView(const gsl::span<const std::b... | {
"alphanum_fraction": 0.6836016097,
"avg_line_length": 30.5846153846,
"ext": "h",
"hexsha": "153f9d1fd44c935734786ee4e1a678e725da8c79",
"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":... |
/*
* iaf_chxk_2008.h
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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.667921864,
"avg_line_length": 29.5069444444,
"ext": "h",
"hexsha": "e6153e22014ce51ebb825060c7c8c982513019bb",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-03-25T09:32:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-12-09T06:45:... |
#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_syr2 (void) {
const double flteps = 1e-4, dbleps = 1e-6;
{
int order = 101;
int uplo = 121;
int N = 1;
int lda = 1;
float alpha = 0.0f;
float A[] = { 0.862f };
... | {
"alphanum_fraction": 0.4781012326,
"avg_line_length": 20.2819148936,
"ext": "c",
"hexsha": "9ba29598998dbabad91c432a16548433cac4b7d9",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#include <math.h>
#include <string.h>
#include <gsl/gsl_sf_gamma.h>
#include <gsl/gsl_multimin.h>
#include <gsl/gsl_sf_erf.h>
#include "prob_functions.h"
#include "data.h"
static const double ALPHA_PRIOR_MEAN = 1, BETA_PRIOR_MEAN = 1;
double my_f (const gsl_vector *x, void *params)
{
Dataset *data = (Dataset *) para... | {
"alphanum_fraction": 0.6066746126,
"avg_line_length": 28.7657142857,
"ext": "c",
"hexsha": "5dcc4ecf5cdd115bc888aca5c20726742bb8491b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2019-02-25T18:59:03.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-25T18:59:... |
#include <stdio.h>
#include <stdlib.h>
// include files for optimized libraries
#if defined USE_ESSL
#include <essl.h>
#elif defined USE_MKL
#include <mkl_cblas.h>
#include <mkl_lapacke.h>
#elif defined USE_LAPACK
#include <cblas.h>
#include <lapacke.h>
#endif
// interface to f2c code
#include "f2c.h"
#include "mrrr... | {
"alphanum_fraction": 0.5743104158,
"avg_line_length": 29.0898203593,
"ext": "c",
"hexsha": "31e2a8d86896dd2d4128d9dca91139466f4b54bb",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-03T14:21:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-02-15T12:11:... |
#ifndef SmtkMatcher_h
#define SmtkMatcher_h
/** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this reposito... | {
"alphanum_fraction": 0.650404772,
"avg_line_length": 35.2932330827,
"ext": "h",
"hexsha": "80c78332ab7b072489b31dd36bf7eb25b07f01b1",
"lang": "C",
"max_forks_count": 164,
"max_forks_repo_forks_event_max_datetime": "2022-03-23T10:22:29.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-30T21:15... |
//This does CELL (~soma) stage of minimal GRU (gated recurrent unit) model.
//This requires each neuron to have 2 input time series, X and Xf,
//where X is the usual input and Xf the input for the forget-gate.
//Both X and Xf are the output of a linear IN stage (weights and baises).
//For dim=0: F[:,t] = sig(Xf[:,t] +... | {
"alphanum_fraction": 0.385767062,
"avg_line_length": 35.2864493997,
"ext": "c",
"hexsha": "6a4b032f0527a6fd42ae662dcd5b6a8aeed476af",
"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": ... |
// align.h
//
// prototypes for align.cc
//
// dw, 12/12/3
#ifndef _PTALIGN_H_
#define _PTALIGN_H_
#include <gsl/gsl_matrix.h>
#include <vector>
#include <cmath>
#include <map>
#include "pdb.h"
typedef double T3Matrix[3][3];
// find rigid body transformation z=Rx+t minimizing
// least squares error ||y-z||**2
boo... | {
"alphanum_fraction": 0.7085828343,
"avg_line_length": 18.5555555556,
"ext": "h",
"hexsha": "bc98dd08b4db826c7d49a7ea0f2b0b6fc0ef26a7",
"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 <boost/operators.hpp>
#include <cmath>
#include <gsl/gsl>
#include <iostream>
#include <nlohmann/json.hpp>
#include <numeric>
namespace Simulator {
template <class T, class Category> class UnitBase : public boost::multiplicative<T, double> {
public:
UnitBase() = default;
explicit conste... | {
"alphanum_fraction": 0.5621965511,
"avg_line_length": 48.9590163934,
"ext": "h",
"hexsha": "5e37ef31da979a9d3cbe4c055e449b472ed52091",
"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":... |
//
// hemm.h
// Linear Algebra Template Library
//
// Created by Rodney James on 1/6/12.
// Copyright (c) 2012 University of Colorado Denver. All rights reserved.
//
#ifndef _hemm_h
#define _hemm_h
/// @file hemm.h Performs general Hermitian complex matrix-matrix multiplication.
#include <cctype>
#include "latl.... | {
"alphanum_fraction": 0.421810166,
"avg_line_length": 28.0436363636,
"ext": "h",
"hexsha": "ed33b2880d40879a5be0b62ff849e9a33f4f4a00",
"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:3... |
#include <math.h>
#include <stdlib.h>
#if !defined(__APPLE__)
#include <malloc.h>
#endif
#include <stdio.h>
#include <assert.h>
#include <time.h>
#include <string.h>
#include <stdbool.h>
#include <fftw3.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_sf_erf.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_spline... | {
"alphanum_fraction": 0.6179496275,
"avg_line_length": 33.1647058824,
"ext": "c",
"hexsha": "11d9fb27cc98578126998edf86ed60a9ccc44b2d",
"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":... |
/* poly/test.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 option) ... | {
"alphanum_fraction": 0.5517867959,
"avg_line_length": 34.4985074627,
"ext": "c",
"hexsha": "39ff417164ebaae0da1080c694ffc272180fc23f",
"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:... |
/*
* vbHmmPcFret.c
* Model-specific core functions for VB-HMM-PC-FRET.
*
* Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN
* Copyright 2011-2015
* Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan.
* All rights reserved.
*
* Ver. 1.1.0
* Last modified on 2015.09.17
*/
#includ... | {
"alphanum_fraction": 0.5020260367,
"avg_line_length": 28.463803681,
"ext": "c",
"hexsha": "cb35305656d9e37bfb3830105b33767a0c0d7006",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
// The GSL extra library provides linear algebra functions using a
// similar interface to the rest of the GSL library.
#ifndef COMMON_C_MATH_GSL_LINALG_EXTRA_H_
#define COMMON_C_MATH_GSL_LINALG_EXTRA_H_
#include <stdint.h>
#include <gsl/gsl_blas_types.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#ifd... | {
"alphanum_fraction": 0.6866096866,
"avg_line_length": 32.90625,
"ext": "h",
"hexsha": "61499eacee58ea52ddc5f5942f4c94a0d832852a",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-04-20T21:04:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-13T11:39:01.00... |
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_statistics.h>
#include "tz_error.h"
#include "tz_constant.h"
#include "tz_image_lib.h"
#include "tz_stack_lib.h"
#include "tz_objdetect.h"
#include "tz_imatrix.h"
#include "tz_stack_math.h"
#include "tz_stack_bwdist.h"
#include "tz_stack_bwmorph.h"
#include "tz_v... | {
"alphanum_fraction": 0.6878525762,
"avg_line_length": 25.8155339806,
"ext": "c",
"hexsha": "1b8eeb562d9249982eae09a7aa6c31c46a5deae3",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <float.h>
#define COMPEARTH_PRIVATE_CROSS3 1
#define COMPEARTH_PRIVATE_NORM3 1
#define COMPEARTH_PRIVATE_DOT3 1
#define COMPEARTH_PRIVATE_WRAP360 1
#include "compearth.h"
#ifdef COMPEARTH_USE_MKL
#ifdef __clang__
#pragma clang diag... | {
"alphanum_fraction": 0.5045824264,
"avg_line_length": 39.8584474886,
"ext": "c",
"hexsha": "e9305f80b03d1a0fcde24f92c02906b69e008d2f",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-02-28T13:42:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-07-08T00:13:... |
#pragma once
#include <gsl.h>
#include <QString>
namespace gsl {
inline QString to_QString(gsl::cstring_span<> view) { return QString::fromLatin1(view.data(), view.size()); }
} | {
"alphanum_fraction": 0.6994535519,
"avg_line_length": 20.3333333333,
"ext": "h",
"hexsha": "44b191616ab2993e52c7a860aea6382461349717",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:... |
#include "jobqueue.h"
#include "ance_degnome.h"
#include "fitfunc.h"
#include "flagparse.c"
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <time.h>
#include <pthread.h>
#include <unistd.h>
#include <limits.h>
typedef struct JobData JobData;
struct Jo... | {
"alphanum_fraction": 0.5907917968,
"avg_line_length": 26.0637168142,
"ext": "c",
"hexsha": "1866aa5e3a62c2d5f31f31d27da219d15160048e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-27T23:28:50.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-27T23:28:... |
/* multifit/lmpar.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 opt... | {
"alphanum_fraction": 0.5700811001,
"avg_line_length": 21.690248566,
"ext": "c",
"hexsha": "1e7a3d1286261b4e534d5f8d9b03fde204be4933",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:5... |
/* this manages and calls function to execute function
* from beginning to end
*/
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_statistics.h>
#include "fileio.h"
#include "data_process.h"
#include "sensor_history.h"
#include "s... | {
"alphanum_fraction": 0.6481781974,
"avg_line_length": 29.4739130435,
"ext": "c",
"hexsha": "998861dcf45a18103bf8f05d19e68a57933d34fb",
"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":... |
// directdebye.c
// Computes the Debye sum from raytracing data.
// See man page for usage information.
#include <assert.h>
#include <complex.h>
#include <errno.h>
#include <error.h>
#include <gsl/gsl_const_mksa.h>
#include <malloc.h>
#include <math.h>
#include <matheval.h>
#include <mpi.h>
#include <stdio.h>
#include ... | {
"alphanum_fraction": 0.6042679312,
"avg_line_length": 34.4285714286,
"ext": "c",
"hexsha": "2fe5d28d1bae9678945a0732e27f7498e6ad3cd9",
"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_HELPER_H__
#define __GSL_HELPER_H__
#if defined _WIN32 || defined _WIN64
#include <crtdbg.h>
#define _gsl_asserte(expr,msg) _ASSERT_EXPR(expr,_CRT_WIDE(msg))
#else
#include <assert.h>
#define _gsl_asserte(expr,msg) assert(expr)
#endif
#define _gsl_assert(expr) _gsl_asserte(expr, #expr)
... | {
"alphanum_fraction": 0.6797197979,
"avg_line_length": 23.0981432361,
"ext": "h",
"hexsha": "149025d0d753c435afa815b1a469dbc4a3ac9394",
"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) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "arcana/finally_scope.h"
#include "arcana/functional/inplace_function.h"
#include "arcana/utils/algorithm.h"
#include "sorted_vector.h"
#include <gsl/gsl>
#include <iterator>
#include <map>
#include <mutex>
#include <std... | {
"alphanum_fraction": 0.5279931094,
"avg_line_length": 27.4792899408,
"ext": "h",
"hexsha": "6c073dce783132295ee2d8a77e1a060068bb0e52",
"lang": "C",
"max_forks_count": 16,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T15:36:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-05-07T03:09... |
#pragma once
#include "Library.h"
#include <gsl/span>
#include <cstdint>
#include <memory>
#include <optional>
#include <utility>
#include <variant>
#include <vector>
namespace CesiumGeometry {
namespace AvailabilityUtilities {
uint8_t countOnesInByte(uint8_t _byte);
uint32_t countOnesInBuffer(gsl::span<const std:... | {
"alphanum_fraction": 0.7303149606,
"avg_line_length": 25.1900826446,
"ext": "h",
"hexsha": "6c50591f99da15f876e886cf559141f9a60e1a2f",
"lang": "C",
"max_forks_count": 66,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14... |
/*
** LISA single subject statistical inference using 1st level GLM (general linear modeling).
** The prewhitening approach is adapted from Worsley et al (2002), Neuroimage 15(1).
**
** G.Lohmann, MPI-KYB, 2018
*/
#include <viaio/Vlib.h>
#include <viaio/VImage.h>
#include <viaio/mu.h>
#include <stdio.h>
#include <stdl... | {
"alphanum_fraction": 0.6911803193,
"avg_line_length": 26.1712328767,
"ext": "c",
"hexsha": "42b9b69df7addbda30925cc29f6f95401d750563",
"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 <stdio.h>
#include <gsl/gsl_rng.h>
#include <math.h>
// #include <stdlib.h>
// #include <time.h>
double boxcar_overlap(double rA, double radiiA, double rB, double radiiB)
{
double F;
F = pow(rB - rA, 2) / pow(radiiA + radiiB, 2);
return F;
}
size_t gen_pts_rsa_1d(double *x,
size_t... | {
"alphanum_fraction": 0.4673426079,
"avg_line_length": 15.5919117647,
"ext": "c",
"hexsha": "d278d235120c7cb846d8124aaec3e3bfb2efe722",
"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 <gsl/gsl_math.h>
#include <gsl/gsl_fit.h>
#include <gsl/gsl_chebyshev.h>
double f(double x, void *p) {
(void) (p); /* avoid unused parameter warning */
return pow(0.5, pow(x, 2) + 2 * x);
}
int main(void) {
int i, j, n = 10000;
gsl_function F;
F.func... | {
"alphanum_fraction": 0.4864686469,
"avg_line_length": 28.5849056604,
"ext": "c",
"hexsha": "0f1af8ec2fbf222a60707e54d32d050d75da14c5",
"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 SUBFIND
#include "subfind.h"
/*! Structure for communication during the density computation. Holds data that is sent to other processors.
*/
static s... | {
"alphanum_fraction": 0.6023048789,
"avg_line_length": 25.2456445993,
"ext": "c",
"hexsha": "30e3d93a249411336e36abc4910591d4023e5ab7",
"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/beta_inc.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your opt... | {
"alphanum_fraction": 0.6289974495,
"avg_line_length": 28.1602209945,
"ext": "c",
"hexsha": "bd840b61083fdc533e6f12e75ac645d7086751dc",
"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... |
-----------natrix mul---
/*
* standard includes
*/
#include <stdio.h>
#include <stdlib.h>
/*
* includes for GSL components
* - use double precision
*/
#include <gsl/gsl_vector_double.h>
#include <gsl/gsl_matrix_double.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
/*
* FUNCTIONS
*/
/*
* sim... | {
"alphanum_fraction": 0.6175491679,
"avg_line_length": 21.3225806452,
"ext": "c",
"hexsha": "741a56ec446d6cd9e08a27c5db67143ae09a5204",
"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":... |
/* Calling DGELS using row-major order */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#include <lapacke.h>
#include <string.h>
#include "magneticTrap.h"
//#include <sys/stat.h>
#define SIZE 3
//Function to calculate beta. The speed is then v=beta*c
double calculateBeta(double T) {
do... | {
"alphanum_fraction": 0.5394775036,
"avg_line_length": 39.3714285714,
"ext": "c",
"hexsha": "3b25bc3322d54b2fe8f91f525220a6ca799ff625",
"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 <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include "allvars.h"
#include "proto.h"
#define WORKSIZE 100000
static double R8;
static double r_tophat;
static double AA, BB, CC;
static double nu;
static double Norm;
static int NPowerTable;
static struct pow_table
{
double logk, l... | {
"alphanum_fraction": 0.6070301938,
"avg_line_length": 19.6371681416,
"ext": "c",
"hexsha": "7311d9d153167c269c463c9705b6cb8e64362e1a",
"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_math.h>
#include <gsl/gsl_deriv.h>
double f (double x, void * params)
{
return pow (x, 1.5);
}
int
main (void)
{
gsl_function F;
double result, abserr;
F.function = &f;
F.params = 0;
printf ("f(x) = x^(3/2)\n");
gsl_deriv_central (&F, 2.0, 1e-8, &result, &abserr);... | {
"alphanum_fraction": 0.5534591195,
"avg_line_length": 19.2727272727,
"ext": "c",
"hexsha": "b32e1934f547a84e0ed90e49766ee747884ab1be",
"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... |
/*
* Test uni_qdblflt() in reprand.cc has a uniform distribution. From:
* http://rosettacode.org/wiki/Verify_distribution_uniformity/Chi-squared_test
*
* Compile with :
* gcc -std=c99 -Wall -o reprand_test reprand_test.c -lgsl
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#inc... | {
"alphanum_fraction": 0.6170407696,
"avg_line_length": 25.3837209302,
"ext": "c",
"hexsha": "8519769b2aa5de5cb5c49d6690c0d73a35ae80f3",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-04-28T06:26:39.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-04-28T06:26:... |
/*
* Copyright (c) 2018, Aleksi Kurkela, Aleksas Mazeliauskas, Jean-Francois
* Paquet, Soeren Schlichting and Derek Teaney
* All rights reserved.
*
* KoMPoST is distributed under MIT license;
* see the LICENSE file that should be present in the root
* of the source distribution, or alternately available at:
* h... | {
"alphanum_fraction": 0.6473822615,
"avg_line_length": 26.3081761006,
"ext": "h",
"hexsha": "c1207d210c7314d56bb2ec8bca27618fac21736a",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-08-02T09:49:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-08-02T09:49:... |
#pragma once
#include "concepts/MemoryIntrospection.h"
#include "math/Vector3.h"
#include "pointcloud/PointAttributes.h"
#include <gsl/gsl>
#include <optional>
#include <vector>
// TECH_DEBT Make attributes more dynamic (map<AttributeType, GenericAttribute*>
// or something like that)
/// <summary>
/// Buffer struc... | {
"alphanum_fraction": 0.7209784081,
"avg_line_length": 36.8064516129,
"ext": "h",
"hexsha": "c4b511ee0d7fbb5e25b3784b216ddbea49857f49",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-02-08T11:45:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-03T13:50:... |
/* ode-initval/odeiv.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your opt... | {
"alphanum_fraction": 0.6885401807,
"avg_line_length": 23.3666666667,
"ext": "c",
"hexsha": "96999e3acc83410549d6ef7833c06e15ecffc8e3",
"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:... |
/*
* C version of Diffusive Nested Sampling (DNest4) by Brendon J. Brewer
*
* Yan-Rong Li, liyanrong@mail.ihep.ac.cn
* Jun 30, 2016
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>
#include <gsl/gsl_rng.h>
#include "dnestvars.h"
/* output files */
FILE *fs... | {
"alphanum_fraction": 0.7494775946,
"avg_line_length": 32.6287878788,
"ext": "c",
"hexsha": "da00490281e3f33a8be90264350840f6a6ea685a",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-06T11:26:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-02-05T02:01:... |
#ifndef BLAS_WRAPPER_H
#define BLAS_WRAPPER_H
#include <cassert>
#include <cmath>
#include <cstring>
#include <vector>
// Useful dense kernels from BLAS, with readable, overloaded, cross-platform names and some simplified calling
// dot (dot-product of vectors)
// nrm2 (2-norm of a vector)
// asum (1-norm o... | {
"alphanum_fraction": 0.5823533846,
"avg_line_length": 44.2938230384,
"ext": "h",
"hexsha": "e6d13d7f1651d29a225cd21a3b700d126f1a4f57",
"lang": "C",
"max_forks_count": 28,
"max_forks_repo_forks_event_max_datetime": "2022-03-24T14:59:40.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-05T18:41... |
/* -*- mode: C; c-basic-offset: 4 -*- */
/* ex: set shiftwidth=4 tabstop=4 expandtab: */
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Neil T. Dantam <ntd@gatech.edu>
* Georgia Tech Humanoid Robotics Lab
* Under Direction of Prof. Mike Stilman <mstilman@cc.gatech... | {
"alphanum_fraction": 0.5772283272,
"avg_line_length": 28.8634361233,
"ext": "c",
"hexsha": "8b7d350bee7de36b15bbc23b5951161784593002",
"lang": "C",
"max_forks_count": 6,
"max_forks_repo_forks_event_max_datetime": "2021-05-05T12:58:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-23T18:09:... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <gsl/gsl_sf_trig.h>
#include <Accelerate/Accelerate.h>
#include "SE_trans.h"
#include "sigma.h"
#define ALPHA 0.99
#define DOMD 3.14
double* AllocVec(int dim)
{
double* vec;
vec = (double*)calloc(dim, sizeof(double));
/* Check memory */
if (ve... | {
"alphanum_fraction": 0.512229539,
"avg_line_length": 17.7166666667,
"ext": "c",
"hexsha": "ec7e1b977266ba0a4d3d43d1442a197ea2d89298",
"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 "quac_p.h"
#include "quac.h"
#include "operators_p.h"
#include "operators.h"
#include <petsc.h>
int petsc_initialized = 0;
int nid;
int np;
/*
* QuaC_initialize initializes petsc, gets each core's nid, and lets the
* rest of the program know that it has been initialized.
* Inputs:
* int argc, char... | {
"alphanum_fraction": 0.7059026579,
"avg_line_length": 23.7459016393,
"ext": "c",
"hexsha": "517c66e775aaf7c3780dc9d57ba31c92f3b58f8c",
"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... |
/******************************************************************************
*
* IMD -- The ITAP Molecular Dynamics Program
*
* Copyright 1996-2007 Institute for Theoretical and Applied Physics,
* University of Stuttgart, D-70550 Stuttgart
*
***************************************************************************... | {
"alphanum_fraction": 0.5596658711,
"avg_line_length": 22.0526315789,
"ext": "h",
"hexsha": "dccb87852489e06a4ebb83a027da20d65ca4d290",
"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":... |
/* block/gsl_block_uint.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... | {
"alphanum_fraction": 0.7443636364,
"avg_line_length": 36.1842105263,
"ext": "h",
"hexsha": "4d1cec7eb619890bf5e098bf3eb136157e96ef4c",
"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:... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <gsl/gsl>
namespace onnxruntime {
// Inspired by Fekir's Blog https://fekir.info/post/span-the-missing-constructor/
// Used under MIT license
// Use AsSpan for less typing on any container including... | {
"alphanum_fraction": 0.7030522504,
"avg_line_length": 28.8507462687,
"ext": "h",
"hexsha": "998fc6e71dcbb814ca642ab8f3177b93aad88297",
"lang": "C",
"max_forks_count": 140,
"max_forks_repo_forks_event_max_datetime": "2019-05-06T18:02:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-12-03T21:1... |
/* multilarge_nlinear/gsl_multilarge_nlinear.h
*
* 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
* you... | {
"alphanum_fraction": 0.6509713777,
"avg_line_length": 41.4953846154,
"ext": "h",
"hexsha": "bdad1b23885bccd94352aff2f81263dc7cc4c85c",
"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:... |
/* multiroots/hybrid.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 ... | {
"alphanum_fraction": 0.6215510313,
"avg_line_length": 22.5218702866,
"ext": "c",
"hexsha": "654938237a3f1eb5e68128c28a082058906e5ed7",
"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 "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 <omp.h>
void VVerlet_Step(... | {
"alphanum_fraction": 0.5694096906,
"avg_line_length": 30.7681539808,
"ext": "c",
"hexsha": "9b3242e960051ec98789583267a3eea0985d6348",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <nlopt.h>
#include "mpi.h"
int numTasks, mpiRank;
#include "myFunc.h"
void writeParam(char *filename, int nParam, double *x)
{
FILE *fn=fopen(filename,"w");
if(!fn) {
fprintf(stderr,"Cannot open %s\n",filename);
exit(1)... | {
"alphanum_fraction": 0.6763491595,
"avg_line_length": 33.5742574257,
"ext": "c",
"hexsha": "2fcadfa410feb4d70be932ef51c94129570a630c",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
Copyright [2020] [IBM Corporation]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | {
"alphanum_fraction": 0.7052868391,
"avg_line_length": 26.9393939394,
"ext": "h",
"hexsha": "07578156a99aaaeef9858ae9c37006376707e5b6",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30... |
// Authors: David Blei (blei@cs.princeton.edu)
// Sean Gerrish (sgerrish@cs.princeton.edu)
//
// Copyright 2011 Sean Gerrish and David Blei
// All Rights Reserved.
//
// See the README for this package for details about modifying or
// distributing this software.
#ifndef LDASEQ_H
#define LDASEQ_H
#include <s... | {
"alphanum_fraction": 0.6068541869,
"avg_line_length": 23.976744186,
"ext": "h",
"hexsha": "23df02e61b42540d91327b5afdd9ef2dae29fd43",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-07-10T09:29:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-15T04:11:0... |
#if !defined(TESTUTIL_H_INCLUDED)
#define TESTUTIL_H_INCLUDED
#include "Exceptions.h"
#include <gsl/gsl>
#include <iosfwd>
// ===========================================================================
//
// Test case structs
//
// ===========================================================================
using A... | {
"alphanum_fraction": 0.6218655968,
"avg_line_length": 23.7380952381,
"ext": "h",
"hexsha": "1f2518d2246bc760179ad20ec90f954137458ef7",
"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 <blas.h>
#include <inttypes.h>
#include "mex.h"
#include "mx_blas.h"
/* Level 1 BLAS */
void
mx_swap(mxArray *mxx, mxArray *mxy)
{
const ptrdiff_t incx = 1;
const ptrdiff_t incy = 1;
const ptrdiff_t n = (const ptrdiff_t)mxGetNumberOfElements(mxx);
if (mxIsSingle(mxx)) {
float *x = (f... | {
"alphanum_fraction": 0.5682144567,
"avg_line_length": 23.2111111111,
"ext": "c",
"hexsha": "f2d1d8a649b7f90d75db3dcbbc5716dbd4c67ee6",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-09-21T11:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-06T20:41:... |
/*
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.664305949,
"avg_line_length": 23.1475409836,
"ext": "c",
"hexsha": "0a34c02bc2594929f18330b7c87d1324999fda36",
"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) 2019-2020 JingWeiZhangHuai <jingweizhanghuai@163.com>
Licensed under the Apache License, Version 2.0; 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 wri... | {
"alphanum_fraction": 0.5957941834,
"avg_line_length": 34.3846153846,
"ext": "c",
"hexsha": "c25e6db038fdbd30cd4b8c148070eff996b40400",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* This file is part of the CN24 semantic segmentation software,
* copyright (C) 2015 Clemens-Alexander Brust (ikosa dot de at gmail dot com).
*
* For licensing information, see the LICENSE file included with this project.
*/
/**
* @file MKLHelper.h
* @brief Contains macros to help with various BLAS implemen... | {
"alphanum_fraction": 0.7415384615,
"avg_line_length": 18.0555555556,
"ext": "h",
"hexsha": "e89022bd5250f63c42a3d7b4f4ea00b22db4dc3c",
"lang": "C",
"max_forks_count": 54,
"max_forks_repo_forks_event_max_datetime": "2022-01-06T09:33:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-23T00:22... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
/**
Runs the verification procedure in stand-alone mode.
*/
#include "os-features.h"
#include "matchfile.h"
#include "matchobj.h"
#include "index.h"
#include "xylist.h"
#include "rdlist.h"
#include "... | {
"alphanum_fraction": 0.4725073132,
"avg_line_length": 30.8394495413,
"ext": "c",
"hexsha": "3725178582ab108b9f61d77878682fb1486b4ec0",
"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_matrix.h>
#include <gsl/gsl_odeiv2.h>
// y' = 2y + x
// https://www.wolframalpha.com/input/?i=y%27+%3D+2y+%2B+x%2C+y%280%29+%3D+1%2C+y%281%29
// https://www.wolframalpha.com/input/?i=1%2F4+*+%285+*+e%5E2+-+3%29
// ๋ฏธ๋ถ ๋ฐฉ์ ์์ ํธ๋ ๋ฐฉ๋ฒ
// 1. ๋ฏธ๋ถ ๋ฐฉ์ ์์ ํ์คํ์ ์์ฑํ๋ค.
//... | {
"alphanum_fraction": 0.5767790262,
"avg_line_length": 28.1052631579,
"ext": "c",
"hexsha": "b0a39403bf75581305ea39b519b31463308ebebd",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-03-19T01:22:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-19T01:22:... |
#include <malloc.h>
#include <math.h>
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_matrix_double.h>
#include "tc_mat.h"
struct tc_mat *tc_mat_ctr(uint32_t nr_, uint32_t nc_)
{
struct tc_mat *A = (struct tc_mat *) malloc(sizeof(s... | {
"alphanum_fraction": 0.5112353568,
"avg_line_length": 28.4545454545,
"ext": "c",
"hexsha": "912336c4fa250c9bd27f002d354b6a2fcadf8be3",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-01-09T14:09:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-19T16:44... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in t... | {
"alphanum_fraction": 0.7155353394,
"avg_line_length": 39.1506849315,
"ext": "h",
"hexsha": "e8c89cc4c5187555153d8d32c6b0bc348d77d72f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
#pragma once
#include <gsl/gsl>
#include <DirectXMath.h>
#include <vector>
#include <memory>
#include <string>
#include <cstdint>
namespace Library
{
class Model;
class Bone;
class Keyframe;
class OutputStreamHelper;
class InputStreamHelper;
struct BoneAnimationData final
{
std::uint32_t BoneIndex{ 0 };
s... | {
"alphanum_fraction": 0.7528542646,
"avg_line_length": 27.5740740741,
"ext": "h",
"hexsha": "1cf41c9e4d32a0d514a71befe1ec3af945b0d459",
"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 TOURNAMENTPIVOTING_H
#define TOURNAMENTPIVOTING_H
#include <stdio.h>
#include <stdlib.h>
#include "SuiteSparseQR_C.h"
#include <string.h>
#include <math.h>
#include <mpi.h>
#ifdef MKL
#include <mkl.h>
#else
#include <lapacke.h>
#endif
#define ASSERT(t_) if(!(t_)) printf("WARNING %s, line %d\n",__FILE__,_... | {
"alphanum_fraction": 0.7168224299,
"avg_line_length": 30.5714285714,
"ext": "h",
"hexsha": "d174f977a76852f54c53655ad7b1631d04431aaf",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-10-05T11:22:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-11-17T22:41:... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: stdheader.h
* Author: lars
*
* Created on May 19, 2020, 2:40 PM
*/
#ifndef STDHEADER_H
#define STDHEADER_H
#includ... | {
"alphanum_fraction": 0.7481155779,
"avg_line_length": 22.7428571429,
"ext": "h",
"hexsha": "5c753d3c4c42dae88f43ab2481649796799a2dc1",
"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) 2021 Stig Rune Sellevag
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#ifndef SCILIB_LINALG_EIGENVALUE_H
#define SCILIB_LINALG_EIGENVALUE_H
#ifdef USE_MKL
#include <mkl.... | {
"alphanum_fraction": 0.5972583314,
"avg_line_length": 29.5874125874,
"ext": "h",
"hexsha": "95ed9a084f6c71093c78bf07e61303046a43f8ae",
"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[] =
"Solves a structured-grid Stokes problem with DMDA and SNES using finite elements: Q^2-P^-1.\n"
"FIXME: START OVER\n"
"\n\n";
#include <petsc.h>
typedef struct {
double u;
double v;
double p;
} Field;
typedef struct {
DM da;
Vec xexact;
double L, // length of do... | {
"alphanum_fraction": 0.5933528837,
"avg_line_length": 31.6391752577,
"ext": "c",
"hexsha": "5769e0997448186d48b2bab0d5c4c85480f773a5",
"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":... |
/* cdf/exponential.c
*
* Copyright (C) 2003, 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.6579925651,
"avg_line_length": 22.4166666667,
"ext": "c",
"hexsha": "d6d822617c2adfbcf5ca3626c48266bcfc1169c9",
"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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#ifdef GSL_FOUND
#include <gsl/gsl_integration.h>
#endif
#include "core_allvars.h"
#include "core_init.h"
#include "core_mymalloc.h"
#include "core_cool_fu... | {
"alphanum_fraction": 0.5883233533,
"avg_line_length": 31.3701657459,
"ext": "c",
"hexsha": "730f16dbaa48a86d230d3bd673fdff29f7ac0ae2",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-04-09T11:12:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-02-14T05:45:... |
#ifndef INTEGRATIONS_H
#define INTEGRATIONS_H
#include <armadillo>
#include <cmath>
#include <gsl/gsl_math.h>
#include <iostream>
template <typename F> class gsl_function_pp : public gsl_function {
public:
explicit gsl_function_pp(const F &func) : gsl_function_struct(), _func(func) {
function = &gsl_function_pp:... | {
"alphanum_fraction": 0.7076086957,
"avg_line_length": 29.6774193548,
"ext": "h",
"hexsha": "d6d6c529e828a058c555cc685ddb49726faeb810",
"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 RADFIELD_H
#define RADFIELD_H
#include <cstdio>
#include <gsl/gsl_integration.h>
#include "types.h"
#include "sn3d.h"
namespace radfield
{
void zero_estimators(int modelgridindex);
void init(int my_rank, int ndo, int ndo_nonempty);
void initialise_prev_titer_photoionestimators(void);
void write_to_fil... | {
"alphanum_fraction": 0.8025477707,
"avg_line_length": 49.2549019608,
"ext": "h",
"hexsha": "e71af67934c6529b34d39f81f77e7aee93e0af6c",
"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 <vector>
#include <typeinfo>
#include <type_traits>
#include <gsl/gsl>
#include <upca/config.h>
#include "arch/arch.h"
namespace upca {
template <typename BACKEND> class resolver {
class description {
std::string name_;
unsigned size_;
unsig... | {
"alphanum_fraction": 0.6805772231,
"avg_line_length": 30.1647058824,
"ext": "h",
"hexsha": "b79f3db422de064eab9435d9fae2c254b6f0f534",
"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":... |
/* -*- linux-c -*- */
/* fewbody_utils.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... | {
"alphanum_fraction": 0.6254109139,
"avg_line_length": 21.4982332155,
"ext": "c",
"hexsha": "101a7464ee9b34fd7403ee4e845a4d8ff2366d58",
"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":... |
/*
* ParticleFilter.h
*
* Created on: Mar 21, 2012
* Author: nair
*/
#ifndef PARTICLEFILTER_H_
#define PARTICLEFILTER_H_
#include <QSettings>
#include <QFileInfo>
#include <opencv2/opencv.hpp>
#include <Eigen/Dense>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
namespace tracking
{
class Particl... | {
"alphanum_fraction": 0.6322357019,
"avg_line_length": 19.4932432432,
"ext": "h",
"hexsha": "c89af59c413d804fe02e6e95a3855dbf71374605",
"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 testing_cgebrd.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Azzam Haidar
* @date 2010-11-15
* @generated c Tue Jan 7 11:45:17 2014
*
**/
#include <stdli... | {
"alphanum_fraction": 0.5100031017,
"avg_line_length": 34.6666666667,
"ext": "c",
"hexsha": "cfc827b65d66e4cfd790236c6767005555a7100a",
"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-2020 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2013 Inria. All rights reserved.
*
* @precisions normal z -> c d s
*
*/
#include "dplasma.h"
#include "dpl... | {
"alphanum_fraction": 0.5162555138,
"avg_line_length": 33.2061482821,
"ext": "c",
"hexsha": "3597dd2a08a6c18eaa5395718dc136e700a2f84c",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T01:53:32.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-02-28T21:24:... |
/* eigen/gsl_eigen.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
... | {
"alphanum_fraction": 0.6768484156,
"avg_line_length": 33.2037914692,
"ext": "h",
"hexsha": "25983dc1defbaace5a47ba8c5fec5b5c414a71f4",
"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 <stdio.h>
#include <string.h>
#include "erl_nif.h"
#include <cblas.h>
#define MAX(a,b) (((a)>(b))?(a):(b))
static ERL_NIF_TERM atom_ok;
static ERL_NIF_TERM atom_true;
static ERL_NIF_TERM atom_rowmaj;
static ERL_NIF_TERM atom_colmaj;
static ERL_NIF_TERM atom_notransp;
static ERL_NIF_TERM atom_transpose;
sta... | {
"alphanum_fraction": 0.6630401704,
"avg_line_length": 33.8762886598,
"ext": "c",
"hexsha": "c3df77ef3067f698126b98bcedc64d0dd167ec5e",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-29T13:47:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-29T13:47:... |
/* cheb/test.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) any... | {
"alphanum_fraction": 0.6242411101,
"avg_line_length": 30.3421052632,
"ext": "c",
"hexsha": "49d316c7fc9b8342119cfa71a40f048f5c0364a6",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_integration.h>
double f (double x,void *params);
double f (double x,void *params)
{
double n=* (double *) params;
double f=exp (-x) * pow (x,n);
return f;
}
void integral_gen (int nmin, int nmax, double vals[]);
void integral_gen (int nm... | {
"alphanum_fraction": 0.6021126761,
"avg_line_length": 25.0588235294,
"ext": "c",
"hexsha": "a8d8c1c7455e45db9b4a5c6d64725d7689dab90f",
"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.