amplify.BinaryPolyArray
- class BinaryPolyArray
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: amplify.BinaryPolyArray, arg0: amplify.BinaryPolyArray) -> None
__init__(self: amplify.BinaryPolyArray, shape: tuple) -> None
__init__(self: amplify.BinaryPolyArray, object: Iterable) -> None
__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.
decode(self: amplify.BinaryPolyArray, solution: Dict[int, int], default: int = 1) -> numpy.ndarray[numpy.float64]
decode(self: amplify.BinaryPolyArray, solution: Dict[int, int], default: None) -> amplify.BinaryPolyArray
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.
fill(self: amplify.BinaryPolyArray, value: amplify.BinaryPoly) -> None
fill(self: amplify.BinaryPolyArray, value: int) -> None
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.
reshape(self: amplify.BinaryPolyArray, shape: List[int]) -> amplify.BinaryPolyArray
reshape(self: amplify.BinaryPolyArray, *args) -> amplify.BinaryPolyArray
- roll(*args, **kwargs)
Overloaded function.
roll(self: amplify.BinaryPolyArray, shift: int) -> amplify.BinaryPolyArray
roll(self: amplify.BinaryPolyArray, shift: int, axis: int) -> amplify.BinaryPolyArray
- sum(*args, **kwargs)
Overloaded function.
sum(self: amplify.BinaryPolyArray) -> object
sum(self: amplify.BinaryPolyArray, axis: int) -> object
sum(self: amplify.BinaryPolyArray, axis: tuple) -> object
- tolist(self: amplify.BinaryPolyArray) list
- transpose(*args, **kwargs)
Overloaded function.
transpose(self: amplify.BinaryPolyArray) -> amplify.BinaryPolyArrayView1
transpose(self: amplify.BinaryPolyArray, axes: tuple) -> amplify.BinaryPolyArrayView1
transpose(self: amplify.BinaryPolyArray, *args) -> amplify.BinaryPolyArrayView1
- view(self: amplify.BinaryPolyArray) amplify.BinaryPolyArrayView1