Questions tagged [lookup]

Look up is related to indexes and hash tables. It is the action of accessing fastly to an item in a large collection thanks to a index (a so-called lookup table).

In computer science, a lookup table is an array that replaces runtime computation with a simpler array indexing operation. The savings in terms of processing time can be significant, since retrieving a value from memory is often faster than undergoing an 'expensive' computation or input/output operation.

The tables may be precalculated and stored in static program storage, calculated (or "pre-fetched") as part of a program's initialization phase (memoization), or even stored in hardware in application-specific platforms. Lookup tables are also used extensively to validate input values by matching against a list of valid (or invalid) items in an array and, in some programming languages, may include pointer functions (or offsets to labels) to process the matching input.

3604 questions
1
vote
4 answers

SharePoint 2013 App: lookup field is empty

I created an app for SharePoint 2013 (HTML/JS). This app contains 2 lists: Leave Requests Leave Types "Leave Requests" list has a lookup field that gets the values from "Leave Types" list.
Richard H
  • 300
  • 7
  • 15
1
vote
0 answers

Is there a lookup function in R like vlookup in excel?

i want to know if there is a lookup() function in R package 'qdap'. I installed it and tried to use it, but throws up an error "could not find function "lookup". for(k in 1:nrow(mtmModFrame)){ mtmModFrame$mtm[k]<- lookup(uiqFrame$DATE[k],…
1
vote
1 answer

How can I speed up my program

I am running a look up and edit program. Right now I have a file with a unique identifier in the first column and data in the 10th and 11th column that needs to be corrected. This file has about 40-100M lines. The file with the correct…
jeffpkamp
  • 2,732
  • 2
  • 27
  • 51
1
vote
3 answers

crm2013 - how to filter a client lookup on a specific entity

i search a solution to add a specific filter on the new lookup quickfind. the problem is specific on the customerid lookup type, because this used the "client" types who included the account and contact on the same lookup (this is the new…
b3ni
  • 11
  • 1
  • 3
1
vote
1 answer

How to return ILookup directly (without using a Dictionary->ILookup converter)

(Converting a Dictionary to ILookup is not very nice: How do I convert a Dictionary to a Lookup? ) I want to have an interface for my container class with the following method: ILookup Query ( IEnumerable query ); Each…
D.R.
  • 20,268
  • 21
  • 102
  • 205
1
vote
1 answer

finding the closest match based on multiple criteria

Ive been working on VBA at work for almost a year and have managed to pull of some rather impressive things, normally I can find anything I'm not sure about with a series of searches on this site or others but this time I have come up blank, I guess…
Duke Rogers
  • 31
  • 1
  • 6
1
vote
2 answers

Rails_Admin lookup in list

I have this model "Schedule" with attributes :id, :augurid, #and so on. And I have another model "Augur" with attributes :id, :name, :email #and so on. Now I want to display augur.name in the Schedule page in Rails_Admin, and my code is like…
1
vote
2 answers

How do I specify that I want something to be present in Haskell

I have a guard and the condition is that lookup x list == something i.e. x is in the list. I tried: | lookup x list == _ = my code here But when loading the function I get a "pattern syntax in expression context" error?
James
  • 161
  • 1
  • 8
1
vote
1 answer

lookup table in matlab

I am trying to implement a kind of lookup table in MATLAB. I have data generated from a script with three variables swept, let's say var_a, var_b, var_c. These are nested sweep, (var_a -> var_b -> var_c) And there are 10 outputs, out_01, out02, ...,…
avlsi
  • 11
  • 1
  • 3
1
vote
4 answers

How to improve the following list-to-list look up in Python?

I have the following list_A: ['0', '1', '2', '3', '4', '5', '6', '7'] and this other list_B: ['2','6','7'] I would like to check this: For each element in "list_A", if it is one of the elements in "list_B" So: for 0 <-> are you one of these?…
mbilyanov
  • 2,315
  • 4
  • 29
  • 49
1
vote
1 answer

JBoss AS 7 Bean Lookup EJB

I know there are some similar questions here, but I still can not find a solution. I have two JBoss AS 7.0 servers running in the same machine, namely A and B. A, is the server and provides this service: 15:49:02,998 INFO …
X-Pippes
  • 1,170
  • 7
  • 25
1
vote
2 answers

Combining sumif statements, string searches, and possible lookups into single formula

I have an excel file with several sheets. One sheet, Program Data, contains all of the manual entries. A very basic approximation of this data looks like this: ID Type Route RevACT Aug 2013 RevBGT Aug 2014 ... 250 New CCS …
Kara
  • 135
  • 1
  • 3
  • 12
1
vote
2 answers

Displaying Matlab Function Summary in Lookup Query

I'm creating my own function in Matlab and I want to be able to display it like so below, when I type 'lookfor'. >> lookfor mean mean - Average or mean value. msfun_metronomean - METRONOMANIMATION S-function…
edwoollard
  • 12,245
  • 6
  • 43
  • 74
1
vote
1 answer

CFHostStartInfoResolution always fail ubunteros

I have found this nice piece of code to get a hostname from a IP Address. The problem is that it always fail both on simulator and on my 3GS. See below the code, the error is commented within: + (NSArray *)hostnamesForAddress:(NSString *)address { …
Kamax
  • 212
  • 2
  • 14
1
vote
1 answer

.NET data structure that allows for fixed keys and editable values.

So here my requirement: I want a data structure that has a list of strings and an integer value associated with each string. After initialization of this data structure I would like to be able to edit the integer values, but disallow the addition of…
Derek W
  • 9,708
  • 5
  • 58
  • 67
1 2 3
99
100