@Name(value="c10::List<c10::complex<double> >") @NoOffset @Properties(inherit=torch.class) public class DoubleComplexList extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DoubleComplexList()
Constructs an empty list.
|
DoubleComplexList(DoubleComplexArrayRef initial_values)
Constructs a list with some initial values.
|
DoubleComplexList(DoubleComplexList arg0)
Create a generic list with runtime type information.
|
DoubleComplexList(long size)
Native array allocator.
|
DoubleComplexList(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
append(DoubleComplexList lst)
Appends the given list to the end of the container.
|
DoubleComplexListIterator |
begin()
Returns an iterator to the first element of the container.
|
void |
clear()
Erases all elements from the container.
|
DoubleComplexList |
copy()
Create a new List pointing to a deep copy of the same data.
|
Type.TypePtr |
elementType() |
boolean |
empty()
Checks if the container has no elements.
|
DoubleComplexListIterator |
end()
Returns an iterator to the element following the last element of the container.
|
DoubleComplexListIterator |
erase(DoubleComplexListIterator pos)
Removes the element at pos.
|
DoubleComplexListIterator |
erase(DoubleComplexListIterator first,
DoubleComplexListIterator last)
Removes the elements in the range [first, last).
|
DoubleComplex |
extract(long pos)
Moves out the element at the specified location pos and returns it, with bounds checking.
|
DoubleComplex |
get(long pos)
Returns the element at specified location pos, with bounds checking.
|
DoubleComplexList |
getPointer(long i) |
DoubleComplexListIterator |
insert(DoubleComplexListIterator pos,
DoubleComplex value)
Inserts value before pos.
|
boolean |
is(DoubleComplexList rhs)
Identity comparison.
|
void |
pop_back()
Removes the last element of the container.
|
DoubleComplexList |
position(long position) |
void |
push_back(DoubleComplex value)
Appends the given element value to the end of the container.
|
DoubleComplexList |
put(DoubleComplexList arg0) |
void |
reserve(long new_cap)
Increase the capacity of the vector to a value that's greater or equal to new_cap.
|
void |
resize(long count)
Resizes the container to contain count elements.
|
void |
resize(long count,
DoubleComplex value)
Resizes the container to contain count elements.
|
void |
set(long pos,
DoubleComplex value)
Assigns a new value to the element at location pos.
|
long |
size()
Returns the number of elements in the container
|
void |
unsafeSetElementType(Type.TypePtr t) |
long |
use_count()
Returns the number of Lists currently pointing to this same list.
|
DoubleComplex |
vec() |
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 DoubleComplexList(Pointer p)
Pointer(Pointer)
.public DoubleComplexList(long size)
Pointer.position(long)
.public DoubleComplexList()
public DoubleComplexList(@ByVal DoubleComplexArrayRef initial_values)
public DoubleComplexList(@Const @ByRef DoubleComplexList arg0)
public DoubleComplexList position(long position)
public DoubleComplexList getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public DoubleComplexList put(@Const @ByRef DoubleComplexList arg0)
@ByVal public DoubleComplexList copy()
@ByVal public DoubleComplex get(long pos)
@ByVal public DoubleComplex extract(long pos)
public void set(long pos, @ByVal DoubleComplex value)
@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") public DoubleComplexListIterator begin()
@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") public DoubleComplexListIterator end()
public long size()
public void reserve(long new_cap)
public void clear()
@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") public DoubleComplexListIterator insert(@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") DoubleComplexListIterator pos, @Const @ByRef DoubleComplex value)
public void push_back(@Const @ByRef DoubleComplex value)
public void append(@ByVal DoubleComplexList lst)
@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") public DoubleComplexListIterator erase(@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") DoubleComplexListIterator pos)
@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") public DoubleComplexListIterator erase(@ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") DoubleComplexListIterator first, @ByVal @Cast(value="c10::List<c10::complex<double> >::iterator*") DoubleComplexListIterator last)
public void pop_back()
public void resize(long count)
public void resize(long count, @Const @ByRef DoubleComplex value)
@Cast(value="bool") public boolean is(@Const @ByRef DoubleComplexList rhs)
rhs
represents the same
List object as this
.@StdVector public DoubleComplex vec()
@Cast(value="size_t") public long use_count()
@ByVal public Type.TypePtr elementType()
public void unsafeSetElementType(@ByVal Type.TypePtr t)
Copyright © 2024. All rights reserved.