The as_dtype function#

Aliases#

halerium.core.as_dtype
halerium.core.math.as_dtype
as_dtype(operand, dtype)#

Casting to dtype.

Parameters:
  • operand – The input of the operation.

  • dtype – The halerium data type to cast to.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Operator