@Name(value="c10::complex<c10::Half>") @NoOffset @Properties(inherit=torch.class) public class HalfComplex extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
HalfComplex() |
HalfComplex(FloatComplex value) |
HalfComplex(Half re,
Half im) |
HalfComplex(long size)
Native array allocator.
|
HalfComplex(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
HalfComplex |
addPut(HalfComplex other) |
FloatComplex |
asFloatComplex() |
HalfComplex |
getPointer(long i) |
Half |
imag_() |
HalfComplex |
imag_(Half setter) |
Half |
imag() |
HalfComplex |
multiplyPut(HalfComplex other) |
HalfComplex |
position(long position) |
Half |
real_() |
HalfComplex |
real_(Half setter) |
Half |
real() |
HalfComplex |
subtractPut(HalfComplex other) |
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 HalfComplex(Pointer p)
Pointer(Pointer)
.public HalfComplex(long size)
Pointer.position(long)
.public HalfComplex()
public HalfComplex(@Const @ByRef FloatComplex value)
public HalfComplex position(long position)
public HalfComplex getPointer(long i)
getPointer
in class Pointer
public HalfComplex real_(Half setter)
public HalfComplex imag_(Half setter)
@ByVal @Name(value="operator c10::complex<float>") public FloatComplex asFloatComplex()
@ByRef @Name(value="operator +=") public HalfComplex addPut(@Const @ByRef HalfComplex other)
@ByRef @Name(value="operator -=") public HalfComplex subtractPut(@Const @ByRef HalfComplex other)
@ByRef @Name(value="operator *=") public HalfComplex multiplyPut(@Const @ByRef HalfComplex other)
Copyright © 2024. All rights reserved.