sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
e808426dd7f04360ee27caf18a3593f04d6ed3c0a6fb67c2f0cf3627574c3157
C/C++
2,794
102
/** @file mathLib.h */ #ifdef __cplusplus extern "C" { #endif #ifndef MATHLIB_INCLUDED #define MATHLIB_INCLUDED #ifndef PI #define PI 3.14159265358979323846264338327950288 #endif #ifndef MAX_RECORD #define MAX_RECORD 256 #endif static const double ZeroValue = 0; static const int BoolTrue = 1; stat...
b6f284d7b19ff79c936c41a3e57a012cfca52d8c4c42e2c653d66a32e404b33f
C/C++
2,798
95
/** * (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...
35879b102ceb03a5fb917f4262c234caf539b7205702e96d5b75200158ea649f
C/C++
2,806
63
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
b65feaea6688776f2921d9529c7e471dcc1823df8482a545346202d0f4f91fcd
C/C++
2,806
67
/*************************************************************************************************** * 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...
d6d853cbe9a02d1d480a6178d027b737ace89d0fed174d4827ad54a57aab4c1b
C/C++
2,813
76
/* * ----------------------------------------------------------------- * $Revision: 1.6 $ * $Date: 2010/12/15 22:45:17 $ * ----------------------------------------------------------------- * Programmer(s): Aaron Collier and Radu Serban @ LLNL * ----------------------------------------------------------------- *...
c0edad6c5d5ec25f3c03ab238879d2808ddc8242fbc886d6a48673647f751b8f
C/C++
2,815
96
/* 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...
f0ce6040af6f5023b0e9d62863841ea7dea8826d1f66138557ff6bfbdc411395
C/C++
2,815
96
/* 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...
e9c437283b5850dfba2afb5171ea11cb8b0c27bf304dec34002db5ba95cea1ec
C/C++
2,819
104
/* * GDdensities.h * * Copyright (C) 2008, Simon H. Rasmussen, 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 * t...
c9d0f7ef90d4493a9c204d43bead8d9cb0ac331cd9b06667289e58e09c123586
C/C++
2,830
131
/*============================================================================ MetaIO Copyright 2000-2010 Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without ev...
78d6090181bce1679da42bd3e662d1baaa160ea8718c7e3be0b7ac52ee1c6ddf
C/C++
2,834
104
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef K4AIMAGESIZES_H #define K4AIMAGESIZES_H #include <exception> #include <utility> #include <k4a/k4a.hpp> namespace viewer { // Gets the dimensions of the color images that the color camera will produce for a // gi...
d5eb6d9de794ce29a2e35837533ee9648cea2211bfa5fcea4ce2efa94068559f
C/C++
2,835
83
// 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...
84fd54f650698a299659bedc0142c52d5d080584c23d1f904034ff6b66594df2
C/C++
2,840
104
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef K4AIMAGESIZES_H #define K4AIMAGESIZES_H #include <exception> #include <utility> #include <k4a/k4a.hpp> namespace k4aviewer { // Gets the dimensions of the color images that the color camera will produce for a //...
b1973de042c1ce3833148c7adc4dcb5ee02bf983485893ce3369a121244301e0
C/C++
2,842
69
/* * ----------------------------------------------------------------- * $Revision: 1.7 $ * $Date: 2010/12/01 22:15:15 $ * ----------------------------------------------------------------- * Programmer(s): Alan C. Hindmarsh and Radu Serban @ LLNL * ----------------------------------------------------------------...
574361c38c755a89219d2224cf3ae06f09367aac7b8d26a13f7e33f404ecf341
C/C++
2,846
74
// MLEestimate.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...
77dd6bddb8442a02b971e6dc1f58d6aefaae107ba3237dc88da2c1d671f811dd
C/C++
2,849
81
/*********************************************************************** * 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...
098e3bf72a49b0a2be45013531de5da7314072f691537d43dc15c1175315491c
C/C++
2,876
111
#pragma once #include<iostream> #include <fstream> #include "gmp.h" #include "paillier.h" #include <string> #include <iostream> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <limits.h> #include <vector> #include <stdio.h> #include <string.h> #include <sstream> #include <sys/stat.h> #include <sys/t...
a5b75a4ab1b8f08960b8312c2e334e748c46edae2616311c0f88542d80f79f05
C/C++
2,877
120
#ifndef SIMBIO_GBE_MATERIALDB_H #define SIMBIO_GBE_MATERIALDB_H /* © Copyright 2003, C&C Research Laboratories, NEC Europe Ltd. This file is part of SimBio-Vgrid. SimBio-Vgrid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by...
399598af9bfec2dfd43030404d4ccf86747831cc59ac18a82ba8bb76336232ef
C/C++
2,881
112
/* * bippo.h * * Copyright (C) 2008, Thomas Hamelryck, 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 S...
832e3f0340aa142f388a94cf919176f63c9de3d161d45bd670245f9d026c13cc
C/C++
2,892
60
/** * * @file error.h * ***************************************************************** * ...
a8530d5438be2e822cf4ce57c60308b95a9f15b6f95afe356567fb307e3959e5
C/C++
2,897
68
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
734cbf877aca50bc2d3a6ba6d349e828dba3eddd032c575b8a818c8ec1a15ef3
C/C++
2,898
91
/*********************************************************************** * 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. * * THE BSD LICENSE * * Redistribution an...
d867027acb93c9cd4491855f9f0e0c112f3c773f7cb032fa2563f76364167536
C/C++
2,898
98
/* * bippodensities.h * * Copyright (C) 2009, Thomas Hamelryck, 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 * ...
fe5b9d79a3cc46c7313ec20a2eec53f66173c86c0f9aa9c554b15ed7b7f0658a
C/C++
2,905
81
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Public // License version 3 as published by the Fr...
2c51fc3db013beb551e77a34ac5ec3610a86d3f66050fe1ec89ef0a6de6f231c
C/C++
2,906
91
/** * (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...
bffbcb6566cf8d536f98fedc238296b0491e3df6aeae360ac280b13530a924fb
C/C++
2,912
70
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
d48ffa0a04e99b20d330af1f645edd928aaead0e70ff31caa1ed36667ef229de
C/C++
2,916
87
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * All rights reserved. * * * * T...
ad922be1756458bdf11deeaf30df2f15c9412215014bb68ff9f562919f3c9ec3
C/C++
2,925
118
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "rng.h" #include "rpu_pulsed_meta_parameter.h" #include <memory> namespace RPU { template <typename T> class DenseBitLineMaker { public: explicit D...
71d7753f0f70bf307a38186143d45ad59a41aaa2746260a4d3132a2338ba257e
C/C++
2,930
72
// Copyright (c) 2013-2015 by Anders Steen Christensen, Lars Andersen Bratholm // 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...
974176c523e48a0e0bbd0110cb58eb2098c752013f26df61b31c8825f5e3ec71
C/C++
2,930
61
/*************************************************************************************************** * 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 are me...
03137d163bc5707aa5341b11fc415610f66865c7fd6ef4d320925a9a4f0a5129
C/C++
2,939
70
/*************************************************************************************************** * 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...
24278d7b2c3fb58263dcb37271a6f1f62da2dc55b660ff1d18ddc1b14b884160
C/C++
2,944
87
/** * (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...
5452e9d4805db65de57e9ae067c52fbc860b3973a130d20b6454de3a4d6c8154
C/C++
2,952
59
/*************************************************************************************************** * 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...
ef08eada6f05c168fd6f0966e581afd89dd800cbd9453cf8a81b66f7177491cd
C/C++
2,959
84
/* * ----------------------------------------------------------------- * $Revision: 1.4 $ * $Date: 2008/04/18 19:42:38 $ * ----------------------------------------------------------------- * Programmer: Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 2006, ...
25578698b7743f44ebe566cf5f5adcf8b80eaf7224625f7c16aae16f7267c3e2
C/C++
2,964
105
/* * sampleinfengine.h * * Copyright (C) 2009, Jes Frellsen, 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...
f975567aecdb08599fe0be7fe5b934eb14047f91d8a1832610600693958138b4
C/C++
2,964
110
/* * GDMdensities.h * * Copyright (C) 2010, Simon H. Rasmussen, 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 * ...
42a9b68e41f459df788477900571ba0015661a7228955e7794735da967e8ba37
C/C++
2,969
59
/*========================================================================= * * 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...
84481e5a8446152439ce30f15a819d05932a0dd3732f14a9fb4b732994bb4b2e
C/C++
2,970
74
/*! \file bwCommon.h * * You have no reason to use these functions. They may change without warning because there's no reason for them to be used outside of libBigWig's internals. * * These are structures and functions from a variety of files that are used across files internally but don't need to be see by libBigW...
a827abe05b4303e08ad6d9081f1059b7152b7f6c243ad0b806f88ed21b9bcb19
C/C++
2,984
158
/*============================================================================ MetaIO Copyright 2000-2010 Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without ev...
864fe4d515ab723ab0774aa2a3bfb816ead0f8576c545e46f50d95472ed70601
C/C++
2,986
106
/* * multinomialdensities.h * * Copyright (C) 2008, Thomas Hamelryck, 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 b...
a7d988a2583d5d1750928c256c8796366c0fb27fa377ab7f99ee871b986dffb3
C/C++
2,992
93
// ErrorFunction.h // Copyright (c) 2011 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 it...
3864cbb2c9f76ba6093f5123417c5db5d42319dcebd363a2aabb8a80a7ca7218
C/C++
3,004
92
#pragma once #include "cutlass/cutlass.h" #include "cutlass/conv/convolution.h" #include "cutlass/conv/conv2d_problem_size.h" #include "cutlass/conv/conv3d_problem_size.h" #include "cutlass/layout/tensor.h" #include "cutlass/layout/matrix.h" #include "cutlass/tensor_ref.h" namespace cutlass { namespace e...
3c8ffcda42480d51989d1bc6550b6d4851b3751d45171177aa5d318ef2fa9588
C/C++
3,005
102
/* * discretedensities.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 * ...
ddd4950a6bf22844d587fdc12b494a695a49bd5cc63b4ec358646d0c0234615d
C/C++
3,014
86
/* * ----------------------------------------------------------------- * $Revision: 1.3 $ * $Date: 2006/11/29 00:05:06 $ * ----------------------------------------------------------------- * Programmer: Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 2006, ...
69ded516f494d9325a3c5946635cb17159fd6c32c3aff179fe1285485b47d70e
C/C++
3,015
115
/* * infenginemcmc.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 ...
f5a6aac038f029e172d0be3144a029f4e3cf6ab33b83d1d580ee5c12d000f22f
C/C++
3,021
88
/* * ----------------------------------------------------------------- * $Revision: 1.4 $ * $Date: 2007/03/22 18:05:50 $ * ----------------------------------------------------------------- * Programmer(s): Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 200...
074e2ffb252ad6fdd1477b973e3ed6bd99c0f223263ec3525f43a6c39f16ab99
C/C++
3,032
58
/*************************************************************************************************** * 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...
2d6a7c51fd0b9aea222caf73ab312ffc63c5f511c8659ab0651423c6560b7bcf
C/C++
3,035
90
// 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...
8fa9da0c3dd16e49a973f0d8071812dba4b17a47bdb6e95ace9e93351c49b172
C/C++
3,036
136
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef PERFCOUNTER_H #define PERFCOUNTER_H // System headers // #include <algorithm> #include <array> #include <chrono> #include <map> #include <mutex> #include <numeric> #include <ratio> // Library headers // #include "...
e914372bdc6f9f08554eaaf681feb3f731cce72ed60e6505b713d04cd06ac188
C/C++
3,037
72
/*************************************************************************************************** * 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...
735d6688e2e72ca19eda5afd60402a8027015f2f656e11586efe55517b8afa6a
C/C++
3,039
92
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "rng.h" #include "rpu_pulsed_device.h" #include <memory> namespace RPU { template <typename T> class ExpStepRPUDevice; BUILD_PULSED_DEVICE_META_PARAM...
bc199558c81575d655645080072d4f3482b7f73643599c354da593b624ff7a18
C/C++
3,049
111
/* * vonmises2ddensities.h * * Copyright (C) 2008, Wouter Boomsma, 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 * th...
8e769f5cb68ea84ab4a9d21635034270ea4243b159d9fb20af0c136bcbf21f4d
C/C++
3,052
59
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
cc4705ddab06903ab26e31c1cb141dde71341c5ff9ecac2e7e93fba3694e5540
C/C++
3,054
107
/* * DirichletDensities.h * * Copyright (C) 2010, Peter Kerpedjiev, 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 ...
45ca0e49b6e6af602a48cb0dde685c9b455ab46174ee8b929e7176dcb69aebc0
C/C++
3,060
160
#ifndef _COLOR_H #define _COLOR_H #ifdef ENABLE_QT #include <QColor> #include <cmath> class HSL { public: static QColor compute(float h, float s, float l, float alpha = 1.0) { float c = (1.0-std::abs(2.0*l-1.0))*s; float x = c*(1.0-std::abs(std::fmod(h/60.0, 2.0)-1.0)); float m = l-c/2.0; uint8_t cn = sta...
848c42859f69150faaa8d57fc0ad1d8491735742f4d3ee598314a4154eada79b
C/C++
3,061
87
/* * ----------------------------------------------------------------- * $Revision: 1.4 $ * $Date: 2007/03/22 18:05:50 $ * ----------------------------------------------------------------- * Programmer(s): Aaron Collier and Radu Serban @ LLNL * ----------------------------------------------------------------- *...
8b63f2f5be61dcaa92423fb49d73a5eca08f8bb1f7d91119cccc1dbc55a712c4
C/C++
3,063
98
/* * GDdensity.h * * Copyright (C) 2010, Simon H. Rasmussen, 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...
a49eb809f8268beb56605e55f5595f84394a55830c174604cbc4defa5d7f674a
C/C++
3,065
110
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /** * Private header file for the command and streaming interface */ #pragma once //************************ Includes ***************************** #include <inttypes.h> #include <stdbool.h> // This library #include <k4...
b4652a1a816d6d8517e8f4fd91be6257e1f8a0cd49e2f00a88f5a5e07758a726
C/C++
3,065
125
#ifndef _SCTL_STACKTRACE_H_ #define _SCTL_STACKTRACE_H_ #include <unistd.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <execinfo.h> #include <cxxabi.h> #ifdef __APPLE__ #include <mach-o/dyld.h> #endif namespace SCTL_NAMESPACE { inline void print_stacktrace(FILE* out = stderr, int skip = 1) {...
f980d5b5730af242b2cb8184d939c2fac16e21d9b1e90236296b5ea4c9682148
C/C++
3,070
91
// 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...
5883612b80b0769767551957f7df0e8204d6f861083b65a665d6d07a8866ee05
C/C++
3,073
100
/* Copyright (C) 2006 Pedro Felzenszwalb This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed i...
b1ded4284d545dad4bbe4b5808a44327066952a4d4202441a7d8d5d3f1e98c8c
C/C++
3,077
76
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms o...
b704d13f1e6477561d5c772d63f858f3c4d2ab10301b8f0b6314a65d5031ebd2
C/C++
3,078
99
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms o...
4b393579cea0a588578fbb2007082034a77e053f651529d3424c21e445affec8
C/C++
3,085
88
/* * ----------------------------------------------------------------- * $Revision: 1.4 $ * $Date: 2007/03/22 18:05:50 $ * ----------------------------------------------------------------- * Programmer(s): Aaron Collier and Radu Serban @ LLNL * ----------------------------------------------------------------- *...
049fc7e090b2a02f1718934a08d12af1a77ee609f13817a66f2cfd78656ecc78
C/C++
3,086
65
// LinearPolatedInvK.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 hop...
eb0c43a8bd91258c4e1e74d49ec25f4c5d271b46db6559fe89c63d8f0632d9cf
C/C++
3,096
63
/*************************************************************************************************** * 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...
bd7ef6c2c549f57cb99d762f2c95f9559c224b9921fb033bc1e8b9f15fa590f6
C/C++
3,111
73
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
fd277de7dc42c65d44eff437440e90a3b279a6fd2c9435081c780accd4f5d606
C/C++
3,116
158
/*============================================================================ MetaIO Copyright 2000-2010 Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without ev...
4275126d2d8267155eddaeade3b9c30bfb0bbb51f608ac5b33faf27883941dec
C/C++
3,122
108
/** \file IMU.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure SDK. */ #ifndef IMU_H #define IMU_H #include <k4a/k4atypes.h> #include <k4ainternal/handle.h> #include <k4ainternal/color_mcu.h> #include <k4ainternal/calibration.h> #include <azure_c_s...
6313215015afa6f40ca2881b231295480e86b3f72e951b18fc03792c46032cbe
C/C++
3,124
77
/*************************************************************************************************** * 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...
6505782451a9532094268a366f86841fca3d8150a9ee40f29146bae6f427b2c6
C/C++
3,131
97
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "cuda_util.h" #include "maximizer.h" #include "rpu_pulsed_meta_parameter.h" namespace RPU { struct CustomNSum { template <typename T> __device__ __f...
78d078ff9e60d28ee55bbfaf3863e8c70a3e07e32c2c89a0a9706a61b6f8a878
C/C++
3,132
88
/** * (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...
135dc984a20fc9ef0e05f29aa2a1ead5cd3dd2c0275540aabdb946daed268d9c
C/C++
3,144
88
/** * (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...
495e5428e826aa625f95dd27bfc17201033a24fcdaf640aa49916975feb7141b
C/C++
3,145
73
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Vincent Lejeune // Copyright (C) 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 //...
8478a1f207e770e5904545c85fbafe133a2019f5b193815fbc8cd78c1675de5b
C/C++
3,150
79
/** * * @file global.h * ***************************************************************** * ...
a1e3ffbdad797687456ac0f0dcf4bf6148b378a2d1c88049760519addbffa0f4
C/C++
3,151
103
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2010 Daniel Lowengrub <lowdanie@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Le...
57f58c1eefa1c98b2feee83365dc540d4947d3077543e889df0fe1ec006737d6
C/C++
3,152
89
/** * (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...
0b48125a2b0c5fc08e54780a347b58826044ff7723bdf27f27b08d6c3522fdd5
C/C++
3,153
73
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
9ea981a0bc2a9bb929edbf45e6348cdd66aabe4cb13ee7de2a4f1ecc021deaa7
C/C++
3,154
90
/** * (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...
cae3308a250cad6af16a1cebd2c4da4b9a62464fac71e35ffb15faced508516b
C/C++
3,155
66
// LinearPolatedInvKP.h // Copyright (c) 2010-2012 Jes Frellsen, Jan B. Valentin // // 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 dist...
443f2fa2803eb0f801aefb5140f459a0e4554be7128034ec56e09ee025769752
C/C++
3,164
64
/* * 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 ...
78f850517b8f734867060a596ec4324452ce87f2e9ea578751dec3c20a1c6ade
C/C++
3,173
102
/* * GDMdensity.h * * Copyright (C) 2010, Simon H. Rasmussen, 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 * th...
66d0bd94c4dc992f71c68a63f7c5cbe2855fc31b64f3f4f15b1be766ab00b4d6
C/C++
3,175
62
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 by the...
c27882ea7abb364db95b7f585c359dab3eec64dd07c78ecebafa0bf6b0c01263
C/C++
3,189
103
/* * vonmisesdensities.h * * Copyright (C) 2008, Jes Frellsen, 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 Fr...
1a24d5fd89120dd1793066d56ad1c1156e64ac268a2f1b067cbc4d3d90a55fa5
C/C++
3,190
105
#ifndef SGRAPH_H #define SGRAPH_H /* * Compact and simple data structure for representing graphs. * * This format is intended to be: * - Compact, for loading even the largest KONECT networks into * memory * - Fast, i.e., can be accessed without complex algorithms or * endianness conversion * * A...
09253b55d714ffb7dd1348f548abfee21047a938398e90056949c3df695db84c
C/C++
3,193
107
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "rng.h" #include "rpu_pulsed_device.h" #include "utility_functions.h" namespace RPU { template <typename T> class SoftBoundsReferenceRPUDevice; BUILD...
4aff2e7b30c8184d3539e16e324f5d148ccf1465863c72c0840e1af81c9c4dc2
C/C++
3,194
64
/** \file global.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure SDK. */ #ifndef GLOBAL_H #define GLOBAL_H #ifdef __cplusplus extern "C" { #endif typedef void *k4a_init_once_t; #define K4A_INIT_ONCE ...
19137ea0cf87072aaef7fbe926741d3f993e57792d076a8a70c83c4f46b57109
C/C++
3,196
79
// CanonicalPropertiesFromStatisticsLog.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 dis...
4a814fe3fa7945fff4b04222e20d6f56df2bf47a20c26092a4cc617ae9e0d2d3
C/C++
3,197
126
/* * DensitiesBase.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 ...
88d96fcbbe1e1367457e062a42b81b95bbc1449bb6f90b9059de1249baab06ff
C/C++
3,211
108
/* wavelet/gsl_wavelet.h * * Copyright (C) 2004 Ivo Alxneit * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. ...
a6848a8aa89492e9b990cf379cfea1c52421a40999378d66bc54d87564a4df26
C/C++
3,217
86
// TArrayWhereTrueIterator.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 t...
885ef2feae3a6f7444b4a50d3975c94a4704e7b6586d60ccf40c418c319a853f
C/C++
3,222
69
// LinearPolatedMulticanonical.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 ...
e426f0727cf9cc2d8876a310822729c6f87f8bc5177ca0f83e90bfae41ccf490
C/C++
3,223
93
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the G...
c8587c2e2005575d748fac38688ba0906136818add7999dbf3b4ab72ff779094
C/C++
3,229
80
/* * ----------------------------------------------------------------- * $Revision: 1.3 $ * $Date: 2007/07/05 19:10:36 $ * ----------------------------------------------------------------- * Programmers: Alan Hindmarsh and Radu Serban @ LLNL * ----------------------------------------------------------------- * ...
b51eb32f17deb37870b740cbaa36ea9eb4809cd594986f18ac2bb4bb1c355dff
C/C++
3,231
86
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 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 Public // License version 3 as published by the Fr...
c3a5cf3b0dc3250e5df94f3b05e614f4c0084e9a30aa31b2a4947ede943bbf34
C/C++
3,233
126
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "math_util.h" #include <chrono> #include <cstdlib> #include <functional> #include <iostream> #include <memory> #include <random> #include <time.h> #ifd...
31b61551944e6d738c90e9cfa3f0b40bf7800c7f4d42ae61e679f4e1259b8266
C/C++
3,234
94
// 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...
fcc669a140029a392a132a1f378d91229e4f1cafafad103a27fda02e3e0a57bc
C/C++
3,237
132
/* * vonmises.h * * Copyright (C) 2008, Jes Frellsen, 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 So...
ccd1d2409c51e10b1df57785740063afee9bf15b2be6cf59fe9e10bad37aa36a
C/C++
3,238
80
/* * 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 ...
ba217f9b0d8c7615b467ffb7f860f4bc4225ef0c7bb368fd3589f0d214c77a96
C/C++
3,256
68
/*************************************************************************************************** * 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...
921900bd60e6fe95c6fa098ee048536e9cb6ebef11d597225f619ad13563ea20
C/C++
3,260
113
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef K4APOINTCLOUDVISUALIZER_H #define K4APOINTCLOUDVISUALIZER_H // System headers // #include <vector> // Library headers // #include <k4a/k4a.hpp> // Project headers // #include "gpudepthtopointcloudconverter.h" #in...