amplify.IsingIntPolyArray
- class IsingIntPolyArray
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: amplify.IsingIntPolyArray, arg0: amplify.IsingIntPolyArray) -> None
__init__(self: amplify.IsingIntPolyArray, shape: tuple) -> None
__init__(self: amplify.IsingIntPolyArray, object: Iterable) -> None
__init__(self: amplify.IsingIntPolyArray, *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.IsingIntPolyArray) amplify.IsingIntPolyArray
- decode(*args, **kwargs)
Overloaded function.
decode(self: amplify.IsingIntPolyArray, solution: Dict[int, int], default: int = 1) -> numpy.ndarray[numpy.int32]
decode(self: amplify.IsingIntPolyArray, solution: Dict[int, int], default: None) -> amplify.IsingIntPolyArray
decode(self: amplify.IsingIntPolyArray, solution: List[int], default: int = 1) -> numpy.ndarray[numpy.int32]
- diagonal(self: amplify.IsingIntPolyArray, offset: int = 0, axis1: int = 0, axis2: int = 1) amplify.IsingIntPolyArray
- fill(*args, **kwargs)
Overloaded function.
fill(self: amplify.IsingIntPolyArray, value: amplify.IsingIntPoly) -> None
fill(self: amplify.IsingIntPolyArray, value: int) -> None
fill(self: amplify.IsingIntPolyArray, value: float) -> None
- flatten(self: amplify.IsingIntPolyArray) amplify.IsingIntPolyArray
- numpy(self: amplify.IsingIntPolyArray) numpy.ndarray[numpy.int32]
- ravel(self: amplify.IsingIntPolyArray) amplify.IsingIntPolyArray
- reshape(*args, **kwargs)
Overloaded function.
reshape(self: amplify.IsingIntPolyArray, shape: List[int]) -> amplify.IsingIntPolyArray
reshape(self: amplify.IsingIntPolyArray, *args) -> amplify.IsingIntPolyArray
- roll(*args, **kwargs)
Overloaded function.
roll(self: amplify.IsingIntPolyArray, shift: int) -> amplify.IsingIntPolyArray
roll(self: amplify.IsingIntPolyArray, shift: int, axis: int) -> amplify.IsingIntPolyArray
- sum(*args, **kwargs)
Overloaded function.
sum(self: amplify.IsingIntPolyArray) -> object
sum(self: amplify.IsingIntPolyArray, axis: int) -> object
sum(self: amplify.IsingIntPolyArray, axis: tuple) -> object
- tolist(self: amplify.IsingIntPolyArray) list
- transpose(*args, **kwargs)
Overloaded function.
transpose(self: amplify.IsingIntPolyArray) -> amplify.IsingIntPolyArrayView1
transpose(self: amplify.IsingIntPolyArray, axes: tuple) -> amplify.IsingIntPolyArrayView1
transpose(self: amplify.IsingIntPolyArray, *args) -> amplify.IsingIntPolyArrayView1
- view(self: amplify.IsingIntPolyArray) amplify.IsingIntPolyArrayView1