i need some help with calculating distance from dimensions in hyperspace. i mean first i have to find out how to define , to set my object which, let say spans through n dimensions and then i would like to calculate distance from two such objects. so i would like to ask for help concerning literature and guidance through my problem. i now this is to abstract but i don't know enough to formulate my question in more specific manner.

thank you