Question: I seem to have problem with installing LAPACK library to my Visual Studio 2015 (C++, Windows 10).

I have downloaded precompiled libraries from here: <https://icl.cs.utk.edu/lapack-for-windows/lapack/#libraries>

I have also written "liblapack.lib" and "libblas.lib" to **Project properties -> Linker -> Input -> Additional Dependencies** and written *C:\Documents\LAPACK* (which is where libraries are located) to **Project properties -> Linker -> General -> Additional Library Directories**. I still get error 

> 
> LNK1104 cannot open file 'liblapack.lib'
> 
> 
> 

Changing "liblapack.lib" to "LAPACK.lib" or "LAPACKd.lib" didn't work anyway
Any help please?

Answer: 
According to the docs, 12 is the limit. I don't think there is an easy way to change that. I think you just have to reduce the number of arguments e.g. by using some constants or passing functions as arguments:

instead of this function with 4 arguments:

```
gnuplot> f(a1,a2,a3,a4)=(a1*a2)/(a3*a4)
gnuplot> plot f(x,1,2,3)

```

you write the same function with 2 arguments:

```
gnuplot> b1(a1,a2)=a1*a2
gnuplot> b2(a3,a4)=a3*a4
gnuplot> f(b1,b2)=b1/b2
gnuplot> plot f(b1(x,1),b2(2,3))

```
If some arguments correspond to a column in a data file with a know column number, your function can use `column` to access them without passing them as parameters.

E.g., instead of

```
f(x,y,z,a)=x*y/z**a
plot for [a=1:2] "f.gdat" using 1:(f($1,$2,$3,a)) title "a=".a

```

you can do:

```
COL_X=1
COL_Y=2
COL_Z=3
f(a)=column(COL_X)*column(COL_Y)/column(COL_Z)**a
plot for [a=1:2] "f.gdat" using 1:(f(a)) title "a=".a

```