eemont.eeList.__rmul__

eemont.eeList.__rmul__(self, other)[source]

Returns a new list containing a list repeated n times.

Parameters
  • self (ee.List) – Right operand.

  • other (ee.Number | numeric) – Left operand.

Returns

Repeated list.

Return type

ee.List

Examples

>>> import ee, eemont
>>> ee.Authenticate()
>>> ee.Initialize()
>>> eeList1 = ee.List([1,2,3,4])
>>> eeList2 = 2 * eeList1
>>> eeList2.getInfo()
[1,2,3,4,1,2,3,4]