Questions tagged [definition]

A generic tag for topics providing definitions.

A generic tag for topics providing definitions.

1574 questions
0
votes
1 answer

qt creator version 5.3: quitting whole application if one mainwindow is closed

I am trying to use the QCloseEvent to close all my dialogs and quit the application when the main window closes. I have read the documentation and looked at many examples and this is what I've come up with so far: In my .h file: protected: void…
theChef613
  • 127
  • 1
  • 9
0
votes
2 answers

Relationship between initializtion and definition

Could you explain how does object definition bounds with the variable initialization, denoting initialization. #include int a = 5; //definition int main{ std::cout << a; } sec. 1.8/1: An object is created by a definition,[...] a is…
user2953119
0
votes
2 answers

Rename a persistent object within a definition (python)

Minimal Question: def smooth(indicator, aggregation, tick): storage.ZZZ = [] storage.ZZZZ = [] is the pertinent part of my definition, when I call that definition I'm using: MA_now_smooth = smooth(MA, IN, I)[-1] where MA is an input…
litepresence
  • 3,109
  • 1
  • 27
  • 35
0
votes
0 answers

The F12 of the python world

In Visual Studio the F12 key will define whatever method or library is highlighted. How do I see the definitions of python functions and libraries? (sorry if this newbie question) I am using IDLE on a Raspberry Pi.
John M
  • 14,338
  • 29
  • 91
  • 143
0
votes
2 answers

Confused about Enum Data Type Definition?

As I know I can define a new Enum DataFormat at the my project Class, Suppose, I don't do that, I can reference the DataFormat from the 3rd-Party DLL. Then I can use the Enum DataFormat from the metadata of 3rd-Party DLL too. What's the difference?…
Nano HE
  • 9,109
  • 31
  • 97
  • 137
0
votes
1 answer

WebSphere MQ 7.5.0. Command and definition mapping

Some IBM websphere commands match particular object definition atrribute names, how do I know which attribute belongs to which particular IBM websphere command? I want to map IBM WebSphere MQ 7.5.0 command to particular definition attribute. For…
Benas
  • 2,106
  • 2
  • 39
  • 66
0
votes
1 answer

Confused about using constructurs with istream parameters

I have a slight problem when trying to learn how to create constructors. I am currently learning c++ using the "C++ Primer" book and I've come to a point where I am told to create some constructors then change a code using these constructors. The…
Tim0n
  • 17
  • 7
0
votes
3 answers

Defining a label inside Controls.Add in C#

I wish to define a one time label while adding it to controls, whats the correct syntax of doing so? for example something like this: this.Controls.Add(new Label { .BorderStyle = label1.BorderStyle, .BackColor = label1.BackColor, .Text…
Tim
  • 165
  • 3
  • 9
0
votes
1 answer

Why is this r code not creating a vector?

I am trying to create a vector that will save the vector vprime for graphing later, but it wont't show up in my local environment (it is not writing the vector). Any ideas?? Thanks!! ###plot all three at once### space<-seq(length=100, from=0,…
Jake_Mill22
  • 39
  • 1
  • 7
0
votes
4 answers

What does int a mean

As specified into the standard int a belongs to the simple declaration. Actually simple-declaration: decl-specifier-seq_opt init-declarator-list_opt ; // attribute-specifier-seq decl-specifier-seq_opt init-declarator-list ; type-specifier: …
user2889159
0
votes
1 answer

Openerp rule definition

I would like to show records only for certain users what belong to group logged with same state of user_id. Also, if user is not supplier would show all records. This is the first part of the sentence, but i really don't know how to finish it.…
Capriatto
  • 947
  • 1
  • 8
  • 17
0
votes
2 answers

Definition of "fractional" in algorithms

What is the definition of the word "fractional" in algorithms? I have encountered the word in phrases like "fractional algorithm", "fractional node routing problem". I have also encountered the phrase "[...]designing a fractional algorithm and…
George Tseres
  • 498
  • 6
  • 19
0
votes
2 answers

use def in order to print a lot of values

I have a form like this a={'vladimirputin': {'milk': 2.87, 'parsley': 1.33, 'bread': 0.66}, 'barakobama': {'parsley': 0.76, 'sugar': 1.98, 'crisps': 1.09, 'potatoes': 2.67, 'cereal': 9.21}} and i want to transform like this milk ---- …
0
votes
1 answer

Shared global const variables in C, defined in mexFunction()

I want to have global variables which are const, but they should be defined in the mexFunction() function. This is because they should be set to some input values, which come from Matlab. (The mexFunction() is basically my main() function.) Is…
JaBe
  • 664
  • 1
  • 8
  • 27
0
votes
1 answer

Why is this Mathematica function definition returning an error?

I am trying to put in a rather large function into mathematica: (https://i.stack.imgur.com/pXLsT.png) I want to get it in so I can compute the global maxima, but I keep getting an error when I try and define the function. Does anyone know why this…