amplify.IsingPolyArray

class IsingPolyArray
__init__(*args, **kwargs)

Overloaded function.

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

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

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

  4. __init__(self: amplify.IsingPolyArray, *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.IsingPolyArray)amplify.IsingPolyArray
decode(*args, **kwargs)

Overloaded function.

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

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

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

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

Overloaded function.

  1. fill(self: amplify.IsingPolyArray, value: amplify.IsingPoly) -> None

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

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

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

Overloaded function.

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

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

roll(*args, **kwargs)

Overloaded function.

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

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

sum(*args, **kwargs)

Overloaded function.

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

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

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

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

Overloaded function.

  1. transpose(self: amplify.IsingPolyArray) -> amplify.IsingPolyArrayView1

  2. transpose(self: amplify.IsingPolyArray, axes: tuple) -> amplify.IsingPolyArrayView1

  3. transpose(self: amplify.IsingPolyArray, *args) -> amplify.IsingPolyArrayView1

view(self: amplify.IsingPolyArray)amplify.IsingPolyArrayView1