usencrypt.conjugate#

usencrypt.conjugate(x)#

Returns the conjugate of \(x\).

Parameters

x (usencrypt.cipher.Float or float) – The input value.

Returns

The conjugate of x.

Return type

usencrypt.cipher.Float

Note

For real numbers, the conjugate is itself.

Warning

This function is currently not operational if called directly.

Examples
>>> import usencrypt as ue
>>> a = ue.encrypt(2.75)
>>> a_conjugate = ue.conjugate(a)
>>> a_conjugate
(0x7f845beec820) Float: 0x83a6b38f8e2a9deca2346c444b72145cedcf52fa63bd0a78cdcb1c2d8aa8eb8d
>>> ue.decrypt(a_conjugate)
2.75