sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
26e5a567ea3f568140d8b6ab547bf5f717bad193ca4cd9f02d60c75bf34d417b
C/C++
7,150
211
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. 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 ...
957c2db160999a6ac890c0cca8b54236b548837cd014df60560672c28267cfeb
C/C++
7,164
248
/* * DBN.h * * Copyright (C) 2008, Martin Paluszewski, The Bioinformatics Centre, University of Copenhagen. * * This file is part of Mocapy++. * * Mocapy++ is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Softw...
65c8cd4e0afadda49c8f469be560277f429b0f6ceb6d3f1388bf45e2c1e39da1
C/C++
7,173
198
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. 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 ...
b857c46b72f315ce9f63da880fb91dfe4eaaa9611d84217c340b57c3ce8c6c18
C/C++
7,189
254
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
b579a100baa4bcc24b08cc5dd087348006d33e5da0b0086a57d5076e1bb4533b
C/C++
7,190
181
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
da3fe82b9ba5f9f1819fdab47adc094dd7cecd8889b497dac333494c9aad294f
C/C++
7,192
166
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ed582c3960a75da658a8eab97fff0e089acf7bca3affed564bcf26d7582d5c67
C/C++
7,200
230
/* vector/gsl_vector_int.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Lice...
4730cced28549ea8f5f69dd30c1c38fd6ac3ca1fbe8c08c9772c7e6e043839ff
C/C++
7,216
200
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
75039b51c9c69ecaa751734782d6d8e3e54b2c85a6949e2bb8a681cbc6cd0f0c
C/C++
7,220
268
/* block.h */ /* Template classes Block and DBlock Implement adding and deleting items of the same type in blocks. If there there are many items then using Block or DBlock is more efficient than using 'new' and 'delete' both in terms of memory and time since (1) On some systems there is some minimum amount of me...
5403e6701d3660c1c0164ed72a3462f727baf62bb2baea6fbd10feabd63538ab
C/C++
7,228
153
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b477c419094210737cfd6d624ceefa8050cf2978df86c28f8b83e6dc9cf10374
C/C++
7,232
173
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
56c26a1cf38839617c86c9146eb71e07d1f58091df3058554b8f4c69dd4157e9
C/C++
7,234
227
/* vector/gsl_vector_char.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 Lic...
f86829960a604dc49e8e09cf2affc245c5b0f3748243c8e8b7a68e42f706415c
C/C++
7,234
227
/* vector/gsl_vector_long.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 Lic...
9a5519ff56165def4c579125999bf284887f297c9f9d9d0aab87b80c2b6e3811
C/C++
7,248
242
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
697c26914a2f46c751e98c62177ace6494de3a11cbaa6911c04c30557730c79f
C/C++
7,279
233
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published b...
a7afc4bf1e2b2a703e1947d2ccb1c036298697e0e28fc55bf75765538c439a50
C/C++
7,279
170
/*************************************************************************************************** * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met...
776beaea525dc323d59d498d67deef9713657e36073dd439a3d065f4abbfc963
C/C++
7,301
231
/*********************************************************************** * Software License Agreement (BSD License) * * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. * * Redistribution and use in source and bi...
0d9219793ef346a2f56ec6dd2c36aa4d9e922ec14b74e70b8f97345872608c65
C/C++
7,308
230
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
c3954b139b15c81c54114cf4635cd6f3f8d76b5a0b1de1d267696f064b6122ad
C/C++
7,314
152
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
a82df97161fdd209e58dc8cf2928c0fa9b6de1b80edb7472f31524f38f0c6a25
C/C++
7,319
261
/** \file types.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure Playback/Record type definitions. */ #ifndef K4ARECORD_TYPES_H #define K4ARECORD_TYPES_H #include <k4a/k4atypes.h> #ifdef __cplusplus extern "C" { #endif /** * \addtogroup Handles ...
dffd5f8c9c6555560b21f74c146ddc05c003cdacaa8ae2c3178b0c38ec66d8f7
C/C++
7,336
222
// git.h --- Gauss Integrals Tuned (GIT) library code // Original C-code by Peter Roegen, Copyright (C) 2011 // Please cite: // P. R{\o}gen, Evaluating protein structure descriptors and tuning Gauss integral // based descriptors: Journal of Physics Condensed Matter, vol: 17, pag...
70b49db03fd6382a90c96900e8dc91e6081fdc427d13d780f76a5d0460c30b99
C/C++
7,341
226
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
936cd74b680b46876332e5e775120cabd9767dd12cbee86d0574c4c9ff9f9e41
C/C++
7,346
230
/* vector/gsl_vector_long.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 Lic...
a9b8df9b6424d6a0844686f85d7f8bc3b5d558132e0982779d64c35e3213eac8
C/C++
7,346
230
/* vector/gsl_vector_char.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 Lic...
4d61d76f9785d4a5a20ba8c2f2d5ac51f75cebb4ffee61ba19b9b6e43c5ae527
C/C++
7,350
200
// Copyright 2017 The Ray Authors. // // 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 i...
c79f2836404a1860dc0492e92c4ac952f65cfd70ddc19f2cc69cf13743719507
C/C++
7,358
250
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef K4ACONVERTINGIMAGESOURCE_H #define K4ACONVERTINGIMAGESOURCE_H // System headers // #include <array> #include <chrono> #include <memory> #include <mutex> #include <thread> // Library headers // #include <k4a/k4a.hp...
9ee8145d02f315d86d81667403754dc607372d9d1de595c20ccc8b163f641e43
C/C++
7,368
194
/** \file calibration.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure SDK. */ #ifndef CALIBRATION_H #define CALIBRATION_H #include <k4a/k4atypes.h> #include <k4ainternal/depth_mcu.h> #include <k4ainternal/color_mcu.h> #include <stddef.h> #ifdef ...
16f36d2c7c8ddd0709e8692b56a5010c351020bb66a93dab218fd7a46d0d580b
C/C++
7,369
170
/* cdf/gsl_cdf.h * * Copyright (C) 2002 Jason H. Stover. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * ...
37e925d16ec80db1f6236bc144bbbe57ba2aa3ffa6f94bc276a75e79c2ead27f
C/C++
7,377
227
/* vector/gsl_vector_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
713c7d81d5f8e5cd91fc6a5c5be78f7dd167970f1c78b6f6ed97bd2876913b02
C/C++
7,377
227
/* vector/gsl_vector_short.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
406fc92f4a9dc3280129258ba0bc1522ab27c50f8c30091c0c74adb15e41bcbb
C/C++
7,389
212
/** \file matroska_common.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure Record SDK. */ #ifndef RECORD_COMMON_H #define RECORD_COMMON_H #include <k4arecord/types.h> #include <k4ainternal/handle.h> #include <list> #include <fstream> #include <memo...
3cb10488ff635c616b95f321ed64851c83f90a163d3f6926800496421eb34f56
C/C++
7,390
228
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
6914908d87a213dc9922c98f4eda5c991d8f14b9832499c1d6731579a5841c9f
C/C++
7,391
220
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
32a4b6727fdddc726b81a2bfed2197fbf7794ecc275b518496ac13b6fd7d8ca0
C/C++
7,394
227
/* vector/gsl_vector_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 Lic...
54dd22813829647d1ab7fda50257893c30d01b454e244beb45d767618caf6074
C/C++
7,398
235
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
caa628b0762ef3cf69622e9cde89e3917cf3e439b21a81b92bf47cfa88d7e8aa
C/C++
7,399
210
// TArrayMath.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope that ...
10bd6f1dff4413ab00c8cb765e93c25a7eb2c7337c3c6ac8ec5ebcc9d077ea8d
C/C++
7,405
152
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
1255e7d6b0b894657c6f7a7c26cc7125dd0eea6b760ae8b46722b9917416309c
C/C++
7,410
202
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0f56ecf4469113fc97e0ac849cabcda29cc40a26c616d990160dbd4228a5369b
C/C++
7,412
217
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
f313d59e3a9f8dabd92b60310580af368a2a29eb7b85825d82179f111a23649b
C/C++
7,419
204
/* multifit/gsl_multifit.h * * Copyright (C) 2000, 2007, 2010 Brian Gough * Copyright (C) 2013, 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 L...
c3abc4ca3e0f8fb399574d10e283a6872568682a8d8f7080b3ce9b7ee638825d
C/C++
7,420
189
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published b...
8ab48610792035d10748c68732c44860c0eaf86910983a2dc0348a4d0e4cabff
C/C++
7,427
168
/** * @file integrate.h * @author JR, modified by Yoginho * * @copyright Copyright (C) 1989-2003 John Reinitz, 2009-2013 Damjan Cicin-Sain, * Anton Crombach and Yogi Jaeger * * @brief Has problem-specific s...
e525d0f4bbd6f050eb82de79d2cae0e1dcc346d1c845785e928f26609acdbad8
C/C++
7,433
220
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
08cf5d06a082df178c844fcd5c58d145c5788a23d0342d82c49860869effd2d9
C/C++
7,437
176
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2006-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Publ...
f59c3b7f7472a330674a68122230b3b96f36b1d5a9758ceaef5a5098045fc2f9
C/C++
7,447
220
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Licens...
40b15f1d7eab0b9a266f818c647fe68d15f404fca4d45c7fbacf31e7b84d1abe
C/C++
7,453
191
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
5402f0b24d3f8662f05e5c10b72d2441bcda5f2121271475e2a669cb5603f972
C/C++
7,472
240
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
8da6c8d4e26b0b22aded0eee3988a8ea02a811a3030c6d6a52c219c7c8328412
C/C++
7,479
222
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
37ef0c228c29fcbe8cc4626416b563a9d0c9b6e76751b143446484f149291990
C/C++
7,480
189
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "bit_line_maker.h" #include "cuda_util.h" namespace RPU { template <typename T> class BitLineMaker; template <typename T> struct ChoppedWeightOutputPa...
9e517265bb2ee711d5eb320b02f4c0f8c07be635f35dce1fa0176f000b89a359
C/C++
7,489
193
/* MIT License Copyright (c) 2024 Anders Lansner, Naresh Ravichandran Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
737a5ce0822c0a47649a3cf0e0710e93a5968f498f1cdd4e494b5a80bd9d5566
C/C++
7,491
87
#ifndef MONOALG3D_MODEL_PACI_TORORD_DYNCL_PHICAL_IKCA_MIXED_APICOBASAL_INFARCTIONREMOD_RL_H #define MONOALG3D_MODEL_PACI_TORORD_DYNCL_PHICAL_IKCA_MIXED_APICOBASAL_INFARCTIONREMOD_RL_H #include "../model_common.h" #define NEQ 45 #define NEQ_PACI 22 #define INITIAL_V (-89.0f) #define INITIAL_V_PACI (-72.8355157...
497dbc70fda54a89c4f9d9845447e3bfce769a2791cd981abba8676a7b8541cc
C/C++
7,492
209
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
7c9e80da463b0a7a78e91c2bc108ed49d001c0b37b92d852332c7cc4eb389173
C/C++
7,492
230
/* vector/gsl_vector_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
facd64ef7881a0f82243a60da8ec57b2878cc03b56c51b5fd2d901ca7e639676
C/C++
7,492
230
/* vector/gsl_vector_short.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
25ae907a34812a4b77282c11304dede96157565a92fc0f260c01f1e202996b92
C/C++
7,506
230
/* vector/gsl_vector_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 Lic...
15289e570f1aea9047d5c3046b5c797a7acfa94aaa6a122a261b72820bd0826b
C/C++
7,521
94
#ifndef MONOALG3D_MODEL_TORORD_FKATP_MIXED_ENDO_MID_EPI_H #define MONOALG3D_MODEL_TORORD_FKATP_MIXED_ENDO_MID_EPI_H // TOMEK, Jakub et al. Development, calibration, and validation of a novel human ventricular myocyte model in health, disease, and drug block. // Elife, v. 8, p. e48890, 2019. #include "../model_commo...
59743c8b59a57408cab56d85195bad9552af9c37bcd9058eb5dc0a1bfd2faef8
C/C++
7,522
193
/* MIT License Copyright (c) 2024 Anders Lansner, Naresh Ravichandran Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
9c2ecf088d7ef0d88443b5b22774a9422a67edc1d9888e75e966225f7222afd2
C/C++
7,527
235
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. 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 ...
265053a7e7929fd23a54aad820530e8b300caac5ca6bdae5eebf532af773eb11
C/C++
7,530
207
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2fce1e29ab1cbcf701b4a886bb95b27b635c76b3664afa1d8b7a1d717942d94f
C/C++
7,537
227
/* vector/gsl_vector_uchar.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
deb068b639b0d35d297e1458bec280f61dbe9c29487a42806217001436be719b
C/C++
7,537
227
/* vector/gsl_vector_ulong.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
e2d6081eed7b667612f5d31e26034a5148f88942c6a79b5123743a025fa2079a
C/C++
7,539
189
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
6c547b122bfdb075c8522b144a416ab48d73c4e07631f298143927a84df11dde
C/C++
7,554
202
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ed2ff021f807172094cbeb0c06b3c4a0bdf0326bbcfd41a318baf3ee9411607a
C/C++
7,557
161
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
74090446177403fdaca67b63f39f602467b0c34430f130cfd7e97d1790a918d5
C/C++
7,560
99
/* statistics/gsl_statistics_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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...
e6dfb4a85a4c9b75f33d6d0e2acf8a7cf63872d86c00e7025f3d8d415b6c1fb2
C/C++
7,568
196
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
a1a0421857c7dffd90dcab738ffb92f3fef734d7fea24fd52a61c4a8d72edcf7
C/C++
7,580
187
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
5442ad9eb2484dd82c83c8b92ed1580fd83aafec9215cee6c42f8631037247f1
C/C++
7,628
189
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
6dfb2e2634e69bf2a22a73e5f12d377ae72618f1742666ed3a0b39a5474edec0
C/C++
7,633
296
// // Created by sachetto on 11/11/17. // #ifndef MONOALG3D_GUI_H #define MONOALG3D_GUI_H #include <omp.h> #include <sys/types.h> #include "../alg/grid/grid.h" #include "../alg/cell/cell.h" #include "../vtk_utils/vtk_unstructured_grid.h" #include "../3dparty/raylib/src/raylib.h" #include "../3dparty/raylib/src/rayma...
a993db50358d8f3b02aa5e855ed435f3af3b6ae628a5237d45b7e888fd06cdb1
C/C++
7,635
258
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
998c9a19203e3e9fa059c777f9e0c2603092e679932c988793bd38f995c2388b
C/C++
7,652
230
/* vector/gsl_vector_ulong.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
e12945e9fee4b214a5005b737c2df3aa3a178bcffb5bb85d5288d03a47582753
C/C++
7,652
230
/* vector/gsl_vector_uchar.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Li...
28ca0e065c477b6beea197ba132476e71ba291f7b3bdc6e0ded0a2e0b2444958
C/C++
7,680
227
/* vector/gsl_vector_ushort.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 L...
2a943dc1481e2f0519f815cb3cbe3391668adae007df445fbf641a75bf5f13a4
C/C++
7,681
215
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
6a49acc129cfe99744cb45de4957af9e53afac982c536b271bc275dd91c785e3
C/C++
7,698
222
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
1e29efed8d184f383d5f5c2b64eb7ccc55c12b5c8f440297a32972c7a95efcf3
C/C++
7,729
100
/* statistics/gsl_statistics_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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...
8694cd4f935884bd72b6afce307b1503885d0642bb161ae1d9f3d3399c1af5e2
C/C++
7,740
199
/* * ----------------------------------------------------------------- * $Revision: 1.2 $ * $Date: 2006/11/29 00:05:07 $ * ----------------------------------------------------------------- * Programmer(s): Peter Brown and Aaron Collier @ LLNL * ----------------------------------------------------------------- * ...
71969ce8fac1254a5e190963ddcf5a4f3d5b7f5ddb1dc1fa666b58e3e2d1a403
C/C++
7,748
293
/* specfunc/gsl_sf_gamma.h * * 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 3 of the License, or (at * your...
65a6f6bb9d16a06ae256bde43ad410338de25f40606449caab8d1ee72aef0f5f
C/C++
7,769
215
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
911e4fda111bc652eebdd472874e964b682b673704bb4e0f1672115243329585
C/C++
7,771
201
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0d5702cbac54dcf04d26c3eda016e3bf6b76e74be611ad0f403682e965af868d
C/C++
7,773
211
#include "utils.h" void hfmm3d_s_c_p_(double *eps, CPX *zk, int *nsource, double *source, CPX *charge, CPX *pot, int *ier); void hfmm3d_s_c_g_(double *eps, CPX *zk, int *nsource, double *source, CPX *charge, CPX *pot, CPX *grad, int *ier); void hfmm3d_s_d_p_(double *...
78f05d8049ce3aba38a389c50105277205f63673eb66249424c4103814f9becb
C/C++
7,774
246
// -*- C++ -*- // CLASSDOC OFF // --------------------------------------------------------------------------- // CLASSDOC ON // // This file is a part of the CLHEP - a Class Library for High Energy Physics. // // This software written by Nobu Katayama and Mike Smyth, Cornell University. // // DiagMatrix is a class for...
3ecfcb941d2404aafc7be0984f1b14b1df6c423bbff66ed2fedb6d02b17b3532
C/C++
7,779
242
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9f8a11b3bd4bea82cf495b662a09f6bbade7324707209d12a0735c9792715b81
C/C++
7,798
230
/* vector/gsl_vector_ushort.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 L...
59297f226bbb9ef00f7dca1e98ab506ad64534e71aa98ed8d6dce32cccde4dd2
C/C++
7,812
155
// IncreaseFactorScheme.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the ...
681c3e6a503e5412b2c521aa1888522f84e4e8f92145f0123340b0fb9595ffcb
C/C++
7,820
194
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
794bb4740cf2d7b67417b335362040fc870e4484306dadf309cdb8afdc0b9a1d
C/C++
7,851
471
#ifndef VECTOR_H #define VECTOR_H #include <iostream> #include <fstream> #define DIM 3 template <int D, typename T=double> class vector { public: T x[D]; public: vector(); vector(const T[D]); vector(const vector&); ~vector(); vector<D, T>& operator+=(const vector<D, T>&); vecto...
80a6a5f961a7195457ef62495d27c70768d5ace07072d3b7fa718d9b9e78d823
C/C++
7,854
315
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
99ae56a95a9d5d6347bdb6f6ec50653bf017c67b6b336f9b6dd05a7fd44759de
C/C++
7,865
187
/* * ----------------------------------------------------------------- * $Revision: 1.8 $ * $Date: 2010/12/01 22:17:18 $ * ----------------------------------------------------------------- * Programmer: Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 2006, T...
bedfdb845d90c3fa6c1a6e425321f1a2dcd95e78b941cf8e9ac56f33a1589422
C/C++
7,866
473
#ifndef VECTOR_H #define VECTOR_H #include <iostream> #include <fstream> #define DIM 2 template <int D, typename T=double> class vector { public: T x[D]; public: vector(); vector(const T[D]); vector(const vector&); ~vector(); vector<D, T>& operator+=(const vector<D, T>&); vecto...
c1665e3d1077e5515027f077fb63e3b318e5aba4bd1bf80cdca577756ffeaa7a
C/C++
7,878
188
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
78d97f8224363478761f6017e3c6abd58881befe6e3653b073d53a318552c575
C/C++
7,885
222
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
54d3553979aaef420c685b4131711756127cf3ac850e9e1a2d541fa951bd996b
C/C++
7,887
197
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
fbb23cd6fa2695a3de34c74ae33ace037bf858af1a2ebf995a1bca9b7f17c486
C/C++
7,892
352
#ifndef _TENSOR_H #define _TENSOR_H #include <vector> #include <algorithm> #include <stdexcept> #include <sstream> #include <numeric> #include "Debug.h" class Shape { public: Shape() : _dims(), _product() { _product.push_back(0); } Shape(const std::vector<size_t>& dims) : _dims(dims), _product() { for(size_...
50925f9496bafad7a38d5db8db1ec9306447a972014aba4169b0dc417e5f98af
C/C++
7,899
138
/** \file handle.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure SDK. */ #ifndef K4A_INTERNAL_HANDLE_H #define K4A_INTERNAL_HANDLE_H #include <k4ainternal/logging.h> #include <k4ainternal/common.h> #include <stdlib.h> #ifdef __cplusplus extern "C...
9b9e0d9d8f178dd53febd6ded8e6316035a35257a612049d6d2ba83cf4fdcefe
C/C++
7,901
208
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
f81ae25e5968816d5a23b5255a39195905f00fc34e39d9410d9791b7c128dd9c
C/C++
7,904
204
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9de9ae4c752f88301aa2991451b8de1d954db0efbbb4a98a698feeaa8f4b108a
C/C++
7,917
225
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published b...
38fe48afabe78f119a213819ff1042a81a5e2726d322e53c047739ffab4a2787
C/C++
7,943
254
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the...
c167604916d14e3225562070af47dd2e685622e4ec11c26c10ba240a7a0c8d59
C/C++
7,955
212
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...