def getTricomplexTimesColumn(firstTricomplex, otherColumn):
 dotProductX = ((firstTricomplex[0].real * otherColumn.real) + (firstTricomplex[1].real * otherColumn.imag))
 dotProductY = ((firstTricomplex[0].imag * otherColumn.real) + (firstTricomplex[1].imag * otherColumn.imag))
 return complex(dotProductX, dotProductY)

def getTricomplexTimesColumn ( firstTricomplex , otherColumn ) : dotProductX = ( ( firstTricomplex [ 0 ] . real * otherColumn . real ) + ( firstTricomplex [ 1 ] . real * otherColumn . imag ) ) dotProductY = ( ( firstTricomplex [ 0 ] . imag * otherColumn . real ) + ( firstTricomplex [ 1 ] . imag * otherColumn . imag ) ) return complex ( dotProductX , dotProductY )
get this matrix multiplied by the othercolumn .