// Try to create a new [complex] type with just one member.
// The following conversion will fail if the member cannot
// be converted to an int.
ComplexToken singleMember = ComplexToken.convert(token);
Complex[][] matrix = new Complex[1][1];
matrix[0][0] = singleMember.complexValue();
return new ComplexMatrixToken(matrix);
}
}
}