sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
11fd6b0328b65c4ad4b5c204d892a97a9083628a7e77dc47836c8e0c799f8da0 | C | 78,889 | 2,163 | /* deflate.c -- compress data using the deflation algorithm
* Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/*
* ALGORITHM
*
* The "deflation" process depends on being able to identify portions
* of the input text w... |
39839fc3a3eefe63d3579129aad8747f46e23cb53ca76f2d0a57209ed5d8d989 | C | 89,915 | 3,652 | /*
Copyright (c) 2012-2014 Genome Research Ltd.
Author: James Bonfield <jkb@sanger.ac.uk>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this l... |
d2a3a111f77506f37d6b30226b237e72747cd33bc3b19dc9015bf4b20cff0f73 | C | 96,823 | 2,967 | #include <zlib.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include "htslib/kstring.h"
#include "htslib/bgzf.h"
#include "htslib/vcf.h"
#include "htslib/tbx.h"
#include "htslib/hfile.h"
#include "htslib/khash.h"
KHASH_MAP_INIT_STR(vdict, bcf_... |
55ad9f3b3a8f0c139c6f29b842a28cabb8b2fbc11fef2dc7fbae6bbd3988ff69 | C | 102,644 | 4,355 | /*
* Copyright 1996-2006 Catherine Loader.
*/
#include "mex.h"
/*
* Copyright 1996-2006 Catherine Loader.
*/
#include "lfev.h"
extern void fitoptions();
static double hmin, gmin, sig2, pen, vr, tb;
static lfit *blf;
static design *bdes;
int procvbind(des,lf,v)
design *des;
lfit *lf;
int v;
{ double s0, s1, bi;
... |
472dd24d05bc9487b599fb85afef65f29c49a3cb410b8b41f265b91b32dd3deb | C | 117,640 | 4,940 | /*
* Copyright 1996-2006 Catherine Loader.
*/
#include "mex.h"
/*
* Copyright 1996-2006 Catherine Loader.
*/
/*
* Integration for hazard rate estimation. The functions in this
* file are used to evaluate
* sum int_0^{Ti} W_i(t,x) A()A()' exp( P() ) dt
* for hazard rate models.
*
* These routines... |
02b13ea8204812839d04d4bccb83f4c6662e47943892752ca32901fd28032f3b | C | 200,000 | 4,214 | /* miniz.c v1.15 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
See "unlicense" statement at the end of this file.
Rich Geldreich <richgel99@gmail.com>, last updated Oct. 13, 2013
Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf.or... |
1d604e33b2e05e06cb993bf5ed6b34072879c797e9acfd48a91fa34026813657 | C | 200,000 | 4,150 | /* miniz.c v1.15 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
See "unlicense" statement at the end of this file.
Rich Geldreich <richgel99@gmail.com>, last updated Oct. 13, 2013
Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf... |
1ffdd65f2001a24a6f5fb4b898f1c5561f3b24deeba4b611d5772b78a6243c43 | C | 200,000 | 4,429 | /* Generated by Cython 3.0.11 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"/home/ukrowj/.cache/pypoetry/virtualenvs/chromas-QkHA5Klm-py3.12/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h",
"/home/ukrowj/.cache/pypoetry/virtualenvs/chromas-QkHA5Klm... |
46bf5879c225ca8b97b2b2a1289c5503672ce529f9f1059b033faa8a2c262956 | C | 200,000 | 7,834 | #ifndef lint
static char sccsid[] = "%W% R.W. Cox %E%";
#endif
/************************************************************************/
/** Functions to compute cumulative distributions and their inverses **/
/** for the NIfTI-1 statistical types. Much of this code is taken **/
/** from other sources. In... |
55300756d1ab01e2392cd9ba31f6fd2ff6632d41ff80fc0679e641bf867fe9fd | C | 200,000 | 5,593 | /*
This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at
http://creativecommons.org/licenses/publicdomain. Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu
* Version 2.8.4 Wed May 27 09:56:23 2009 Do... |
96a750851ee707644a34c24d7879fdd66086bd16c58b0bfdaa03b2ec16a1b8e8 | C | 200,000 | 4,327 | /**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this s... |
b1f2e52f3e4cc7b110a830352224190a308efd1ab69ad3508adaf66646759045 | C | 200,000 | 4,763 | /*************************************************************************************
*
* MATLAB (R) is a trademark of The Mathworks (R) Corporation
*
* Filename: mtimesx_RealTimesReal.c
* Programmer: James Tursa
* Version: 1.41
* Date: February 23, 2011
* Copyright: (c) 2009, 2010, 20... |
4fc738b01a403b7926dfbf424181e346ce39bb57923ad07e0c9355e5ae454ae2 | C++ | 21 | 1 | #include "bgmg_log.h" |
1730bb46cfaa47be3cb94cd9d5b462acaf6b9598211a4e5d744e663c49294309 | C++ | 37 | 1 | cout << MatrixXi::Zero(2,3) << endl;
|
88b930e50fd2497f5c477ee251e72a3baa3d9b31f5725cc80ac398869e70d926 | C++ | 37 | 1 | cout << MatrixXi::Ones(2,3) << endl;
|
9a64eca980a16f4c48660fd67334727f6aa8aa1f26f5657f5823a478c5cb8dcf | C++ | 37 | 1 | cout << VectorXi::Random(2) << endl;
|
7acd6bc9cf9021ac4c837de8c6371c23988123a91da3cdfc73831e0ebaf1a8a3 | C++ | 39 | 2 | Array3d v(1,2,3);
cout << v-5 << endl;
|
80655d08b6605b189c2e862dc74b824c4bbcfcbb48ff88d5d803b131eaa7ea53 | C++ | 39 | 1 | cout << MatrixXi::Random(2,3) << endl;
|
977767010186c59265943792c37e556c2ec4c1cea1f1f9805ab6bd3bd57d6541 | C++ | 39 | 2 | Array3d v(1,2,3);
cout << v+5 << endl;
|
ca755404dfe9e490be4c46177bc101a817a6d38e18aa95194e59e27b63d035f1 | C++ | 42 | 1 | cout << 100 * Matrix2i::Random() << endl;
|
ec19991c5c19ce643e4ae2bc177e6567ad7721ded702b1df0a21bd6d214e271a | C++ | 42 | 1 | cout << MatrixXd::Identity(4, 3) << endl;
|
1158b6a9d84f9729b3cd498e0d8ef9f803f4c044ef8a04af9cefcc4f0fffb0a7 | C++ | 43 | 2 | Array3d v(1,2,3);
cout << v.log() << endl;
|
47d964e41591a14113809fea93a117a70c264383382c284331b8bedee237826a | C++ | 43 | 2 | Array3d v(1,2,3);
cout << v.exp() << endl;
|
0ced13142549dc40881075f63891a55c1b2799b1f85abf6c2a81565d5313650b | C++ | 44 | 2 | Array3d v(1,2,4);
cout << v.sqrt() << endl;
|
edde0009243db0d3c3972a41065fee9aa80b430b449ccb49eff4a668e862fe1e | C++ | 44 | 2 | Array3d v(2,3,4);
cout << v.cube() << endl;
|
0fe0d4bd8016948020774146b9f8628c9010c8e898064578da975560f71a6344 | C++ | 45 | 3 | VectorXf v;
v.setZero(3);
cout << v << endl;
|
4a705fcef883e11d67389037c592df02d532b49264384a88e773db52e54f8c0f | C++ | 45 | 2 | Array3d v(1,-2,-3);
cout << v.abs() << endl;
|
77cf2c20bfc9d8f308291fa496f4d6f55432e3038ddee9a73cfc9dfd8fca0e29 | C++ | 45 | 3 | Array3d v(1,2,3);
v -= 5;
cout << v << endl;
|
b18a870d55654d51a1c56c952e7d0c9281e63211e269771cb24bb3c7e5b45e44 | C++ | 45 | 3 | VectorXf v;
v.setOnes(3);
cout << v << endl;
|
dd329858d4eaf31e42db8e915accba516605f10701d6fcfa56c5c9621797c84a | C++ | 45 | 3 | Array3d v(1,2,3);
v += 5;
cout << v << endl;
|
5543cf8fd71353cc947494e0a6c7dd23ccd8693e1b08796134f52e52405c1258 | C++ | 46 | 1 | cout << Vector3i(2,5,6).asDiagonal() << endl;
|
8017671ca9d0ea33a99e1dcbf7d65722f97d245ddf044d4e156ffeb40d8f28f7 | C++ | 46 | 2 | Array3d v(1,-2,-3);
cout << v.abs2() << endl;
|
8319534d7cdfb74d46f11774358e3f2e880977070b151d9d2248dfb5f39e8890 | C++ | 46 | 2 | Array3d v(2,3,4);
cout << v.square() << endl;
|
c734c885a809af004d87a69fcd764dd6db108ea21c1b48ddbda9868150d8b45a | C++ | 47 | 2 | #define test_FFTW test_FFT
#include "FFTW.cpp"
|
d9af0655a75ade60679b9fb13756fba29f4efe9bbefb3c7d22c3c496a8c413f4 | C++ | 47 | 2 | Array3d v(2,3,4);
cout << v.inverse() << endl;
|
ee66943ced3b1a2c662efe33b5df8cbff79c301712b0bc16f301743d807f6ba0 | C++ | 47 | 3 | VectorXf v;
v.setRandom(3);
cout << v << endl;
|
0cca5c5456b9222b4aaf8b5692eac4c480e0e96cee915c46107c7437cfbdb772 | C++ | 48 | 3 | MatrixXf m;
m.setOnes(3, 3);
cout << m << endl;
|
22940b89f6b7254a4edbf1ede5af2a0245cdc24c9265a6ab54665b72e41dde5b | C++ | 48 | 3 | MatrixXf m;
m.setZero(3, 3);
cout << m << endl;
|
4781114a9016e1115803e7989b34c2ee33762ff5c8418ec20774cce254a34911 | C++ | 48 | 2 | Vector3d v(1,2,3);
cout << v.cwise()+5 << endl;
|
925c22b88dea24487323988874ca90f71590c88f4f204c5819c8b5e97b41d6ca | C++ | 48 | 2 | Vector3d v(1,2,3);
cout << v.cwise()-5 << endl;
|
c7e0714f58a5ed8188f77699434198d9421030a81a494008854d8b7d57f01526 | C++ | 49 | 2 | Array3d v(2,3,4), w(4,2,3);
cout << v/w << endl;
|
182c10fa7e76ef0c4ccbe016a78a25ab94372a7764e90dce1c89888bc14e4b1e | C++ | 50 | 2 | Vector3d v(1,2,4);
cout << v.cwiseSqrt() << endl;
|
5baf3a5e3641b4406a9b3db011c0571cbc208caf630b95b63343bdc659a04d29 | C++ | 50 | 1 | cout << Matrix<double, 3, 4>::Identity() << endl;
|
6bb1f4b657cc8426acf0786919171a5e2e5ba8245664ce5947705c4df239cfe5 | C++ | 50 | 3 | MatrixXf m;
m.setRandom(3, 3);
cout << m << endl;
|
8bd5e4e20d8ba7f11a0264850878e5185d00a11e49a91e401d66cf72458035e6 | C++ | 51 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v>w) << endl;
|
bbdeb36853c518a3bbe82b4145825e7787b6788f7ece7c69ceff99427a4f227e | C++ | 51 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v<w) << endl;
|
16dcbc8deec548a0980d7962e21dc2d39e6794b276eae81d2d4c2dfc6af28080 | C++ | 52 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v<=w) << endl;
|
36d3385822f8c8e97e77d4913ccb69c7554ac1fa7e9996b34553e4a59d01d789 | C++ | 52 | 2 | Vector3d v(1,2,3);
cout << v.cwise().log() << endl;
|
44d02956903e7e978f7e3263169e0ef9ff134db790459165ad4f485ea55f4c7c | C++ | 52 | 2 | Vector3d v(1,2,3);
cout << v.cwise().exp() << endl;
|
4e1249a87fcd08aea4cb65a9b1c6b2279581bc703c6bb782e1e883b3267cd690 | C++ | 52 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v==w) << endl;
|
728d5b09d625d3deaf4b63fc8c097d67cbe4b96e903cdedc142207874d79af54 | C++ | 52 | 3 | MatrixXf m;
m.setIdentity(3, 3);
cout << m << endl;
|
78dda3080113b6630a1733d9497228dd8ce503de95a8600a2c84bde545680256 | C++ | 52 | 3 | VectorXf v;
v.setConstant(3, 5);
cout << v << endl;
|
c8252b29188e536866c2402bee3214e12567e3c2556c3da28411a55d6c544ed7 | C++ | 52 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v>=w) << endl;
|
fc17bf97fb8ba8a1794045ab412a8efb88fceb7fe5e6bda6c73746709cc4ff5a | C++ | 52 | 2 | Array3d v(1,2,3), w(3,2,1);
cout << (v!=w) << endl;
|
1c9046f6c5675bfd36d0aa99a509b640289d0be108d009a14d112801f3204373 | C++ | 53 | 2 | Array3d v(8,27,64);
cout << v.pow(0.333333) << endl;
|
aa83ff6835b946beae84c7661072d1ef262c24f537766ba0ca79b567a29e8b95 | C++ | 53 | 2 | Vector3d v(2,3,4);
cout << v.cwise().cube() << endl;
|
b6f186db2a58ea225d66c83d9ddb45b5ecb9e2aef0cbc70dd5c162ad95b7b475 | C++ | 53 | 2 | Vector3d v(1,2,4);
cout << v.cwise().sqrt() << endl;
|
011aa7dd2c3988d3e203aa67d17b50c159db9f29ccd420bc06136b4a2fcab1b6 | C++ | 54 | 2 | Vector3d v(1,-2,-3);
cout << v.cwise().abs() << endl;
|
1a459c411ccc42e7a02f3d500a433970d2dab66fc031fc9b0329505085d85fb4 | C++ | 54 | 2 | Array3d v(2,3,4), w(4,2,3);
cout << v.min(w) << endl;
|
8b053d618c9380b3526b360b8debf3665236dc0ff4df5e616824ac27be06fbfe | C++ | 54 | 3 | Vector3d v(1,2,3);
v.cwise() -= 5;
cout << v << endl;
|
ab88ff9f160574c85e8b3199fcafeb713e33315378029c3731ae4d25854adc06 | C++ | 54 | 2 | Array3d v(2,3,4), w(4,2,3);
cout << v.max(w) << endl;
|
ce4eabcb2789754ffe7ca3df00980acaba77e1c6765193879a7770dbf937c772 | C++ | 54 | 3 | Vector3d v(1,2,3);
v.cwise() += 5;
cout << v << endl;
|
0242cdb1be896e9337e8391c5f2fd962b5c7efa6b35ff2d002e5ba8adf09ea66 | C++ | 55 | 2 | Array3d v(0, sqrt(2.)/2, 1);
cout << v.acos() << endl;
|
79345bb653f5140d5bfddc80f0c2d965d0c63eb5523b976c2c99216229bb1859 | C++ | 55 | 3 | MatrixXf m;
m.setConstant(3, 3, 5);
cout << m << endl;
|
a4b326b5770327f2e387ada112e34935d3142a19898ce83a28cb9d9d783811e5 | C++ | 55 | 3 | Array3d v(1,2,3), w(2,3,0);
v *= w;
cout << v << endl;
|
a666b130180796b0d43bde9adf98018e89b398ab6d7806c5e9728aee45665b23 | C++ | 55 | 3 | Array3d v(3,2,4), w(5,4,2);
v /= w;
cout << v << endl;
|
b85bd9c9de9655e59f3156c4d599cff45bf7f7f9ae6fd430a9f7a05225f26648 | C++ | 55 | 2 | Vector3d v(1,-2,-3);
cout << v.cwise().abs2() << endl;
|
bae161690124d3853f1c5a0ede7564a3f52f1209e0697ed94e42730e69fb4a2f | C++ | 55 | 2 | Vector3d v(2,3,4);
cout << v.cwise().square() << endl;
|
114954687b920472e0069825e3f186d1c97e0ea05fed4212907a7c2b9235a2df | C++ | 56 | 2 | Vector3d v(2,3,4);
cout << v.cwise().inverse() << endl;
|
e0180ff47c29bc15219a038672f8f24e7734b0d1e93a9966d09400826dcd2c48 | C++ | 56 | 1 | cout << Matrix3i(Vector3i(2,5,6).asDiagonal()) << endl;
|
72fc0688f0b6521339afde2959e5ce754b2e3c3ba3919cc395ecb7f83ce02570 | C++ | 58 | 2 | Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.cos() << endl;
|
789837a8546c89aa071abc0a170c649626887f51b6e110f7dcd924687eab8265 | C++ | 58 | 2 | Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.tan() << endl;
|
7c998afdab2e20ffc5a8a89e8fae5028caf0b8c5e4947d936b810fa7d5d6799f | C++ | 58 | 2 | Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.sin() << endl;
|
87394be36522ba42dab97e7da91167b7ac60aac59a43f87dd2533be1626f6294 | C++ | 58 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwise()/w << endl;
|
833443ae8c6616982ed2f187855df8851266e1da81cd62ecd24a1dc9e13f9b44 | C++ | 60 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseMin(w) << endl;
|
bdbf4bee098c0b5ff09b6b73c1c214682f01133e70d217cd861a08d513d37204 | C++ | 60 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseMax(w) << endl;
|
d9cd8c76e22df85d9ef28f3b5f069b926771019a67514dd223c4a12a9fd81eb1 | C++ | 60 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()>w) << endl;
|
faf9981611e7c0f46b561eeed0821882bb014e5caeff748d11136fb5ae1f1be4 | C++ | 60 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()<w) << endl;
|
001c4fa72915ade2ecef101b908fd886a713c6018fb1e2964974c6550bb561ca | C++ | 61 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()!=w) << endl;
|
5a6b5756555f418a0d7ccf5bbd39058fa9daa8a1ad62c8569664a31bbc2cea01 | C++ | 61 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()>=w) << endl;
|
707fb82c5ce09a9e31e8e980538694e8171a25666bc948199b4332d7840cd14b | C++ | 61 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()==w) << endl;
|
f2588fc5ee4ab2c2db3e7804086d3a86b901ccd26a8db3a58cba0ae19393f102 | C++ | 61 | 2 | Vector3d v(1,2,3), w(3,2,1);
cout << (v.cwise()<=w) << endl;
|
bf5952728a97b2ad8544e3289508f9b86f8d3c76b3de2c1dee6dd45fb1e5b4c5 | C++ | 62 | 2 | Vector3d v(8,27,64);
cout << v.cwise().pow(0.333333) << endl;
|
762333e4314910ab16faff8949424ec3aee9b8b235451e6b48099f4285cd18a9 | C++ | 63 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwise().max(w) << endl;
|
8e029d52ce8a090576c6d01d35fd6a9791b70c79f6f30661bc5705b4be9505ad | C++ | 63 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwise().min(w) << endl;
|
98f6e92145f4edb4da624cfd2bf91e1f6c42d5478114461cd6939a5fe24bce05 | C++ | 63 | 7 | #include "tests.h"
int main()
{
Test::RunAll();
return 0;
}
|
48c5edc56c54c1a38822e57ae70ef9a03cba2041013530241a7000a6717c1d03 | C++ | 64 | 2 | Array3d v(-1,2,1), w(-3,2,3);
cout << ((v<w) && (v<0)) << endl;
|
7f73f8ac1d6e472634a971e3326f0fe9a6380f2554dbacdc5217245ffaf64869 | C++ | 64 | 2 | Array3d v(-1,2,1), w(-3,2,3);
cout << ((v<w) || (v<0)) << endl;
|
44787a22b4b8dbf6fd7e354b2908d1ce30cf6dec68275dc8c4f51efcef58f39f | C++ | 65 | 5 | Matrix3f m;
m << 1, 2, 3,
4, 5, 6,
7, 8, 9;
cout << m;
|
79cf09acc6db2cfecb90759836acce7b41ec1dafa36d97d1209e5f165697cc4c | C++ | 65 | 2 | Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseQuotient(w) << endl;
|
d5c8d6f0f7c73f9b84b881664166621f1ce154a560cceb3d9b58377dd6544fe0 | C++ | 67 | 2 | Vector3d v(M_PI, M_PI/2, M_PI/3);
cout << v.cwise().sin() << endl;
|
fd86b2a27627201c0cf47be2b4669a045e5d113746ccad7ffdccbc63addda8b7 | C++ | 67 | 2 | Vector3d v(M_PI, M_PI/2, M_PI/3);
cout << v.cwise().cos() << endl;
|
05c27b6d2aa133e7e7e699a275521fac7f89df6b8668d10eb26e47046d763bbd | C++ | 70 | 4 | Vector3d v(1,2,3);
v.array() += 3;
v.array() -= 2;
cout << v << endl;
|
3d166c6d25c65a578435e8fd8de30dbe1bbc31b4fa1f4467e2966a7624375fdd | C++ | 70 | 5 | Matrix3f m;
m << 1, 2, 3,
4, 5, 6,
7, 8, 9;
std::cout << m;
|
b84a2d76c76ef0bf93e59250cf7bc588fad259fc8ec0336b89f0c5688b297bc2 | C++ | 70 | 4 | Vector3d v(1,2,3);
v.cwise() += 3;
v.cwise() -= 2;
cout << v << endl;
|
1cfdf5de548f01910643f867ca14725ce82f98c3bc12d789cbb3b35e03a84203 | C++ | 71 | 2 | cout << Matrix2d::Zero() << endl;
cout << RowVector4i::Zero() << endl;
|
ba77b76048e4d8b22c656b37c6cfcd543cbe431dc157ba93d136e9d20f3b344e | C++ | 71 | 5 | #include <boost/array.hpp>
int main() {
boost::array<int,5> a{};
} |
0776fa4edf0cd33bbf4b5976d132578edf9d092ed8af5d275b3eb3ad069ffcbd | C++ | 72 | 3 | Matrix4i m = Matrix4i::Random();
m.row(1).setOnes();
cout << m << endl;
|
27100b7784ee0aac9b8f48acc392d12eba880a969d62aa7b6b3fb7f28f7a105e | C++ | 72 | 3 | VectorXf v;
v.setLinSpaced(5,0.5f,1.5f).transpose();
cout << v << endl;
|
81d5707be1ad4e8b0d1f29d71d0662f5d7b42e6d281d41af60aea4378e4424e8 | C++ | 72 | 3 | Matrix4i m = Matrix4i::Zero();
m.col(1).setRandom();
cout << m << endl;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.