sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
66025baee0535f00031ae9496f9b9810180a586276d92a402cc7b9cfd8a2b9ab
C/C++
2,853
125
/* * Copyright (C) 2000-2007 Goncalo Abecasis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * T...
de515074ca8c8317723f6fec59c56d71006c62c14038700a2aa0a79c985ec11c
C/C++
2,856
62
/* * Copyright <2012> <Vincent Le Guilloux,Peter Schmidtke, Pierre Tuffery> * Copyright <2013-2018> <Peter Schmidtke, Vincent Le Guilloux> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
5482d07e5dee3a0aeef9272cb817eb06bceea9fbe488119508c35969a8dc4f61
C/C++
2,860
70
/* bedidx.h -- BED file indexing header file. Copyright (C) 2017, 2026 Genome Research Ltd. Author: Valeriu Ohan <vo2@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software witho...
66b94e880b8a659a1f2ec00b3ed3a7e4fec25f5d17bcedcdd64f57ecb2abc91e
C/C++
2,860
77
/**************************************************************************** ** ** Copyright (c) 2009-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/QhullPointSet.h#4 $$Change: 2079 $ ** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $ ** ********************************************...
7d07de3cb5a325f174b34a78cd5771f9b5d9838985c93177dfd9384ac59affa6
C/C++
2,875
76
/* samtools.h -- utility routines. Copyright (C) 2013-2015, 2019, 2023, 2026 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software...
877fec6ff8829d2d397e525220f82335e7bf6db408028003b8e60e0dac26c331
C/C++
2,875
107
#ifndef PROPCA_MATMULT_H_ #define PROPCA_MATMULT_H_ #include "genotype.h" #include <Eigen/Dense> #include <Eigen/Core> using namespace Eigen; //typedef Matrix<float, Dynamic, Dynamic, RowMajor> MatrixXdr; //typedef Matrix<double, Dynamic, Dynamic, RowMajor> MatrixXdr; #ifdef USE_DOUBLE typedef Eigen::Matrix<double,...
9c18cb317e197120430335d45073585cfd2249bc1a8f553947bbaacf09ac40cb
C/C++
2,875
107
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
92e51d3e2773f9ddeace771f655218d13a85f9b1d058532d8839adc4a6638a2e
C/C++
2,879
88
/* Bayesian Functional GWAS --- MCMC (bfGWAS:MCMC) Copyright (C) 2016 Jingjing Yang 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 ...
f3380462687e8a188ab008edcdadd0796d0032dd8f8522112cee7037ceff94e2
C/C++
2,884
112
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
89ef60c4d640e51c71ee1718a1390633b20bdfce300651caa9b27872dd01d91f
C/C++
2,890
76
/* * Copyright (C) 2011 Regents of the University of Michigan * * 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 v...
edfc6155bc261cfa9c6c7d577ca39f009c883c7325dbddb2f43f1890e5a7b41d
C/C++
2,902
66
// // morphy.h // MorPhy2 // // Created by mbrazeau on 23/04/2017. // Copyright © 2017 brazeaulab. All rights reserved. // #ifndef morphy_h #define morphy_h #ifdef DEBUG #include <stdio.h> #define dbg_printf(...) printf(__VA_ARGS__) #else #define dbg_printf(...) #endif #include <stdlib.h> #include <assert.h> #in...
61f1a1e1780614fc30b8301666889143c71151cc01ebb588f1fc9231ded37a32
C/C++
2,922
93
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
e6f01305e2be08587c4fda9aff5c1fb7ef9bb601f3899a114e06b9b45f19eb23
C/C++
2,929
77
#pragma once #include <cstdint> #include "Core.h" namespace rayx { /// Internal type for the random counter-based RNG using RandCounter = uint64_t; /* * Title: "Squares: A Fast Counter-Based RNG" * Author: Bernard Widynski * Date: November 24, 2020 * URL: https://arxiv.org/pdf/2004.06278.pdf */ // generates 6...
6a73583308c4bac0f723e2bd0d3426760a8a9ec770bbed30b2689ae0a347b3be
C/C++
2,930
97
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
c049ffa5a9978245592fb47bbe5857e9caacc84b5c5035c279098d3440332a01
C/C++
2,944
97
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
dcb6f422c699f6d0119b070005e70012a754aa9af500726bf8a484368456b3d3
C/C++
2,950
85
// *************************************************************************** // SamSequenceDictionary.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 16 October 2011 // -----------------------...
1a8cbc6988b90d6a8df771772b52f3b7481c1e80d163f1971aee3c5ed3e1976f
C/C++
2,959
88
#pragma once #include <memory> #include <unordered_map> #include <vector> #include "Device.h" class DescriptorSetLayout { public: class Builder { public: explicit Builder(Device& Device) : m_Device{Device} {} Builder& addBinding(uint32_t binding, VkDescriptorType descriptorType, VkShader...
d52be8d8dfadaa81bbfddfc85bcd2ba55e8495be134763a8f23d3531eabfb573
C/C++
2,962
117
// *************************************************************************** // HostAddress_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 November 2011 (DB) // -------------------------...
a45c641986c07475d30f9fc8ae63f1455dc9e65055d6847951388729ca12cdde
C/C++
2,976
106
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
ec38d104dec8b380bc6c45235f14e61ab033a179f49d51bece672b23582586af
C/C++
2,978
85
#pragma once #include <vulkan/vulkan.h> #include <filesystem> #include <memory> #include "GraphicsCore/Device.h" class Buffer; class Texture { public: Texture(const Device& device); Texture(const Device& device, VkFormat format, VkImageUsageFlags usage, VkImageAspectFlags aspectFlags, VkExtent2D extent);...
c95319505c8fb366762ff973b97eec845c057b6222795b3044984f856a1f7aef
C/C++
2,987
85
// *************************************************************************** // SamReadGroupDictionary.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 16 October 2011 (DB) // -----------------...
241c352c09d2e3142efdb2772c7dd790bdedd60978195b15d75a472cc2a52393
C/C++
2,997
104
// *************************************************************************** // SamHeaderValidator.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 6 October 2011 (DB) // ----------------------...
31a98f3419cac7d12810ef7499aaf46636279d237367d937b00c58671990b885
C/C++
3,013
104
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
60289d86925a5fe212fa2bdf2a985db217c82a39c4a7e81962620dbbe1bfb94e
C/C++
3,018
108
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
296696686262b80366731cb6987ba8d29efc7997c54d2b72b49e1d9bbf839c0e
C/C++
3,034
87
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
8944d6726151ebdda8bc443da8a8cbfa8f0397ed6bbc58614de87fec62c54a33
C/C++
3,034
106
// *************************************************************************** // TcpSocketEngine_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 8 December 2011 (DB) // ----------------------...
9aa47a8e073f8db4206bdf9d7d828ab7121454876f7e5dd41fa74e98a50dd75d
C/C++
3,040
88
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
0f3e945ae7303748d2419bd5c855b890e6366e3d422c282fc3991175af1ec729
C/C++
3,047
144
/* * Class for Teensy (Arduino) Serial Communication (header file) * * mostly adapted from: http://www.pjrc.com/tmp/host_software/ * alternative: http://playground.arduino.cc/Interfacing/CPPWindows * * This class opens one serial connection and controls it. * * author: Michael Berger * German Primate Center ...
290d7fa0d0918c8e21d6832d1f199356011a0a3260e7aaf43a809cb098e88b7e
C/C++
3,048
88
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
c1630a4265002a503a9ac89e8899c5725b77ac70c393cd6fa131723cef57c5dd
C/C++
3,061
104
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
6d4d2c16dcb3a65b5c595eb24dfeca3dd55c02f48e0372f98a7c9c8fdbf39427
C/C++
3,069
88
/* * Copyright (C) 2010-2011 Regents of the University of Michigan, * Hyun Min Kang, Matthew Flickenger, Matthew Snyder, * and Goncalo Abecasis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
5af4f3122cb4d04f3152d0e3cac10cb5d0cdd7351c4f3216086386923810db8c
C/C++
3,075
88
// *************************************************************************** // RollingBuffer_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 7 December 2011 (DB) // ------------------------...
7e8e30cbe2d58d7a3b8411ff6f281fdf655aa8de78888f9bbffbc6346f983df0
C/C++
3,078
135
// def,table4.h // declarations // Extended 2013-08-02 to 4D by David Johnson, The Ohio State University Wexner Medical Center #include <string.h> // for memset #define mymod(k,K) ((k) - (K) * floor((k) / (double) (K))) #define iround(x) floor(x + 0.5) // interp4_table1_for.c extern void interp4_table0_complex_per(...
596f0787761a3e7b07f01af29d1bfd607cad56986d0edf1d19c7600f6c9fbb6d
C/C++
3,080
65
/* * Copyright (C) 2011 Regents of the University of Michigan * * 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 v...
2d4c5044d11cd4996c3d592ef5b27f3e434100b19d1055753a2f055848b57def
C/C++
3,106
124
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
3e43bce0656a5384dfc0e21173833436f6f65568d255a56ec8af004b2854faec
C/C++
3,107
118
#ifndef GENOTYPE_H #define GENOTYPE_H #include <random> #include "storage.h" #include <Eigen/Dense> #include <Eigen/Core> #include <Eigen/LU> #include <Eigen/SVD> using namespace Eigen; using namespace std; #ifdef USE_DOUBLE typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> MatrixXdr; #el...
4223d1c5d71fcc4dc915ce5a8beb741ef19812d6e54e4d29bb90e427e6b7d075
C/C++
3,121
102
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
16ff3357e1dc4d3351aaaebeadb6bb0661f4531f1b1ea659f3c56a9784ca18f7
C/C++
3,132
103
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
939941507229da6c6a293f8a20b907cc1226d2aab1665dde84f9bfb4c38dc3ad
C/C++
3,140
101
/* Bayesian Functional GWAS --- MCMC (bfGWAS:MCMC) Copyright (C) 2016 Jingjing Yang 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 ...
10a1e2e2a74e60146088603b519f6a25d542ad526510a5350771f2a5be51fa9c
C/C++
3,154
110
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
5ff844ace7af8958de0e0e02957261d6fbdddcedd4edcfb6e8249acf6f8a2d89
C/C++
3,162
93
/* * Copyright <2012> <Vincent Le Guilloux,Peter Schmidtke, Pierre Tuffery> * Copyright <2013-2018> <Peter Schmidtke, Vincent Le Guilloux> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
4ce0b76d6955d5834a371e4f61c0774d6b72abc3438182510866d38d763ce3b2
C/C++
3,173
108
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
fb17cab51bcd0a67476bc42c03a807a4fbcc0c2f4e53ea34d0108150ca9557fd
C/C++
3,181
94
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
a1f0352ebd8a9dfd79aefcd148babac5481e2d7b9972566f6d43a740be03f29b
C/C++
3,187
118
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
128bedbc23df615d9aac5301107a6a3d94b3715479cc87b5eb5f9fd938c42038
C/C++
3,189
71
// *************************************************************************** // SamReadGroup.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 October 2011 (DB) // ---------------------------...
0fe012f4f9022a7580f6476ccd83820882a2bfc127c528cfd832721259e67959
C/C++
3,190
102
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
3f2d02ea51d8765893fc03ce64a5187e0360e20b9e511f35d8a612b770b7a4b8
C/C++
3,199
97
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
76b9afa87c05c65a4ab0d89742d6b90cf3275b8f25b4bc0bd032aba0a1c00367
C/C++
3,206
87
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
5acd9da25961ba601b728020ffc72a29344aa3c8863643ec8d2ab6a2bf7f44ab
C/C++
3,210
111
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
8492f4e69d9849b78b79c75ff1010c430dc09fd8a9746fe105d9221dca6d22eb
C/C++
3,211
111
/* Copyright 2010-2011, D. E. Shaw Research. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions, and the f...
a4b799930ac04823f2245b3619a0a61a4042d370d3212bca7dacdacc51d1829d
C/C++
3,214
88
#pragma once #include <glm.hpp> #include <vector> #include "GraphicsCore/Buffer.h" #include "GraphicsCore/Descriptors.h" #include "GraphicsCore/Device.h" #include "GraphicsCore/Texture.h" #include "Tracer/Tracer.h" #include "Vertex.h" struct Triangle { TextureVertex v1; TextureVertex v2; TextureVertex v3...
90e22ce04dcd995a57f9c24a6fa860917f8822386bbcf06a1a3752a05e4c581d
C/C++
3,221
105
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d9f853f8f5a5dbe098aceb5c0f8e0a60b94066e8b7cf3768f773a6a5a00f129c
C/C++
3,234
101
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
aab0a44ca16e6fb562edc531e1e537425a690187adfc2e0d7b5ae91fe6343004
C/C++
3,239
126
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
f91d59eccb7f77f30dba469423734471dbc21944fff0e4ea5241dcda82a460fb
C/C++
3,251
117
/************************************************************************/ /* Public implementation follows */ /************************************************************************/ /*--- Defines ----------------------------------------------------------*/ /* None */ /*--- Types -------------------------...
a8fb93e7446b7659ee36a2d450f28e1f79d2dce38b5e65af2836352019097150
C/C++
3,252
106
#pragma once #include <vulkan/vulkan.h> #include <filesystem> #include <memory> #include <optional> #include "Beamline/Beamline.h" #include "Camera.h" #include "Debug/Debug.h" #include "Design/DesignElement.h" #include "Design/DesignSource.h" // TODO: Divide this into passed and returned parameters /** * UI Param...
d0640984373f496dd4b42f4f724def28bdc4f5de0643cb257c7cab67a864f4a6
C/C++
3,265
103
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
26290686ec0740b8359fd9fbe57c5afc25711f61225d6131cdf162741c5a197b
C/C++
3,269
84
#pragma once #include <list> #include "LightSource.h" #include "Shader/Rand.h" namespace rayx { struct PsiAndStokes { glm::dvec4 stokes; double psi; }; RAYX_API double get_factorCriticalEnergy(); RAYX_API double get_factorElectronEnergy(); RAYX_API double get_factorOmega(); RAYX_API RAYX_FN_ACC double dipo...
24128639fa032b7b4b8984b2378cecd09504bd0a3be350ab12349e9b3a3c6531
C/C++
3,293
90
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
6ebf6b8a03030b2d1e3031998d104d834ea133d4ebedc9812f1c4a43391bbf8b
C/C++
3,303
67
#pragma once #include <cstdint> #include "Throw.h" namespace rayx { // TODO: doc this enum and all its members enum class EventType : uint32_t { Uninitialized = 0, Emitted = 1, HitElement = 2, FatalError = 3, Absorbed = 4, BeyondHorizon = 5, TooManyEvents = 6, }; RAYX_F...
cc2307d5341b714df8f5b34875a85171f8e2adad104ff577cf3f6d2d49364928
C/C++
3,304
86
#ifndef SAMPLE_MATCHING_H #define SAMPLE_MATCHING_H // BUG-003: Sample ID matching across input files // This module implements PLINK2-style sample matching by FID/IID // instead of assuming files are pre-aligned by row position. #include <string> #include <vector> #include <unordered_map> // Structure to hold FAM f...
35f1e4679851e81a7f1588dcedac7a3d2334e5a9b3f92a24090288fcdcc56d6f
C/C++
3,323
106
// *************************************************************************** // BamMultiReader_p.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 14 January 2013 (DB) // -----------------------...
50540b446e93516ac5378634505b613822dfe6abfa48817241c57b73a3d95007
C/C++
3,348
185
#ifndef VECTORFN_H #define VECTORFN_H #include <iostream> namespace vectorfn { template <class T> inline void init(vector<T> &t, T x) { for (int i = 0; i < t.size(); i++) t[i] = x; } template <class T> inline void add (vector<T> &t, T x) { for (int i = 0; i < t.size(); i++) t[i] += x; } template <class ...
33487033f2e9fca2f9da565dca17f80e7e930df3b2244353be1b20cb15b8ccd0
C/C++
3,351
93
/* Copyright 2010-2016, D. E. Shaw Research. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions, and the f...
869b637a743ece3048040444a605de1c8493b9f3140d4b35a2be0e8bb92d11fb
C/C++
3,359
95
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
dbae76bfdb8edd99dd1146561f8eac246a0835a67d2c528ef7f896e989858339
C/C++
3,362
98
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
ebd30d7d77336b324548af317122586aa756d0060fdefaf86cc58c66d0460e6c
C/C++
3,363
97
/* * Copyright (C) 2012 Regents of the University of Michigan * * 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 v...
76e37c22f0d125747c2a283023d65a61b49dda579085804221a61ea3d369cae3
C/C++
3,376
107
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
37b3953243526c4d99275fe1ad4a457b2d6cb9b686018ebbbee358c815c6c640
C/C++
3,380
88
/**************************************************************************** ** ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/RoadError.h#4 $$Change: 2079 $ ** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $ ** ************************************************...
3064de50ea39c821952af0dd55935ce1766fc420f9002767515ed06dc0344468
C/C++
3,393
119
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b6bb96b4ea55dc809006ce6ec788ac4055beef7adecea6c8deb37102f3e9baa3
C/C++
3,397
66
/* Bayesian Functional GWAS --- MCMC (bfGWAS:MCMC) Copyright (C) 2016 Jingjing Yang 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 yo...
4348672deea12498cca6c4f6aeb8c12b92a81616d7e3e147ad2b611cf8b30f11
C/C++
3,399
111
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
9c01a94b71f7cc705dce3653ca9c05516756b799670d2becf288ac8a3c14866d
C/C++
3,425
99
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
e45a8a9827ae396b0bf7c7773d46788b226b6a44252f18ada6dc728bc1f26c05
C/C++
3,439
153
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
fd0f1fc192fb82a73aff3cd55096e59dc552f7e54b1167f618a4e96a830da4ee
C/C++
3,444
126
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
c760a63c10f38c904bacac3fd546e496716c12eb0ef756b095a6084230b2f0cf
C/C++
3,473
86
/**************************************************************************** ** ** Copyright (c) 2009-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/QhullVertexSet.h#2 $$Change: 2066 $ ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $ ** *******************************************...
59bf6567b78510d612dcb2e1921374e7e6e1e8208806ed4aa01e5e1fa26a23e2
C/C++
3,484
112
/* Bayesian Functional GWAS with Summary Statistics --- MCMC (bfGWAS_SS:MCMC) Copyright (C) 2017 Jingjing Yang 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 th...
54fc72dddfb3230a6e2238a07f6311a8bb07a0ea3d20cce05eba18e3b8c88680
C/C++
3,488
119
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
34413b7793f7992be9f4c100ca67a309d67e7282c8f12a8fc9184a5e58a88624
C/C++
3,489
101
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b0a3671754286ade4ca963c832a7c1b582647f6a3583c3602decd48c18c48fae
C/C++
3,491
97
// *************************************************************************** // SamConstants.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 27 March 2012 (DB) // -----------------------------...
f096b36c862cc53545a38287bca8ff8785eb3159ad9314a75b0d4e30f65f35bf
C/C++
3,504
120
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
82caf0bde3ec121a73a63b8555de11741f70e6d5f2a117432205ff313b0c2ebf
C/C++
3,512
120
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d3b4d8c202c63d6ecab122e433ef53625a13c4c78f151fbb5fdc4d1a1abfbd38
C/C++
3,534
107
/* bam_tview.h -- tview subcommand. Copyright (C) 2008, 2013, 2019 Genome Research Ltd. Portions copyright (C) 2013 Pierre Lindenbaum, Institut du Thorax, INSERM U1087, Université de Nantes. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy o...
d5d79936de69665c2741908087b9a0c4158771d6d08fc6d8f06d66b3d5022b93
C/C++
3,551
78
/* Bayesian Functional GWAS --- MCMC (bfGWAS:MCMC) Copyright (C) 2016 Jingjing Yang 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 ...
5035de1437db9786d05a0125d3a27f81c229500fdf6807aeb6f49c7cc5e68217
C/C++
3,552
120
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
63a2c5f2135f775cd56c09568433bf7d5fd8bad6f967d85f1897468af18c781d
C/C++
3,572
118
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
90a9da0d27872ecd03fc8d69f77aa28806e558b47b6639d945df66926f92e7c1
C/C++
3,575
100
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
359602a0513fc5f0c15c6f41a77e71839e4a0181b099a11d6e21f6b596004030
C/C++
3,580
134
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
da86aa7d212fcc5fb42e30cc9122508ee27cd0ce97ebee832a0ebcb291dcf373
C/C++
3,590
77
/**************************************************************************** ** ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/RoadLogEvent.h#1 $$Change: 1981 $ ** $DateTime: 2015/09/28 20:26:32 $$Author: bbarber $ ** *********************************************...
f465bd83f5a59df182289726912f2f7916d8c423dd3b3b9ba24ccf5a79cb9fb2
C/C++
3,600
143
/* * Copyright (C) 2010 Regents of the University of Michigan * * 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 v...
515a767ff50f7bed53675bbb02326ac2fc63b2f91474e6315697765480e27b18
C/C++
3,625
121
// *************************************************************************** // BamReader_p.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 18 November 2012 (DB) // ---------------------------...
275d2479fa6ad431c84f999cef1c239e352d48449d65de97c24bad3c5bcc158d
C/C++
3,647
120
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
f699ee0999d83a169468c61023b99267f8434ba9a796811b697f8cb003b79af3
C/C++
3,650
135
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
95c58c80b965cf88b5a8c6f1f03a98b7addca01f9f11b67c15a64ef2ecda325c
C/C++
3,660
135
// *************************************************************************** // HttpHeader_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 13 January 2012 (DB) // ---------------------------...
07d41f32323fa62db47ad66375d8e84ca678650011b8c6ce2864a76101aef003
C/C++
3,661
106
/* * Copyright (C) 2011-2012 Regents of the University of Michigan, * Hyun Min Kang, Matthew Flickenger, Matthew Snyder, * and Goncalo Abecasis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
ae7234ac9b741f1a19ce658bb77bb56f1879a362aedab16c7ef48a52b706cecb
C/C++
3,678
132
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
3c49d6029750c33491154bbfab332777ff3732cd57c04312f4c68260d7396a91
C/C++
3,681
103
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
c50d8fa1408c91cc0a8d0425b5f1838704d20941aec3bb9b17cf3411a98e86d4
C/C++
3,681
98
/* * Copyright (C) 2010-2012 Regents of the University of Michigan * * 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 la...
4a3ce00e36afdc3833e9904409240040a73be2a2322277b936b591534f5938b8
C/C++
3,688
73
#include "Constants.h" #include "Efficiency.h" #include "Utils.h" namespace rayx { /** * @brief Calculates the transmission through a single thin film layer using Fresnel equations. * * This function computes the intensity transmission coefficient (T) for a plane wave incident on * a single dielectric or absorbin...
a0bb1d46d30edeaa57cf350cd67d4c791c866c114bd9ad643d993ca42bc6931c
C/C++
3,708
119
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...