Karim Belabas on Sat, 11 Mar 2023 16:33:46 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Determine the mirror reflection relationship between the coordinates of two sets of pairs of points in n-dimension space.
|
- To: Hongyi Zhao <hongyi.zhao@gmail.com>
- Subject: Re: Determine the mirror reflection relationship between the coordinates of two sets of pairs of points in n-dimension space.
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Sat, 11 Mar 2023 16:32:08 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1678548722; c=relaxed/relaxed; bh=iH51MrmRqfwnUtQzpIu6P8I2LBcaY1A1kS5pLZHXtTw=; h=DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To; b=4Kzd28wJnhnJmCqLogyuL+gRqwJbOmTAaB8hRViqirPr6n7rSTt5OmAbJ5TtedEQXimn4Trp765Y7syVwM4uWUJZM9N/4/os4p0JT61sWi4Z2JzkYshCbeiWr5N1hFHl/tgd1gwYysHbWmFOwV/NcaVsADKn3HhNYfqP86k+j9GAVvegdd+VUOksJmSby5+rVyf0n026kiTnCTliwzSlBGti5q/WWivvjb4Y8quPlPF7nHfWL8jvu3FwHhVNgSaFrEn26BCqGW/JxOKqd4MMoOph+rvYLm83MfUcus1IHRkeBH4hB54mzWBNrWD8Kdp4ts4/mwm3iEzMz90cUD2MAvJ26eEUmYZH6eKM9NFb/eF6lSZi47ZswlgvekEddKbV9EsVJUG2jXtB/YWPFANWDT+7oMI1JeW4DqHM+vp6uOosLYup3g9L6fELfiH1ck4vbAvRy/LzXBOZmmRWdSqdbQajjY/jXE1SdXNCZX4L/QHPcXggf3OmGSY/Qr1OYQz/aCi3mtHUflBxCSqJ3I20evMdYMbHJqyd3d5C42/H/Lo8HCznB6MkA2zq8JgPoNAC871VEJ2otcBH45G1ekPXKn4ExBvqS6QZrhzmfM3jbGVQmly7qUUqrR8cOe9ZofenENVfUpTVmuMJGjqFell+2NwnbOvAOR8hETveymFPiY8=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1678548722; cv=none; b=1/tXjNXxpStK2iGJB0Iud+YUAiEt6Nz6Ff1NX4bsHf3OQr+7cgcEHgaymyl+XY60FAHAWUxoOTKWYsJhfBPuWyDUR5DOuErE2cA27a0g5Cm8mFzmIJt2f62RsejG4cMn5GxbXSE5U3aW9zZS3ai1IolUDpQ7Wf652Tg8fKHWvYYk/YSPMQDmhlanETeLxco5gnyi8Am8SahDCBj16OOr0Cbc6wW9XM6KUxOozbkGK1D0Y1YhVQDdUjJi+RHIqE1LebDMzHkU8ej59xa0+H1NBFUtqZ29bu/KsU5WsGf1119sf+HRacxOagd+25n4KPtP3cAKdYpFkVPdNQ9FUJXvJ57DEDOWO6TacBFC2KIsDvHu/t/6ODAKaQH/PuHQ6vHJkq9TL/0hW31ay6rWfbrwIJIiUuIlBQ0IzKkezGu/U9o2NUmPruWpGKcnQ0F6KnU4HJmMyOg0TcfMiHFwvmcDezO88vYc3J4fSsADcljrRry48ln5EDTI4vf3bXgKP0YnaaI1n9Hk10EQKNepTzU0ZiylteQ8UuARS4N8OgJIZGgVJXWxxRkyLr74Inq7pbUR2YIlAQPAFSv8aQd/Yl42fh+7oey43WRkpwDfZoJfb6fUcJ0MLin5sK9yamDXEhPUb3X/G1IxdFf24Gdppv8JSfr6OPn8Ank3e3FBLP4VVBs=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Cc: pari-users@pari.math.u-bordeaux.fr
- Delivery-date: Sat, 11 Mar 2023 16:33:46 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1678548722; bh=iH51MrmRqfwnUtQzpIu6P8I2LBcaY1A1kS5pLZHXtTw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UCoBZWX7ivycyKtPIUP3GrhzSZ7LN8/KZjwZjXhDleJhiDfcLgyLxCNNr3JKkt1b+ I20VIVmph92Q3wYa9OkhVwIxMM8211fb0nDTxsFQDeLx1UML3yDODy76/dASSYWczX I5qKwkClNr/I1Fg4SMurB5xgM8+JvitNkdzBzXfyuYlDaD6s0II0ZoEmNNs4k7BnRP 1wJ6lts0+4wNOrx7aTawMN0fVayAir5so4VoJ2xjrwLOFd9alqg4Ydqg6FD6g8ldRX OZsn7A12k+J2RJ5RLU2e8xeIYTkU6sE8eXDcbMx8jdiovRn764V206e2CZ7E6hsJ+G 2DhH3JgALj4ILHZYuQYwivur8sE+1pBJGmKBxEYvZ79CkUqKKG44pmrmaJ4sRxYsf2 A7IR4KHLJZXZbebiFApjHO6Aa+kWkeFGShWxPK7fuc2fMClwjM4jts1qbKm+lI7gQU DZOUX587F5knk76dwvd35WASiTUoPRbor63MuPcgBdH9Ea5WYULFu9zzx3ECPpFI6D OwxDuBvT7u55IRKZMr+EhzB09IdNo3+WYISC22432oVscunsiXtm7Rx5e+SwhcNWR4 w+ENc2pdGZHNKYgkVzB8swVwwRDB5tuM7DRFSYzNQ9E9p5Ju/XULd57aRxlv3OKWrR 9Jw36Wi7C/jfZFdtgo9Y8kNU=
- In-reply-to: <CAGP6PO+=oDi7sN5M5hxmYNVQkofWcLfgSOQQKao8PMLJWpgZ9g@mail.gmail.com>
- Mail-followup-to: Hongyi Zhao <hongyi.zhao@gmail.com>, pari-users@pari.math.u-bordeaux.fr
- References: <CAGP6PO+=oDi7sN5M5hxmYNVQkofWcLfgSOQQKao8PMLJWpgZ9g@mail.gmail.com>
Hi,
Not sure what you mean by "mirror reflection transformation". If it's
an ordinary reflection s = s_H with respect to some hyperplane H then,
let v be a unit vector orthogonal to H, we have s(x) = x - 2 <x,v> v.
So s(x) - x should be proportional to a constant vector v, which is not
the case when you check the rows of A - B; for instance when you
renormalize
C = A - B;
for (i=1,#C[,1], C[i,] /= C[i,1])
the matrix C should have all its rows (roughly) equal.
(Since you write that your points are in 8-dimensional space and your
matrices are 7 x 8, I gather that you wrote the point coordinates as
rows, which is not the standard PARI convention. Anyway, considering
columns doesn't work either on you example.)
If you meant something else, please be more specific.
Cheers,
K.B.
* Hongyi Zhao [2023-03-11 08:53]:
> Hi here,
>
> I've the following two sets of point pairs in a given dimensional of
> space, aka, 8 here, as follows:
>
> ? A=[-1.12014, -3.17998, -18.2911, 20.1524, -6.94559, -21.8148,
> 0.975253, 7.95121; 12.8475, -6.00645, 19.3356, 19.7475, -6.17003,
> -2.66469, 24.6888, 5.86053; -16.7258, -22.5862, 20.591, 9.54292,
> 18.5927, 21.9645, 20.892, 0.0563033; -17.2971, 5.16334, -16.3141,
> 5.35391, -10.307, -13.6297, 23.5236, 24.192; -11.0926, 6.0634,
> 19.4003, 21.6093, -1.37237, -21.7654, 4.35257, -3.1105; 11.2137,
> -20.5612, -3.41736, 19.6006, -1.13627, -6.21613, 11.5885, 15.2543;
> -13.4837, 8.02265, -11.4049, 23.3052, -19.5653, 3.19629, -10.814,
> -17.1669];
> ? B=[-19.6192, -19.8916, 21.9217, 9.26674, 22.0351, 19.6121, 19.8591,
> 1.64306; 1.39387, -5.56517, 13.6578, 22.8011, -16.2283, -11.6133,
> 8.81048, -9.95819; -0.18953, 6.13486, 25.3313, 18.5031, 9.34097,
> -13.2645, 20.0343, 13.0102; -3.4197, -6.93323, 3.31249, 18.2038,
> 16.274, -18.1138, 6.36411, 23.2793; -3.91626, -0.57597, -17.0051,
> 19.8855, -3.61887, -24.0882, -0.0230154, 9.48462; -24.6641, 18.4349,
> -6.2631, 22.238, -6.2633, -5.89393, -14.8056, -11.0355; -12.9205,
> 1.0875, -18.3268, 5.77166, -15.5141, -10.0714, 25.0861, 21.7919];
>
> I want to determine whether they are connetted by a mirror reflection
> transformation, and if so, identify such a transformation matrix
> connecting them.
>
> I wonder if PARI/GP can help to do the trick in this case. Any tips
> will be appreciated.
>
> Regards,
> Zhao
> --
> Assoc. Prof. Hongsheng Zhao <hongyi.zhao@gmail.com>
> Theory and Simulation of Materials
> Hebei Vocational University of Technology and Engineering
> No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
>
K.B.
--
Pr Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/
`