I'm not sure if this is pure English, or just something I picked up as a direct translation from my native language (Dutch).
It applies to maths/computer terms.
An example usage would be:
X is created in function of Y.
Someone I know claims this is not English. He suggests I use
X is created with respect to Y.
instead. Please help me prove him wrong.