Questions tagged [lookup-tables]

A look-up table is an array or matrix of data that contains items that can be searched. Lookup tables may be arranged as key-value pairs, where the keys are the data items being searched (looked up) and the values are either the actual data or pointers to where the data are located.

A look - up table is an array or matrix of data that contains items that are searched. Lookup tables may be arranged as key-value pairs, where the keys are the data items being searched (looked up) and the values are either the actual data or pointers to where the data are located.

706 questions
-1
votes
1 answer

Which Excel formula should I use

I have two Excel sheets. I want to copy name and address into D and E columns of sheet 1 from sheet 2 if both sex and age match. sheet 1 has three columns; case_no, age and sex sheet 2 has; no, age, sex, Address and name How can I do this using…
user8328
  • 31
  • 5
-1
votes
1 answer

Accessing data within elements of a lookup table

I have the following array, which each element contains a information that corresponds to a start value, and end value and an id (i.e. start 5, end 10 and the id being apples). var fruits = [ [5, 10, apples], [11, 15, oranges] ]; for (var…
tba
  • 53
  • 6
-1
votes
2 answers

C++: How to create an array with id,string and named constant?

I often use const lookup tables in my code, which consists of an id and a string. But for readability it would be better to use symbol names (named constants) instead of the id. Example: class LookupTable { map m { {10,"red"},…
ThomasG
  • 3
  • 2
-1
votes
1 answer

MS Access: sort, select & lookup combo

This is a question about recommended approach and syntax. I have a sports-management program in which swimmers are grouped into teams of four, with a team pace. I need Access to determine the team pace for each team based on the slowest member of…
-1
votes
2 answers

Replacing colum with values from lookup table in R

I need to replace the values of a column model in ddata: > unique(ddata$model) [1] "GT-I9001" "iPhone5,2" "iPhone3,1" [4] "iPhone4,1" "GT-I9300" "Nexus 4" [7] "iPhone2,1" "VS840 4G" …
gozzilli
  • 6,931
  • 6
  • 49
  • 80
-1
votes
2 answers

Reading specific line in txt file with C

I am working with Mac OSX, programming in C and using bash in terminal. I am currently trying to make a lookup table for the gamma function. Calling gsl_sf_gamma I have been told is pretty expensive and a lookup table would be far faster. I did not…
Novice C
  • 1,094
  • 2
  • 10
  • 26
-1
votes
2 answers

How to optimze lookup table?

I am developing a TSQL query using SSMS 2008 R2 and I want to optimize this sproc that currently uses many left joins. There is a lookup table that contains one row / lookup value. So my TSQL code looks like this: Table A = main record table Table…
salvationishere
  • 3,141
  • 28
  • 97
  • 142
-2
votes
1 answer

Why LUT works wrong?

I have trouble that even neutral LUT change view not properly (totally green even black places). For example: [View without LUT] [View with neutral LUT] [Neutral LUT]. I tried to change color space, and image import settings. But without result. How…
Arficord
  • 1
  • 2
-2
votes
1 answer

how to locate a certain value within a table and extract row and column information?

Hello Stack Overflow Folks. While i'm working on my project, I encountered an excel question. if you see the chart attached above, the big table at the top is made of basically three information. first column having the value from 4~25 is the…
Soonk
  • 270
  • 1
  • 9
-2
votes
3 answers

Denormalize a table that uses lookup values?

I have two tables. Table 1 is a basic "contact" style table with various personal columns. One of the fields in Table 1 is a lookup column that references Table 2. I want to either create a new column or set an empty column in Table 1 with the…
Curtis White
  • 5,913
  • 12
  • 54
  • 79
-2
votes
2 answers

Lookup tables in C++

I have to implement small multimage graphic control, which in essence is an array of 9 images, shown one by one. The final goal is to act as minislider. Now, this graphic control is going to receive various integer ranges: from 5 to 25 or from 0 to…
garzanti
  • 2,112
  • 1
  • 22
  • 28
-2
votes
1 answer

Find LFSR polynomial and create lookup table in C++

I have this LFSR and I am unsure how to find the polynomial associated with it. I am trying to create a _static _flash look up table with uint8_t variables to save on computing cycles. Only problem, I'm not sure how to implement an LFSR in…
Hearny
  • 17
  • 2
-3
votes
1 answer

Creating a function of a variable in an object from a lookup table in Go

I'm new to Go, so this is probably simple but hours of tutorials have still left me unsure. I'm running a physics simulator that deals with magnetic nanoparticles. In this simulator (vinamax), you can define the magnetic field as a function of…
egen
  • 1
-3
votes
4 answers

How to write a multiplications table in Java?

I'm learning Java and one of the task I've been given is to code a multiplication table that show like this: 1 2 3 4 5 6 7 8 9 10 // 1 2 4 6 8 10 12 14 16 18 20 // 2 3 6 9 12 15 18 21 24 27 30 // 3 .... I'm working on it since 2…
Cheikh.S
  • 3
  • 4
-3
votes
2 answers

How to calculate sin inverse (arcsin) in VHDL?

I am using Altera De0 nano Soc FPGA, and Quartus 16.1 lite edition. After doing a search on internet, I found that to get sin, cos and atan Altera's CORDIC IP core can be used directly. And also found lookup table (LUT) can be used for sin or cos…
komto909
  • 165
  • 1
  • 8
1 2 3
47
48