You can't do "for" loops at compile time, no.
The example below shows how you could easily make a table of constants, however have the calculation done at compile time. You said you want to vary x, so that is what is passed to FUNC, and the define then evaluates out to the function, applied for each x, in the table.
const float AccumMax = 3;
const float aFreq = 1.2;
const float lowA = 16;
const float samplingfrequency = 1000;
#define FUNC(x) AccumMax * ((pow( aFreq, x-21 ) * lowA)/samplingfrequency)
const float myTable [128] = {
FUNC(0),FUNC(1),FUNC(2),FUNC(3),FUNC(4),FUNC(5),FUNC(6),FUNC(7),
FUNC(8),FUNC(9),FUNC(10),FUNC(11),FUNC(12),FUNC(13),FUNC(14),FUNC(15),
FUNC(16),FUNC(17),FUNC(18),FUNC(19),FUNC(20),FUNC(21),FUNC(22),FUNC(23),
FUNC(24),FUNC(25),FUNC(26),FUNC(27),FUNC(28),FUNC(29),FUNC(30),FUNC(31),
FUNC(32),FUNC(33),FUNC(34),FUNC(35),FUNC(36),FUNC(37),FUNC(38),FUNC(39),
FUNC(40),FUNC(41),FUNC(42),FUNC(43),FUNC(44),FUNC(45),FUNC(46),FUNC(47),
FUNC(48),FUNC(49),FUNC(50),FUNC(51),FUNC(52),FUNC(53),FUNC(54),FUNC(55),
FUNC(56),FUNC(57),FUNC(58),FUNC(59),FUNC(60),FUNC(61),FUNC(62),FUNC(63),
FUNC(64),FUNC(65),FUNC(66),FUNC(67),FUNC(68),FUNC(69),FUNC(70),FUNC(71),
FUNC(72),FUNC(73),FUNC(74),FUNC(75),FUNC(76),FUNC(77),FUNC(78),FUNC(79),
FUNC(80),FUNC(81),FUNC(82),FUNC(83),FUNC(84),FUNC(85),FUNC(86),FUNC(87),
FUNC(88),FUNC(89),FUNC(90),FUNC(91),FUNC(92),FUNC(93),FUNC(94),FUNC(95),
FUNC(96),FUNC(97),FUNC(98),FUNC(99),FUNC(100),FUNC(101),FUNC(102),FUNC(103),
FUNC(104),FUNC(105),FUNC(106),FUNC(107),FUNC(108),FUNC(109),FUNC(110),FUNC(111),
FUNC(112),FUNC(113),FUNC(114),FUNC(115),FUNC(116),FUNC(117),FUNC(118),FUNC(119),
FUNC(120),FUNC(121),FUNC(122),FUNC(123),FUNC(124),FUNC(125),FUNC(126),FUNC(127),
};
void setup ()
{
Serial.begin (115200);
Serial.println ();
Serial.println ("Starting");
for (int i = 0; i < 128; i++)
Serial.println (myTable [i], 4);
} // end of setup
void loop () { }
It's not particularly verbose, and now you can change any of the parameters when you compile, and adjust according to the processor (with #ifdef etc.).
If you Google "c++ loops at compile time" you may find answers that use templates, but you may find them fiddly to get working. The code above should be perfectly adequate.