StackOverflow Questions for Tag: vector

codev
codev

Reputation: 27

C++ function (Vectors) wrapped with Cython being around 4 times slower than equivalent Cython function (NumPy Arrays MemoryViews), with large arrays

Score: -1

Views: 155

Answers: 1

Read More
Rohith Mani Varma
Rohith Mani Varma

Reputation: 9

How to Generate Points Concentrated Near the Center of a Sphere in C++?

Score: -1

Views: 88

Answers: 0

Read More
sreysus
sreysus

Reputation: 121

"Interchanging" matrices and vectors: building a matrix from transformed unit vectors?

Score: 0

Views: 35

Answers: 0

Read More
LondonSquare
LondonSquare

Reputation: 31

How to compare elements of a vector against each other? C++

Score: 3

Views: 17645

Answers: 3

Read More
S.V
S.V

Reputation: 2783

Can std::vector::resize() change the vector's capacity, or cause memory reallocation, if resizing is always within the initial capacity?

Score: 4

Views: 93

Answers: 1

Read More
bsoundra
bsoundra

Reputation: 970

How to pass 2-D vector to a function in C++?

Score: 16

Views: 65763

Answers: 4

Read More
Capy Bara
Capy Bara

Reputation: 11

How can I reference a vector<Derived> with a span<Base>

Score: 0

Views: 47

Answers: 1

Read More
Daniel Schranz
Daniel Schranz

Reputation: 21

C++ iterate over iterator

Score: 0

Views: 16404

Answers: 3

Read More
Igor
Igor

Reputation: 6237

how do you insert the value in a sorted vector?

Score: 76

Views: 146606

Answers: 7

Read More
jcuenod
jcuenod

Reputation: 58355

QVector vs QList

Score: 90

Views: 67412

Answers: 6

Read More
Keaton
Keaton

Reputation: 1

Why can't I use any vector functions like push_back() or empty() on class vectors even though I included <vector> on my cpp file?

Score: -6

Views: 135

Answers: 0

Read More
Dung Nguyen
Dung Nguyen

Reputation: 3

Vector CANoe Test Real Some/IP Node fail

Score: 0

Views: 25

Answers: 0

Read More
Sam Blacker
Sam Blacker

Reputation: 1

Plane equations in python

Score: 0

Views: 31

Answers: 0

Read More
Atharva
Atharva

Reputation: 181

Injective vector-valued activation functions. Injective normalization?

Score: 0

Views: 9

Answers: 0

Read More
ThallyHo
ThallyHo

Reputation: 2833

Extract every nth element of a vector

Score: 163

Views: 158364

Answers: 7

Read More
asdfasdf
asdfasdf

Reputation: 804

How to print a type vector<tuple<string, int, int>> to screen c++?

Score: -3

Views: 5941

Answers: 3

Read More
Vincent
Vincent

Reputation: 508

Why does Qt's SimpleTreeModel example use std::vector<std::unique_ptr<>> instead of simple std::vector<>?

Score: 4

Views: 88

Answers: 1

Read More
Karol Śpila
Karol Śpila

Reputation: 11

QgsVectorLayerExporter with Geopackage file

Score: 0

Views: 14

Answers: 0

Read More
Trancot
Trancot

Reputation: 1577

Arrays vs Vectors: Introductory Similarities and Differences

Score: 141

Views: 229282

Answers: 3

Read More
Anselmo GPP
Anselmo GPP

Reputation: 451

Create a pointer to an element in a vector<vector<bool>>

Score: 3

Views: 1350

Answers: 1

Read More
PreviousPage 1Next