@Name(value="c10::ArrayRef<c10::complex<float> >") @NoOffset @Properties(inherit=torch.class) public class FloatComplexArrayRef extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FloatComplexArrayRef()
\name Constructors
\{
|
FloatComplexArrayRef(FloatComplex begin,
FloatComplex end)
Construct an ArrayRef from a range.
|
FloatComplexArrayRef(FloatComplex data,
long length)
Construct an ArrayRef from a pointer and length.
|
FloatComplexArrayRef(long size)
Native array allocator.
|
FloatComplexArrayRef(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FloatComplex |
at(long Index)
Vector compatibility
|
FloatComplex |
back()
back - Get the last element.
|
FloatComplex |
begin()
\}
\name Simple Operations
\{
|
FloatComplex |
cbegin() |
FloatComplex |
cend() |
FloatComplex |
data() |
boolean |
empty()
empty - Check if the array is empty.
|
FloatComplex |
end() |
boolean |
equals(FloatComplexArrayRef RHS)
equals - Check for element-wise equality.
|
FloatComplex |
front()
front - Get the first element.
|
FloatComplex |
get(long Index)
\}
\name Operator Overloads
\{
|
FloatComplexArrayRef |
getPointer(long i) |
FloatComplexArrayRef |
position(long position) |
long |
size()
size - Get the array size.
|
FloatComplexArrayRef |
slice(long N)
slice(n) - Chop off the first N elements of the array.
|
FloatComplexArrayRef |
slice(long N,
long M)
slice(n, m) - Take M elements of the array starting at element N
|
FloatComplex |
vec()
\}
\name Expensive Operations
\{
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FloatComplexArrayRef(Pointer p)
Pointer(Pointer)
.public FloatComplexArrayRef(long size)
Pointer.position(long)
.public FloatComplexArrayRef()
Construct an empty ArrayRef.
public FloatComplexArrayRef(@Const FloatComplex data, @Cast(value="size_t") long length)
public FloatComplexArrayRef(@Const FloatComplex begin, @Const FloatComplex end)
public FloatComplexArrayRef position(long position)
public FloatComplexArrayRef getPointer(long i)
getPointer
in class Pointer
@Const @ByPtr public FloatComplex begin()
@Const @ByPtr public FloatComplex end()
@Const @ByPtr public FloatComplex cbegin()
@Const @ByPtr public FloatComplex cend()
@Const public FloatComplex data()
@Const @ByRef public FloatComplex front()
@Const @ByRef public FloatComplex back()
@Cast(value="const bool") public boolean equals(@ByVal FloatComplexArrayRef RHS)
@Const @ByVal public FloatComplexArrayRef slice(@Cast(value="size_t") long N, @Cast(value="size_t") long M)
@Const @ByVal public FloatComplexArrayRef slice(@Cast(value="size_t") long N)
@Const @ByRef @Name(value="operator []") public FloatComplex get(@Cast(value="size_t") long Index)
@Const @ByRef public FloatComplex at(@Cast(value="size_t") long Index)
@StdVector public FloatComplex vec()
Copyright © 2024. All rights reserved.