amplify.BinaryPolyArray

class BinaryPolyArray
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: amplify.BinaryPolyArray, arg0: amplify.BinaryPolyArray) -> None

  2. __init__(self: amplify.BinaryPolyArray, shape: tuple) -> None

  3. __init__(self: amplify.BinaryPolyArray, object: Iterable) -> None

  4. __init__(self: amplify.BinaryPolyArray, *args) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

copy(self)

decode(*args, **kwargs)

Overloaded function.

diagonal(self[, offset, axis1, axis2])

fill(*args, **kwargs)

Overloaded function.

flatten(self)

numpy(self)

ravel(self)

reshape(*args, **kwargs)

Overloaded function.

roll(*args, **kwargs)

Overloaded function.

sum(*args, **kwargs)

Overloaded function.

tolist(self)

transpose(*args, **kwargs)

Overloaded function.

view(self)

Attributes

T

data

isview

itemsize

ndim

shape

size

strides

copy(self: amplify.BinaryPolyArray) amplify.BinaryPolyArray
decode(*args, **kwargs)

Overloaded function.

  1. decode(self: amplify.BinaryPolyArray, solution: Dict[int, int], default: int = 1) -> numpy.ndarray[numpy.float64]

  2. decode(self: amplify.BinaryPolyArray, solution: Dict[int, int], default: None) -> amplify.BinaryPolyArray

  3. decode(self: amplify.BinaryPolyArray, solution: List[int], default: int = 1) -> numpy.ndarray[numpy.float64]

diagonal(self: amplify.BinaryPolyArray, offset: int = 0, axis1: int = 0, axis2: int = 1) amplify.BinaryPolyArray
fill(*args, **kwargs)

Overloaded function.

  1. fill(self: amplify.BinaryPolyArray, value: amplify.BinaryPoly) -> None

  2. fill(self: amplify.BinaryPolyArray, value: int) -> None

  3. fill(self: amplify.BinaryPolyArray, value: float) -> None

flatten(self: amplify.BinaryPolyArray) amplify.BinaryPolyArray
numpy(self: amplify.BinaryPolyArray) numpy.ndarray[numpy.float64]
ravel(self: amplify.BinaryPolyArray) amplify.BinaryPolyArray
reshape(*args, **kwargs)

Overloaded function.

  1. reshape(self: amplify.BinaryPolyArray, shape: List[int]) -> amplify.BinaryPolyArray

  2. reshape(self: amplify.BinaryPolyArray, *args) -> amplify.BinaryPolyArray

roll(*args, **kwargs)

Overloaded function.

  1. roll(self: amplify.BinaryPolyArray, shift: int) -> amplify.BinaryPolyArray

  2. roll(self: amplify.BinaryPolyArray, shift: int, axis: int) -> amplify.BinaryPolyArray

sum(*args, **kwargs)

Overloaded function.

  1. sum(self: amplify.BinaryPolyArray) -> object

  2. sum(self: amplify.BinaryPolyArray, axis: int) -> object

  3. sum(self: amplify.BinaryPolyArray, axis: tuple) -> object

tolist(self: amplify.BinaryPolyArray) list
transpose(*args, **kwargs)

Overloaded function.

  1. transpose(self: amplify.BinaryPolyArray) -> amplify.BinaryPolyArrayView1

  2. transpose(self: amplify.BinaryPolyArray, axes: tuple) -> amplify.BinaryPolyArrayView1

  3. transpose(self: amplify.BinaryPolyArray, *args) -> amplify.BinaryPolyArrayView1

view(self: amplify.BinaryPolyArray) amplify.BinaryPolyArrayView1