/**
 * This function takes in the real and imaginary parts of a complex number and returns a pair of the
 * complex conjugate and absolute value of the number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return A pair containing the complex conjugate and absolute value of the complex number.
 */
fun complexTupleArtist(realPart: Double, imaginaryPart: Double): Pair<Pair<Double, Double>, Double> {

    // Calculating the complex conjugate
    val complexConjugate = Pair(realPart, -imaginaryPart)
    
    // Calculating the absolute value of the complex number
    val absoluteValue = Math.sqrt(realPart * realPart + imaginaryPart * imaginaryPart)
    
    return Pair(complexConjugate, absoluteValue)
}
/**
 * This function takes in the real and imaginary parts of a complex number and returns a pair of the
 * complex conjugate and absolute value of the number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return A pair containing the complex conjugate and absolute value of the complex number.
 */
fun complexTupleArtist(realPart: Double, imaginaryPart: Double): Pair<Pair<Double, Double>, Double> {
/**
 * This function takes in the real and imaginary parts of a complex number and returns a pair of the
 * complex conjugate and absolute value of the number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return A pair containing the complex conjugate and absolute value of the complex number.
 */
fun complexTupleArtist(realPart: Double, imaginaryPart: Double): Pair<Pair<Double, Double>, Double> {

    // Calculating the complex conjugate
    val complexConjugate = Pair(realPart, -imaginaryPart)
    
    // Calculating the absolute value of the complex number
    val absoluteValue = Math.sqrt(realPart * realPart + imaginaryPart * imaginaryPart)
    
    return Pair(complexConjugate, absoluteValue)
}